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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6af2c69fa52b450a9dda6ca11c944dbcf764082d | 1,131 | gyp | Python | android_webview/all_webview.gyp | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | android_webview/all_webview.gyp | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | android_webview/all_webview.gyp | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is used as the top-level gyp file for building WebView in the Android
# tree. It should depend only on native code, as we cannot currently generat... | 36.483871 | 77 | 0.67374 | 153 | 1,131 | 4.764706 | 0.54902 | 0.038409 | 0.05487 | 0.071331 | 0.052126 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004459 | 0.206897 | 1,131 | 30 | 78 | 37.7 | 0.80825 | 0.381963 | 0 | 0.1 | 0 | 0 | 0.680697 | 0.62119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6af47b9e3a9914e131842b97c89d69636862eb02 | 83 | py | Python | 19_wod/using_pandas.py | arseny-tl/tiny_python_projects | d946a7ff0686ec30ed3675eaacdcdacaeea5d4e3 | [
"MIT"
] | null | null | null | 19_wod/using_pandas.py | arseny-tl/tiny_python_projects | d946a7ff0686ec30ed3675eaacdcdacaeea5d4e3 | [
"MIT"
] | null | null | null | 19_wod/using_pandas.py | arseny-tl/tiny_python_projects | d946a7ff0686ec30ed3675eaacdcdacaeea5d4e3 | [
"MIT"
] | null | null | null | #!python3
import pandas as pd
df = pd.read_csv('inputs/exercises.csv')
print(df)
| 11.857143 | 40 | 0.722892 | 14 | 83 | 4.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.13253 | 83 | 6 | 41 | 13.833333 | 0.805556 | 0.096386 | 0 | 0 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed38889c66085ed68f7fb5ed994eeac64fbf7bf4 | 486 | py | Python | openpype/pipeline/lib/__init__.py | jojoba106/OpenPype | c49f7e474a05ca597c2f673e5c9f68ecfb788a31 | [
"MIT"
] | null | null | null | openpype/pipeline/lib/__init__.py | jojoba106/OpenPype | c49f7e474a05ca597c2f673e5c9f68ecfb788a31 | [
"MIT"
] | null | null | null | openpype/pipeline/lib/__init__.py | jojoba106/OpenPype | c49f7e474a05ca597c2f673e5c9f68ecfb788a31 | [
"MIT"
] | null | null | null | from .events import (
BaseEvent,
BeforeWorkfileSave
)
from .attribute_definitions import (
AbtractAttrDef,
UIDef,
UISeparatorDef,
UILabelDef,
UnknownDef,
NumberDef,
TextDef,
EnumDef,
BoolDef,
FileDef,
)
__all__ = (
"BaseEvent",
"BeforeWorkfileSave",
"Abt... | 12.461538 | 36 | 0.592593 | 32 | 486 | 8.84375 | 0.5625 | 0.190813 | 0.233216 | 0.303887 | 0.636042 | 0.636042 | 0.636042 | 0.636042 | 0.636042 | 0.636042 | 0 | 0 | 0.292181 | 486 | 38 | 37 | 12.789474 | 0.822674 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed5afaf8fef5cfcd00871affb9c4028ac55537b6 | 2,125 | py | Python | ddos.py | MRZofficial236/ddos2 | 6c34945090e819e9ca18a9be686fd8e2369cf34d | [
"Apache-2.0"
] | 1 | 2021-02-24T04:46:36.000Z | 2021-02-24T04:46:36.000Z | ddos.py | MRZofficial236/ddos2 | 6c34945090e819e9ca18a9be686fd8e2369cf34d | [
"Apache-2.0"
] | null | null | null | ddos.py | MRZofficial236/ddos2 | 6c34945090e819e9ca18a9be686fd8e2369cf34d | [
"Apache-2.0"
] | null | null | null | import time
import socket
import random
import sys
def usage():
print "\033[1;32m#########################################################"
print "#------------------------[\033[1;91m\033[1;32m]---------------------#"
print "#-------------------------------------------------------#"
print "# \033[1;91... | 44.270833 | 140 | 0.415529 | 225 | 2,125 | 3.871111 | 0.36 | 0.123995 | 0.112514 | 0.123995 | 0.262916 | 0.243398 | 0.215844 | 0.17566 | 0.12744 | 0.12744 | 0 | 0.12883 | 0.324235 | 2,125 | 47 | 141 | 45.212766 | 0.477716 | 0.079529 | 0 | 0.04878 | 0 | 0.073171 | 0.561251 | 0.150692 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.02439 | 0.097561 | null | null | 0.414634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ed80609487a3ea11ad114bc2eedb309210d6d5ce | 540 | py | Python | django_examples/modal_examples/views/ajax.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | 8 | 2021-06-04T14:15:02.000Z | 2022-01-24T07:21:41.000Z | django_examples/modal_examples/views/ajax.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | null | null | null | django_examples/modal_examples/views/ajax.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | null | null | null | from django_modals.messages import AjaxMessagesMixin
from .views import MainMenuTemplateView
class AjaxExamples(AjaxMessagesMixin, MainMenuTemplateView):
template_name = 'example_views/ajax.html'
def button_info(self, **_kwargs):
return self.ajax_message('This can give information')
def button_... | 31.764706 | 105 | 0.75 | 66 | 540 | 5.954545 | 0.590909 | 0.068702 | 0.122137 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168519 | 540 | 16 | 106 | 33.75 | 0.875278 | 0 | 0 | 0 | 0 | 0 | 0.22963 | 0.042593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.3 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed860402ddfb66f3fb97ab6f76a6b7d5b7667ee5 | 141 | py | Python | sol/sol_make_ends.py | igamberdievhasan/codingbat-notebooks | b0a41f22b9064efc7f7f7da55e8c99fc21ce364d | [
"Apache-2.0"
] | null | null | null | sol/sol_make_ends.py | igamberdievhasan/codingbat-notebooks | b0a41f22b9064efc7f7f7da55e8c99fc21ce364d | [
"Apache-2.0"
] | 6 | 2020-03-02T20:59:43.000Z | 2020-03-18T01:20:30.000Z | sol/sol_make_ends.py | igamberdievhasan/codingbat-notebooks | b0a41f22b9064efc7f7f7da55e8c99fc21ce364d | [
"Apache-2.0"
] | 1 | 2020-03-13T02:48:04.000Z | 2020-03-13T02:48:04.000Z | def make_ends(nums):
first = nums[0]
last = nums[len(nums)-1]
newArr = []
newArr.append(first)
newArr.append(last)
return newArr
| 17.625 | 26 | 0.659574 | 21 | 141 | 4.380952 | 0.571429 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.191489 | 141 | 7 | 27 | 20.142857 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71e8a4ff5cc8855c91b63836231da956fa0702fc | 80 | py | Python | Task/A+B/Python/a+b-2.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/A+B/Python/a+b-2.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/A+B/Python/a+b-2.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | import sys
for line in sys.stdin:
print(sum(int(i) for i in line.split()))
| 16 | 44 | 0.6625 | 16 | 80 | 3.3125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 4 | 45 | 20 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
71f7311d4ad99899939d49d5da58ab1648ee517a | 420 | py | Python | invoicing/ui/style.py | dnegreira/Invoicing | 0bc8133e989f095c10151f67482e249416274947 | [
"MIT"
] | 10 | 2018-09-28T18:16:32.000Z | 2020-08-05T13:37:12.000Z | invoicing/ui/style.py | dnegreira/Invoicing | 0bc8133e989f095c10151f67482e249416274947 | [
"MIT"
] | 13 | 2018-10-01T14:02:41.000Z | 2020-08-16T12:55:28.000Z | invoicing/ui/style.py | dnegreira/Invoicing | 0bc8133e989f095c10151f67482e249416274947 | [
"MIT"
] | 7 | 2018-10-01T20:36:50.000Z | 2020-03-14T11:21:10.000Z | from ansi_colours import AnsiColours as Colour
class Style:
@staticmethod
def create_title(title):
return "\n" + title + "\n" + Style.create_underline(title)
@staticmethod
def create_underline(title):
return Colour.blue("".join(['-' for _ in range(len(title))]))
@staticmethod
... | 26.25 | 74 | 0.65 | 50 | 420 | 5.32 | 0.56 | 0.169173 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 420 | 15 | 75 | 28 | 0.806061 | 0 | 0 | 0.272727 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
71fa5ecbf00b2ecea02d5bab5f8cef3b45460f97 | 1,951 | py | Python | pytealutils/storage/test_local_blob.py | nullun/pyteal-utils | 1c7705a6c2fd80faee1e45962fe399fd672f37c6 | [
"MIT"
] | 20 | 2021-09-01T17:57:18.000Z | 2022-03-13T07:51:26.000Z | pytealutils/storage/test_local_blob.py | nullun/pyteal-utils | 1c7705a6c2fd80faee1e45962fe399fd672f37c6 | [
"MIT"
] | 12 | 2021-09-01T20:09:30.000Z | 2022-01-11T12:17:51.000Z | pytealutils/storage/test_local_blob.py | nullun/pyteal-utils | 1c7705a6c2fd80faee1e45962fe399fd672f37c6 | [
"MIT"
] | 8 | 2021-09-03T10:44:19.000Z | 2022-02-28T11:52:20.000Z | from pyteal import Bytes, Int, Itob, Log, Pop, Seq
from tests.helpers import (
LOGIC_EVAL_ERROR,
assert_fail,
assert_stateful_fail,
assert_stateful_output,
logged_bytes,
logged_int,
)
from .local_blob import LocalBlob, max_bytes
# Can re-use the same blob
b = LocalBlob()
def test_local_blob... | 25.337662 | 68 | 0.627371 | 301 | 1,951 | 3.82392 | 0.166113 | 0.086881 | 0.079062 | 0.097307 | 0.753258 | 0.710686 | 0.710686 | 0.704605 | 0.684622 | 0.477845 | 0 | 0.036387 | 0.211174 | 1,951 | 76 | 69 | 25.671053 | 0.711501 | 0.012301 | 0 | 0.482759 | 0 | 0 | 0.016623 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.12069 | false | 0 | 0.051724 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c0f4bdfdb4c207353749728dcbf250fe6e8e510 | 541 | py | Python | calamari_ocr/ocr/dataset/textprocessors/text_normalizer.py | zhangjiulong/calamari | ecd29d46f807a3ad406f0a65bdc3283e358c3585 | [
"Apache-2.0"
] | 1 | 2021-03-24T09:32:56.000Z | 2021-03-24T09:32:56.000Z | calamari_ocr/ocr/dataset/textprocessors/text_normalizer.py | zhangjiulong/calamari | ecd29d46f807a3ad406f0a65bdc3283e358c3585 | [
"Apache-2.0"
] | null | null | null | calamari_ocr/ocr/dataset/textprocessors/text_normalizer.py | zhangjiulong/calamari | ecd29d46f807a3ad406f0a65bdc3283e358c3585 | [
"Apache-2.0"
] | null | null | null | import unicodedata
from calamari_ocr.ocr.dataset.textprocessors import TextProcessor
class TextNormalizer(TextProcessor):
@staticmethod
def default_params() -> dict:
return {'unicode_normalization': "NFC"}
def __init__(self, unicode_normalization, **kwargs):
super().__init__(**kwargs)
... | 24.590909 | 65 | 0.674677 | 51 | 541 | 6.823529 | 0.54902 | 0.287356 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240296 | 541 | 21 | 66 | 25.761905 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.044362 | 0.038817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.133333 | 0.066667 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c1f1f9719296ffe75cc4b74182f863ac7b8fa15 | 5,039 | py | Python | temboo/core/Library/Disqus/Threads/RestoreThread.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Disqus/Threads/RestoreThread.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Disqus/Threads/RestoreThread.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# RestoreThread
# Restore a thread.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compl... | 44.201754 | 262 | 0.690415 | 621 | 5,039 | 5.529791 | 0.294686 | 0.01456 | 0.024461 | 0.030577 | 0.336051 | 0.223355 | 0.165696 | 0.114735 | 0.114735 | 0.056494 | 0 | 0.003971 | 0.200437 | 5,039 | 113 | 263 | 44.59292 | 0.848349 | 0.517166 | 0 | 0 | 0 | 0 | 0.059 | 0.0185 | 0 | 0 | 0 | 0 | 0 | 1 | 0.378378 | false | 0 | 0.135135 | 0.135135 | 0.783784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c2413c61b856e57c31a6ef699c3e21365b16101 | 3,521 | py | Python | src/cogs/stock_tracker.py | Jawgo/DiscordBot | 43dccce80aa8d8bd51b44c0de732fd70d9194672 | [
"MIT"
] | null | null | null | src/cogs/stock_tracker.py | Jawgo/DiscordBot | 43dccce80aa8d8bd51b44c0de732fd70d9194672 | [
"MIT"
] | null | null | null | src/cogs/stock_tracker.py | Jawgo/DiscordBot | 43dccce80aa8d8bd51b44c0de732fd70d9194672 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands, tasks
import asyncio
# import datetime
import os
from src.hunter import Hunter
class StockTracker(commands.Cog):
def __init__(self, client):
self.client = client
self.hunter = None
@commands.Cog.listener()
async def on_ready(self):
... | 38.271739 | 136 | 0.61119 | 439 | 3,521 | 4.84738 | 0.371298 | 0.037594 | 0.046992 | 0.058741 | 0.31485 | 0.31485 | 0.267857 | 0.223684 | 0.175752 | 0.175752 | 0 | 0.000798 | 0.288554 | 3,521 | 92 | 137 | 38.271739 | 0.848703 | 0.775632 | 0 | 0 | 0 | 0 | 0.028846 | 0 | 0 | 0 | 0 | 0.01087 | 0 | 1 | 0.142857 | false | 0 | 0.357143 | 0 | 0.571429 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c631475ce577c6df06d9fbc54024ed0612b6207 | 165 | py | Python | pyhedrals/__init__.py | epilanthanomai/pyhedrals | d07c45e44f155a04c7061b78aeb6d14d5bf60b74 | [
"MIT"
] | null | null | null | pyhedrals/__init__.py | epilanthanomai/pyhedrals | d07c45e44f155a04c7061b78aeb6d14d5bf60b74 | [
"MIT"
] | null | null | null | pyhedrals/__init__.py | epilanthanomai/pyhedrals | d07c45e44f155a04c7061b78aeb6d14d5bf60b74 | [
"MIT"
] | null | null | null | name = "pyhedrals"
# flake8: noqa
from .pyhedrals import (
DiceRoller,
UnknownCharacterException,
SyntaxErrorException,
InvalidOperandsException,
)
| 16.5 | 30 | 0.733333 | 11 | 165 | 11 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.193939 | 165 | 9 | 31 | 18.333333 | 0.902256 | 0.072727 | 0 | 0 | 0 | 0 | 0.059603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c6b363cbdcdc20a975b8329d76043fdfdb02b2d | 144 | py | Python | example/app/models.py | vascop/django-wfs | e13e3fcba574de3da94d9081f603efaffe972f14 | [
"Apache-2.0"
] | 6 | 2015-06-22T12:42:45.000Z | 2018-04-04T10:09:57.000Z | example/app/models.py | vascop/django-wfs | e13e3fcba574de3da94d9081f603efaffe972f14 | [
"Apache-2.0"
] | 2 | 2016-06-17T18:51:15.000Z | 2017-06-26T11:35:07.000Z | example/app/models.py | vascop/django-wfs | e13e3fcba574de3da94d9081f603efaffe972f14 | [
"Apache-2.0"
] | 8 | 2016-06-06T21:15:05.000Z | 2022-02-11T20:54:39.000Z | from django.contrib.gis.db import models
class MyGeoClass(models.Model):
geopoint = models.PointField()
objects = models.GeoManager()
| 20.571429 | 40 | 0.743056 | 17 | 144 | 6.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 6 | 41 | 24 | 0.877049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
92c4d8538e59bf51aea40ef5f1f00a9f2b90066c | 716 | py | Python | utils.py | googlewaitme/tg_quiz_bot | 724fad55149631c8bbfe01262eb17bb3b9af39c4 | [
"MIT"
] | null | null | null | utils.py | googlewaitme/tg_quiz_bot | 724fad55149631c8bbfe01262eb17bb3b9af39c4 | [
"MIT"
] | null | null | null | utils.py | googlewaitme/tg_quiz_bot | 724fad55149631c8bbfe01262eb17bb3b9af39c4 | [
"MIT"
] | 1 | 2021-09-17T13:53:51.000Z | 2021-09-17T13:53:51.000Z | from aiogram.dispatcher.filters.state import StatesGroup, State
import config
def startswith(text):
def f(c):
return c.data.startswith(text)
return f
def generate_sertificate(user):
passed_quizes = user.get_passed_quizes()
if len(passed_quizes) < len(config.tests):
return config.data... | 26.518519 | 79 | 0.671788 | 91 | 716 | 5.142857 | 0.472527 | 0.102564 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210894 | 716 | 26 | 80 | 27.538462 | 0.828319 | 0 | 0 | 0 | 1 | 0 | 0.142458 | 0.047486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0.15 | 0.1 | 0.05 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
92c7f3792a7d0b221e6b10d7d1c689d3ffd2296d | 1,232 | py | Python | tests/test_datasets.py | nextnanopy/nextnanopy | f28266d444f488726f16c9a4eb08e98720f5f683 | [
"BSD-3-Clause"
] | 9 | 2020-12-01T15:32:40.000Z | 2022-03-12T06:36:12.000Z | tests/test_datasets.py | nextnanopy/nextnanopy | f28266d444f488726f16c9a4eb08e98720f5f683 | [
"BSD-3-Clause"
] | 1 | 2022-03-16T14:46:06.000Z | 2022-03-22T14:13:32.000Z | tests/test_datasets.py | nextnanopy/nextnanopy | f28266d444f488726f16c9a4eb08e98720f5f683 | [
"BSD-3-Clause"
] | 4 | 2021-07-06T07:25:47.000Z | 2022-03-12T06:36:18.000Z | import unittest
from nextnanopy.utils.datasets import Data, Variable, Coord
from nextnanopy.utils.datasets import default_unit
import numpy as np
class TestDatasets(unittest.TestCase):
def test_Data(self):
ds = Data(name='test', value=2)
self.assertEqual(ds.name, 'test')
self.assertEqual(d... | 34.222222 | 77 | 0.659091 | 164 | 1,232 | 4.835366 | 0.22561 | 0.302648 | 0.343001 | 0.113493 | 0.645649 | 0.562421 | 0.562421 | 0.476671 | 0.476671 | 0.476671 | 0 | 0.012232 | 0.203734 | 1,232 | 35 | 78 | 35.2 | 0.796126 | 0 | 0 | 0.413793 | 0 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0.551724 | 1 | 0.103448 | false | 0 | 0.137931 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92e56d002c6689ce42506d1875e80b6601a453fb | 221 | py | Python | main.py | Ram-Einstein42/SpeciesInPlanets | 23b8afead04b6e30aea7d508f1933e7f1672f7f2 | [
"MIT"
] | null | null | null | main.py | Ram-Einstein42/SpeciesInPlanets | 23b8afead04b6e30aea7d508f1933e7f1672f7f2 | [
"MIT"
] | null | null | null | main.py | Ram-Einstein42/SpeciesInPlanets | 23b8afead04b6e30aea7d508f1933e7f1672f7f2 | [
"MIT"
] | null | null | null | import json
from urllib.request import urlopen
planet_url = 'https://swapi.dev/api/planets/'
def api_call(url: str) -> dict:
json_url = urlopen(url)
return json.loads(json_url.read()) # converts json to dict | 24.555556 | 65 | 0.710407 | 34 | 221 | 4.5 | 0.647059 | 0.091503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 221 | 9 | 65 | 24.555556 | 0.831522 | 0.095023 | 0 | 0 | 0 | 0 | 0.150754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
92e7556ac24a48456c49bb3ac1a4f0005a0cda83 | 2,023 | py | Python | about_rev.py | DivyaGSun/BRITE_REU_database | ce4b9b8ae6a5d310650866350749190330553e9f | [
"MIT"
] | 1 | 2021-03-05T22:19:45.000Z | 2021-03-05T22:19:45.000Z | about_rev.py | DivyaGSun/BRITE_REU_database | ce4b9b8ae6a5d310650866350749190330553e9f | [
"MIT"
] | 1 | 2021-03-26T18:30:37.000Z | 2021-03-26T18:31:26.000Z | about_rev.py | DivyaGSun/BRITE_REU_database | ce4b9b8ae6a5d310650866350749190330553e9f | [
"MIT"
] | 2 | 2021-05-07T23:28:24.000Z | 2021-06-01T15:48:05.000Z | #!/usr/bin/python
import sys
import cgi
import cgitb
import sqlite3
reload(sys)
#import sys
sys.setdefaultencoding('utf-8')
cgitb.enable()
# html
print("Content-type: text/html\n")
print('<meta charset="utf-8">')
print("<html><head>")
print('''<link rel="stylesheet" href="https://bioed.bu.edu/students_21/group_proj/... | 43.978261 | 192 | 0.73307 | 328 | 2,023 | 4.45122 | 0.457317 | 0.037671 | 0.057534 | 0.065753 | 0.206164 | 0.193151 | 0.176027 | 0.176027 | 0.176027 | 0.176027 | 0 | 0.014917 | 0.105289 | 2,023 | 46 | 193 | 43.978261 | 0.791713 | 0.015324 | 0 | 0 | 0 | 0.236842 | 0.870352 | 0.011558 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.105263 | 0.315789 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92ea86708bd9bf846a8423d305994932219cb3d0 | 6,001 | py | Python | day18/test.py | josteinl/advent2021 | 0f304b49d90305b06140f1651ea67c0028ed1889 | [
"MIT"
] | null | null | null | day18/test.py | josteinl/advent2021 | 0f304b49d90305b06140f1651ea67c0028ed1889 | [
"MIT"
] | null | null | null | day18/test.py | josteinl/advent2021 | 0f304b49d90305b06140f1651ea67c0028ed1889 | [
"MIT"
] | null | null | null | import pytest
from main import explode, split, add_numbers, calculate_magnitude
# fmt: off
@pytest.mark.parametrize(
"numbers, expected",
[
([[[[[9, 8], 1], 2], 3], 4],
[[[[0, 9], 2], 3], 4]),
([7, [6, [5, [4, [3, 2]]]]],
[7, [6, [5, [7, 0]]]]),
([[6, [5, [4, [3, 2]]... | 34.488506 | 104 | 0.247125 | 859 | 6,001 | 1.705471 | 0.058207 | 0.090102 | 0.051195 | 0.032765 | 0.619113 | 0.574061 | 0.573379 | 0.572014 | 0.54198 | 0.504437 | 0 | 0.206443 | 0.37927 | 6,001 | 173 | 105 | 34.687861 | 0.186846 | 0.053824 | 0 | 0.393548 | 0 | 0 | 0.011113 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 1 | 0.025806 | false | 0 | 0.012903 | 0 | 0.03871 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92f29aad233e1fcf56a9c736a9e41df4adecb379 | 422 | py | Python | pydisco/disco/schemes/__init__.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | 2 | 2016-05-09T17:03:08.000Z | 2016-07-19T11:27:54.000Z | pydisco/disco/schemes/__init__.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | null | null | null | pydisco/disco/schemes/__init__.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | null | null | null | """
By default, Disco looks at an input URL and extracts its scheme in order to figure out which input stream to use.
When Disco determines the URL scheme, it tries to import the name `input_stream` from `disco.schemes.scheme_[SCHEME]`, where `[SCHEME]` is replaced by the scheme identified.
For instance, an input URL ... | 60.285714 | 173 | 0.767773 | 69 | 422 | 4.637681 | 0.594203 | 0.103125 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 422 | 6 | 174 | 70.333333 | 0.883978 | 0.978673 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
1303c5b16e5bf0b3beddf78ccdd067fd721726c6 | 99 | py | Python | bfs/urls.py | powerhouseofthecell/jeevis | b77310c74ced469c8cefd85c547857232acc0be9 | [
"MIT"
] | null | null | null | bfs/urls.py | powerhouseofthecell/jeevis | b77310c74ced469c8cefd85c547857232acc0be9 | [
"MIT"
] | 12 | 2019-12-26T16:41:36.000Z | 2022-02-09T23:41:24.000Z | bfs/urls.py | powerhouseofthecell/jeevis | b77310c74ced469c8cefd85c547857232acc0be9 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from bfs.views import *
urlpatterns = [
url(r'^', index),
]
| 12.375 | 32 | 0.656566 | 14 | 99 | 4.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 99 | 7 | 33 | 14.142857 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1304c1c7d11f468089209fc287f77c8c06c59d0e | 378 | py | Python | NXSpider/common/log.py | Grass-CLP/NXSpider | 68e588c0612d0ab2af3a820ff88ca24d698ceeb7 | [
"BSD-3-Clause"
] | 20 | 2018-06-20T16:45:57.000Z | 2021-12-11T03:40:11.000Z | NXSpider/common/log.py | Grass-CLP/NXSpider | 68e588c0612d0ab2af3a820ff88ca24d698ceeb7 | [
"BSD-3-Clause"
] | 2 | 2018-06-23T08:43:53.000Z | 2020-04-20T12:26:17.000Z | NXSpider/common/log.py | Grass-CLP/NXSpider | 68e588c0612d0ab2af3a820ff88ca24d698ceeb7 | [
"BSD-3-Clause"
] | 5 | 2018-06-22T02:41:34.000Z | 2021-12-11T03:40:13.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# created by Lipson on 2018/4/19.
# email to LipsonChan@yahoo.com
#
from colorama import Fore
from colorama import init
init(autoreset=True)
def print_err(msg):
print(Fore.RED + "ERROR: " + msg)
def print_warn(msg):
print(Fore.YELLOW + "WARNING: " + msg)
de... | 16.434783 | 42 | 0.656085 | 57 | 378 | 4.298246 | 0.649123 | 0.097959 | 0.146939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026059 | 0.187831 | 378 | 22 | 43 | 17.181818 | 0.771987 | 0.275132 | 0 | 0 | 0 | 0 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.555556 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 3 |
1316f45bac413b0e731def726207b629394bc7aa | 1,315 | py | Python | tests/data_handler.py | v0ila/Lauwersscan | 651be7ca94f5365e160a09ccd1cc1a985ac37840 | [
"Apache-2.0"
] | 1 | 2015-11-08T07:33:31.000Z | 2015-11-08T07:33:31.000Z | tests/data_handler.py | willworks/pyspider | 9fc2ffa57324d1a42ef767289faa3a04f4d20f2e | [
"Apache-2.0"
] | null | null | null | tests/data_handler.py | willworks/pyspider | 9fc2ffa57324d1a42ef767289faa3a04f4d20f2e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-02-22 14:02:21
from pyspider.libs.base_handler import BaseHandler, catch_status_code_error, every
class IgnoreHandler(object):
pass
class TestHa... | 24.811321 | 82 | 0.634981 | 170 | 1,315 | 4.8 | 0.505882 | 0.117647 | 0.055147 | 0.095588 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024728 | 0.231179 | 1,315 | 52 | 83 | 25.288462 | 0.782394 | 0.130798 | 0 | 0 | 0 | 0 | 0.109938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0.030303 | 0.030303 | 0.151515 | 0.545455 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
13197748b94a6fe69620e69b03ff1a3cd78909fe | 560 | py | Python | tests/test_speed.py | dcslagel/lasio | 8b0982b35ffaa1ecee3f5175030adf3359aec55b | [
"MIT"
] | 285 | 2015-08-17T13:08:46.000Z | 2022-03-30T20:21:41.000Z | tests/test_speed.py | dcslagel/lasio | 8b0982b35ffaa1ecee3f5175030adf3359aec55b | [
"MIT"
] | 363 | 2015-08-05T10:13:44.000Z | 2022-03-16T03:46:04.000Z | tests/test_speed.py | dcslagel/lasio | 8b0982b35ffaa1ecee3f5175030adf3359aec55b | [
"MIT"
] | 155 | 2015-08-17T12:57:13.000Z | 2022-03-29T21:23:54.000Z | import os, sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
import glob
import fnmatch
import traceback
import logging
import numpy
import pytest
import lasio
test_dir = os.path.dirname(__file__)
egfn = lambda fn: os.path.join(os.path.dirname(__file__), "examples", fn)
stegfn = lambda vers, fn: o... | 20 | 87 | 0.746429 | 86 | 560 | 4.534884 | 0.418605 | 0.107692 | 0.166667 | 0.174359 | 0.189744 | 0.189744 | 0.189744 | 0.189744 | 0.189744 | 0 | 0 | 0.010163 | 0.121429 | 560 | 27 | 88 | 20.740741 | 0.78252 | 0 | 0 | 0 | 0 | 0 | 0.058929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.470588 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1346f9c901bc8ebadf1d63ecdd80e2ac322312b9 | 138 | py | Python | command_module/command_module_test.py | albertaloop/T_SWE_2019_2020 | 9095b6b64b5ca03c62bef9347945919bf3b79ed4 | [
"MIT"
] | null | null | null | command_module/command_module_test.py | albertaloop/T_SWE_2019_2020 | 9095b6b64b5ca03c62bef9347945919bf3b79ed4 | [
"MIT"
] | 22 | 2022-01-11T05:27:30.000Z | 2022-03-29T02:34:13.000Z | command_module/command_module_test.py | albertaloop/T_SWE_2019_2020 | 9095b6b64b5ca03c62bef9347945919bf3b79ed4 | [
"MIT"
] | null | null | null | import command_module
command_manager = command_module.CommandManager("192.168.0.1", 3000)
command_manager.start()
command_manager.stop() | 27.6 | 68 | 0.826087 | 19 | 138 | 5.736842 | 0.631579 | 0.385321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0.057971 | 138 | 5 | 69 | 27.6 | 0.746154 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1349042cdebccb29c53ec71113695595452656b8 | 68 | py | Python | autokey/.config/autokey/data/TouchCursor/03 ASDFGH/09 - L Right.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | 8 | 2017-09-27T21:12:52.000Z | 2021-06-16T14:08:43.000Z | autokey/.config/autokey/data/TouchCursor/03 ASDFGH/09 - L Right.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | null | null | null | autokey/.config/autokey/data/TouchCursor/03 ASDFGH/09 - L Right.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | 1 | 2018-02-19T19:00:18.000Z | 2018-02-19T19:00:18.000Z | engine.run_script('init-touchcursor')
keyboard.send_keys('<right>')
| 22.666667 | 37 | 0.779412 | 9 | 68 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 68 | 2 | 38 | 34 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
135815538ee6fc300929303cfd08dd4d62789ee9 | 1,197 | py | Python | user.py | Steve-design/Password-Locker | 91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c | [
"MIT"
] | null | null | null | user.py | Steve-design/Password-Locker | 91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c | [
"MIT"
] | null | null | null | user.py | Steve-design/Password-Locker | 91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c | [
"MIT"
] | null | null | null | class User:
user_list =[]
user_list = []
def __init__(self, user_name, email, password):
'''
saving user credentials into user_list for login
'''
self.user_name = user_name
self.email = email
self.password = password
def sav... | 22.166667 | 85 | 0.543024 | 140 | 1,197 | 4.457143 | 0.328571 | 0.076923 | 0.057692 | 0.044872 | 0.083333 | 0.083333 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.375104 | 1,197 | 54 | 86 | 22.166667 | 0.834225 | 0.270677 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.15 | 0 | 0.05 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1373bc39d500ff20da2b4ab14d565799f7438127 | 15 | py | Python | tests/mock3/__init__.py | twitter/unishark | 5254cc4cb70acb79f992723b07dc1e687a938792 | [
"Apache-2.0"
] | 28 | 2015-03-22T07:21:47.000Z | 2017-04-07T08:51:54.000Z | tests/mock3/__init__.py | twitter-archive/unishark | 5254cc4cb70acb79f992723b07dc1e687a938792 | [
"Apache-2.0"
] | 6 | 2015-03-23T18:43:58.000Z | 2015-11-23T23:01:32.000Z | tests/mock3/__init__.py | twitter/unishark | 5254cc4cb70acb79f992723b07dc1e687a938792 | [
"Apache-2.0"
] | 11 | 2015-05-02T08:51:33.000Z | 2018-02-22T00:24:38.000Z | exec_order = [] | 15 | 15 | 0.666667 | 2 | 15 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1373f0c6eba38c59042b1f418557254ba77dae24 | 4,438 | py | Python | test/test_utils_freq_to_band.py | df7cb/pyhamtools | c8fb844e2d27b065168fc44f67334bf5c4782600 | [
"MIT"
] | 65 | 2015-04-06T22:19:03.000Z | 2022-02-02T04:23:01.000Z | test/test_utils_freq_to_band.py | df7cb/pyhamtools | c8fb844e2d27b065168fc44f67334bf5c4782600 | [
"MIT"
] | 20 | 2015-12-22T10:03:13.000Z | 2021-06-01T01:40:39.000Z | test/test_utils_freq_to_band.py | df7cb/pyhamtools | c8fb844e2d27b065168fc44f67334bf5c4782600 | [
"MIT"
] | 23 | 2015-05-23T08:08:07.000Z | 2022-03-30T01:23:05.000Z | import pytest
from pyhamtools.frequency import freq_to_band
from pyhamtools.consts import LookupConventions as const
class Test_utils_freq_to_band():
def test_hf_frequencies(self):
assert freq_to_band(137) == {"band" : 2190, "mode":const.CW}
assert freq_to_band(1805) == {"band" : 160, "mode":cons... | 47.212766 | 80 | 0.602749 | 624 | 4,438 | 4.078526 | 0.189103 | 0.139096 | 0.231827 | 0.352063 | 0.69666 | 0.643222 | 0.488016 | 0.137525 | 0 | 0 | 0 | 0.122782 | 0.212708 | 4,438 | 94 | 80 | 47.212766 | 0.60561 | 0.007436 | 0 | 0 | 0 | 0 | 0.101934 | 0 | 0 | 0 | 0 | 0 | 0.835821 | 1 | 0.074627 | false | 0 | 0.044776 | 0 | 0.134328 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
137f313ec61c2dfa4ccf7527b5751c4ff35b0796 | 341 | py | Python | chat_consumer/src/infra/firebase/config.py | KaioViana/letmeask-plus | 68ee69af3fd4061cd6fd92342d220a5237bf6955 | [
"MIT"
] | null | null | null | chat_consumer/src/infra/firebase/config.py | KaioViana/letmeask-plus | 68ee69af3fd4061cd6fd92342d220a5237bf6955 | [
"MIT"
] | null | null | null | chat_consumer/src/infra/firebase/config.py | KaioViana/letmeask-plus | 68ee69af3fd4061cd6fd92342d220a5237bf6955 | [
"MIT"
] | null | null | null | import firebase_admin
from json import dumps
from dynaconf import settings
from firebase_admin import credentials
from firebase_admin import db
def connect():
cred = credentials.Certificate(settings.FIREBASE_CONFIG_AUTH)
firebase_admin.initialize_app(
cred, {'databaseURL': settings.FIREBASE_DATABASE_... | 22.733333 | 65 | 0.791789 | 42 | 341 | 6.214286 | 0.52381 | 0.199234 | 0.130268 | 0.176245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155425 | 341 | 14 | 66 | 24.357143 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.5 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1384a07ae287ed563d878e254a26adfdc10d77ef | 126 | py | Python | config/config.py | aswad32/fbscrapper | 3c5a198c4b4a9ed5d52b9fcf9d71ecb74fc58ad0 | [
"Apache-2.0"
] | 1 | 2020-02-02T18:05:03.000Z | 2020-02-02T18:05:03.000Z | config/config.py | aswad32/fbscrapper | 3c5a198c4b4a9ed5d52b9fcf9d71ecb74fc58ad0 | [
"Apache-2.0"
] | null | null | null | config/config.py | aswad32/fbscrapper | 3c5a198c4b4a9ed5d52b9fcf9d71ecb74fc58ad0 | [
"Apache-2.0"
] | null | null | null |
init_config = {
'username': 'email@gmail.com',
'pwd': 'password',
'mongodb': {
'host': 'mongodb://localhost:27017/'
}
} | 15.75 | 38 | 0.595238 | 13 | 126 | 5.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0.150794 | 126 | 8 | 39 | 15.75 | 0.64486 | 0 | 0 | 0 | 0 | 0 | 0.563492 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
13a57eaccbf0695f985d9bdc70f3041d48a93e55 | 1,210 | py | Python | password_webapp_project/password_app/models.py | wojtek9502/django-password-webapp | 9c2fc40c61dcf19267b4409ef5cca2cb66dd2002 | [
"MIT"
] | 1 | 2021-04-28T19:55:05.000Z | 2021-04-28T19:55:05.000Z | password_webapp_project/password_app/models.py | wojtek9502/django-password-webapp | 9c2fc40c61dcf19267b4409ef5cca2cb66dd2002 | [
"MIT"
] | null | null | null | password_webapp_project/password_app/models.py | wojtek9502/django-password-webapp | 9c2fc40c61dcf19267b4409ef5cca2cb66dd2002 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.urls import reverse
class Password(models.Model):
description = models.CharField(verbose_name="Opis", max_length=500, default="")
password = models.CharField(verbose_name="Hasło", max_length=1000, null=False, blank=False)
... | 44.814815 | 140 | 0.742149 | 161 | 1,210 | 5.378882 | 0.509317 | 0.114319 | 0.06582 | 0.090069 | 0.117783 | 0.117783 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.143802 | 1,210 | 26 | 141 | 46.538462 | 0.829151 | 0.053719 | 0 | 0 | 0 | 0 | 0.155867 | 0.02627 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.333333 | 0.166667 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
13aafea48a919e63272684f6b9db7b5d65c61839 | 2,048 | py | Python | tests/unit/remote/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | tests/unit/remote/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | tests/unit/remote/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | import getpass
from unittest import TestCase
from dvc.remote.ssh import RemoteSSH
class TestRemoteSSH(TestCase):
def test_user(self):
url = 'ssh://127.0.0.1:/path/to/dir'
config = {'url': url}
remote = RemoteSSH(None, config)
self.assertEqual(remote.user, getpass.getuser())
... | 29.257143 | 63 | 0.573242 | 247 | 2,048 | 4.732794 | 0.17004 | 0.179641 | 0.251497 | 0.171086 | 0.766467 | 0.739093 | 0.641574 | 0.612489 | 0.612489 | 0.516681 | 0 | 0.031544 | 0.272461 | 2,048 | 69 | 64 | 29.681159 | 0.75302 | 0.036621 | 0 | 0.568627 | 0 | 0 | 0.106599 | 0.058883 | 0 | 0 | 0 | 0 | 0.27451 | 1 | 0.058824 | false | 0.039216 | 0.058824 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 3 |
13b2e767cd1d934f260d32d514edc5e02a94214a | 186 | py | Python | problems/1.5.2.py | kas/firecode | a11a7b99fd80c01b6185573b0870ad45ac090686 | [
"MIT"
] | 1 | 2019-04-13T03:27:00.000Z | 2019-04-13T03:27:00.000Z | problems/1.5.2.py | kas/firecode.io | a11a7b99fd80c01b6185573b0870ad45ac090686 | [
"MIT"
] | null | null | null | problems/1.5.2.py | kas/firecode.io | a11a7b99fd80c01b6185573b0870ad45ac090686 | [
"MIT"
] | null | null | null | # 1.5 Find One Missing Number from 1 to 10
def find_missing_number(list_numbers):
list_sum = 0
for number in list_numbers:
list_sum += number
return 55 - list_sum
| 18.6 | 42 | 0.682796 | 31 | 186 | 3.870968 | 0.580645 | 0.175 | 0.25 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.263441 | 186 | 9 | 43 | 20.666667 | 0.817518 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13dcd17552ec6a763e0fcc9241780570a583d85a | 1,217 | py | Python | dewey/commands/reset.py | sidebarchats/dewey | 78e1f04f6de23e32a3e38c658d83bbb68993a6af | [
"MIT"
] | null | null | null | dewey/commands/reset.py | sidebarchats/dewey | 78e1f04f6de23e32a3e38c658d83bbb68993a6af | [
"MIT"
] | null | null | null | dewey/commands/reset.py | sidebarchats/dewey | 78e1f04f6de23e32a3e38c658d83bbb68993a6af | [
"MIT"
] | null | null | null | import os
import subprocess
from clint.textui import puts, indent, colored
from .base import DeweyCommand
from dewey.util import suppress_stdout_stderr
class Command(DeweyCommand):
def print_section(self, message):
print("=" * (len(message) + 4))
print(" %s " % message)
print("=" * (le... | 32.026316 | 97 | 0.626952 | 138 | 1,217 | 5.485507 | 0.521739 | 0.116248 | 0.055482 | 0.087186 | 0.240423 | 0.110964 | 0 | 0 | 0 | 0 | 0 | 0.003219 | 0.234182 | 1,217 | 37 | 98 | 32.891892 | 0.809013 | 0.464256 | 0 | 0.133333 | 0 | 0 | 0.03605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.066667 | 0.333333 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
13de99fa73cfa27fcc972790bbdfb55bec1acbab | 361 | py | Python | desktop/core/ext-py/django-axes-2.2.0/axes/test_urls.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 3 | 2018-01-29T14:16:02.000Z | 2019-02-05T21:33:05.000Z | desktop/core/ext-py/django-axes-2.2.0/axes/test_urls.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 7 | 2019-11-28T21:48:38.000Z | 2020-08-02T18:06:40.000Z | desktop/core/ext-py/django-axes-2.2.0/axes/test_urls.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 6 | 2020-05-29T21:46:30.000Z | 2020-12-15T20:32:19.000Z | from django.conf.urls import url
from django.contrib import admin
try:
# django < 1.10
from django.conf.urls import patterns
from django.conf.urls import include
urlpatterns = patterns(
'',
url(r'^admin/', include(admin.site.urls)),
)
except ImportError:
urlpatterns = [
... | 21.235294 | 50 | 0.631579 | 45 | 361 | 5.066667 | 0.4 | 0.175439 | 0.184211 | 0.236842 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01107 | 0.249307 | 361 | 16 | 51 | 22.5625 | 0.830258 | 0.036011 | 0 | 0 | 0 | 0 | 0.040462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.384615 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13f04ba96f5af7c3b559e5bffb930e6ed51efc30 | 159 | py | Python | tests/test_core.py | Jeitto/cnabera | 16d6d72255334b05243900e9561ddb721f9ef061 | [
"MIT"
] | null | null | null | tests/test_core.py | Jeitto/cnabera | 16d6d72255334b05243900e9561ddb721f9ef061 | [
"MIT"
] | 5 | 2020-02-15T14:40:24.000Z | 2020-02-15T15:17:56.000Z | tests/test_core.py | Jeitto/cnabera | 16d6d72255334b05243900e9561ddb721f9ef061 | [
"MIT"
] | null | null | null | from cnabera import core
class TestCore:
def test_main(self):
expected_msg = 'print from application'
assert core.main() == expected_msg
| 19.875 | 47 | 0.679245 | 20 | 159 | 5.25 | 0.75 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 159 | 7 | 48 | 22.714286 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13f54cc80fa01887b6b9356d5f403d407c8ad0de | 1,488 | py | Python | src/python/gh_api/repo.py | pamelarussell/github-bioinformatics | 0e7184cae57426c25cfa0e838637d34adf0a59e7 | [
"MIT"
] | 32 | 2018-05-14T20:34:08.000Z | 2022-03-22T12:37:19.000Z | src/python/gh_api/repo.py | pamelarussell/github-bioinformatics | 0e7184cae57426c25cfa0e838637d34adf0a59e7 | [
"MIT"
] | null | null | null | src/python/gh_api/repo.py | pamelarussell/github-bioinformatics | 0e7184cae57426c25cfa0e838637d34adf0a59e7 | [
"MIT"
] | 6 | 2018-07-11T17:15:07.000Z | 2021-08-02T19:51:40.000Z | from gh_api import gh_curl_response, url_repos
class Repo(object):
"""Repo data from the repos endpoint of the GitHub API"""
def __init__(self, repo_name, gh_username, gh_oauth_key):
"""
Args:
repo_name: GitHub user and repo name e.g. 'broadgsa/gatk'
gh_username: GitHu... | 27.054545 | 77 | 0.625672 | 195 | 1,488 | 4.492308 | 0.235897 | 0.125571 | 0.175799 | 0.226027 | 0.302511 | 0.171233 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282258 | 1,488 | 54 | 78 | 27.555556 | 0.820225 | 0.141801 | 0 | 0 | 0 | 0 | 0.079313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.035714 | 0.392857 | 0.892857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b918352a349dcfaf4e465e81c08f89b4108c10e9 | 307 | py | Python | freenodejobs/utils/ratelimit.py | freenode/freenodejobs | 235388c88ac6f984f36cd20074542e21369bcc8b | [
"MIT"
] | 4 | 2018-06-22T22:27:33.000Z | 2021-12-04T20:48:52.000Z | freenodejobs/utils/ratelimit.py | freenode/freenodejobs | 235388c88ac6f984f36cd20074542e21369bcc8b | [
"MIT"
] | 31 | 2018-05-22T15:38:55.000Z | 2021-03-18T20:31:53.000Z | freenodejobs/utils/ratelimit.py | freenode/freenodejobs | 235388c88ac6f984f36cd20074542e21369bcc8b | [
"MIT"
] | 5 | 2018-06-02T17:28:42.000Z | 2021-12-04T20:48:41.000Z | import redis_rate_limit
from django.conf import settings
def rate_limit(*args, **kwargs):
if not settings.REDIS_ENABLED:
return False
try:
with redis_rate_limit.RateLimit(*args, **kwargs):
return False
except redis_rate_limit.TooManyRequests:
return True
| 20.466667 | 57 | 0.684039 | 38 | 307 | 5.315789 | 0.578947 | 0.178218 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247557 | 307 | 14 | 58 | 21.928571 | 0.874459 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b92473a6f3fd568469f738486765dde1be51b257 | 269 | py | Python | class_ms.py | andrew12/twwrando-dv_im | 6645f67c9c1d02744523e16d654b7d841251fba7 | [
"MIT"
] | null | null | null | class_ms.py | andrew12/twwrando-dv_im | 6645f67c9c1d02744523e16d654b7d841251fba7 | [
"MIT"
] | null | null | null | class_ms.py | andrew12/twwrando-dv_im | 6645f67c9c1d02744523e16d654b7d841251fba7 | [
"MIT"
] | null | null | null | from collections import OrderedDict
import yaml
class YamlOrderedDictLoader(yaml.SafeLoader):
pass
YamlOrderedDictLoader.add_constructor(
yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
lambda loader, node: OrderedDict(loader.construct_pairs(node)),
)
| 19.214286 | 67 | 0.806691 | 28 | 269 | 7.607143 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122677 | 269 | 13 | 68 | 20.692308 | 0.902542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.25 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b92a8c825619133b65c5faa2057e554b974d277f | 438 | py | Python | keras/__init__.py | insdeep/keras | 616201255b434a224fd83430d89810744a6ebc22 | [
"MIT"
] | 20 | 2018-01-08T02:13:33.000Z | 2021-09-17T12:20:52.000Z | keras/__init__.py | insdeep/keras | 616201255b434a224fd83430d89810744a6ebc22 | [
"MIT"
] | 14 | 2019-06-22T01:56:29.000Z | 2022-03-11T23:14:30.000Z | keras/__init__.py | insdeep/keras | 616201255b434a224fd83430d89810744a6ebc22 | [
"MIT"
] | 24 | 2017-12-25T13:44:27.000Z | 2021-06-27T15:48:57.000Z | from __future__ import absolute_import
from . import backend
from . import datasets
from . import engine
from . import layers
from . import preprocessing
from . import utils
from . import wrappers
from . import callbacks
from . import constraints
from . import initializations
from . import metrics
from . im... | 23.052632 | 39 | 0.757991 | 54 | 438 | 5.981481 | 0.425926 | 0.464396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008523 | 0.196347 | 438 | 18 | 40 | 24.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.941176 | 0 | 0.941176 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b93d457bd08b670857b6ca61d642f639591b8f10 | 868 | py | Python | test/genl3/test_cli.py | CyanoAlert/xcube | b89e7a9adcb348b0f5fc86c38704fb93980b7def | [
"MIT"
] | null | null | null | test/genl3/test_cli.py | CyanoAlert/xcube | b89e7a9adcb348b0f5fc86c38704fb93980b7def | [
"MIT"
] | 3 | 2019-05-13T14:11:07.000Z | 2019-06-14T09:48:31.000Z | test/genl3/test_cli.py | CyanoAlert/xcube | b89e7a9adcb348b0f5fc86c38704fb93980b7def | [
"MIT"
] | null | null | null | import unittest
from xcube.genl3.cli import main
class CliTest(unittest.TestCase):
def test_help(self):
exit_code = main(['-h'])
self.assertEqual(0, exit_code)
exit_code = main(['--help'])
self.assertEqual(0, exit_code)
def test_missing_args(self):
exit_code = main([]... | 26.30303 | 58 | 0.618664 | 111 | 868 | 4.612613 | 0.306306 | 0.21875 | 0.164063 | 0.1875 | 0.552734 | 0.330078 | 0.330078 | 0.148438 | 0.148438 | 0 | 0 | 0.012085 | 0.237327 | 868 | 32 | 59 | 27.125 | 0.761329 | 0 | 0 | 0.304348 | 0 | 0 | 0.076125 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.26087 | false | 0 | 0.086957 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b943cd80804303b895d5df2d48a95b3430110dd4 | 4,701 | py | Python | stubs.min/Autodesk/Revit/DB/__init___parts/FailureMessageAccessor.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/Autodesk/Revit/DB/__init___parts/FailureMessageAccessor.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/__init___parts/FailureMessageAccessor.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class FailureMessageAccessor(object,IDisposable):
""" Restricted accessor for FailureMessage. """
def CloneFailureMessage(self):
"""
CloneFailureMessage(self: FailureMessageAccessor) -> FailureMessage
Creates a copy of the FailureMessage.
Returns: Copy of the FailureMesassge.
"""
pass
d... | 33.578571 | 215 | 0.71304 | 495 | 4,701 | 6.636364 | 0.234343 | 0.038356 | 0.034094 | 0.036225 | 0.357686 | 0.272755 | 0.255099 | 0.255099 | 0.167732 | 0.146423 | 0 | 0 | 0.204637 | 4,701 | 139 | 216 | 33.820144 | 0.878577 | 0.674325 | 0 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.475 | false | 0.475 | 0 | 0 | 0.525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b949c07bf35c326d8b65960988d624d99ef1f8d8 | 324 | py | Python | sensors/simple_button/simple_button.py | esp32-robotics/micropython-robotics-drivers | b8340e5d4e36c31669e626e59adda5018ed38dea | [
"BSD-3-Clause"
] | null | null | null | sensors/simple_button/simple_button.py | esp32-robotics/micropython-robotics-drivers | b8340e5d4e36c31669e626e59adda5018ed38dea | [
"BSD-3-Clause"
] | 3 | 2019-11-28T03:15:43.000Z | 2019-11-28T03:20:02.000Z | sensors/simple_button/simple_button.py | esp32-robotics/micropython-robotics-drivers | b8340e5d4e36c31669e626e59adda5018ed38dea | [
"BSD-3-Clause"
] | null | null | null |
class SimpleButton(object):
"""Represents a single button that is connected to the ESP32"""
def __init__(self, pin):
self.pin = pin
def read_pressed(self):
print("Reading button on pin {}".format(self.pin))
# TODO: Actually call MicroPython code to get the value
return Fa... | 24.923077 | 67 | 0.645062 | 43 | 324 | 4.744186 | 0.744186 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0.262346 | 324 | 12 | 68 | 27 | 0.845188 | 0.345679 | 0 | 0 | 0 | 0 | 0.117073 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b957de77a25b93809a9729f2dce1d969050b0e10 | 171 | py | Python | src/DoingMathInPython/ch_07/integrals.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | src/DoingMathInPython/ch_07/integrals.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | src/DoingMathInPython/ch_07/integrals.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | from sympy import Integral, Symbol
x = Symbol( 'x' )
k = Symbol( 'k' )
Integral( k*x, x ).doit()
Integral( k*x, ( x, 0, 2 ) ).doit()
Integral( x, ( x, 2, 4 ) ).doit()
| 15.545455 | 35 | 0.54386 | 29 | 171 | 3.206897 | 0.37931 | 0.064516 | 0.215054 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.22807 | 171 | 10 | 36 | 17.1 | 0.674242 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b98e7c40bae755069143600201add93183206dbb | 1,027 | py | Python | biorbd_optim/__init__.py | tgouss/BiorbdOptim | 2aa43850ddd6e8d210731a5b3894eeb27fb8e781 | [
"Apache-2.0"
] | null | null | null | biorbd_optim/__init__.py | tgouss/BiorbdOptim | 2aa43850ddd6e8d210731a5b3894eeb27fb8e781 | [
"Apache-2.0"
] | null | null | null | biorbd_optim/__init__.py | tgouss/BiorbdOptim | 2aa43850ddd6e8d210731a5b3894eeb27fb8e781 | [
"Apache-2.0"
] | null | null | null | from .misc.__version__ import __version__
from .dynamics.problem import Problem
from .dynamics.dynamics_type import DynamicsType, DynamicsTypeList, DynamicsTypeOption
from .dynamics.dynamics_functions import DynamicsFunctions
from .gui.plot import CustomPlot, ShowResult
from .limits.constraints import Constraint, Const... | 41.08 | 97 | 0.833496 | 103 | 1,027 | 8.174757 | 0.533981 | 0.066508 | 0.047506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11295 | 1,027 | 24 | 98 | 42.791667 | 0.924259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b98f2c62bfaf837a4f552d531c4e901a869f29f0 | 642 | py | Python | entities/hypervisor.py | uzum/cran-simulator | eb9544ddf7e4312df8d88616cea2252feb270525 | [
"MIT"
] | null | null | null | entities/hypervisor.py | uzum/cran-simulator | eb9544ddf7e4312df8d88616cea2252feb270525 | [
"MIT"
] | null | null | null | entities/hypervisor.py | uzum/cran-simulator | eb9544ddf7e4312df8d88616cea2252feb270525 | [
"MIT"
] | null | null | null | from .switch import Switch
class Hypervisor(object):
def __init__(self, env, id):
self.env = env
self.id = id
self.bbus = []
self.switch = Switch(self.env, type = 'internal', host = id)
def add_baseband_unit(self, baseband_unit):
self.bbus.append(baseband_unit)
... | 27.913043 | 68 | 0.61838 | 84 | 642 | 4.511905 | 0.333333 | 0.28496 | 0.295515 | 0.126649 | 0.189974 | 0.189974 | 0.189974 | 0 | 0 | 0 | 0 | 0 | 0.281931 | 642 | 22 | 69 | 29.181818 | 0.822126 | 0 | 0 | 0 | 0 | 0 | 0.012461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b99ad29291d3e49565a83dd7add697ecad7e4c15 | 384 | py | Python | convlstm/src/setup.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | 11 | 2019-08-13T14:21:19.000Z | 2022-02-17T12:22:01.000Z | convlstm/src/setup.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | null | null | null | convlstm/src/setup.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | 3 | 2019-10-20T17:46:05.000Z | 2021-12-10T22:29:50.000Z | from setuptools import setup
from torch.utils.cpp_extension import CppExtension, CUDAExtension, BuildExtension
setup(name='convlstmcpp',
ext_modules=[CppExtension('convlstmcpp', ['convlstm.cpp'])],
cmdclass={'build_ext': BuildExtension})
#setup(name='lltmcuda',
# ext_modules=[CUDAExtension('lltmcuda'... | 34.909091 | 81 | 0.726563 | 39 | 384 | 7.025641 | 0.538462 | 0.138686 | 0.167883 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 384 | 10 | 82 | 38.4 | 0.810651 | 0.328125 | 0 | 0 | 0 | 0 | 0.168627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9ad8774b6ebc13de3ddd1aa95bc5c968e6bfde6 | 694 | py | Python | qcloudsdkhelix/QueryJobRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkhelix/QueryJobRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkhelix/QueryJobRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from qcloudsdkcore.request import Request
class QueryJobRequest(Request):
def __init__(self):
super(QueryJobRequest, self).__init__(
'helix', 'qcloudcliV1', 'QueryJob', 'helix.api.qcloud.com')
def get_jobId(self):
return self.get_params().get('jobId')
... | 24.785714 | 71 | 0.639769 | 85 | 694 | 4.988235 | 0.329412 | 0.042453 | 0.099057 | 0.120283 | 0.183962 | 0.183962 | 0 | 0 | 0 | 0 | 0 | 0.003683 | 0.217579 | 694 | 27 | 72 | 25.703704 | 0.777164 | 0.030259 | 0 | 0 | 0 | 0 | 0.119225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 0.176471 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b9adb53fe133247420d01d39a491ae7fc4fe03e8 | 448 | py | Python | eleanor/tests/test_source.py | megbedell/ELLIE | 0fbce74ceb21cdcbd48c7d7bc07aa78a3854c949 | [
"MIT"
] | null | null | null | eleanor/tests/test_source.py | megbedell/ELLIE | 0fbce74ceb21cdcbd48c7d7bc07aa78a3854c949 | [
"MIT"
] | null | null | null | eleanor/tests/test_source.py | megbedell/ELLIE | 0fbce74ceb21cdcbd48c7d7bc07aa78a3854c949 | [
"MIT"
] | null | null | null | from ..source import *
def test_multi_sectors():
tic = 261136679 # for testing
assert(len(multi_sectors('all', tic=tic)) is 13)
assert(len(multi_sectors([1], tic=tic)) is 1)
assert(len(multi_sectors([3,6,8]), tic=tic) is 3)
try:
multi_sectors(1, tic=tic)
except TypeError:
pass
... | 29.866667 | 53 | 0.633929 | 65 | 448 | 4.276923 | 0.507692 | 0.215827 | 0.151079 | 0.226619 | 0.136691 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052326 | 0.232143 | 448 | 15 | 54 | 29.866667 | 0.755814 | 0.024554 | 0 | 0 | 0 | 0 | 0.116972 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.071429 | false | 0.071429 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b9adfc26cff6b00e0916c4aef7a0d4f8cd38b91b | 295 | py | Python | pytransmission/utils/__init__.py | mmadsen/pytransmission | 053bbd8888b229feccc784d6322f9db2cdfeabcc | [
"Apache-2.0"
] | null | null | null | pytransmission/utils/__init__.py | mmadsen/pytransmission | 053bbd8888b229feccc784d6322f9db2cdfeabcc | [
"Apache-2.0"
] | null | null | null | pytransmission/utils/__init__.py | mmadsen/pytransmission | 053bbd8888b229feccc784d6322f9db2cdfeabcc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2013. Mark E. Madsen <mark@madsenlab.org>
#
# This work is licensed under the terms of the Apache Software License, Version 2.0. See the file LICENSE for details.
"""
Description here
"""
from sampling import get_sampled_counter, get_sampled_dict_counts | 29.5 | 119 | 0.759322 | 46 | 295 | 4.76087 | 0.869565 | 0.091324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023904 | 0.149153 | 295 | 10 | 120 | 29.5 | 0.848606 | 0.718644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b9ae84020e00d009aef01458f99f54ce4933e382 | 2,154 | py | Python | contact/forms.py | mifa43/test-repetition | 0f4dca08ff92ac51e68e233668803cc234eafa4d | [
"Apache-2.0"
] | null | null | null | contact/forms.py | mifa43/test-repetition | 0f4dca08ff92ac51e68e233668803cc234eafa4d | [
"Apache-2.0"
] | 30 | 2021-08-10T10:03:29.000Z | 2021-09-28T08:46:53.000Z | contact/forms.py | mifa43/test | 0f4dca08ff92ac51e68e233668803cc234eafa4d | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import AdressEntery
from django.forms import ModelForm
# class CreateContact(forms.Form): #the form contains fields that must be filled in to create a contact
# GENDER_CHOICES =(
# ("1", "Male"),
# ("2", "Famele"),
# ) # values of Choice Field
# YEARS =[x for x... | 61.542857 | 156 | 0.702878 | 264 | 2,154 | 5.69697 | 0.32197 | 0.073138 | 0.106383 | 0.132979 | 0.680186 | 0.680186 | 0.634973 | 0.634973 | 0.486037 | 0.478059 | 0 | 0.020902 | 0.155989 | 2,154 | 35 | 157 | 61.542857 | 0.806381 | 0.854689 | 0 | 0 | 0 | 0 | 0.165493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b9bb0d22e0777ae3f3cce9a606af4e45595079a2 | 842 | py | Python | server/api/models.py | mtautonico/SwitchCompare | 80c888a9ae3226c0f328e753095fd9b9812e2502 | [
"MIT"
] | null | null | null | server/api/models.py | mtautonico/SwitchCompare | 80c888a9ae3226c0f328e753095fd9b9812e2502 | [
"MIT"
] | null | null | null | server/api/models.py | mtautonico/SwitchCompare | 80c888a9ae3226c0f328e753095fd9b9812e2502 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Switch(models.Model):
brand = models.CharField(max_length=50)
model = models.CharField(max_length=50)
type = models.CharField(max_length=50, null=True)
actuation_distance = models.DecimalField(max_digits=5, decimal_places=2)
bottom_di... | 28.066667 | 76 | 0.707838 | 109 | 842 | 5.238532 | 0.440367 | 0.131349 | 0.157618 | 0.210158 | 0.553415 | 0.416813 | 0.416813 | 0.297723 | 0.175131 | 0 | 0 | 0.020144 | 0.174584 | 842 | 29 | 77 | 29.034483 | 0.801439 | 0.028504 | 0 | 0.111111 | 0 | 0 | 0.093137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0.111111 | 0.944444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b9c391e88143da19f7ae7e156fa9770dbf80cf1d | 308 | py | Python | mechlib/amech_io/runner/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | mechlib/amech_io/runner/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | mechlib/amech_io/runner/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | """
Handle submission tasks for moldriver and programs it calls
"""
from mechlib.amech_io.runner._host import print_host_name
from mechlib.amech_io.runner._host import get_host_node
from mechlib.amech_io.runner._host import get_pid
__all__ = [
'print_host_name',
'get_host_node',
'get_pid',
]
| 20.533333 | 59 | 0.766234 | 47 | 308 | 4.595745 | 0.468085 | 0.152778 | 0.222222 | 0.25 | 0.5 | 0.5 | 0.5 | 0.342593 | 0 | 0 | 0 | 0 | 0.146104 | 308 | 14 | 60 | 22 | 0.821293 | 0.191558 | 0 | 0 | 0 | 0 | 0.145228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9d4d3c6a1dd190fa897eda9284eb76ef6208ccb | 1,595 | py | Python | python/fate_arch/storage/localfs/_session.py | QuantumA/FATE | 89a3dd593252128c1bf86fb1014b25a629bdb31a | [
"Apache-2.0"
] | 1 | 2022-02-07T06:23:15.000Z | 2022-02-07T06:23:15.000Z | python/fate_arch/storage/localfs/_session.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | 11 | 2020-10-09T09:53:50.000Z | 2021-12-06T16:14:51.000Z | python/fate_arch/storage/localfs/_session.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2019 The FATE 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 appli... | 39.875 | 113 | 0.730408 | 203 | 1,595 | 5.64532 | 0.53202 | 0.052356 | 0.041885 | 0.027923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006231 | 0.194984 | 1,595 | 40 | 114 | 39.875 | 0.886293 | 0.366144 | 0 | 0.166667 | 0 | 0 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.166667 | 0.222222 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b9d78a342aab75a55fd50460fed18300ccff32c8 | 166 | py | Python | Back/registeration/urls.py | sadeghjafari5528/404- | 0499b93cc473ec4def96d95364180eb4f4dafb11 | [
"MIT"
] | null | null | null | Back/registeration/urls.py | sadeghjafari5528/404- | 0499b93cc473ec4def96d95364180eb4f4dafb11 | [
"MIT"
] | 1 | 2020-12-27T14:59:35.000Z | 2020-12-27T14:59:35.000Z | Back/registeration/urls.py | sadeghjafari5528/404- | 0499b93cc473ec4def96d95364180eb4f4dafb11 | [
"MIT"
] | 2 | 2020-10-30T08:08:32.000Z | 2020-10-30T20:47:51.000Z | from django.urls import path
from . import views
urlpatterns = [
path("login/", views.signin, name="signin"),
path("signup/", views.signup, name="signup"),
] | 23.714286 | 49 | 0.668675 | 21 | 166 | 5.285714 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 166 | 7 | 50 | 23.714286 | 0.792857 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9e8a70f0c3ee88ef1f3980b8defe224b897b221 | 17,037 | py | Python | package/tests/test_analysis_batch.py | monotropauniflora/PartSeg | 68ccf8df4162174056028cbb677ab729e4c31994 | [
"BSD-3-Clause"
] | null | null | null | package/tests/test_analysis_batch.py | monotropauniflora/PartSeg | 68ccf8df4162174056028cbb677ab729e4c31994 | [
"BSD-3-Clause"
] | null | null | null | package/tests/test_analysis_batch.py | monotropauniflora/PartSeg | 68ccf8df4162174056028cbb677ab729e4c31994 | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import time
from glob import glob
import numpy as np
import pandas as pd
import pytest
from PartSegCore.algorithm_describe_base import SegmentationProfile
from PartSegCore.analysis.batch_processing import batch_backend
from PartSegCore.analysis.batch_processing.batch_backend import CalculationMan... | 43.131646 | 120 | 0.58009 | 1,668 | 17,037 | 5.751799 | 0.14988 | 0.015635 | 0.019804 | 0.04336 | 0.74359 | 0.725036 | 0.702418 | 0.680842 | 0.657807 | 0.617678 | 0 | 0.020293 | 0.302929 | 17,037 | 394 | 121 | 43.241117 | 0.787555 | 0.005107 | 0 | 0.585165 | 0 | 0 | 0.129175 | 0.008262 | 0 | 0 | 0 | 0.002538 | 0.035714 | 1 | 0.027473 | false | 0 | 0.049451 | 0 | 0.098901 | 0.002747 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9fb241573d03ff04632d08aa05376af898db8b7 | 2,331 | py | Python | app/tests/api/api_v2/test_capabilities.py | qtdemo1/ibm-ops | 29f3d4ba406a1c39a007468977784d6c39f056bb | [
"Apache-2.0"
] | null | null | null | app/tests/api/api_v2/test_capabilities.py | qtdemo1/ibm-ops | 29f3d4ba406a1c39a007468977784d6c39f056bb | [
"Apache-2.0"
] | null | null | null | app/tests/api/api_v2/test_capabilities.py | qtdemo1/ibm-ops | 29f3d4ba406a1c39a007468977784d6c39f056bb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
#
# Copyright 2020 IBM
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 39.508475 | 87 | 0.75976 | 296 | 2,331 | 5.787162 | 0.385135 | 0.073555 | 0.182137 | 0.163456 | 0.464098 | 0.44425 | 0.395797 | 0.395797 | 0.298307 | 0.298307 | 0 | 0.008513 | 0.143286 | 2,331 | 58 | 88 | 40.189655 | 0.849274 | 0.247533 | 0 | 0.242424 | 0 | 0 | 0.407706 | 0.19839 | 0 | 0 | 0 | 0 | 0.575758 | 1 | 0.060606 | false | 0 | 0.090909 | 0 | 0.151515 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9fc2988a2077d9c5cd018c0d1be30238e69f540 | 1,489 | py | Python | meta_feature_extraction/start_activities.py | gbrltv/process_meta_learning | 4b00bc39d15bd4b1f631bd8361a88e1f44e36cab | [
"MIT"
] | 2 | 2021-03-11T12:10:36.000Z | 2021-05-25T18:00:40.000Z | meta_feature_extraction/start_activities.py | gbrltv/process_meta_learning | 4b00bc39d15bd4b1f631bd8361a88e1f44e36cab | [
"MIT"
] | null | null | null | meta_feature_extraction/start_activities.py | gbrltv/process_meta_learning | 4b00bc39d15bd4b1f631bd8361a88e1f44e36cab | [
"MIT"
] | null | null | null | import numpy as np
from scipy import stats
from pm4py.algo.filtering.log.start_activities import start_activities_filter
def start_activities(log):
log_start = start_activities_filter.get_start_activities(log)
n_unique_start_activities = len(log_start)
start_activities_occurrences = list(log_start.value... | 39.184211 | 77 | 0.786434 | 174 | 1,489 | 6.241379 | 0.224138 | 0.566298 | 0.287293 | 0.228361 | 0.372007 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.159839 | 1,489 | 37 | 78 | 40.243243 | 0.860911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.09375 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a05482e6ef63473b00766d61194ae66bf828c9e | 164 | py | Python | frappe/geo/doctype/country/test_country.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | null | null | null | frappe/geo/doctype/country/test_country.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | null | null | null | frappe/geo/doctype/country/test_country.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | 1 | 2018-03-22T00:24:53.000Z | 2018-03-22T00:24:53.000Z | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: See license.txt
import frappe
test_records = frappe.get_test_records('Country') | 27.333333 | 71 | 0.780488 | 23 | 164 | 5.434783 | 0.826087 | 0.176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027972 | 0.128049 | 164 | 6 | 72 | 27.333333 | 0.846154 | 0.573171 | 0 | 0 | 0 | 0 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a0693352cf37bb81e3d3b23381b12bbe3bc332b | 152 | py | Python | TestePython/OlaMundo.py | ElvisArimatea/First-repository | 74c0761bfb360d0b9a80a47a4e6775d29943b489 | [
"MIT"
] | null | null | null | TestePython/OlaMundo.py | ElvisArimatea/First-repository | 74c0761bfb360d0b9a80a47a4e6775d29943b489 | [
"MIT"
] | null | null | null | TestePython/OlaMundo.py | ElvisArimatea/First-repository | 74c0761bfb360d0b9a80a47a4e6775d29943b489 | [
"MIT"
] | null | null | null | print('Olá mundo!')
print('Como estão vocês?')
x = input('Como você está?\n').capitalize()
if x == 'Bem':
print('Quem bom que está bem!')
print(x) | 19 | 43 | 0.625 | 25 | 152 | 3.8 | 0.68 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 8 | 44 | 19 | 0.748032 | 0 | 0 | 0 | 0 | 0 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6a2794651df5ae2bd5afcd7540fd984f64979df9 | 99,105 | py | Python | epic/antenna_beams.py | nithyanandan/MOFF | c2bd68b792a5269cfffe1d93b4710eae9ba8ca55 | [
"MIT"
] | 3 | 2019-12-11T07:14:10.000Z | 2020-11-07T19:25:32.000Z | epic/antenna_beams.py | nithyanandan/MOFF | c2bd68b792a5269cfffe1d93b4710eae9ba8ca55 | [
"MIT"
] | 8 | 2015-08-20T19:46:29.000Z | 2015-09-19T01:31:43.000Z | epic/antenna_beams.py | epic-astronomy/EPIC | c2bd68b792a5269cfffe1d93b4710eae9ba8ca55 | [
"MIT"
] | 1 | 2019-09-24T19:05:34.000Z | 2019-09-24T19:05:34.000Z | import numpy as NP
import scipy.constants as FCNST
import scipy.special as SPS
from astroutils import geometry as GEOM
#################################################################################
def antenna_beam_arg_splitter(args, **kwargs):
return antenna_beam_generator(*args, **kwargs)
#################... | 52.519873 | 218 | 0.55422 | 11,693 | 99,105 | 4.63816 | 0.055332 | 0.039237 | 0.00968 | 0.006638 | 0.754711 | 0.712653 | 0.682432 | 0.655788 | 0.638345 | 0.617767 | 0 | 0.023862 | 0.336946 | 99,105 | 1,886 | 219 | 52.54772 | 0.801467 | 0.029222 | 0 | 0.631632 | 0 | 0.009009 | 0.181504 | 0.000432 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004004 | null | null | 0.008008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a2985a53927a57fb9723f59b01fa2cffa7bbc63 | 4,832 | py | Python | cvxpy/constraints/zero.py | mostafaelaraby/cvxpy | 078e025be8b8315b5f579bd0209e8e3a1e2a2a19 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cvxpy/constraints/zero.py | mostafaelaraby/cvxpy | 078e025be8b8315b5f579bd0209e8e3a1e2a2a19 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cvxpy/constraints/zero.py | mostafaelaraby/cvxpy | 078e025be8b8315b5f579bd0209e8e3a1e2a2a19 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-04-12T22:40:22.000Z | 2019-04-12T22:40:22.000Z | """
Copyright 2013 Steven Diamond
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 27.930636 | 75 | 0.609065 | 635 | 4,832 | 4.489764 | 0.228346 | 0.02806 | 0.025254 | 0.031919 | 0.593827 | 0.568222 | 0.552789 | 0.541214 | 0.513153 | 0.494563 | 0 | 0.007491 | 0.281664 | 4,832 | 172 | 76 | 28.093023 | 0.813886 | 0.414321 | 0 | 0.6 | 0 | 0 | 0.011955 | 0 | 0 | 0 | 0 | 0.005814 | 0 | 1 | 0.36 | false | 0 | 0.026667 | 0.106667 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a355aad5a887463988b498ff98297fd6377563b | 1,524 | py | Python | test/test_algs.py | taylorcavazos/hw1-Sorting | a1092a926885e8ac8fda8bec5b8eceb68bdc86a6 | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | taylorcavazos/hw1-Sorting | a1092a926885e8ac8fda8bec5b8eceb68bdc86a6 | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | taylorcavazos/hw1-Sorting | a1092a926885e8ac8fda8bec5b8eceb68bdc86a6 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from example import algs
def test_pointless_sort():
# generate random vector of length 10
x = np.random.rand(10)
# check that pointless_sort always returns [1,2,3]
assert np.array_equal(algs.pointless_sort(x), np.array([1,2,3]))
# generate a new random vector of length 10
x... | 42.333333 | 92 | 0.656824 | 278 | 1,524 | 3.535971 | 0.23741 | 0.142421 | 0.132248 | 0.183113 | 0.645982 | 0.626653 | 0.549339 | 0.549339 | 0.366226 | 0.366226 | 0 | 0.054545 | 0.169948 | 1,524 | 35 | 93 | 43.542857 | 0.72253 | 0.273622 | 0 | 0.315789 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 1 | 0.157895 | false | 0 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a3dc8e6995379728d0587d8f7db215635f6d7fc | 411 | py | Python | api/fields.py | zytx/pyblog | 56e3535afd0cab5178970d403ebdaf2eb56ace01 | [
"MIT"
] | 5 | 2018-03-29T04:12:30.000Z | 2019-08-20T00:11:52.000Z | api/fields.py | zytx/pyblog | 56e3535afd0cab5178970d403ebdaf2eb56ace01 | [
"MIT"
] | 6 | 2018-12-28T09:12:59.000Z | 2021-09-22T17:38:35.000Z | api/fields.py | zytx/pyblog | 56e3535afd0cab5178970d403ebdaf2eb56ace01 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class SlugObjAttrRelatedField(serializers.SlugRelatedField):
def __init__(self, attr_name=None, **kwargs):
assert attr_name is not None, 'The `attr_name` argument is required.'
self.attr_name = attr_name
super().__init__(**kwargs)
def to_represe... | 31.615385 | 77 | 0.722628 | 50 | 411 | 5.6 | 0.54 | 0.171429 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180049 | 411 | 12 | 78 | 34.25 | 0.830861 | 0 | 0 | 0 | 0 | 0 | 0.090024 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a47c63d2585bb44514f42e935904de6d018cc08 | 20 | py | Python | Python/100Excersises/76 to 100/85/.history/85_20201119143422.py | magusikrak/NAMI-TERM-I-GroupWork | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | null | null | null | Python/100Excersises/76 to 100/85/.history/85_20201119143422.py | magusikrak/NAMI-TERM-I-GroupWork | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | 1 | 2021-07-24T03:18:30.000Z | 2021-07-24T12:45:07.000Z | Python/100Excersises/76 to 100/85/.history/85_20201119143422.py | sugamkarki/NAMI-Year-II-TERM-I-Group_Project | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | null | null | null | myFile=open("c.txt") | 20 | 20 | 0.7 | 4 | 20 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 20 | 1 | 20 | 20 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a4a9b2293d8d9bc8600d56cab09957f9d75b142 | 2,949 | py | Python | tests/unit/env_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | 1 | 2021-04-05T11:12:08.000Z | 2021-04-05T11:12:08.000Z | tests/unit/env_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | null | null | null | tests/unit/env_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import unittest
from rest.environment.environment import EnvironmentSingleton
class RenderTestCase(unittest.TestCase):
def test_load_env_empty_virt_env(self):
env = EnvironmentSingleton.get_instance()
self.assertGreater(len(env.get_env()), 0)
# self.assertEqual(len... | 41.535211 | 100 | 0.689047 | 410 | 2,949 | 4.558537 | 0.134146 | 0.060995 | 0.067416 | 0.085607 | 0.870519 | 0.788122 | 0.735688 | 0.634564 | 0.625468 | 0.579454 | 0 | 0.010811 | 0.184469 | 2,949 | 70 | 101 | 42.128571 | 0.76632 | 0.023398 | 0 | 0.509091 | 0 | 0 | 0.034051 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.145455 | false | 0 | 0.036364 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dbdf26ddfab55f21b4802c7be14e14b6316d82d4 | 267 | py | Python | fret/__init__.py | yxonic/repe | 133ce0145b378a556351a59beb72e52cfa322c58 | [
"MIT"
] | null | null | null | fret/__init__.py | yxonic/repe | 133ce0145b378a556351a59beb72e52cfa322c58 | [
"MIT"
] | null | null | null | fret/__init__.py | yxonic/repe | 133ce0145b378a556351a59beb72e52cfa322c58 | [
"MIT"
] | null | null | null | from .common import configurable, command, argspec, use
from .workspace import Workspace as workspace
from .util import nonbreak, stateful
__all__ = [
'configurable', 'command', 'argspec', 'nonbreak', 'stateful',
'workspace', 'use',
]
__version__ = '0.3.5'
| 24.272727 | 65 | 0.707865 | 30 | 267 | 6.033333 | 0.566667 | 0.209945 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.157303 | 267 | 10 | 66 | 26.7 | 0.791111 | 0 | 0 | 0 | 0 | 0 | 0.220974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e01e1eaaad94cf4ed4612fa740e4735dff2dedbb | 449 | py | Python | lib/clckwrkbdgr/dummy.py | umi0451/dotfiles | c618811be788d995fe01f6a16b355828d7efdd36 | [
"MIT"
] | 2 | 2017-04-16T14:54:17.000Z | 2020-11-12T04:15:00.000Z | lib/clckwrkbdgr/dummy.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | lib/clckwrkbdgr/dummy.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | """ Dummy module to substitute missing dependencies, e.g.:
>>> try:
... import termcolor
... except ImportError:
... import dummy as termcolor
Now some functionality of missing modules can be used in form of dummy functions,
i.e. it will make no real effect.
E.g. `termcolor.colored` will return text without any ... | 24.944444 | 81 | 0.726058 | 66 | 449 | 4.939394 | 0.742424 | 0.01227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175947 | 449 | 17 | 82 | 26.411765 | 0.881081 | 0.877506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e064a1ceaeb495e1e57a8dbf359730eb08445148 | 41 | py | Python | pyslim/_version.py | benjeffery/pyslim | 580f17f950dcb904295884a5725a14563885c142 | [
"MIT"
] | null | null | null | pyslim/_version.py | benjeffery/pyslim | 580f17f950dcb904295884a5725a14563885c142 | [
"MIT"
] | null | null | null | pyslim/_version.py | benjeffery/pyslim | 580f17f950dcb904295884a5725a14563885c142 | [
"MIT"
] | null | null | null | # coding: utf-8
pyslim_version = '0.403'
| 13.666667 | 24 | 0.682927 | 7 | 41 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.146341 | 41 | 2 | 25 | 20.5 | 0.628571 | 0.317073 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e06ee4c51ed5dc366eedbed9fd8c76f0231a7048 | 160,322 | py | Python | python_wrapper/test_functional/test_NI_LBP_P92g_R3.py | ejlai/ext3DLBP | 1f8958842d2a910ab89466cced2a445f58dc6222 | [
"MIT"
] | 8 | 2018-01-26T18:17:10.000Z | 2021-05-20T15:32:35.000Z | python_wrapper/test_functional/test_NI_LBP_P92g_R3.py | ejlai/ext3DLBP | 1f8958842d2a910ab89466cced2a445f58dc6222 | [
"MIT"
] | 6 | 2019-05-30T15:51:03.000Z | 2019-07-17T12:04:11.000Z | python_wrapper/test_functional/test_NI_LBP_P92g_R3.py | ejlai/ext3DLBP | 1f8958842d2a910ab89466cced2a445f58dc6222 | [
"MIT"
] | 3 | 2017-06-16T07:32:46.000Z | 2019-05-30T19:22:42.000Z | '''
=========================================================================
Author: Leonardo Citraro
Company:
Filename:
Last modifed: 06.04.2017 by Leonardo Citraro
Description: Functional test
=========================================================================
================================... | 99.025324 | 204 | 0.65356 | 38,528 | 160,322 | 2.696143 | 0.007527 | 0.014488 | 0.026079 | 0.031874 | 0.131713 | 0.121586 | 0.115887 | 0.090857 | 0.089587 | 0.089587 | 0 | 0.585468 | 0.039658 | 160,322 | 1,618 | 205 | 99.086527 | 0.089216 | 0.002164 | 0 | 0.387781 | 0 | 0 | 0.0394 | 0.000284 | 0 | 0 | 0 | 0 | 0.062344 | 1 | 0 | false | 0.062344 | 0.001247 | 0 | 0.001247 | 0.062968 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e079cac1b5c4ee4f8c9ef23fac3610e7b3262600 | 183 | py | Python | v_1_1/app/file_transmission.py | 2462612540/Large-file-transfer | c727b77929b5a24aeb05e2439c23c316e0e50ff3 | [
"Apache-2.0"
] | 1 | 2021-12-13T07:36:10.000Z | 2021-12-13T07:36:10.000Z | v_1_1/app/file_transmission.py | 2462612540/Large-file-transfer | c727b77929b5a24aeb05e2439c23c316e0e50ff3 | [
"Apache-2.0"
] | null | null | null | v_1_1/app/file_transmission.py | 2462612540/Large-file-transfer | c727b77929b5a24aeb05e2439c23c316e0e50ff3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@version: 1.0
@author: xjl
@file: file_transmission.py 将利用多线程实现文件的传输
@time: 2021/10/22 22:21
"""
if __name__ == '__main__':
pass
| 16.636364 | 41 | 0.639344 | 27 | 183 | 4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.153005 | 183 | 10 | 42 | 18.3 | 0.6 | 0.737705 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0ed476985d7dd7e00c9b3f6fd93fe87e6124e332 | 653 | py | Python | floweaver/layered_graph.py | guest-cc/floweaver | ee02a6fdd07ef7c9bfcf806b54a92efe713e2d78 | [
"MIT"
] | 342 | 2018-01-20T19:31:16.000Z | 2022-02-28T20:45:26.000Z | floweaver/layered_graph.py | guest-cc/floweaver | ee02a6fdd07ef7c9bfcf806b54a92efe713e2d78 | [
"MIT"
] | 108 | 2018-02-06T11:31:45.000Z | 2022-01-13T18:33:25.000Z | floweaver/layered_graph.py | guest-cc/floweaver | ee02a6fdd07ef7c9bfcf806b54a92efe713e2d78 | [
"MIT"
] | 86 | 2018-02-15T13:07:20.000Z | 2022-03-18T15:25:33.000Z | import networkx as nx
from .sankey_definition import Ordering
class LayeredMixin(object):
def __init__(self):
super().__init__()
self.ordering = Ordering([])
def copy(self):
new = super().copy()
new.ordering = self.ordering
return new
def remove_node(self, u):
... | 21.064516 | 66 | 0.641654 | 77 | 653 | 5.285714 | 0.441558 | 0.117936 | 0.09828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245023 | 653 | 30 | 67 | 21.766667 | 0.825558 | 0.079632 | 0 | 0.105263 | 0 | 0 | 0.006723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.105263 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0ee475a81921aea800d2f78b47ac42c2eb440ee8 | 311 | py | Python | yarn_api_client/__init__.py | dimon222/hadoop-yarn-api-python-client | d69dcb563bc24f8ae95c5d9b22c15f8cc0c0b0b4 | [
"BSD-3-Clause"
] | 69 | 2015-03-13T19:49:56.000Z | 2020-01-21T13:03:53.000Z | yarn_api_client/__init__.py | dimon222/hadoop-yarn-api-python-client | d69dcb563bc24f8ae95c5d9b22c15f8cc0c0b0b4 | [
"BSD-3-Clause"
] | 56 | 2015-04-14T18:04:14.000Z | 2020-01-21T18:28:04.000Z | yarn_api_client/__init__.py | dimon222/hadoop-yarn-api-python-client | d69dcb563bc24f8ae95c5d9b22c15f8cc0c0b0b4 | [
"BSD-3-Clause"
] | 47 | 2015-03-03T08:03:19.000Z | 2020-01-10T06:36:08.000Z | # -*- coding: utf-8 -*-
__version__ = '1.0.4.dev0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
| 34.555556 | 82 | 0.794212 | 33 | 311 | 7.121212 | 0.666667 | 0.110638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.099678 | 311 | 8 | 83 | 38.875 | 0.821429 | 0.067524 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0ef296016bedd452d57223136cfc7467132fcc7f | 16,066 | py | Python | pysnmp-with-texts/Nortel-Magellan-Passport-FrameRelayUniTraceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-FrameRelayUniTraceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-FrameRelayUniTraceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-Magellan-Passport-FrameRelayUniTraceMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-FrameRelayUniTraceMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:27:22 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 ... | 157.509804 | 1,911 | 0.798332 | 1,845 | 16,066 | 6.951762 | 0.166396 | 0.009512 | 0.07859 | 0.010915 | 0.486278 | 0.306721 | 0.306721 | 0.301107 | 0.285514 | 0.250585 | 0 | 0.054308 | 0.093427 | 16,066 | 101 | 1,912 | 159.069307 | 0.826296 | 0.024026 | 0 | 0 | 0 | 0.106383 | 0.336864 | 0.052198 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095745 | 0.106383 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1607241d6d83b736f76fe2d379e3654f98a0aa63 | 10,021 | py | Python | tensorflow/python/ipu/tests/replicated_stateful_gradient_accumulate_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 74 | 2020-07-06T17:11:39.000Z | 2022-01-28T06:31:28.000Z | tensorflow/python/ipu/tests/replicated_stateful_gradient_accumulate_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 9 | 2020-10-13T23:25:29.000Z | 2022-02-10T06:54:48.000Z | tensorflow/python/ipu/tests/replicated_stateful_gradient_accumulate_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 12 | 2020-07-08T07:27:17.000Z | 2021-12-27T08:54:27.000Z | # Copyright 2021 The TensorFlow 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 applica... | 34.318493 | 80 | 0.634168 | 1,364 | 10,021 | 4.388563 | 0.153226 | 0.024056 | 0.028233 | 0.032075 | 0.762446 | 0.720515 | 0.701637 | 0.664885 | 0.651854 | 0.620782 | 0 | 0.022016 | 0.256661 | 10,021 | 291 | 81 | 34.436426 | 0.781581 | 0.069255 | 0 | 0.665198 | 0 | 0 | 0.010203 | 0 | 0 | 0 | 0 | 0 | 0.070485 | 1 | 0.096916 | false | 0 | 0.066079 | 0.022026 | 0.242291 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
160a0ab2dccc3e6a9bd97a92541229bfd847e959 | 1,613 | py | Python | tools/nntool/expressions/symbolic/float_quantization/float_qrec.py | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | tools/nntool/expressions/symbolic/float_quantization/float_qrec.py | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | tools/nntool/expressions/symbolic/float_quantization/float_qrec.py | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | 1 | 2021-11-11T02:12:25.000Z | 2021-11-11T02:12:25.000Z | # Copyright (C) 2020 GreenWaves Technologies, SAS
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# This progr... | 27.810345 | 76 | 0.686919 | 236 | 1,613 | 4.567797 | 0.444915 | 0.058442 | 0.051948 | 0.052876 | 0.092764 | 0.092764 | 0.06308 | 0 | 0 | 0 | 0 | 0.004072 | 0.238686 | 1,613 | 57 | 77 | 28.298246 | 0.873779 | 0.421575 | 0 | 0.129032 | 0 | 0 | 0.038002 | 0.038002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.096774 | 0.16129 | 0.580645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
160bd260a5987747244a6ec163dd9a0b13b8378b | 739 | py | Python | fbp_calculator/__init__.py | deselmo/FBP_Calculator | 90bb07f123fea224fdca24aabeceabd391b7d51e | [
"MIT"
] | null | null | null | fbp_calculator/__init__.py | deselmo/FBP_Calculator | 90bb07f123fea224fdca24aabeceabd391b7d51e | [
"MIT"
] | null | null | null | fbp_calculator/__init__.py | deselmo/FBP_Calculator | 90bb07f123fea224fdca24aabeceabd391b7d51e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
FBP Calculator is a Python tool to calculate predicor for Reaction System.
"""
from fbp_calculator.release import __version__
import sys
if not (sys.version_info[0] == 3 and sys.version_info[1] >= 3):
raise ImportError("Python version 3.3 or above is required.")
del sys
try:
impo... | 23.09375 | 86 | 0.745602 | 107 | 739 | 5.046729 | 0.429907 | 0.12037 | 0.077778 | 0.055556 | 0.396296 | 0.203704 | 0.203704 | 0.203704 | 0 | 0 | 0 | 0.021242 | 0.171854 | 739 | 31 | 87 | 23.83871 | 0.861111 | 0.131258 | 0 | 0.4 | 0 | 0 | 0.304416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
161b3b9572ae019879eb06a9654e3af95be5891d | 197 | py | Python | hello-world/hello/hello.py | crackedcd/Intern.MT | 36398837af377a7e1c4edd7cbb15eabecd2c3103 | [
"MIT"
] | 1 | 2019-07-05T03:42:17.000Z | 2019-07-05T03:42:17.000Z | hello-world/hello/hello.py | crackedcd/Intern.MT | 36398837af377a7e1c4edd7cbb15eabecd2c3103 | [
"MIT"
] | null | null | null | hello-world/hello/hello.py | crackedcd/Intern.MT | 36398837af377a7e1c4edd7cbb15eabecd2c3103 | [
"MIT"
] | 1 | 2019-06-24T05:56:55.000Z | 2019-06-24T05:56:55.000Z | def hello():
return "Hello, pobby!"
def main():
s = hello()
print(s)
"""hahahahahah
sdjfkadsjflksdjfkldsajfklsda
fjdaslkfjdsakl"""
if __name__ == '__main__':
main()
| 13.133333 | 32 | 0.598985 | 18 | 197 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258883 | 197 | 14 | 33 | 14.071429 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
161b7a167f086b80ed49e84711fb87ca5bc66343 | 479 | py | Python | tests/operator/test-operators/terraform/test_operator_terraform.py | insight-infrastructure/cookiecutter | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | 8 | 2020-06-15T18:49:24.000Z | 2021-04-15T10:34:24.000Z | tests/operator/test-operators/terraform/test_operator_terraform.py | insight-infrastructure/cookiecutter | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | 19 | 2020-06-28T16:03:56.000Z | 2020-10-07T15:52:06.000Z | tests/operator/test-operators/terraform/test_operator_terraform.py | insight-infrastructure/nukikata | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tests dict input objects for `cookiecutter.operator.aws.ec2_meta` module."""
# import os
# from cookiecutter.main import cookiecutter
# TODO: Need to be able test pyinquirer
# def test_operator_terraform(monkeypatch, tmpdir):
# """Verify the operator call works successfully."""
# m... | 29.9375 | 79 | 0.7119 | 60 | 479 | 5.533333 | 0.766667 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.148225 | 479 | 15 | 80 | 31.933333 | 0.808824 | 0.935282 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.066667 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
163c24f6da0761fcfbc4ee979ed3f2ced2b5d367 | 1,073 | py | Python | tools/fileinfo/features/rust-lang-detection/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | tools/fileinfo/features/rust-lang-detection/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | tools/fileinfo/features/rust-lang-detection/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class TestMachoUniversal(Test):
settings = TestSettings(
tool='fileinfo',
input=['hello-rust.elf', 'rust-without-debug.elf'],
args='--json'
)
def test_fileinfo_detect_rust_and_rustc(self):
assert self.fileinfo.succeeded
self.assertEqua... | 48.772727 | 92 | 0.669152 | 119 | 1,073 | 5.983193 | 0.361345 | 0.185393 | 0.252809 | 0.303371 | 0.546348 | 0.5 | 0.398876 | 0.168539 | 0 | 0 | 0 | 0.01323 | 0.154706 | 1,073 | 21 | 93 | 51.095238 | 0.771775 | 0 | 0 | 0 | 0 | 0 | 0.200373 | 0.067102 | 0 | 0 | 0 | 0 | 0.578947 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1642449b3f11c696a811de6e0b926f0de96b9619 | 1,173 | py | Python | test_open_litecart.py | TatianaMoskvina/selenium_educations_python | a4c1a2bc6230aa02df9f87b6d0da784141aca6c4 | [
"Apache-2.0"
] | null | null | null | test_open_litecart.py | TatianaMoskvina/selenium_educations_python | a4c1a2bc6230aa02df9f87b6d0da784141aca6c4 | [
"Apache-2.0"
] | null | null | null | test_open_litecart.py | TatianaMoskvina/selenium_educations_python | a4c1a2bc6230aa02df9f87b6d0da784141aca6c4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from selenium import webdriver
import unittest
class UntitledTestCase(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Firefox()
self.driver.implicitly_wait(30)
def test_litecarte(self):
driver = self.driver
driver.get("http://localhost/lit... | 36.65625 | 137 | 0.671782 | 149 | 1,173 | 5.04698 | 0.422819 | 0.132979 | 0.226064 | 0.25266 | 0.537234 | 0.537234 | 0.351064 | 0.265957 | 0.170213 | 0.170213 | 0 | 0.009091 | 0.15601 | 1,173 | 31 | 138 | 37.83871 | 0.750505 | 0.017903 | 0 | 0 | 0 | 0.095238 | 0.269164 | 0.174216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.095238 | 0.095238 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
164b037a93fdbcd7e6932803769a4d87003bbfe1 | 93 | py | Python | stepik/stepik_training.py | vittorio5/python_training | 8efba515d3e8da343dd038acee176f5ee021b230 | [
"Apache-2.0"
] | null | null | null | stepik/stepik_training.py | vittorio5/python_training | 8efba515d3e8da343dd038acee176f5ee021b230 | [
"Apache-2.0"
] | null | null | null | stepik/stepik_training.py | vittorio5/python_training | 8efba515d3e8da343dd038acee176f5ee021b230 | [
"Apache-2.0"
] | null | null | null | import math
fun = lambda x : 1 if x == 1 else math.ceil(math.sinh(fun (x-1)))
print(fun(5)) | 18.6 | 65 | 0.634409 | 20 | 93 | 2.95 | 0.6 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.182796 | 93 | 5 | 66 | 18.6 | 0.723684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
166c6748d2cffa71035aa0dae45567303a6b5009 | 461 | py | Python | python/ex/ex011.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | 1 | 2020-08-31T16:53:18.000Z | 2020-08-31T16:53:18.000Z | python/ex/ex011.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | null | null | null | python/ex/ex011.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | null | null | null | """ 11 Faça um programa que leia a largura e a altura de uma parede em metros,
calcule a sua àrea e a quantidade de tinta necessária para pintá-la,
sabendo que cada litro de tinta, cobre uma àrea de 2m²"""
l = float(input('Digite o valor da largura da parede em metro(s): '))
a = float(input('Digite o valor da altura d... | 57.625 | 78 | 0.700651 | 88 | 461 | 3.670455 | 0.522727 | 0.074303 | 0.099071 | 0.105263 | 0.247678 | 0.148607 | 0 | 0 | 0 | 0 | 0 | 0.015831 | 0.177874 | 461 | 8 | 79 | 57.625 | 0.836412 | 0.429501 | 0 | 0 | 0 | 0 | 0.618677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
167002aeeeadcc6bbb1e95540ae01d6b829d632b | 142 | py | Python | 03_introduicing_lists/greetings.py | simonhoch/python_basics | 4ecf12c074e641e3cdeb0a6690846eb9133f96af | [
"MIT"
] | null | null | null | 03_introduicing_lists/greetings.py | simonhoch/python_basics | 4ecf12c074e641e3cdeb0a6690846eb9133f96af | [
"MIT"
] | null | null | null | 03_introduicing_lists/greetings.py | simonhoch/python_basics | 4ecf12c074e641e3cdeb0a6690846eb9133f96af | [
"MIT"
] | null | null | null | names = ['Simon', 'Sophie', 2]
print (names[0] + ' loves ' + names[1] + ' for ' + str(names[2]) + ' years')
for name in names :
print (name)
| 28.4 | 76 | 0.556338 | 21 | 142 | 3.761905 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.211268 | 142 | 4 | 77 | 35.5 | 0.669643 | 0 | 0 | 0 | 0 | 0 | 0.204225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
16ddb8e3ebcef410b03435142a902a24cc74bcfd | 842 | py | Python | pokedex/trainers/migrations/0001_initial.py | CookieComputing/db-pokedex-backend | 827fc1eb88ee1c9248196320c9f2b672250dfd17 | [
"MIT"
] | 1 | 2021-12-03T02:00:41.000Z | 2021-12-03T02:00:41.000Z | pokedex/trainers/migrations/0001_initial.py | CookieComputing/db-pokedex-backend | 827fc1eb88ee1c9248196320c9f2b672250dfd17 | [
"MIT"
] | 14 | 2021-12-02T18:11:12.000Z | 2021-12-13T02:15:51.000Z | pokedex/trainers/migrations/0001_initial.py | CookieComputing/db-pokedex-backend | 827fc1eb88ee1c9248196320c9f2b672250dfd17 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-24 21:33
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Trainers',
fields=[
('tid', models.AutoFiel... | 28.066667 | 77 | 0.534442 | 80 | 842 | 5.4875 | 0.6 | 0.170843 | 0.205011 | 0.273349 | 0.314351 | 0.136674 | 0 | 0 | 0 | 0 | 0 | 0.044484 | 0.332542 | 842 | 29 | 78 | 29.034483 | 0.736655 | 0.053444 | 0 | 0 | 1 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.045455 | 0.045455 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
16e3fd920d2ce5a4338b440e4321d18a3ed5986d | 623 | py | Python | tests/RunTests/PythonTests/test2011_036.py | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/RunTests/PythonTests/test2011_036.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/RunTests/PythonTests/test2011_036.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | class num():
def __init__(self, n):
self.n = n
print "init", self.n
def __enter__(self):
print "enter", self.n
return (self.n, self.n**2)
def __exit__(self, type, value, traceback):
print "exit", self.n
pass
# simple (non-targetted) with-stmt
with num(0):
... | 23.074074 | 51 | 0.616372 | 98 | 623 | 3.755102 | 0.357143 | 0.095109 | 0.130435 | 0.163043 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.252006 | 623 | 26 | 52 | 23.961538 | 0.772532 | 0.157303 | 0 | 0 | 0 | 0 | 0.036538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.055556 | 0 | null | null | 0.388889 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bc50b4bb17f80d10238c79e7d10ad044186fd5db | 739 | py | Python | eth-tools/oracle.py | kyleaquino/psycellium | 743be474e5dfa3b880ef0fc27e5d837a9c3de841 | [
"MIT"
] | null | null | null | eth-tools/oracle.py | kyleaquino/psycellium | 743be474e5dfa3b880ef0fc27e5d837a9c3de841 | [
"MIT"
] | 4 | 2018-11-24T19:55:59.000Z | 2021-06-10T21:06:31.000Z | eth-tools/oracle.py | kyleaquino/psycellium | 743be474e5dfa3b880ef0fc27e5d837a9c3de841 | [
"MIT"
] | 1 | 2019-01-08T12:59:15.000Z | 2019-01-08T12:59:15.000Z | import os
from web3 import Web3
from solc import compile_files, compile_source
def init():
return Web3(Web3.HTTPProvider("http://127.0.0.1:8545", request_kwargs={'timeout': 60}))
def compile(dir,contract,contract_name):
directory = dir+contract
compiled_sol = compile_files([directory])
return compiled... | 30.791667 | 91 | 0.76184 | 106 | 739 | 5.09434 | 0.377358 | 0.037037 | 0.048148 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034161 | 0.128552 | 739 | 23 | 92 | 32.130435 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.037889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.176471 | 0.176471 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bc6539c654f6b877e8df37ee00babb8a08501e75 | 2,468 | py | Python | tests/linen/toplevel_test.py | cleichner/flax | f1a1be119942444d564ad112bf0ea38145271ae9 | [
"Apache-2.0"
] | null | null | null | tests/linen/toplevel_test.py | cleichner/flax | f1a1be119942444d564ad112bf0ea38145271ae9 | [
"Apache-2.0"
] | null | null | null | tests/linen/toplevel_test.py | cleichner/flax | f1a1be119942444d564ad112bf0ea38145271ae9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The Flax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 32.906667 | 77 | 0.723258 | 345 | 2,468 | 5.052174 | 0.42029 | 0.034423 | 0.041308 | 0.055077 | 0.184165 | 0.134251 | 0.134251 | 0.092369 | 0.06311 | 0.06311 | 0 | 0.00826 | 0.166126 | 2,468 | 74 | 78 | 33.351351 | 0.838678 | 0.73906 | 0 | 0 | 0 | 0 | 0.018364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.473684 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
bc6dd6c82972e234ff9beab5ba5691e520029dd0 | 35 | py | Python | manager.py | qwaiurfwiehghWHI/Wangle | f6bdf6acc7dd1b695072ae46e4aee0365d4f890e | [
"MIT"
] | null | null | null | manager.py | qwaiurfwiehghWHI/Wangle | f6bdf6acc7dd1b695072ae46e4aee0365d4f890e | [
"MIT"
] | null | null | null | manager.py | qwaiurfwiehghWHI/Wangle | f6bdf6acc7dd1b695072ae46e4aee0365d4f890e | [
"MIT"
] | null | null | null | hu = "haha"
age = 22
name = "Cat"
| 7 | 12 | 0.514286 | 6 | 35 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.285714 | 35 | 4 | 13 | 8.75 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bc6e872c31e50d82e4421e7d8c6e5da7c417119b | 1,969 | py | Python | starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/api/nova.py | NaiveOpenStack/stx-gui | 11b75559f0dea9dd7b5807353cb6141903d1ab4e | [
"Apache-2.0"
] | 1 | 2018-09-18T11:10:53.000Z | 2018-09-18T11:10:53.000Z | starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/api/nova.py | NaiveOpenStack/stx-gui | 11b75559f0dea9dd7b5807353cb6141903d1ab4e | [
"Apache-2.0"
] | null | null | null | starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/api/nova.py | NaiveOpenStack/stx-gui | 11b75559f0dea9dd7b5807353cb6141903d1ab4e | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
from novaclient.v2 import wrs_pci
from novaclient.v2 import wrs_providernets
from openstack_dashboard.api import base
from openstack_dashboard.api.nova import *
def server_group_list(request, all_projects=False):
return novaclien... | 28.128571 | 73 | 0.739462 | 247 | 1,969 | 5.607287 | 0.291498 | 0.063538 | 0.040433 | 0.083755 | 0.493863 | 0.34657 | 0.245487 | 0.245487 | 0.163177 | 0.083755 | 0 | 0.005468 | 0.164043 | 1,969 | 69 | 74 | 28.536232 | 0.835966 | 0.077704 | 0 | 0.108108 | 0 | 0 | 0.084953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.108108 | 0.135135 | 0.648649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bc761168769b256d17e2c1dbbca6352fd71defcd | 154 | py | Python | api/scpca_portal/__init__.py | AlexsLemonade/scpca-portal | d60d6db5abe892ed58764128269df936778c6fd7 | [
"BSD-3-Clause"
] | null | null | null | api/scpca_portal/__init__.py | AlexsLemonade/scpca-portal | d60d6db5abe892ed58764128269df936778c6fd7 | [
"BSD-3-Clause"
] | 85 | 2021-07-27T14:33:55.000Z | 2022-03-28T20:18:41.000Z | api/scpca_portal/__init__.py | AlexsLemonade/scpca-portal | d60d6db5abe892ed58764128269df936778c6fd7 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ScpcaPortalConfig(AppConfig):
name = "scpca_portal"
default_app_config = "scpca_portal.ScpcaPortalConfig"
| 17.111111 | 53 | 0.798701 | 17 | 154 | 7 | 0.764706 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 8 | 54 | 19.25 | 0.88806 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bc765619085ec657ef8e8f94117877345891dd55 | 137 | py | Python | surveymonkey/webhooks/__init__.py | Administrate/surveymonkey | 5312932c3984f4419af2d4d15e1a27349a1c6f45 | [
"MIT"
] | 4 | 2016-12-02T10:25:50.000Z | 2017-10-30T18:21:28.000Z | surveymonkey/webhooks/__init__.py | Administrate/surveymonkey | 5312932c3984f4419af2d4d15e1a27349a1c6f45 | [
"MIT"
] | 8 | 2016-11-08T10:56:03.000Z | 2019-04-12T09:35:26.000Z | surveymonkey/webhooks/__init__.py | Administrate/surveymonkey | 5312932c3984f4419af2d4d15e1a27349a1c6f45 | [
"MIT"
] | 1 | 2018-02-19T01:11:56.000Z | 2018-02-19T01:11:56.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from surveymonkey.webhooks.webhooks import Webhook
__all__ = ['Webhook']
| 22.833333 | 50 | 0.759124 | 16 | 137 | 5.9375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.124088 | 137 | 5 | 51 | 27.4 | 0.783333 | 0.153285 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bc812f106d83f9454c47df1fa5c180a03ffee552 | 89 | py | Python | literals/db_literals.py | rijosimon/FinMan | 3df8a9922d1fa6ce9a34e619130da6936d712ead | [
"Apache-2.0"
] | null | null | null | literals/db_literals.py | rijosimon/FinMan | 3df8a9922d1fa6ce9a34e619130da6936d712ead | [
"Apache-2.0"
] | null | null | null | literals/db_literals.py | rijosimon/FinMan | 3df8a9922d1fa6ce9a34e619130da6936d712ead | [
"Apache-2.0"
] | null | null | null | host='localhost'
user='root'
password='wowilosttwosis$'
db='fin_man_db'
charset='utf8mb4' | 17.8 | 26 | 0.775281 | 12 | 89 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.044944 | 89 | 5 | 27 | 17.8 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bc8b30812fe8e0fc6656ebf47eb8081d3be78c48 | 3,554 | py | Python | trading_client.py | esnmrd/crypto-market-bot | 2939d85808e82d2285c74a93d9c5dc2d15e96e50 | [
"MIT"
] | 1 | 2021-02-24T16:09:55.000Z | 2021-02-24T16:09:55.000Z | trading_client.py | esnmrd/crypto-market-bot | 2939d85808e82d2285c74a93d9c5dc2d15e96e50 | [
"MIT"
] | null | null | null | trading_client.py | esnmrd/crypto-market-bot | 2939d85808e82d2285c74a93d9c5dc2d15e96e50 | [
"MIT"
] | 1 | 2020-12-13T18:48:48.000Z | 2020-12-13T18:48:48.000Z | from binance.client import Client
import logging
class TradingClient:
def __init__(self, base_currency, trade_currency, key, secret):
self.base_currency = base_currency
self.trade_currency = trade_currency
self.client = Client(key, secret)
self.symbol = trade_currency + base_curre... | 39.054945 | 117 | 0.692178 | 465 | 3,554 | 5.051613 | 0.219355 | 0.068114 | 0.081737 | 0.072797 | 0.321839 | 0.262665 | 0.237974 | 0.237974 | 0.185611 | 0.111537 | 0 | 0.004986 | 0.209904 | 3,554 | 90 | 118 | 39.488889 | 0.831553 | 0.055993 | 0 | 0.092308 | 0 | 0 | 0.059982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.030769 | 0.184615 | 0.553846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bc97bc15ae9a53486cc9bd9402989442fbd22715 | 1,026 | py | Python | books/model/CurrencyList.py | nudglabs/books-python-wrappers | 8844eca8fe681542644a70749b72a6dc4e48c171 | [
"MIT"
] | 9 | 2015-04-01T08:59:49.000Z | 2022-01-27T01:27:45.000Z | books/model/CurrencyList.py | nudglabs/books-python-wrappers | 8844eca8fe681542644a70749b72a6dc4e48c171 | [
"MIT"
] | 3 | 2020-05-14T04:22:22.000Z | 2021-08-06T11:19:03.000Z | books/model/CurrencyList.py | nudglabs/books-python-wrappers | 8844eca8fe681542644a70749b72a6dc4e48c171 | [
"MIT"
] | 11 | 2016-04-14T10:59:36.000Z | 2020-08-19T13:26:05.000Z | #$Id$
from books.model.PageContext import PageContext
class CurrencyList:
"""This class is used to create object for currency list."""
def __init__(self):
"""Initialize parameters for currency list."""
self.currencies = []
self.page_context = PageContext()
def set_currencies(self,... | 20.938776 | 64 | 0.588694 | 105 | 1,026 | 5.6 | 0.314286 | 0.22449 | 0.102041 | 0.085034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316764 | 1,026 | 48 | 65 | 21.375 | 0.838802 | 0.364522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bc9aa6b56b6ea4b7b9d0c7d03eeb888873bfb362 | 26 | py | Python | remediation-functions/sqs/__init__.py | Cloudneeti/aws-auto-remediation | d9dc91f1cacfdbc209b624bde9ca783cfadc4509 | [
"MIT"
] | 8 | 2019-09-26T12:53:01.000Z | 2021-05-14T17:39:21.000Z | remediation-functions/sqs/__init__.py | Cloudneeti/aws-auto-remediation | d9dc91f1cacfdbc209b624bde9ca783cfadc4509 | [
"MIT"
] | 1 | 2020-02-18T06:22:25.000Z | 2020-02-18T06:22:25.000Z | remediation-functions/sqs/__init__.py | Cloudneeti/aws-auto-remediation | d9dc91f1cacfdbc209b624bde9ca783cfadc4509 | [
"MIT"
] | 8 | 2020-01-08T13:16:26.000Z | 2021-07-25T08:03:27.000Z | __all__=["sqs_enable_sse"] | 26 | 26 | 0.807692 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 26 | 1 | 26 | 26 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bca111af9281415d576421941ca9dd65b8804044 | 2,699 | py | Python | copper_sdk/copper.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | null | null | null | copper_sdk/copper.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | null | null | null | copper_sdk/copper.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | null | null | null | import requests
from retry import retry
from json import JSONDecodeError
from copper_sdk.users import Users
from copper_sdk.leads import Leads
from copper_sdk.account import Account
from copper_sdk.activities import Activities
from copper_sdk.companies import Companies
from copper_sdk.people import People
from copper_s... | 26.203883 | 89 | 0.668396 | 318 | 2,699 | 5.559748 | 0.261006 | 0.056561 | 0.073529 | 0.038462 | 0.070136 | 0.070136 | 0.03733 | 0 | 0 | 0 | 0 | 0.002452 | 0.244535 | 2,699 | 102 | 90 | 26.460784 | 0.86464 | 0.049278 | 0 | 0.162162 | 0 | 0 | 0.048419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.175676 | 0.189189 | 0.608108 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bca9d86505f243b0c62d4b38ae5e1acc5ff2d3ef | 262 | py | Python | config.py | dipans/case-service | 65c8514c344dff895daf41298f0225837e6c3207 | [
"MIT"
] | null | null | null | config.py | dipans/case-service | 65c8514c344dff895daf41298f0225837e6c3207 | [
"MIT"
] | null | null | null | config.py | dipans/case-service | 65c8514c344dff895daf41298f0225837e6c3207 | [
"MIT"
] | null | null | null | import os
basedir = os.path.abspath(os.path.dirname(__file__))
SQLALCHEMY_ECHO = True
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:password@postgres:5432/case_service"
#SQLALCHEMY_DATABASE_URI = "sqlite:///db.sqlite3" | 29.111111 | 85 | 0.812977 | 33 | 262 | 6.090909 | 0.69697 | 0.059701 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020576 | 0.072519 | 262 | 9 | 86 | 29.111111 | 0.806584 | 0.183206 | 0 | 0 | 0 | 0 | 0.266355 | 0.266355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bcb23835a83ad2b01f64793fac6e3735acb35d29 | 3,014 | py | Python | WSS_ModifyCommunication.py | Nuix/Worker-Side-Script-Examples | 14ccd4b88aa8316338c9b74c732d6a0f4127c785 | [
"Apache-2.0"
] | null | null | null | WSS_ModifyCommunication.py | Nuix/Worker-Side-Script-Examples | 14ccd4b88aa8316338c9b74c732d6a0f4127c785 | [
"Apache-2.0"
] | 1 | 2019-08-22T22:26:00.000Z | 2019-08-30T23:21:16.000Z | WSS_ModifyCommunication.py | Nuix/Worker-Side-Script-Examples | 14ccd4b88aa8316338c9b74c732d6a0f4127c785 | [
"Apache-2.0"
] | 1 | 2020-09-04T17:02:19.000Z | 2020-09-04T17:02:19.000Z | #
# Copyright 2019 Nuix
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# ... | 36.313253 | 188 | 0.732913 | 386 | 3,014 | 5.585492 | 0.409326 | 0.046382 | 0.058442 | 0.029221 | 0.128942 | 0.095547 | 0.095547 | 0.058442 | 0.058442 | 0.058442 | 0 | 0.005306 | 0.187127 | 3,014 | 82 | 189 | 36.756098 | 0.874694 | 0.445919 | 0 | 0.073171 | 0 | 0 | 0.061398 | 0.031611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.341463 | false | 0 | 0.073171 | 0.268293 | 0.731707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.