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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f165bf27c5a73ba3e51b8b6c6fabc91a773610f6 | 682 | py | Python | extract_emails/html_handlers/html_handler_interface.py | trisongz/extract-emails | 22485fd25edac993d448bf8e8af51c551694e5cd | [
"MIT"
] | 1 | 2020-11-22T01:29:41.000Z | 2020-11-22T01:29:41.000Z | extract_emails/html_handlers/html_handler_interface.py | chiaminchuang/extract-emails | d7549186549a0776cfa28bc946550fd79b04043e | [
"MIT"
] | null | null | null | extract_emails/html_handlers/html_handler_interface.py | chiaminchuang/extract-emails | d7549186549a0776cfa28bc946550fd79b04043e | [
"MIT"
] | null | null | null | from typing import List
from abc import ABC, abstractmethod
class HTMLHandlerInterface(ABC):
"""
Interface for HTML handlers
"""
@abstractmethod
def get_emails(self, page_source: str) -> List[str]:
"""
Extract all sequences similar to email
:param str page_source: HTML pa... | 23.517241 | 77 | 0.605572 | 77 | 682 | 5.285714 | 0.467532 | 0.14742 | 0.09828 | 0.083538 | 0.388206 | 0.388206 | 0.388206 | 0.388206 | 0.22113 | 0.22113 | 0 | 0 | 0.291789 | 682 | 28 | 78 | 24.357143 | 0.84265 | 0.423754 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 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 |
f1674b9b80503a8c46d269ee59bad9a068d09796 | 62 | py | Python | xfunctions/__init__.py | neoctobers/xfunctions | 3401ea198c3cffd78c0477f2f69d455c3b8b000d | [
"MIT"
] | null | null | null | xfunctions/__init__.py | neoctobers/xfunctions | 3401ea198c3cffd78c0477f2f69d455c3b8b000d | [
"MIT"
] | null | null | null | xfunctions/__init__.py | neoctobers/xfunctions | 3401ea198c3cffd78c0477f2f69d455c3b8b000d | [
"MIT"
] | null | null | null | # coding:utf-8
from .xfunctions import *
name = 'xfunctions'
| 12.4 | 25 | 0.709677 | 8 | 62 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.16129 | 62 | 4 | 26 | 15.5 | 0.826923 | 0.193548 | 0 | 0 | 0 | 0 | 0.208333 | 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 |
f18073263bc5858ab37f0930874aa1f7fc3a7c7a | 104 | py | Python | Statistics/median.py | Dheer08/Algorithms | 6731a5896ab338b6123280275fab5f36bdd52b4d | [
"MIT"
] | null | null | null | Statistics/median.py | Dheer08/Algorithms | 6731a5896ab338b6123280275fab5f36bdd52b4d | [
"MIT"
] | null | null | null | Statistics/median.py | Dheer08/Algorithms | 6731a5896ab338b6123280275fab5f36bdd52b4d | [
"MIT"
] | null | null | null | import numpy as np
from scipy import stats
data = np.array([1,2,3,4])
ans = np.median(data)
print(ans) | 14.857143 | 26 | 0.701923 | 21 | 104 | 3.47619 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 104 | 7 | 27 | 14.857143 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 |
74b62209638fa490240a42724fd337395dab9ea3 | 502 | py | Python | jeta/archive/derived/__init__.py | ahunter-10/jeta | 3b5b6011b7964501a09884017f4276a4883f3586 | [
"BSD-3-Clause"
] | 2 | 2021-02-28T04:16:40.000Z | 2021-09-06T18:09:29.000Z | jeta/archive/derived/__init__.py | ahunter-10/jeta | 3b5b6011b7964501a09884017f4276a4883f3586 | [
"BSD-3-Clause"
] | 38 | 2020-02-21T19:08:30.000Z | 2022-03-11T18:23:06.000Z | jeta/archive/derived/__init__.py | ahunter-10/jeta | 3b5b6011b7964501a09884017f4276a4883f3586 | [
"BSD-3-Clause"
] | 2 | 2021-02-28T04:15:45.000Z | 2022-03-02T18:29:56.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Derived Parameters
------------------
The engineering archive has pseudo-MSIDs that are derived via computation from
telemetry MSIDs. All derived parameter names begin with the characters "DP_"
(not case sensitive as usual). Otherwise there is no di... | 25.1 | 78 | 0.733068 | 70 | 502 | 5.242857 | 0.714286 | 0.163488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002392 | 0.167331 | 502 | 19 | 79 | 26.421053 | 0.875598 | 0.685259 | 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 |
74bb03404304d22c31a94e2f40e38a16f978cd61 | 633 | py | Python | ex4.py | sbyount/hard_ways | 7a97a23b5a4cae4e043250b5cecb94941eabee13 | [
"Apache-2.0"
] | null | null | null | ex4.py | sbyount/hard_ways | 7a97a23b5a4cae4e043250b5cecb94941eabee13 | [
"Apache-2.0"
] | null | null | null | ex4.py | sbyount/hard_ways | 7a97a23b5a4cae4e043250b5cecb94941eabee13 | [
"Apache-2.0"
] | null | null | null | # Set contstants
cars = 100
space_in_a_car = 4.0
drivers = 30
passangers = 90
# Calculate values
cars_not_driven = cars - drivers
cars_driven = drivers
carpool_capacity = cars_driven * space_in_a_car
average_passengers_per_car = passangers / cars_driven
# Print output
print "There are cars", cars, "cars available."
p... | 31.65 | 79 | 0.769352 | 95 | 633 | 4.905263 | 0.452632 | 0.064378 | 0.077253 | 0.04721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016544 | 0.1406 | 633 | 19 | 80 | 33.315789 | 0.840074 | 0.06951 | 0 | 0 | 0 | 0 | 0.331624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.285714 | 0 | null | null | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
74c7175d93bf8dd693cb457d6c828f884ba39ea0 | 506 | py | Python | django_linter/transformers/__init__.py | enefeq/django_linter | d5a27004acc9c7caf8663a8fb519060f210c81ec | [
"MIT"
] | 101 | 2015-07-26T15:52:31.000Z | 2021-04-29T14:01:23.000Z | django_linter/transformers/__init__.py | enefeq/django_linter | d5a27004acc9c7caf8663a8fb519060f210c81ec | [
"MIT"
] | 3 | 2015-08-14T14:22:04.000Z | 2017-09-21T12:24:43.000Z | django_linter/transformers/__init__.py | enefeq/django_linter | d5a27004acc9c7caf8663a8fb519060f210c81ec | [
"MIT"
] | 4 | 2015-08-14T10:59:48.000Z | 2022-03-22T13:28:58.000Z | from __future__ import (absolute_import, division,
print_function, unicode_literals)
from astroid import MANAGER, Class, CallFunc
from .models import transform_model_class
from .testing import transform_test_response
from .factories import transform_factory_return
def register(linter):
M... | 33.733333 | 66 | 0.806324 | 58 | 506 | 6.655172 | 0.431034 | 0.11658 | 0.186529 | 0.150259 | 0.196891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144269 | 506 | 14 | 67 | 36.142857 | 0.891455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.5 | 0 | 0.6 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
74d8adae5963845c873518ee1928168e1bca9d97 | 23 | py | Python | testpyscripts/__init__.py | paskwal/testpyscripts | 705909e561252fe9a1c232a101bde9bed9569377 | [
"MIT"
] | null | null | null | testpyscripts/__init__.py | paskwal/testpyscripts | 705909e561252fe9a1c232a101bde9bed9569377 | [
"MIT"
] | null | null | null | testpyscripts/__init__.py | paskwal/testpyscripts | 705909e561252fe9a1c232a101bde9bed9569377 | [
"MIT"
] | null | null | null | name = "testpyscripts"
| 11.5 | 22 | 0.73913 | 2 | 23 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 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 |
74e282aa52cd4f447b5cd7d2415550a402a4dec5 | 31 | py | Python | code/src/nuvla/job/version.py | nuvla/job-engine | 58d42bd24d8dd2c6e28541c08df1455c9ac909f6 | [
"Apache-2.0"
] | 3 | 2019-04-27T10:36:21.000Z | 2019-04-29T12:41:57.000Z | code/src/nuvla/job/version.py | nuvla/job-engine | 58d42bd24d8dd2c6e28541c08df1455c9ac909f6 | [
"Apache-2.0"
] | 131 | 2019-02-13T06:00:49.000Z | 2022-03-29T15:06:03.000Z | code/src/nuvla/job/version.py | nuvla/job-engine | 58d42bd24d8dd2c6e28541c08df1455c9ac909f6 | [
"Apache-2.0"
] | 1 | 2020-12-03T11:35:21.000Z | 2020-12-03T11:35:21.000Z | version = '${project.version}'
| 15.5 | 30 | 0.677419 | 3 | 31 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.580645 | 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 |
2d0d50a801e3eb34f97652d997f243c57c21bd89 | 259 | py | Python | jupyter_bifrost/bifrost_magic.py | jahn96/Jupyter-Bifrost | decc3ff7f4748f8e5db65e8a746299f9fd390af7 | [
"BSD-3-Clause"
] | 12 | 2021-07-15T20:15:47.000Z | 2022-01-20T22:47:56.000Z | jupyter_bifrost/bifrost_magic.py | jahn96/Jupyter-Bifrost | decc3ff7f4748f8e5db65e8a746299f9fd390af7 | [
"BSD-3-Clause"
] | 113 | 2021-06-24T17:07:34.000Z | 2022-02-15T01:46:43.000Z | jupyter_bifrost/bifrost_magic.py | jahn96/Jupyter-Bifrost | decc3ff7f4748f8e5db65e8a746299f9fd390af7 | [
"BSD-3-Clause"
] | 4 | 2021-06-25T17:12:44.000Z | 2022-02-16T23:04:29.000Z | from IPython.core.magic import Magics, magics_class, line_magic, cell_magic
@magics_class
class Abracadabra(Magics):
@line_magic
def abra(self, line):
return line
@cell_magic
def cadabra(self, line, cell):
return line, cell
| 19.923077 | 75 | 0.69112 | 35 | 259 | 4.942857 | 0.428571 | 0.138728 | 0.16185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227799 | 259 | 12 | 76 | 21.583333 | 0.865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2d1d587ad92d96987d55e9c7b794b604c3a2f157 | 140 | py | Python | general.py | UY-Scuti-Real/strings | bac4120bf1f950731ddb9fd15fd03b144c89f19a | [
"MIT"
] | null | null | null | general.py | UY-Scuti-Real/strings | bac4120bf1f950731ddb9fd15fd03b144c89f19a | [
"MIT"
] | null | null | null | general.py | UY-Scuti-Real/strings | bac4120bf1f950731ddb9fd15fd03b144c89f19a | [
"MIT"
] | null | null | null | def checks_in_string(string, check_list):
for check in check_list:
if check in string:
return True
return False
| 23.333333 | 41 | 0.65 | 20 | 140 | 4.35 | 0.55 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307143 | 140 | 5 | 42 | 28 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2d2be4318896bf22cca97c8364cb6087084bdc15 | 311 | py | Python | todo/api/query.py | victormartinez/todo-graphql | 50d8cd334822a65b2f6c1262211ef316b75979b8 | [
"MIT"
] | null | null | null | todo/api/query.py | victormartinez/todo-graphql | 50d8cd334822a65b2f6c1262211ef316b75979b8 | [
"MIT"
] | null | null | null | todo/api/query.py | victormartinez/todo-graphql | 50d8cd334822a65b2f6c1262211ef316b75979b8 | [
"MIT"
] | null | null | null | import graphene
from graphene_sqlalchemy import SQLAlchemyConnectionField
from todo.api.types import Task
class Query(graphene.ObjectType):
hello = graphene.String(description="A typical hello world")
tasks = SQLAlchemyConnectionField(Task)
def resolve_hello(self, info):
return "World"
| 23.923077 | 64 | 0.768489 | 35 | 311 | 6.771429 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160772 | 311 | 12 | 65 | 25.916667 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.083601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
2d345c4e26385d531068cca84b3c6d183b175e78 | 55 | py | Python | home/pi/blissflixx/lib/torrentparse/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | 1 | 2022-01-29T11:17:58.000Z | 2022-01-29T11:17:58.000Z | home/pi/blissflixx/lib/torrentparse/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | null | null | null | home/pi/blissflixx/lib/torrentparse/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | null | null | null | __all__ = ['torrentparse']
from torrentparse import *
| 13.75 | 26 | 0.745455 | 5 | 55 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 27 | 18.333333 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 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 |
7436b9de6bfad0a799ccbb0a7d7d6ff5f27dde74 | 262 | py | Python | tracwikiextras/__init__.py | kzhamaji/trac-WikiExtrasPlugin | 967b4fe2cefcc798055c6dedbcb9db05fcda3c83 | [
"CC-BY-3.0"
] | null | null | null | tracwikiextras/__init__.py | kzhamaji/trac-WikiExtrasPlugin | 967b4fe2cefcc798055c6dedbcb9db05fcda3c83 | [
"CC-BY-3.0"
] | null | null | null | tracwikiextras/__init__.py | kzhamaji/trac-WikiExtrasPlugin | 967b4fe2cefcc798055c6dedbcb9db05fcda3c83 | [
"CC-BY-3.0"
] | null | null | null | from boxes import AboutWikiBoxes, Boxes
from color import Color
from entities import Entities
from icons import AboutWikiIcons, Icons, ShowIcons, Smileys
from phrases import AboutWikiPhrases, Phrases
from symbols import Symbols
from unc_paths import UNCPathLink
| 32.75 | 59 | 0.854962 | 34 | 262 | 6.558824 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125954 | 262 | 7 | 60 | 37.428571 | 0.973799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
743c0e9f2164b33121fb40c77c7970918a00e475 | 1,086 | py | Python | tpDcc/libs/options/options/title.py | tpDcc/tpDcc-libs-options | 9df605f4adcc0a6622beee80ba88683bb6fa055b | [
"MIT"
] | null | null | null | tpDcc/libs/options/options/title.py | tpDcc/tpDcc-libs-options | 9df605f4adcc0a6622beee80ba88683bb6fa055b | [
"MIT"
] | null | null | null | tpDcc/libs/options/options/title.py | tpDcc/tpDcc-libs-options | 9df605f4adcc0a6622beee80ba88683bb6fa055b | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module that contains title option implementation
"""
from __future__ import print_function, division, absolute_import
from Qt.QtCore import Qt
from tpDcc.libs.qt.widgets import dividers
from tpDcc.libs.options.core import option
class TitleOption(option.Option, ... | 24.133333 | 92 | 0.707182 | 145 | 1,086 | 5.034483 | 0.372414 | 0.043836 | 0.035616 | 0.052055 | 0.145205 | 0.076712 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.189687 | 1,086 | 44 | 93 | 24.681818 | 0.823864 | 0.084715 | 0 | 0 | 0 | 0 | 0.005076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.173913 | 0.130435 | 0.73913 | 0.043478 | 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 |
74481260c11818c88b4b26f1859ff9bc9ee970ab | 319 | py | Python | basic/admin.py | AerysNan/ChallengeHub | 3ddf1131a01149c2589ef63130deee19030857db | [
"MIT"
] | 1 | 2020-09-17T02:05:38.000Z | 2020-09-17T02:05:38.000Z | basic/admin.py | youkaichao/ChallengeHub | 3ddf1131a01149c2589ef63130deee19030857db | [
"MIT"
] | null | null | null | basic/admin.py | youkaichao/ChallengeHub | 3ddf1131a01149c2589ef63130deee19030857db | [
"MIT"
] | 1 | 2019-01-04T07:55:34.000Z | 2019-01-04T07:55:34.000Z | from django.contrib import admin
from basic.models import Competition, CStage, Notice, Group, GStage, ReviewMeta
# Register your models here.
admin.site.register(Competition)
admin.site.register(CStage)
admin.site.register(Notice)
admin.site.register(Group)
admin.site.register(GStage)
admin.site.register(ReviewMeta)
| 29 | 79 | 0.818182 | 43 | 319 | 6.069767 | 0.395349 | 0.206897 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07837 | 319 | 10 | 80 | 31.9 | 0.887755 | 0.081505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
745146ab1de05d2cdebe28012c80e726e1a9059e | 142 | py | Python | saran/apps.py | chalikavanyaa/stu-do-list | b6af2f1072936240a59f1b63cc7fc32999132da4 | [
"Unlicense"
] | 2 | 2021-12-02T07:15:24.000Z | 2021-12-15T06:27:53.000Z | saran/apps.py | chalikavanyaa/stu-do-list | b6af2f1072936240a59f1b63cc7fc32999132da4 | [
"Unlicense"
] | 1 | 2021-11-05T12:42:12.000Z | 2021-11-05T12:42:12.000Z | saran/apps.py | chalikavanyaa/stu-do-list | b6af2f1072936240a59f1b63cc7fc32999132da4 | [
"Unlicense"
] | 6 | 2021-10-30T13:44:16.000Z | 2021-12-29T09:14:18.000Z | from django.apps import AppConfig
class SaranConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'saran'
| 20.285714 | 56 | 0.753521 | 17 | 142 | 6.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 6 | 57 | 23.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 0.204225 | 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 |
7451fe03a87d0a058e0b6c7224ca0136e786005d | 180 | py | Python | Scripts/__init__.py | jovanzac/Captain | 3e410aa22eec4f72274b9bf4f0f2b3c91936356d | [
"MIT"
] | null | null | null | Scripts/__init__.py | jovanzac/Captain | 3e410aa22eec4f72274b9bf4f0f2b3c91936356d | [
"MIT"
] | null | null | null | Scripts/__init__.py | jovanzac/Captain | 3e410aa22eec4f72274b9bf4f0f2b3c91936356d | [
"MIT"
] | 1 | 2020-12-25T08:21:37.000Z | 2020-12-25T08:21:37.000Z | """import main_game and start game."""
import Scripts.main_game as main
# display the splash screen and start game
main.splash.display()
# tkinter mainloop
main.root.mainloop() | 18 | 42 | 0.761111 | 27 | 180 | 5 | 0.518519 | 0.118519 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 180 | 10 | 43 | 18 | 0.870968 | 0.505556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
745d0005e6a86720954393f20c43af41d495fcb4 | 388 | py | Python | simuvex/procedures/libc___so___6/bind.py | praetorian-inc/simuvex | 7984bc4432a1c2126e6f2eb963c935e9f6a98da5 | [
"BSD-2-Clause"
] | 8 | 2016-01-19T03:13:32.000Z | 2020-11-03T09:30:05.000Z | simuvex/procedures/libc___so___6/bind.py | praetorian-inc/simuvex | 7984bc4432a1c2126e6f2eb963c935e9f6a98da5 | [
"BSD-2-Clause"
] | null | null | null | simuvex/procedures/libc___so___6/bind.py | praetorian-inc/simuvex | 7984bc4432a1c2126e6f2eb963c935e9f6a98da5 | [
"BSD-2-Clause"
] | 3 | 2017-04-24T00:22:30.000Z | 2020-11-03T09:30:06.000Z | import simuvex
######################################
# bind (but not really)
######################################
import logging
l = logging.getLogger("simuvex.procedures.libc.bind")
class bind(simuvex.SimProcedure):
#pylint:disable=arguments-differ
def run(self, fd): #pylint:disable=unused-argument
... | 27.714286 | 72 | 0.592784 | 41 | 388 | 5.609756 | 0.707317 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110825 | 388 | 13 | 73 | 29.846154 | 0.666667 | 0.21134 | 0 | 0 | 0 | 0 | 0.141593 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
7469e72d7ef3c7e28a531448e48815ce13878e03 | 313 | py | Python | modules/modelar/utils.py | Brendhon/ExerciciosC213 | 86841d9fb086f9a46435516dbdba785eedb5c6e5 | [
"MIT"
] | 1 | 2020-09-17T17:45:28.000Z | 2020-09-17T17:45:28.000Z | modules/modelar/utils.py | Brendhon/ExerciciosC213 | 86841d9fb086f9a46435516dbdba785eedb5c6e5 | [
"MIT"
] | null | null | null | modules/modelar/utils.py | Brendhon/ExerciciosC213 | 86841d9fb086f9a46435516dbdba785eedb5c6e5 | [
"MIT"
] | null | null | null | import scipy.io as sio
def load():
# # Teste
# x = sio.loadmat('modules/modelar/variables/relatorio3_variaveis_exemplo.mat')
# return x['u'], x['y']
# Carregando o arquivo matlab
x = sio.loadmat('modules/modelar/variables/variaveis_planta_de_nivel.mat')
return x['potencia'], x['nivel'] | 28.454545 | 83 | 0.677316 | 43 | 313 | 4.813953 | 0.651163 | 0.038647 | 0.10628 | 0.173913 | 0.328502 | 0.328502 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.172524 | 313 | 11 | 84 | 28.454545 | 0.795367 | 0.42492 | 0 | 0 | 0 | 0 | 0.390805 | 0.316092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7499d297ba7c078dc72f3b3f030b60230c39bcbf | 392 | py | Python | src/ProjectHeart/admin.py | LokotamaTheMastermind/secret-password-saver | e97f139b2cad9e1b0e9283079252d9a76764e3c1 | [
"Unlicense"
] | null | null | null | src/ProjectHeart/admin.py | LokotamaTheMastermind/secret-password-saver | e97f139b2cad9e1b0e9283079252d9a76764e3c1 | [
"Unlicense"
] | null | null | null | src/ProjectHeart/admin.py | LokotamaTheMastermind/secret-password-saver | e97f139b2cad9e1b0e9283079252d9a76764e3c1 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Passwords
class PasswordsAdmin(admin.ModelAdmin):
list_display = ['website_name', 'website_url',
'username', 'email', 'password']
fields = ['website_name', 'website_url', 'username', 'email', 'password']
list_filter = ['username', 'e... | 30.153846 | 77 | 0.686224 | 41 | 392 | 6.390244 | 0.536585 | 0.125954 | 0.137405 | 0.160305 | 0.320611 | 0.320611 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0.170918 | 392 | 12 | 78 | 32.666667 | 0.806154 | 0 | 0 | 0 | 0 | 0 | 0.288265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.625 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
74a8ec9f3abe6535af1969d9ca16c3069f5bd804 | 3,054 | py | Python | pyvavr/collection/queue.py | hanbei/pyvavr | 0ed69390998e11936cb8b55f12876cf52abb0e67 | [
"Apache-2.0"
] | null | null | null | pyvavr/collection/queue.py | hanbei/pyvavr | 0ed69390998e11936cb8b55f12876cf52abb0e67 | [
"Apache-2.0"
] | null | null | null | pyvavr/collection/queue.py | hanbei/pyvavr | 0ed69390998e11936cb8b55f12876cf52abb0e67 | [
"Apache-2.0"
] | null | null | null | from typing import Generic, TypeVar, List, Callable
from pyvavr import NoSuchElementException
from pyvavr.collection.list import ImmutableList
T = TypeVar("T") # pragma: no mutate
U = TypeVar("U") # pragma: no mutate
class ImmutableQueue(Generic[T]):
def __init__(self, front: ImmutableList[T] = ImmutableList... | 31.8125 | 120 | 0.622135 | 361 | 3,054 | 5.138504 | 0.174515 | 0.072776 | 0.040431 | 0.078167 | 0.354717 | 0.31159 | 0.120216 | 0.098113 | 0 | 0 | 0 | 0 | 0.247544 | 3,054 | 95 | 121 | 32.147368 | 0.807224 | 0.01146 | 0 | 0.253521 | 0 | 0 | 0.063329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28169 | false | 0.014085 | 0.042254 | 0.15493 | 0.605634 | 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 |
778cc08bf74c913085b1b3a0f2458ca59e2d8bdd | 631 | py | Python | acmicpc.net/problem/11052.py | x86chi/problem-solving | b07fccc4a9f70036b2f2fcc15ce667d2d7db1649 | [
"MIT"
] | 1 | 2020-02-15T09:05:48.000Z | 2020-02-15T09:05:48.000Z | acmicpc.net/problem/11052.py | x86chi/problem-solving | b07fccc4a9f70036b2f2fcc15ce667d2d7db1649 | [
"MIT"
] | 8 | 2020-02-15T11:54:28.000Z | 2021-03-28T12:36:17.000Z | acmicpc.net/problem/11052.py | x86chi/problem-solving | b07fccc4a9f70036b2f2fcc15ce667d2d7db1649 | [
"MIT"
] | null | null | null | def buy_card(n: int, p: list):
d = [0]*(n+1)
for i in range(1, n+1):
for j in range(1, i+1):
d[i] = max(d[i], d[i-j] + p[j-1])
return d[n]
def test_buy_card():
assert buy_card(4, [1, 5, 6, 7]) == 10
assert buy_card(5, [10, 9, 8, 7, 6]) == 50
assert buy_card(10, [1, 1, 2, ... | 26.291667 | 70 | 0.491284 | 127 | 631 | 2.299213 | 0.401575 | 0.215753 | 0.267123 | 0.143836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178414 | 0.280507 | 631 | 23 | 71 | 27.434783 | 0.464758 | 0 | 0 | 0 | 0 | 0 | 0.014263 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 1 | 0.117647 | false | 0 | 0 | 0 | 0.176471 | 0.058824 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7794b85f5920ed4a590f211242480a67afb59bce | 1,576 | py | Python | apps/zoo.py | RetrosynthesisAI/Experimental | aff1b528b2bc117823245ea6c5044d92abd51dfb | [
"MIT"
] | null | null | null | apps/zoo.py | RetrosynthesisAI/Experimental | aff1b528b2bc117823245ea6c5044d92abd51dfb | [
"MIT"
] | null | null | null | apps/zoo.py | RetrosynthesisAI/Experimental | aff1b528b2bc117823245ea6c5044d92abd51dfb | [
"MIT"
] | null | null | null | import streamlit as st
def app():
st.subheader('Zoonotic Diseases in Algeria, Kuwait, Jordan and Oman')
st.write("Recent Publications")
st.write("[Detection System of Infectious Diseases/Animal Health Status in Kuwait] (https://www.frontiersin.org/articles/10.3389/fvets.2021.676661/full)")
st.write("[L... | 98.5 | 220 | 0.752538 | 233 | 1,576 | 5.072961 | 0.635193 | 0.071066 | 0.045685 | 0.049069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.099619 | 1,576 | 16 | 221 | 98.5 | 0.763214 | 0 | 0 | 0 | 0 | 0.533333 | 0.83513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77bfd6bbc27817994a76d75372eb3fa842a65031 | 818 | py | Python | Utility.py | proflayton/pyMediaManip | d449c94af2420962a55490370fc951b3aa418df2 | [
"MIT"
] | null | null | null | Utility.py | proflayton/pyMediaManip | d449c94af2420962a55490370fc951b3aa418df2 | [
"MIT"
] | 1 | 2015-04-01T22:00:53.000Z | 2015-04-01T22:00:53.000Z | Utility.py | proflayton/pyMediaManip | d449c94af2420962a55490370fc951b3aa418df2 | [
"MIT"
] | null | null | null | '''
Utility.py
Holds functions that will be used throughout the library
Author: Brandon Layton
'''
import collections
import binascii
import math
def flatten(l):
for el in l:
if isinstance(el, collections.Iterable) and not isinstance(el, str):
for sub in flatten(el):
yield su... | 20.974359 | 80 | 0.674817 | 119 | 818 | 4.638655 | 0.571429 | 0.027174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03577 | 0.213936 | 818 | 39 | 80 | 20.974359 | 0.822706 | 0.180929 | 0 | 0 | 0 | 0 | 0.022693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.12 | 0.12 | 0.6 | 0.04 | 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 |
77f59dd2026afe68b59067908299ac8f71540b11 | 1,458 | py | Python | tests/unit_tests/aioredis_cluster/manager/_cluster_slots.py | jacekll/aioredis-cluster | 912df4e107fc71c036f71573aee8ff4978c8c3a8 | [
"MIT"
] | null | null | null | tests/unit_tests/aioredis_cluster/manager/_cluster_slots.py | jacekll/aioredis-cluster | 912df4e107fc71c036f71573aee8ff4978c8c3a8 | [
"MIT"
] | null | null | null | tests/unit_tests/aioredis_cluster/manager/_cluster_slots.py | jacekll/aioredis-cluster | 912df4e107fc71c036f71573aee8ff4978c8c3a8 | [
"MIT"
] | null | null | null | SLOTS = [
[
0,
5460,
["172.17.0.2", 7000, "cf0da23bbea0ac65fd93d272358b59cd7ce3af25"],
["172.17.0.2", 7003, "ab35b1210fcae1010a463c65e1616b51d3d7a00b"],
],
[
9995,
9995,
["172.17.0.2", 7000, "cf0da23bbea0ac65fd93d272358b59cd7ce3af25"],
["172.17... | 29.755102 | 85 | 0.601509 | 126 | 1,458 | 6.81746 | 0.34127 | 0.069849 | 0.083818 | 0.097788 | 0.77532 | 0.712456 | 0.593714 | 0.593714 | 0.593714 | 0.593714 | 0 | 0.4375 | 0.231824 | 1,458 | 48 | 86 | 30.375 | 0.329464 | 0 | 0 | 0.456522 | 0 | 0 | 0.545953 | 0.373114 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 |
77f64e2a83ff383ef643082b532bfdcd29ef8e95 | 558 | py | Python | tests/test_events_handlers_technoteprerender.py | lsst-sqre/lsst-templatebot-aide | 66c763437fb03fffd3dcbb4d6c9c1d3af21a08e3 | [
"MIT"
] | null | null | null | tests/test_events_handlers_technoteprerender.py | lsst-sqre/lsst-templatebot-aide | 66c763437fb03fffd3dcbb4d6c9c1d3af21a08e3 | [
"MIT"
] | 2 | 2022-01-24T17:14:53.000Z | 2022-03-21T19:38:51.000Z | tests/test_events_handlers_technoteprerender.py | lsst-sqre/lsst-templatebot-aide | 66c763437fb03fffd3dcbb4d6c9c1d3af21a08e3 | [
"MIT"
] | null | null | null | """Test for the technote prerender handler."""
from typing import List
from templatebotaide.events.handlers.technoteprerender import propose_number
def test_initial_document() -> None:
numbers: List[int] = []
assert propose_number(numbers) == 1
def test_filling_hole() -> None:
numbers = [1, 2, 4]
... | 21.461538 | 76 | 0.691756 | 73 | 558 | 5.09589 | 0.424658 | 0.174731 | 0.204301 | 0.27957 | 0.263441 | 0.263441 | 0.182796 | 0 | 0 | 0 | 0 | 0.026549 | 0.189964 | 558 | 25 | 77 | 22.32 | 0.79646 | 0.071685 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ac69ac6e845a1cb5db0741dc632f102987c6e5d | 684 | py | Python | account_csv.py | MartenSkogh/EWB-tools | 82f17829bc0d1ca0d370858291c8b763029e7913 | [
"MIT"
] | null | null | null | account_csv.py | MartenSkogh/EWB-tools | 82f17829bc0d1ca0d370858291c8b763029e7913 | [
"MIT"
] | null | null | null | account_csv.py | MartenSkogh/EWB-tools | 82f17829bc0d1ca0d370858291c8b763029e7913 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import tkinter as tk
from tkinter import filedialog
'''
G-suite has these fields when creating a user:
1. First Name [Required],
2. Last Name [Required],
3. Email Address [Required],
4. Password [Required],
5. Password Hash Function [UPLOAD ONLY],
6. Org Unit Path [Required],
7. New Prim... | 20.117647 | 46 | 0.716374 | 109 | 684 | 4.495413 | 0.733945 | 0.04898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0.173977 | 684 | 33 | 47 | 20.727273 | 0.79646 | 0.030702 | 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 |
7acf916f48acb71aa96ba66eaa46951ffa554d68 | 24,260 | py | Python | conservation/tests/test_views.py | ropable/wastd | 295c60760548d177859de9c0bebdae93342767d0 | [
"MIT"
] | 1 | 2022-01-27T09:39:58.000Z | 2022-01-27T09:39:58.000Z | conservation/tests/test_views.py | ropable/wastd | 295c60760548d177859de9c0bebdae93342767d0 | [
"MIT"
] | 79 | 2020-07-27T06:06:14.000Z | 2022-03-12T01:44:34.000Z | conservation/tests/test_views.py | ropable/wastd | 295c60760548d177859de9c0bebdae93342767d0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Conservation view test suite testing URLs, templates, and views.
* [REQ 40] Include the following dashboard pages:
* Dashboard of all plans: document list view and templates
* Dashboard of all annual reports for all plans: document list view, filter plan type
From within a dashboard, t... | 38.816 | 112 | 0.656018 | 2,715 | 24,260 | 5.680295 | 0.108287 | 0.041499 | 0.060693 | 0.070808 | 0.748736 | 0.705226 | 0.685774 | 0.670536 | 0.665608 | 0.660809 | 0 | 0.014683 | 0.230791 | 24,260 | 624 | 113 | 38.878205 | 0.811746 | 0.155317 | 0 | 0.717026 | 0 | 0.004796 | 0.078377 | 0.040879 | 0 | 0 | 0 | 0.001603 | 0.131894 | 1 | 0.141487 | false | 0.031175 | 0.031175 | 0 | 0.201439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ad10255b0d8cbc8bd173ff431a98682dfedb088 | 314 | py | Python | minimal_python_node_class.py | Cortador-de-Grama-Autonomo/Software-Embarcado | 1114c3be1be0b7d0376e496a5befcbc106a12e86 | [
"MIT"
] | null | null | null | minimal_python_node_class.py | Cortador-de-Grama-Autonomo/Software-Embarcado | 1114c3be1be0b7d0376e496a5befcbc106a12e86 | [
"MIT"
] | null | null | null | minimal_python_node_class.py | Cortador-de-Grama-Autonomo/Software-Embarcado | 1114c3be1be0b7d0376e496a5befcbc106a12e86 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import rospy
class NodeName: # Mudar
def __init__(self):
if __name__ == '__main__':
try:
rospy.init_node(node_name) # Mudar
NodeName()
rospy.spin()
except rospy.ROSInterruptException:
pass
| 18.470588 | 51 | 0.515924 | 29 | 314 | 5.103448 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.398089 | 314 | 16 | 52 | 19.625 | 0.777778 | 0.105096 | 0 | 0 | 0 | 0 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0.1 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7ad3790aab219fecbb683e84f00a7dd45f55effd | 695 | py | Python | LostSpider/LostSpider/items.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | null | null | null | LostSpider/LostSpider/items.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | 20 | 2020-01-28T22:35:15.000Z | 2022-03-11T23:38:45.000Z | LostSpider/LostSpider/items.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class LostspiderItem(scrapy.Item):
# define the fields for your item here like:
l_name = scrapy.Field()
l_img = scrapy.Field()
next_url... | 23.965517 | 52 | 0.657554 | 104 | 695 | 4.182692 | 0.451923 | 0.37931 | 0.358621 | 0.089655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001828 | 0.21295 | 695 | 28 | 53 | 24.821429 | 0.793419 | 0.263309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 1 | 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 |
7ad49414f06a626af1241287d2764a027f07f736 | 339 | py | Python | game/model/entity/entity.py | AntonYermilov/progue | 7f382208c9efc904cff9d8df4750606039801d45 | [
"MIT"
] | null | null | null | game/model/entity/entity.py | AntonYermilov/progue | 7f382208c9efc904cff9d8df4750606039801d45 | [
"MIT"
] | 6 | 2019-03-25T21:11:28.000Z | 2019-06-21T16:21:47.000Z | game/model/entity/entity.py | AntonYermilov/progue | 7f382208c9efc904cff9d8df4750606039801d45 | [
"MIT"
] | 1 | 2021-12-22T22:03:47.000Z | 2021-12-22T22:03:47.000Z | from abc import ABC
from game import Position
class Entity(ABC):
"""
Entity base class.
"""
def __init__(self, position: Position):
"""
Initialises entity with given position in the world.
:param position: Position
Position of the entity
"""
self.p... | 18.833333 | 60 | 0.59587 | 37 | 339 | 5.351351 | 0.513514 | 0.323232 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327434 | 339 | 17 | 61 | 19.941176 | 0.868421 | 0.368732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
7af92a6f35af6146ba377f159add8c66a4debb9c | 141 | py | Python | create-test.py | agilethought/RasbPiAgileBot | bd23ebdf6317f5a4043d25f5a45945a6a7422249 | [
"MIT"
] | 1 | 2017-10-27T20:10:00.000Z | 2017-10-27T20:10:00.000Z | create-test.py | agilethought/RasbPiAgileBot | bd23ebdf6317f5a4043d25f5a45945a6a7422249 | [
"MIT"
] | 1 | 2017-10-26T16:37:56.000Z | 2017-10-26T16:44:07.000Z | create-test.py | agilethought/RasbPiAgileBot | bd23ebdf6317f5a4043d25f5a45945a6a7422249 | [
"MIT"
] | 1 | 2021-02-18T18:10:15.000Z | 2021-02-18T18:10:15.000Z | import create
import time
robot = create.Create('/dev/ttyUSB0')
#robot.go(0, 100)
#time.sleep(10)
#robot.stop()
robot.demo(8)
time.sleep(30)
| 15.666667 | 37 | 0.716312 | 24 | 141 | 4.208333 | 0.625 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.092199 | 141 | 8 | 38 | 17.625 | 0.710938 | 0.297872 | 0 | 0 | 0 | 0 | 0.125 | 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 |
bb1afcea24beb02d7248c035f909c0083c1a0b70 | 4,170 | py | Python | tests/test_plugin_basic_with_substitution.py | t2y/pytest-quickcheck | bd32cf770c5178ff3cbefa4b22169d7fa1a1dc5b | [
"Apache-2.0"
] | 7 | 2020-11-09T01:20:10.000Z | 2021-06-17T13:00:48.000Z | tests/test_plugin_basic_with_substitution.py | t2y/pytest-quickcheck | bd32cf770c5178ff3cbefa4b22169d7fa1a1dc5b | [
"Apache-2.0"
] | 17 | 2020-06-27T07:04:15.000Z | 2021-10-30T04:39:58.000Z | tests/test_plugin_basic_with_substitution.py | t2y/pytest-quickcheck | bd32cf770c5178ff3cbefa4b22169d7fa1a1dc5b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import string
import pytest
from pytest_quickcheck.generator import IS_PY3
if IS_PY3:
unicode = str
@pytest.mark.randomize(i1=int, ncalls=1)
def test_generate_int_subs(i1):
assert isinstance(i1, int)
@pytest.mark.randomize(i1=int, min_num=0, max_num=2, ncalls=5)
def test_generate_int... | 31.119403 | 78 | 0.723981 | 669 | 4,170 | 4.348281 | 0.127055 | 0.198006 | 0.163286 | 0.093503 | 0.633551 | 0.37573 | 0.243383 | 0.100378 | 0.100378 | 0.100378 | 0 | 0.047751 | 0.136211 | 4,170 | 133 | 79 | 31.353383 | 0.759856 | 0.005036 | 0 | 0.190476 | 1 | 0 | 0.016639 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.238095 | false | 0 | 0.028571 | 0 | 0.266667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bb24317f51997a54cc8be9114f3dfc8cb073c6e6 | 256 | py | Python | mycrypt/rsa.py | Zeyecx/myCrypt | 24bfa0f6874d2abd964aed6146ae3552168392ed | [
"MIT"
] | null | null | null | mycrypt/rsa.py | Zeyecx/myCrypt | 24bfa0f6874d2abd964aed6146ae3552168392ed | [
"MIT"
] | null | null | null | mycrypt/rsa.py | Zeyecx/myCrypt | 24bfa0f6874d2abd964aed6146ae3552168392ed | [
"MIT"
] | null | null | null | from crypto.PublicKey import RSA
def get_key():
""" Get RSA Keys """
return RSA.generate(2048)
def export_key(key):
""" Export RSA Keys """
with open('mykey.pem', 'a') as file:
file.write(key.export_key('PEM'))
file.close()
| 18.285714 | 41 | 0.605469 | 37 | 256 | 4.108108 | 0.594595 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020305 | 0.230469 | 256 | 13 | 42 | 19.692308 | 0.751269 | 0.113281 | 0 | 0 | 1 | 0 | 0.061033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bb46cfe0b2cf716c54c1b7b5d23b0583b29db4b7 | 124,759 | py | Python | marmot/plottingmodules/transmission.py | jarry7/Marmot | d036353a2da64aafea63fc3662605530f05128db | [
"BSD-3-Clause"
] | null | null | null | marmot/plottingmodules/transmission.py | jarry7/Marmot | d036353a2da64aafea63fc3662605530f05128db | [
"BSD-3-Clause"
] | null | null | null | marmot/plottingmodules/transmission.py | jarry7/Marmot | d036353a2da64aafea63fc3662605530f05128db | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""System transmission plots.
This code creates transmission line and interface plots.
@author: Daniel Levie, Marty Schwarz
"""
import os
import logging
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import matplotlib.colors as mcolors
import... | 47.708987 | 194 | 0.583798 | 14,632 | 124,759 | 4.767154 | 0.056042 | 0.012387 | 0.007484 | 0.006265 | 0.78497 | 0.746362 | 0.715625 | 0.692558 | 0.669591 | 0.654682 | 0 | 0.009651 | 0.319785 | 124,759 | 2,614 | 195 | 47.727238 | 0.812297 | 0.286007 | 0 | 0.669504 | 0 | 0 | 0.088174 | 0.013333 | 0 | 0 | 0 | 0.004591 | 0 | 1 | 0.015603 | false | 0 | 0.063121 | 0 | 0.119149 | 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 |
bb595d2adc948162f82798c7bb2604285f4b1f7c | 647 | py | Python | TPC7/request.py | AROM98/RPCW2022 | 094c280f91e3ccb4c730549019e0ab68af32c91a | [
"MIT"
] | null | null | null | TPC7/request.py | AROM98/RPCW2022 | 094c280f91e3ccb4c730549019e0ab68af32c91a | [
"MIT"
] | null | null | null | TPC7/request.py | AROM98/RPCW2022 | 094c280f91e3ccb4c730549019e0ab68af32c91a | [
"MIT"
] | null | null | null | #! python3
import requests
resp = requests.get("http://clav-api.di.uminho.pt/v2/classes?nivel=3&apikey=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyNGNiYTg0OWJhYmI2NjdjYmZkYzE2ZSIsImlhdCI6MTY0OTE5NTY1MiwiZXhwIjoxNjUxNzg3NjUyfQ.EuvH713Qr6IZ073-5FMF6j5p_3tb6Trv0TOOF5ZHWOPUlCBqKU1H9DTo_ueoCyWhPbEd6F8xzNvn-UkG3J8Ppq65... | 58.818182 | 548 | 0.897991 | 44 | 647 | 13.090909 | 0.863636 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116613 | 0.032458 | 647 | 10 | 549 | 64.7 | 0.803514 | 0.041731 | 0 | 0 | 0 | 0.25 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
24854d3e99cce50bdb7d1fb4ac8819cfc6256528 | 156 | py | Python | backend/occurrences/routers.py | gmpmagalhaes/django-occurrence-logger | 410541dc73b314341f26b008f2fad146dd71e202 | [
"MIT"
] | null | null | null | backend/occurrences/routers.py | gmpmagalhaes/django-occurrence-logger | 410541dc73b314341f26b008f2fad146dd71e202 | [
"MIT"
] | 5 | 2021-03-30T13:58:38.000Z | 2021-09-22T19:27:30.000Z | backend/occurrences/routers.py | gmpmagalhaes/django-occurrence-logger | 410541dc73b314341f26b008f2fad146dd71e202 | [
"MIT"
] | null | null | null | from rest_framework import routers
from .views import OccurrenceViewSet
router = routers.DefaultRouter()
router.register('occurrences', OccurrenceViewSet) | 26 | 49 | 0.839744 | 16 | 156 | 8.125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 156 | 6 | 49 | 26 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0.070064 | 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 |
24a002792b6d3ed6e8ab9ebc9b7f2dad4874b67f | 309 | py | Python | ProjectProto/settings/social_config.py | tosp/ProjectProto | 5e2c73d401da9c48088cbe573723e224d29f2c1a | [
"MIT"
] | 5 | 2017-03-16T17:53:19.000Z | 2019-12-23T07:19:29.000Z | ProjectProto/settings/social_config.py | tosp/ProjectProto | 5e2c73d401da9c48088cbe573723e224d29f2c1a | [
"MIT"
] | null | null | null | ProjectProto/settings/social_config.py | tosp/ProjectProto | 5e2c73d401da9c48088cbe573723e224d29f2c1a | [
"MIT"
] | null | null | null | import os
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = os.environ['GOOGLE_KEY']
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = os.environ['GOOGLE_SECRET']
SOCIAL_AUTH_FACEBOOK_KEY = os.environ['FACEBOOK_KEY']
SOCIAL_AUTH_FACEBOOK_SECRET = os.environ['FACEBOOK_SECRET']
SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/'
SOCIAL_AUTH_LOGIN_URL = '/' | 38.625 | 62 | 0.831715 | 45 | 309 | 5.155556 | 0.288889 | 0.258621 | 0.137931 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00692 | 0.064725 | 309 | 8 | 63 | 38.625 | 0.795848 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
24a2bbf84fb301896846b77416626764f813bcf5 | 1,449 | py | Python | instagram_scraper_igscraper/models/tag.py | Jun2014/instagram-scraper-igscraper-fork | c5b6f080a96bf2178e4574ac9f5ca2b85ac1d4b4 | [
"MIT"
] | 5 | 2020-12-02T21:34:04.000Z | 2021-04-01T14:20:35.000Z | instagram_scraper/models/tag.py | zaijacobs/instagram-scraper | 7bbd3a612e5c131c7f62a7a17e72c3beac7a6bf8 | [
"MIT"
] | null | null | null | instagram_scraper/models/tag.py | zaijacobs/instagram-scraper | 7bbd3a612e5c131c7f62a7a17e72c3beac7a6bf8 | [
"MIT"
] | 1 | 2021-05-04T15:03:16.000Z | 2021-05-04T15:03:16.000Z | import os
from .. import constants
from .. import helper
class Tag:
def __init__(self, tagname):
self.__tagname = tagname
self.__post_links = []
self.__output_top_tag_path = constants.TAGS_DIR + '/' + tagname + '/top'
self.__output_recent_tag_path = constants.TAGS_DIR + '/' + tag... | 27.865385 | 86 | 0.701863 | 195 | 1,449 | 4.646154 | 0.138462 | 0.154525 | 0.13245 | 0.1766 | 0.746137 | 0.528698 | 0.388521 | 0.258278 | 0.258278 | 0 | 0 | 0 | 0.219462 | 1,449 | 51 | 87 | 28.411765 | 0.801061 | 0 | 0 | 0.157895 | 0 | 0 | 0.008972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.078947 | 0.105263 | 0.473684 | 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 |
24b4ea3e8eebac05481fa39ea1ab6043a3dbfdd9 | 617 | py | Python | GNURadio/Test_Files/BAL_FEC_Test/frame_output_gen_ramp.py | ClydeSpace-GroundStation/GroundStation | 21b4da25a7061b59447cf5a6686e5a575350a3f4 | [
"MIT"
] | 5 | 2016-04-21T18:39:40.000Z | 2020-04-18T12:35:48.000Z | GNURadio/Test_Files/BAL_FEC_Test/frame_output_gen_ramp.py | ClydeSpace-GroundStation/GroundStation | 21b4da25a7061b59447cf5a6686e5a575350a3f4 | [
"MIT"
] | 1 | 2016-06-01T10:55:03.000Z | 2016-06-01T10:55:03.000Z | GNURadio/Test_Files/BAL_FEC_Test/frame_output_gen_ramp.py | ClydeSpace-GroundStation/GroundStation | 21b4da25a7061b59447cf5a6686e5a575350a3f4 | [
"MIT"
] | null | null | null | """
Create a GNURadio readable text file of the first transmitted BAL frame
"""
import array
import scipy
import numpy
import matplotlib.pyplot as plt
# frame as a long hex string stream
frame_string = '1acffc1d'
frame_data = frame_string.decode("hex")
# create byte array
array.array('B', frame_data)
map(ord, fr... | 18.69697 | 75 | 0.734198 | 97 | 617 | 4.546392 | 0.463918 | 0.204082 | 0.117914 | 0.154195 | 0.226757 | 0.226757 | 0.226757 | 0.226757 | 0.226757 | 0.226757 | 0 | 0.033771 | 0.136143 | 617 | 32 | 76 | 19.28125 | 0.793621 | 0.398703 | 0 | 0 | 0 | 0 | 0.075812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.363636 | null | null | 0.090909 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
24da2d064d1c863a87163e2c1b69d5144167e4b4 | 199 | py | Python | beam/models/driver.py | jacentio/beam | 24335af3775a37d7c857863169e792310db10b19 | [
"MIT"
] | 2 | 2020-07-20T07:48:42.000Z | 2022-03-01T20:35:23.000Z | beam/models/driver.py | jacentio/beam | 24335af3775a37d7c857863169e792310db10b19 | [
"MIT"
] | 232 | 2017-02-17T20:36:55.000Z | 2022-03-18T11:03:29.000Z | beam/models/driver.py | jacentio/beam | 24335af3775a37d7c857863169e792310db10b19 | [
"MIT"
] | null | null | null | from . import BeamObject
class Driver(BeamObject):
def add(self, service, ttl):
raise NotImplementedError(
'The add function should be defined at a backend driver level.')
| 22.111111 | 76 | 0.678392 | 24 | 199 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251256 | 199 | 8 | 77 | 24.875 | 0.90604 | 0 | 0 | 0 | 0 | 0 | 0.306533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
24e4fba34894dabae8813f56c8081a9f58e942a9 | 1,325 | py | Python | turvallisuusneuvonta/csaf/core/rules/mandatory/acyclic_product_ids.py | sthagen/turvallisuusneuvonta | 503e6026463e475b02cb75fd23ae3faeb5f25b11 | [
"MIT"
] | 1 | 2021-12-08T11:12:30.000Z | 2021-12-08T11:12:30.000Z | turvallisuusneuvonta/csaf/core/rules/mandatory/acyclic_product_ids.py | sthagen/turvallisuusneuvonta | 503e6026463e475b02cb75fd23ae3faeb5f25b11 | [
"MIT"
] | 2 | 2022-02-14T15:43:08.000Z | 2022-02-14T21:22:13.000Z | turvallisuusneuvonta/csaf/core/rules/mandatory/acyclic_product_ids.py | sthagen/turvallisuusneuvonta | 503e6026463e475b02cb75fd23ae3faeb5f25b11 | [
"MIT"
] | null | null | null | """6.1.3 Circular Definition of Product ID
For each new defined Product ID (type /$defs/product_id_t) in items of relationships (/product_tree/relationships)
it must be tested that the product_id does not end up in a cirle.
The relevant path for this test is:
/product_tree/relationships[]/full_product_name/product... | 30.813953 | 114 | 0.69283 | 181 | 1,325 | 4.917127 | 0.447514 | 0.101124 | 0.080899 | 0.060674 | 0.173034 | 0.107865 | 0.107865 | 0.107865 | 0 | 0 | 0 | 0.041386 | 0.215849 | 1,325 | 42 | 115 | 31.547619 | 0.815207 | 0.893585 | 0 | 0 | 0 | 0 | 0.679104 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
24ef2e775c5819298ce4f41210814656f0c6e9dc | 12,787 | py | Python | src/multitfa/analysis/sampling.py | biosustain/multitfa | ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50 | [
"Apache-2.0"
] | 4 | 2020-11-27T20:25:57.000Z | 2021-03-12T22:01:34.000Z | src/multitfa/analysis/sampling.py | biosustain/multitfa | ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50 | [
"Apache-2.0"
] | 8 | 2020-11-29T23:56:31.000Z | 2021-04-09T11:23:17.000Z | src/multitfa/analysis/sampling.py | biosustain/multitfa | ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50 | [
"Apache-2.0"
] | 1 | 2021-11-11T09:22:57.000Z | 2021-11-11T09:22:57.000Z | from copy import copy, deepcopy
import numpy as np
from pandas import DataFrame, Series, concat
from .sampling_util import *
from .variability import variability
def cutoff_sampling(
model_variability,
cutoff=100,
variable_list=None,
min_growth=False,
fraction_of_optim=0.9,
solver_name=None,... | 35.717877 | 332 | 0.645578 | 1,581 | 12,787 | 4.988615 | 0.137255 | 0.040573 | 0.039939 | 0.016229 | 0.746799 | 0.716496 | 0.709395 | 0.675922 | 0.664511 | 0.649803 | 0 | 0.010735 | 0.278799 | 12,787 | 357 | 333 | 35.817927 | 0.844502 | 0.238758 | 0 | 0.606838 | 0 | 0 | 0.039543 | 0.008811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017094 | false | 0 | 0.021368 | 0 | 0.055556 | 0.004274 | 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 |
700622d49d616c4c76f8827f690c58bf0da59c4d | 921 | py | Python | illallangi/delugeapi/torrentcollection.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | illallangi/delugeapi/torrentcollection.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | illallangi/delugeapi/torrentcollection.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | from collections.abc import Sequence
from .torrent import Torrent
class TorrentCollection(Sequence):
def __init__(self, host, *args, **kwargs):
super().__init__(*args, **kwargs)
self.host = host
if self.host.client.connected:
torrents = self.host.client.call('core.get_torrents... | 32.892857 | 115 | 0.64278 | 111 | 921 | 4.774775 | 0.396396 | 0.120755 | 0.05283 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001361 | 0.201954 | 921 | 27 | 116 | 34.111111 | 0.719728 | 0 | 0 | 0 | 0 | 0.052632 | 0.216069 | 0.128122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.105263 | 0.263158 | 0.736842 | 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 |
7006ace3b48f4ce78e352369aacaa7121403aa1d | 296 | py | Python | src/bunchup/admin.py | LloydTao/Hackathon-NASA-2020 | c90c7a109ae035be4648e17ef8e5aa4cf86fd696 | [
"MIT"
] | 1 | 2020-05-31T23:08:12.000Z | 2020-05-31T23:08:12.000Z | src/bunchup/admin.py | LloydTao/Hackathon-NASA-2020 | c90c7a109ae035be4648e17ef8e5aa4cf86fd696 | [
"MIT"
] | 11 | 2020-05-31T02:01:37.000Z | 2021-09-22T19:07:40.000Z | src/bunchup/admin.py | LloydTao/Hackathon-NASA-2020 | c90c7a109ae035be4648e17ef8e5aa4cf86fd696 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Tag, Activity, Hub, Room, Message, Membership
# Register your models here.
admin.site.register(Tag)
admin.site.register(Activity)
admin.site.register(Hub)
admin.site.register(Room)
admin.site.register(Message)
admin.site.register(Membership)
| 26.909091 | 65 | 0.804054 | 42 | 296 | 5.666667 | 0.380952 | 0.226891 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084459 | 296 | 10 | 66 | 29.6 | 0.878229 | 0.087838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7036072cdb00db294d4dff82af15fd12779dba48 | 52 | py | Python | pgm/max.py | Dharani-18/CODEKATA | c9c39a0579d2ee7fd8790d240f50e087708b8050 | [
"Apache-2.0"
] | null | null | null | pgm/max.py | Dharani-18/CODEKATA | c9c39a0579d2ee7fd8790d240f50e087708b8050 | [
"Apache-2.0"
] | null | null | null | pgm/max.py | Dharani-18/CODEKATA | c9c39a0579d2ee7fd8790d240f50e087708b8050 | [
"Apache-2.0"
] | 2 | 2019-05-24T05:26:31.000Z | 2019-07-18T06:18:48.000Z | x = [int(i) for i in input().split()]
print(max(x))
| 17.333333 | 37 | 0.576923 | 11 | 52 | 2.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 38 | 26 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7037503d21e1133121dbbfd66929af9b4d2895fc | 365 | py | Python | src/jt/jpype/nio.py | karpierz/jtypes.jpype | 225b214757ef7f7e03c4569028906d8194e3345d | [
"Apache-2.0"
] | 5 | 2019-01-08T02:33:55.000Z | 2019-11-08T21:00:45.000Z | src/jt/jpype/nio.py | karpierz/jtypes.jpype | 225b214757ef7f7e03c4569028906d8194e3345d | [
"Apache-2.0"
] | 2 | 2018-06-29T15:46:34.000Z | 2020-11-15T01:01:10.000Z | src/jt/jpype/nio.py | karpierz/jtypes.jpype | 225b214757ef7f7e03c4569028906d8194e3345d | [
"Apache-2.0"
] | null | null | null | # Copyright 2013-2018 Adam Karpierz
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
def convertToDirectBuffer(obj):
"""Efficiently convert all array.array and numpy ndarray types,
string and unicode to java.nio.Buffer objects."""
from ..jtypes._jvm import JV... | 28.076923 | 67 | 0.745205 | 51 | 365 | 5.313725 | 0.803922 | 0.01476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.156164 | 365 | 12 | 68 | 30.416667 | 0.840909 | 0.635616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
706e1ebf86e93fe1da960d4a65137d088e2ded75 | 27,188 | py | Python | openmdao.lib/src/openmdao/lib/drivers/test/test_opt_conmin.py | mjfwest/OpenMDAO-Framework | a5521f47ad7686c25b203de74e1c7dff5fd7a52b | [
"Apache-2.0"
] | 69 | 2015-01-02T19:10:08.000Z | 2021-11-14T04:42:28.000Z | openmdao.lib/src/openmdao/lib/drivers/test/test_opt_conmin.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 3 | 2015-01-15T23:08:18.000Z | 2015-03-11T16:57:35.000Z | openmdao.lib/src/openmdao/lib/drivers/test/test_opt_conmin.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 31 | 2015-09-16T00:37:35.000Z | 2022-01-10T06:27:55.000Z | """
Test the CONMIN optimizer component
"""
import unittest
import numpy
# pylint: disable=F0401,E0611
from openmdao.main.api import Assembly, Component, VariableTree, set_as_top, Driver
from openmdao.main.datatypes.api import Float, Array, Str, VarTree
from openmdao.lib.casehandlers.api import ListCaseRecorder
from ... | 41.571865 | 134 | 0.562859 | 4,184 | 27,188 | 3.541826 | 0.061185 | 0.089075 | 0.090559 | 0.063297 | 0.758553 | 0.724138 | 0.707403 | 0.68952 | 0.673325 | 0.660233 | 0 | 0.0714 | 0.265926 | 27,188 | 653 | 135 | 41.635528 | 0.671109 | 0.106297 | 0 | 0.625561 | 0 | 0.069507 | 0.143604 | 0.098362 | 0 | 0 | 0 | 0 | 0.183857 | 1 | 0.073991 | false | 0 | 0.022422 | 0 | 0.163677 | 0.013453 | 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 |
706e51a0a87b776ea7438ec4abece3eb746d7290 | 570 | py | Python | tests/022.py | abawchen/leetcode | 41d3b172a7694a46a860fbcb0565a3acccd000f2 | [
"MIT"
] | null | null | null | tests/022.py | abawchen/leetcode | 41d3b172a7694a46a860fbcb0565a3acccd000f2 | [
"MIT"
] | null | null | null | tests/022.py | abawchen/leetcode | 41d3b172a7694a46a860fbcb0565a3acccd000f2 | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append('./')
solutions = __import__('solutions.022_generate_parentheses', fromlist='*')
class Test022(unittest.TestCase):
def test_generateParenthesis(self):
s = solutions.Solution()
self.assertEqual(s.generateParenthesis(0), [])
self.assertEqual(s.gen... | 28.5 | 102 | 0.608772 | 50 | 570 | 6.64 | 0.54 | 0.180723 | 0.192771 | 0.421687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020747 | 0.154386 | 570 | 19 | 103 | 30 | 0.66805 | 0 | 0 | 0 | 1 | 0 | 0.149123 | 0.059649 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.076923 | false | 0 | 0.230769 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7074b7c39c2246c597443867c528f413a871c55d | 17,735 | py | Python | Combine_output_files/GAMS_combine_csv_files.py | jackleekopij/RODeO | 3c65b241e85a5f0e009fc0e51b2af7c5b685cc61 | [
"BSD-3-Clause"
] | 9 | 2020-08-09T00:01:26.000Z | 2022-03-04T18:13:50.000Z | Combine_output_files/GAMS_combine_csv_files.py | jackleekopij/RODeO | 3c65b241e85a5f0e009fc0e51b2af7c5b685cc61 | [
"BSD-3-Clause"
] | null | null | null | Combine_output_files/GAMS_combine_csv_files.py | jackleekopij/RODeO | 3c65b241e85a5f0e009fc0e51b2af7c5b685cc61 | [
"BSD-3-Clause"
] | 3 | 2020-10-05T20:39:26.000Z | 2022-02-28T10:22:22.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Feb 23 17:51:07 2017
@author: jeichman
"""
import fnmatch
import os
import sqlite3
import pandas as pd
import warnings
warnings.simplefilter("ignore",UserWarning)
Scenario1 = 'Test'
dir0 = 'C:/Users/jeichman/Documents/gamsdir/projdir/RODeO/Projects/'+Scenario1+'/Output/'... | 48.589041 | 157 | 0.576487 | 2,052 | 17,735 | 4.793372 | 0.105263 | 0.126169 | 0.074726 | 0.0488 | 0.779992 | 0.75915 | 0.737597 | 0.671614 | 0.634608 | 0.623831 | 0 | 0.062237 | 0.28971 | 17,735 | 364 | 158 | 48.722527 | 0.718584 | 0.046744 | 0 | 0.66881 | 0 | 0 | 0.169837 | 0.02797 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016077 | 0 | 0.016077 | 0.022508 | 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 |
709af0aa8df60eff768c37b84d613e60fc33b9b8 | 85 | py | Python | tests/fixtures/setup.py | frague59/bump-release | e1f0ae5c971075901fa4205dc6e85dfb14e160a2 | [
"MIT"
] | null | null | null | tests/fixtures/setup.py | frague59/bump-release | e1f0ae5c971075901fa4205dc6e85dfb14e160a2 | [
"MIT"
] | null | null | null | tests/fixtures/setup.py | frague59/bump-release | e1f0ae5c971075901fa4205dc6e85dfb14e160a2 | [
"MIT"
] | null | null | null | import setuptools
setuptools.setup(
name="bump_release",
version="0.0.1",
)
| 12.142857 | 24 | 0.670588 | 11 | 85 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.176471 | 85 | 6 | 25 | 14.166667 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
70a52a96a111ec27dd1fce9b13cf4ab2f858bfe6 | 436 | py | Python | test/test_sleep_stage.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 97 | 2019-02-18T20:19:21.000Z | 2022-03-30T05:01:44.000Z | test/test_sleep_stage.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 13 | 2019-10-29T05:53:11.000Z | 2022-03-14T21:38:49.000Z | test/test_sleep_stage.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 49 | 2019-06-03T23:22:19.000Z | 2022-03-30T05:01:40.000Z | from unittest import TestCase
from source.sleep_stage import SleepStage
class TestSleepStage(TestCase):
def test_stages(self):
self.assertEqual(SleepStage.wake.value, 0)
self.assertEqual(SleepStage.n1.value, 1)
self.assertEqual(SleepStage.n2.value, 2)
self.assertEqual(SleepStage... | 22.947368 | 50 | 0.708716 | 53 | 436 | 5.792453 | 0.528302 | 0.29316 | 0.488599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0.192661 | 436 | 18 | 51 | 24.222222 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 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 |
70a72b6c9926ddf3b0f6a43e61d64ac6e9472d9a | 223,939 | py | Python | mayaSDK/maya/cmds/Effects.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/cmds/Effects.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/cmds/Effects.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | def addDynamic():
"""
http://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/addDynamic.html
-----------------------------------------
addDynamic is undoable, NOT queryable, and NOT editable.
Makes the "object" specified as second argument the source of an existing
field or emitter specified... | 40.103689 | 993 | 0.614591 | 29,697 | 223,939 | 4.634509 | 0.075967 | 0.014023 | 0.011901 | 0.008145 | 0.545488 | 0.514383 | 0.49313 | 0.476099 | 0.461589 | 0.453931 | 0 | 0.005401 | 0.178156 | 223,939 | 5,583 | 994 | 40.110872 | 0.742419 | 0.960601 | 0 | 0 | 0 | 0 | 0.372077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5616f0d020f17faf39228a472a1250244f49fe3b | 1,094 | py | Python | rest_basics/get_mx_software_information.py | ksator/python-training-for-network-engineers | 0d2265fd5441607d3b1152172244a26738fcb9c5 | [
"MIT"
] | 100 | 2016-12-19T13:51:37.000Z | 2022-03-24T18:20:12.000Z | rest_basics/get_mx_software_information.py | Abd-Elrazek/python-training-for-network-engineers | 0d2265fd5441607d3b1152172244a26738fcb9c5 | [
"MIT"
] | 1 | 2016-11-03T20:43:09.000Z | 2016-11-03T22:11:55.000Z | rest_basics/get_mx_software_information.py | Abd-Elrazek/python-training-for-network-engineers | 0d2265fd5441607d3b1152172244a26738fcb9c5 | [
"MIT"
] | 45 | 2016-12-02T14:01:27.000Z | 2022-03-20T14:56:24.000Z | #-----------------------------------------------------------------------------------------------------------------------
# DESCRIPTION:
# Retrieve software information from an MX router with a REST API call.
#
# CONTACT: bvilletard@juniper.net; cbinckly@juniper.net; ksator@juniper.net; pgeenens@juniper.net; tgrimonet... | 42.076923 | 142 | 0.562157 | 116 | 1,094 | 5.258621 | 0.482759 | 0.186885 | 0.063934 | 0.118033 | 0.136066 | 0.095082 | 0 | 0 | 0 | 0 | 0 | 0.032738 | 0.078611 | 1,094 | 25 | 143 | 43.76 | 0.572421 | 0.483547 | 0 | 0 | 0 | 0 | 0.443841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.375 | null | null | 0.5 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
562a4d2a623e70dca47ce8085e0d442071b704c0 | 370 | py | Python | zazi/apps/loan/admin.py | felixcheruiyot/zazi-core-banking | 0a2dac42235adcac3cf8c114961e407f54844223 | [
"Apache-2.0"
] | null | null | null | zazi/apps/loan/admin.py | felixcheruiyot/zazi-core-banking | 0a2dac42235adcac3cf8c114961e407f54844223 | [
"Apache-2.0"
] | 1 | 2021-08-20T06:41:57.000Z | 2021-08-20T06:41:57.000Z | zazi/apps/loan/admin.py | felixcheruiyot/zazi-core-banking | 0a2dac42235adcac3cf8c114961e407f54844223 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import \
LoanAccount, LoanProduct, LoanTransaction, LoanProfile,\
LoanApplication, LoanAccountBalance
admin.site.register(LoanApplication)
admin.site.register(LoanProduct)
admin.site.register(LoanAccountBalance)
admin.site.register(LoanProfile)
admin.site.register... | 30.833333 | 60 | 0.832432 | 38 | 370 | 8.105263 | 0.368421 | 0.175325 | 0.331169 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078378 | 370 | 12 | 61 | 30.833333 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
562cd4001f7fb92617198d5ced95d86550cf459a | 1,101 | py | Python | grin-py/services/NEED_dosWatcher.py | hunternsk/grin-pool | 06cbf33acedc3cff63ed05aedda1191b2312d9a4 | [
"Apache-2.0"
] | 130 | 2018-06-05T21:45:29.000Z | 2022-01-13T22:37:20.000Z | grin-py/services/NEED_dosWatcher.py | hunternsk/grin-pool | 06cbf33acedc3cff63ed05aedda1191b2312d9a4 | [
"Apache-2.0"
] | 30 | 2018-07-10T22:23:50.000Z | 2022-01-22T11:01:49.000Z | grin-py/services/NEED_dosWatcher.py | hunternsk/grin-pool | 06cbf33acedc3cff63ed05aedda1191b2312d9a4 | [
"Apache-2.0"
] | 78 | 2018-07-05T00:32:22.000Z | 2021-05-30T07:57:50.000Z | #!/usr/bin/python
# Copyright 2018 Blade M. Doyle
# 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 ag... | 33.363636 | 87 | 0.762943 | 174 | 1,101 | 4.821839 | 0.695402 | 0.071514 | 0.030989 | 0.038141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008869 | 0.180745 | 1,101 | 32 | 88 | 34.40625 | 0.921286 | 0.880109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.8 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5644a798bb9cd43adf85805c8987c0934782020b | 962 | py | Python | src/frequency_queries.py | manoldonev/algo-challenges | 0ecbc79fdc62d6f4712405a55bbab3e49d5139a6 | [
"MIT"
] | null | null | null | src/frequency_queries.py | manoldonev/algo-challenges | 0ecbc79fdc62d6f4712405a55bbab3e49d5139a6 | [
"MIT"
] | null | null | null | src/frequency_queries.py | manoldonev/algo-challenges | 0ecbc79fdc62d6f4712405a55bbab3e49d5139a6 | [
"MIT"
] | null | null | null |
"""Frequence Queries"""
from collections import Counter
def frequency_queries(queries):
"""https://www.hackerrank.com/challenges/frequency-queries"""
counter = Counter()
reverse_counter = Counter()
output = []
for operation, value in queries:
if operation == 1:
if reverse_co... | 27.485714 | 65 | 0.518711 | 94 | 962 | 5.12766 | 0.37234 | 0.224066 | 0.261411 | 0.26971 | 0.33195 | 0.33195 | 0.33195 | 0.33195 | 0.33195 | 0.33195 | 0 | 0.037338 | 0.359667 | 962 | 34 | 66 | 28.294118 | 0.74513 | 0.075884 | 0 | 0.166667 | 0 | 0 | 0.009122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.125 | 0.041667 | 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 |
5647e77ae45246d0b02a82fc997391b822a46934 | 304 | py | Python | demo/demo/views/__init__.py | jerivas/django-file-router | 91786d624c84d0a344acd9f9e7cc0d80791e90c2 | [
"MIT"
] | 7 | 2022-02-01T04:37:52.000Z | 2022-03-23T11:28:37.000Z | demo/demo/views/__init__.py | jerivas/django-file-router | 91786d624c84d0a344acd9f9e7cc0d80791e90c2 | [
"MIT"
] | null | null | null | demo/demo/views/__init__.py | jerivas/django-file-router | 91786d624c84d0a344acd9f9e7cc0d80791e90c2 | [
"MIT"
] | null | null | null | """
<h1>Hello 👋</h1>
<p>Here are some links:</p>
<ul>
<li><a href="{% url 'colors' %}">Colors</a></li>
<li><a href="{% url 'current_time' %}">Current Time</a></li>
</ul>
"""
from file_router import render_str
def view(request):
return render_str(__doc__, request)
view.urlname = "home"
| 16 | 64 | 0.598684 | 47 | 304 | 3.723404 | 0.617021 | 0.034286 | 0.08 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.167763 | 304 | 18 | 65 | 16.888889 | 0.679842 | 0.572368 | 0 | 0 | 0 | 0 | 0.032787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
5668738c696e0c3e7f2b3c882e930ef4057da2b2 | 488 | py | Python | swot_simulator/error/__init__.py | CNES/swot_simulator | 92d0bb4a274ec9923265567968beea3be4283e61 | [
"BSD-3-Clause"
] | 17 | 2020-05-28T08:20:11.000Z | 2022-03-25T07:40:48.000Z | swot_simulator/error/__init__.py | CNES/swot_simulator | 92d0bb4a274ec9923265567968beea3be4283e61 | [
"BSD-3-Clause"
] | 7 | 2021-07-21T02:15:52.000Z | 2021-11-14T10:46:41.000Z | swot_simulator/error/__init__.py | CNES/swot_simulator | 92d0bb4a274ec9923265567968beea3be4283e61 | [
"BSD-3-Clause"
] | 8 | 2020-05-17T13:53:43.000Z | 2022-03-25T07:40:58.000Z | # Copyright (c) 2021 CNES/JPL
#
# All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
"""
Simulate errors
---------------
"""
from .altimeter import Altimeter
from .baseline_dilation import BaselineDilation
from .corrected_roll_phase import CorrectedR... | 28.705882 | 63 | 0.782787 | 67 | 488 | 5.626866 | 0.686567 | 0.047745 | 0.079576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009501 | 0.137295 | 488 | 16 | 64 | 30.5 | 0.885986 | 0.366803 | 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 |
5675e059b9df2fa439860e2f1865a5c3d88be675 | 389 | py | Python | src/pbbt/__init__.py | prometheusresearch/pbbt | 35e6e4f49a1055892f487720f1c6ec15144956ff | [
"MIT"
] | 2 | 2021-03-16T15:57:31.000Z | 2021-10-06T23:13:26.000Z | src/pbbt/__init__.py | prometheusresearch/pbbt | 35e6e4f49a1055892f487720f1c6ec15144956ff | [
"MIT"
] | 1 | 2021-02-05T00:20:30.000Z | 2021-02-05T00:20:30.000Z | src/pbbt/__init__.py | prometheusresearch/pbbt | 35e6e4f49a1055892f487720f1c6ec15144956ff | [
"MIT"
] | 3 | 2021-02-15T20:37:02.000Z | 2021-10-06T23:13:28.000Z | #
# Copyright (c) 2013, Prometheus Research, LLC
# Released under MIT license, see `LICENSE` for details.
#
from .check import maybe, oneof, choiceof, listof, tupleof, dictof, raises
from .core import Test, Field, Record
from .ctl import Control
from .load import locate, Location
from .run import run, main
from .std ... | 24.3125 | 74 | 0.755784 | 55 | 389 | 5.345455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.161954 | 389 | 15 | 75 | 25.933333 | 0.889571 | 0.254499 | 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 |
3b1cfda6a442c7e60695f085d2b2f4d3a45b081c | 93 | py | Python | bauh/gems/arch/__init__.py | jayvdb/bauh | 0224cf857a74a1b242a43dec96b01e4fe72a8042 | [
"Zlib"
] | null | null | null | bauh/gems/arch/__init__.py | jayvdb/bauh | 0224cf857a74a1b242a43dec96b01e4fe72a8042 | [
"Zlib"
] | null | null | null | bauh/gems/arch/__init__.py | jayvdb/bauh | 0224cf857a74a1b242a43dec96b01e4fe72a8042 | [
"Zlib"
] | null | null | null | import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
BUILD_DIR = '/tmp/bauh/aur'
| 18.6 | 53 | 0.741935 | 16 | 93 | 3.9375 | 0.75 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 4 | 54 | 23.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 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 |
3b39a5916cafff5974e221c345b3a6afcdf8437b | 124 | py | Python | leafs/__init__.py | amka/LeaFS | 687e97c2a22a3a2c04c26fd5ce727c638328d689 | [
"BSD-3-Clause"
] | null | null | null | leafs/__init__.py | amka/LeaFS | 687e97c2a22a3a2c04c26fd5ce727c638328d689 | [
"BSD-3-Clause"
] | null | null | null | leafs/__init__.py | amka/LeaFS | 687e97c2a22a3a2c04c26fd5ce727c638328d689 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from .types import *
from .fs import *
__author__ = 'Andrey Maksimov <meamka@ya.ru>'
__date__ = '16.03.16'
| 17.714286 | 45 | 0.685484 | 19 | 124 | 4.052632 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.16129 | 124 | 6 | 46 | 20.666667 | 0.673077 | 0.104839 | 0 | 0 | 0 | 0 | 0.348624 | 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 |
3b4e1994bf0a8628b34f3479b7775b1a68bd7e9c | 59 | py | Python | src/favorites_crawler/constants/regexes.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | 2 | 2022-02-05T04:24:55.000Z | 2022-02-22T23:50:23.000Z | src/favorites_crawler/constants/regexes.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | 3 | 2022-02-22T13:35:29.000Z | 2022-02-28T13:29:56.000Z | src/favorites_crawler/constants/regexes.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | null | null | null | ILLEGAL_FILENAME_CHARACTERS = r'[#%&{}\<>*?/$!\'":@+`|=?]'
| 29.5 | 58 | 0.474576 | 4 | 59 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b56b780a626124638f00fa3b953bef8c68e2922 | 180 | py | Python | ex049.py | thaisouza30/Exercicios-Python3-Curso-em-Video | ec9ccf57fae7bd86ec7a80efb1df779dd2128154 | [
"Apache-2.0"
] | 1 | 2021-02-01T17:22:11.000Z | 2021-02-01T17:22:11.000Z | ex049.py | thaisouza30/Exercicios-Python3-Curso-em-Video | ec9ccf57fae7bd86ec7a80efb1df779dd2128154 | [
"Apache-2.0"
] | null | null | null | ex049.py | thaisouza30/Exercicios-Python3-Curso-em-Video | ec9ccf57fae7bd86ec7a80efb1df779dd2128154 | [
"Apache-2.0"
] | null | null | null | print('=-'*20)
numero = int(input('Digite o número que deseja ver a tabuada: '))
print('=-'*20)
for c in range(1, 11):
print('{} X {} = {}'.format(c, numero, numero * c))
| 30 | 66 | 0.561111 | 28 | 180 | 3.607143 | 0.75 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0.2 | 180 | 5 | 67 | 36 | 0.652778 | 0 | 0 | 0.4 | 0 | 0 | 0.331429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 |
3b700770900ed7dc00d62b1108ae4bdafff639d3 | 248 | py | Python | sitepackages/djangosecure/decorators.py | bitcpf/djangoage | f116860cbfa799eb6c47306a72d742b63c970dce | [
"Apache-2.0"
] | 167 | 2015-01-08T07:23:46.000Z | 2022-02-14T06:59:01.000Z | djangosecure/decorators.py | amit2014/django-secure | bc40cb16747c8edb7bae637ae7ba5b3510de1195 | [
"BSD-3-Clause"
] | 51 | 2019-10-08T01:53:02.000Z | 2021-06-04T22:02:21.000Z | djangosecure/decorators.py | amit2014/django-secure | bc40cb16747c8edb7bae637ae7ba5b3510de1195 | [
"BSD-3-Clause"
] | 13 | 2015-02-08T16:41:41.000Z | 2020-07-13T16:27:36.000Z | from django.utils.functional import wraps
def frame_deny_exempt(view):
@wraps(view)
def inner(*args, **kwargs):
response = view(*args, **kwargs)
response._frame_deny_exempt = True
return response
return inner
| 20.666667 | 42 | 0.66129 | 30 | 248 | 5.3 | 0.566667 | 0.113208 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 248 | 11 | 43 | 22.545455 | 0.845745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3b88f6b1032100ce76447ece7860b42f3184117b | 3,624 | py | Python | UnitTest/test_StatisticsCalculator.py | afreendin/MiniProject2 | f84e6984205c4f69448eb4ae1986fb11019ee74f | [
"MIT"
] | 2 | 2020-03-29T03:28:30.000Z | 2020-03-30T02:18:36.000Z | UnitTest/test_StatisticsCalculator.py | afreendin/MiniProject2 | f84e6984205c4f69448eb4ae1986fb11019ee74f | [
"MIT"
] | 4 | 2020-03-21T16:14:35.000Z | 2020-03-29T19:39:51.000Z | UnitTest/test_StatisticsCalculator.py | afreendin/MiniProject2 | f84e6984205c4f69448eb4ae1986fb11019ee74f | [
"MIT"
] | null | null | null | import sys
import random
import numpy as np
from numpy.random import randn
sys.path.append('../DescriptiveStatisticsFunction')
sys.path.append('../HelperFunctions')
from HelperFunctions.HelperFunctions import lib_mean
from HelperFunctions.HelperFunctions import lib_median
from HelperFunctions.HelperFunctions import lib... | 44.740741 | 104 | 0.818709 | 389 | 3,624 | 7.390746 | 0.179949 | 0.149217 | 0.045217 | 0.283826 | 0.610087 | 0.143304 | 0.05913 | 0 | 0 | 0 | 0 | 0.015542 | 0.112307 | 3,624 | 80 | 105 | 45.3 | 0.878147 | 0.021523 | 0 | 0 | 0 | 0 | 0.018346 | 0.009032 | 0 | 0 | 0 | 0 | 0.155172 | 1 | 0.172414 | false | 0 | 0.465517 | 0 | 0.655172 | 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 |
3b8a956fca6fb76179a8da4dbed3d915bf44e372 | 227 | py | Python | cms_extensions/app_settings.py | pengutronix/django-cms-extensions | a6e22713e41add6a94030ee79fd91e2bdda22d2b | [
"BSD-3-Clause"
] | null | null | null | cms_extensions/app_settings.py | pengutronix/django-cms-extensions | a6e22713e41add6a94030ee79fd91e2bdda22d2b | [
"BSD-3-Clause"
] | null | null | null | cms_extensions/app_settings.py | pengutronix/django-cms-extensions | a6e22713e41add6a94030ee79fd91e2bdda22d2b | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings as __settings
AUTO_EXPORT = getattr(__settings, 'CMS_AUTO_EXPORT', False)
EXPORT_ROOT = getattr(__settings, 'CMS_EXPORT_ROOT', 'html')
DEFAULT_LANGUAGE = __settings.CMS_LANGUAGES[1][0]['code']
| 37.833333 | 60 | 0.792952 | 31 | 227 | 5.290323 | 0.612903 | 0.20122 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.088106 | 227 | 5 | 61 | 45.4 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.167401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e591480207a2fb875f015caa4ccd9901b3a5fb3 | 219 | py | Python | frontend/src/key/urls.py | ANRGUSC/I3-core | f4da02a5b475f400d41afd453bfbed6cd53ba087 | [
"BSD-3-Clause"
] | 11 | 2020-01-30T22:26:19.000Z | 2022-02-18T19:47:27.000Z | frontend/src/key/urls.py | ANRGUSC/I3-core | f4da02a5b475f400d41afd453bfbed6cd53ba087 | [
"BSD-3-Clause"
] | 11 | 2020-02-13T19:16:40.000Z | 2022-03-12T00:08:46.000Z | frontend/src/key/urls.py | ANRGUSC/I3-core | f4da02a5b475f400d41afd453bfbed6cd53ba087 | [
"BSD-3-Clause"
] | 4 | 2020-02-26T22:34:29.000Z | 2021-09-04T07:39:48.000Z | from django.conf.urls import url
from .views import KeyCreateView, KeyDetailView
urlpatterns = [
url(r'^$', KeyDetailView.as_view(), name='index'),
url(r'^create/$', KeyCreateView.as_view(), name='create'),
]
| 24.333333 | 62 | 0.694064 | 27 | 219 | 5.555556 | 0.592593 | 0.053333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 219 | 8 | 63 | 27.375 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.100457 | 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 |
8e5e346f2b95a3fb0c72f8669575e900e1958da7 | 944 | py | Python | pyPLM/Core/Timer.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | 7 | 2017-12-22T02:49:58.000Z | 2018-05-09T05:29:06.000Z | pyPLM/Core/Timer.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | null | null | null | pyPLM/Core/Timer.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | 3 | 2019-03-11T21:54:52.000Z | 2019-11-25T11:23:17.000Z | # -*- coding: utf-8 -*-
"""
Script Name: Timer.py
Author: Do Trinh/Jimmy - 3D artist.
Description:
"""
# -------------------------------------------------------------------------------------------------------------
from PySide2.QtCore import QTimer
class Timer(QTimer):
Type ... | 23.02439 | 111 | 0.365466 | 75 | 944 | 4.466667 | 0.68 | 0.059701 | 0.065672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034646 | 0.327331 | 944 | 41 | 112 | 23.02439 | 0.491339 | 0.427966 | 0 | 0 | 0 | 0 | 0.045541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8e6112ccc4d5760092e699a7f8dd640290964132 | 1,298 | py | Python | griffig/infer/selection.py | pantor/griffig | 0b10ef5d69902b14a4d648a809a51933a8f5fe8a | [
"MIT"
] | 27 | 2021-07-22T10:22:54.000Z | 2022-02-04T15:10:15.000Z | griffig/infer/selection.py | pantor/griffig | 0b10ef5d69902b14a4d648a809a51933a8f5fe8a | [
"MIT"
] | 1 | 2021-09-03T17:20:23.000Z | 2021-09-03T17:20:23.000Z | griffig/infer/selection.py | pantor/griffig | 0b10ef5d69902b14a4d648a809a51933a8f5fe8a | [
"MIT"
] | 3 | 2021-10-19T02:49:13.000Z | 2021-12-24T18:53:55.000Z | import numpy as np
class Method:
def __call__(self, x):
raise NotImplementedError()
def disable(self, index, x):
raise NotImplementedError
def __repr__(self):
raise NotImplementedError
class Max(Method):
def __call__(self, x):
return x.argmax()
def disable(self... | 20.28125 | 81 | 0.597843 | 172 | 1,298 | 4.232558 | 0.238372 | 0.061813 | 0.075549 | 0.082418 | 0.442308 | 0.362637 | 0.321429 | 0.285714 | 0.225275 | 0.131868 | 0 | 0.004219 | 0.269646 | 1,298 | 63 | 82 | 20.603175 | 0.763713 | 0 | 0 | 0.463415 | 0 | 0 | 0.023112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.414634 | false | 0.02439 | 0.02439 | 0.170732 | 0.756098 | 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 |
8e6931dcb876cfad1c324fa28b1909be375f7836 | 702 | py | Python | hatvp/admin.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | hatvp/admin.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | hatvp/admin.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | from .models import *
#from .models import Dirigeants
#from .models import Collaborateurs
#from .models import Clients
#from .models import Affiliations
from django.contrib import admin
admin.site.register(Informations_generales)
admin.site.register(Dirigeants)
admin.site.register(Collaborateurs)
admin.site.register(C... | 31.909091 | 43 | 0.849003 | 87 | 702 | 6.770115 | 0.310345 | 0.213922 | 0.404075 | 0.098472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 702 | 21 | 44 | 33.428571 | 0.888386 | 0.175214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e9c0bc3eb3204806708657e94fa041801cd19d5 | 168 | py | Python | Comprehensions - Exrecise/Flatten Lists.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | Comprehensions - Exrecise/Flatten Lists.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | Comprehensions - Exrecise/Flatten Lists.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | strings = input().split("|")
numbers = [[n for n in string.split()] for string in strings]
print(' '.join([' '.join(string) for string in numbers[::-1] if string]))
| 42 | 74 | 0.630952 | 25 | 168 | 4.24 | 0.48 | 0.169811 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.154762 | 168 | 3 | 75 | 56 | 0.739437 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8eaed72ab966917c521a1661980aacee3f4ac20c | 206 | py | Python | bitmovin_api_sdk/models/profile_h265.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/models/profile_h265.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/models/profile_h265.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | # coding: utf-8
from enum import Enum
from six import string_types, iteritems
from bitmovin_api_sdk.common.poscheck import poscheck_model
class ProfileH265(Enum):
MAIN = "main"
MAIN10 = "main10"
| 18.727273 | 59 | 0.757282 | 29 | 206 | 5.241379 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0.169903 | 206 | 10 | 60 | 20.6 | 0.842105 | 0.063107 | 0 | 0 | 0 | 0 | 0.052356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8ecbadfd55f8a1d7b71b4f56bbda4c61fe6bb7d6 | 2,141 | py | Python | RISCVBusiness/compile_asm_for_self.py | Purdue-SoCET/AFTx05_Public | 7be1adebae64300c0ab6b126bb3b2937ed3d43e4 | [
"Apache-2.0"
] | 3 | 2021-02-19T22:14:04.000Z | 2021-06-09T15:55:43.000Z | RISCVBusiness/compile_asm_for_self.py | Purdue-SoCET/AFTx05_Public | 7be1adebae64300c0ab6b126bb3b2937ed3d43e4 | [
"Apache-2.0"
] | 3 | 2020-10-10T20:20:23.000Z | 2021-03-31T18:38:55.000Z | compile_asm_for_self.py | Purdue-SoCET/RISCVBusiness | 1e9e72aec60e2c7ad85b09fab36a0fab0587c9eb | [
"Apache-2.0"
] | 2 | 2020-07-21T21:00:16.000Z | 2020-08-24T21:41:32.000Z | import argparse
import sys
import glob
import subprocess
import os
import re
from run_tests import compile_asm_for_self
if __name__ == '__main__':
compile_asm_for_self(sys.argv[1])
#file_name = sys.argv[1]
##file_name_cmd = '/home/socetlnx03/RISCVBusiness/' + file_name
#file_name_cmd = file_name
... | 30.585714 | 106 | 0.584306 | 292 | 2,141 | 4.10274 | 0.393836 | 0.0601 | 0.04591 | 0.035058 | 0.272955 | 0.097663 | 0.097663 | 0.097663 | 0.097663 | 0.097663 | 0 | 0.032358 | 0.249416 | 2,141 | 69 | 107 | 31.028986 | 0.71313 | 0.775339 | 0 | 0 | 0 | 0 | 0.018648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8ed98fca1e996833e620716e03284063b1f09f21 | 176 | py | Python | simple_client.py | kazme-egawa/hotoke_pi | f0d72f30d8edf81fc2bad8ed91d9513586a730f7 | [
"MIT"
] | null | null | null | simple_client.py | kazme-egawa/hotoke_pi | f0d72f30d8edf81fc2bad8ed91d9513586a730f7 | [
"MIT"
] | null | null | null | simple_client.py | kazme-egawa/hotoke_pi | f0d72f30d8edf81fc2bad8ed91d9513586a730f7 | [
"MIT"
] | null | null | null | import liblo, sys
try:
target = liblo.Address("localhost",5005)
except liblo.AddressError, err:
print str(err)
sys.exit()
liblo.send(target, "/foo/bar", 1, "test")
| 22 | 44 | 0.670455 | 25 | 176 | 4.72 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.164773 | 176 | 7 | 45 | 25.142857 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8eead20d36ee26c750debe07a00ec2b7fc7c5585 | 402 | py | Python | tests/test_factory.py | breadysimon/passor | ff9311f0f7c7c1c7160ce48e8050e9cb74d205dc | [
"MIT"
] | null | null | null | tests/test_factory.py | breadysimon/passor | ff9311f0f7c7c1c7160ce48e8050e9cb74d205dc | [
"MIT"
] | null | null | null | tests/test_factory.py | breadysimon/passor | ff9311f0f7c7c1c7160ce48e8050e9cb74d205dc | [
"MIT"
] | null | null | null | import os
from hamcrest import *
from passor import util
from passor.apiclient import ServiceCallerFactory
from passor.config import set_env
def test_get_caller():
set_env('sit')
af = ServiceCallerFactory(util.get_relative_path(__file__, "examples"))
a = af.get_caller('example')
assert_that(a.name,... | 22.333333 | 75 | 0.741294 | 57 | 402 | 4.947368 | 0.561404 | 0.106383 | 0.120567 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144279 | 402 | 17 | 76 | 23.647059 | 0.819767 | 0 | 0 | 0 | 0 | 0 | 0.104738 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.090909 | false | 0.272727 | 0.454545 | 0 | 0.545455 | 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 |
8eeb2d43bacf1e4b21db96449550b0895af04fa5 | 407 | py | Python | src/rotest/api/test_control/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 26 | 2017-06-11T18:21:17.000Z | 2021-02-21T20:36:30.000Z | src/rotest/api/test_control/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 143 | 2017-06-29T11:18:35.000Z | 2021-06-10T17:23:46.000Z | src/rotest/api/test_control/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 11 | 2017-06-12T09:16:14.000Z | 2021-07-11T23:20:59.000Z | from .stop_test import StopTest
from .start_test import StartTest
from .should_skip import ShouldSkip
from .start_test_run import StartTestRun
from .stop_composite import StopComposite
from .add_test_result import AddTestResult
from .update_run_data import UpdateRunData
from .start_composite import StartComposite
from ... | 37 | 45 | 0.87715 | 53 | 407 | 6.490566 | 0.490566 | 0.078488 | 0.075581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09828 | 407 | 10 | 46 | 40.7 | 0.93733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d926a7f9590a06359b3a098e69c7136e29ced5f5 | 2,375 | py | Python | mainApp/migrations/0001_initial.py | asanka9/youtubeAdmin | 3848027dfd5cf6493eeab9c50a9be9e2fb634b28 | [
"Apache-2.0"
] | null | null | null | mainApp/migrations/0001_initial.py | asanka9/youtubeAdmin | 3848027dfd5cf6493eeab9c50a9be9e2fb634b28 | [
"Apache-2.0"
] | null | null | null | mainApp/migrations/0001_initial.py | asanka9/youtubeAdmin | 3848027dfd5cf6493eeab9c50a9be9e2fb634b28 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.5 on 2020-08-14 15:43
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Lessons',
fields=[
... | 40.948276 | 114 | 0.565474 | 227 | 2,375 | 5.788546 | 0.268722 | 0.125571 | 0.150685 | 0.200913 | 0.710046 | 0.690259 | 0.667428 | 0.667428 | 0.627854 | 0.627854 | 0 | 0.022606 | 0.292211 | 2,375 | 57 | 115 | 41.666667 | 0.759072 | 0.018947 | 0 | 0.64 | 1 | 0 | 0.082045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d92df4bf51e792a1a91423731164c5dd7169660d | 270 | py | Python | tests/configuration/conftest.py | sambacha/vaults | 211f85b87f7a52c44c93e5e9a227372aef71c070 | [
"MIT"
] | null | null | null | tests/configuration/conftest.py | sambacha/vaults | 211f85b87f7a52c44c93e5e9a227372aef71c070 | [
"MIT"
] | null | null | null | tests/configuration/conftest.py | sambacha/vaults | 211f85b87f7a52c44c93e5e9a227372aef71c070 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def rewards(a):
yield a[2]
@pytest.fixture
def gov(a):
yield a[3]
@pytest.fixture
def token(a, Token):
# MUst be ERC20
yield a[0].deploy(Token)
@pytest.fixture
def controller(a):
yield a[4]
| 11.73913 | 29 | 0.592593 | 40 | 270 | 4 | 0.45 | 0.325 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 0.285185 | 270 | 22 | 30 | 12.272727 | 0.797927 | 0.048148 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.384615 | 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 |
d93ad1d199347eb7e2dc45787fb224606c51361f | 211 | py | Python | Python Fundamentals/Text Processing/Exercise/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python Fundamentals/Text Processing/Exercise/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python Fundamentals/Text Processing/Exercise/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | text = input().split(", ")
valid_names = ""
for word in text:
if 3 <= len(word) <= 16:
if word.isalnum() or "-" in word or "_" in word:
valid_names = word
print(valid_names)
| 23.444444 | 56 | 0.526066 | 29 | 211 | 3.689655 | 0.517241 | 0.280374 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.322275 | 211 | 8 | 57 | 26.375 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
d972304c756b9633e6d6713742efa490bf6cf24d | 1,435 | py | Python | dgacollection/Malware.py | pchaigno/dga-collection | 792f3ec9c6e622993e376c8411b1184c40fafa17 | [
"MIT"
] | 63 | 2015-08-06T08:12:23.000Z | 2021-11-23T07:45:36.000Z | machines/victim/dgacollection/Malware.py | pierreeliseeflory/dga_hackathon | 80a31cb4ecd0a38b383c6acdcb49795acf832868 | [
"MIT"
] | 2 | 2016-04-04T16:01:01.000Z | 2019-04-17T07:15:53.000Z | machines/victim/dgacollection/Malware.py | pierreeliseeflory/dga_hackathon | 80a31cb4ecd0a38b383c6acdcb49795acf832868 | [
"MIT"
] | 22 | 2015-08-18T12:51:10.000Z | 2021-11-23T07:45:39.000Z | #!/usr/bin/env python3
"""Super class for all malwares.
"""
class Malware:
"""Defines the lifetime of the malware's domains.
The lifetime is expressed in seconds.
0 means that the malware doesn't implement a DGA.
Returns:
The lifetime of the malware's domains.
"""
@classmethod
def domainsLifetime(... | 23.916667 | 85 | 0.705226 | 227 | 1,435 | 4.45815 | 0.348018 | 0.108696 | 0.044466 | 0.079051 | 0.221344 | 0.221344 | 0.195652 | 0.077075 | 0.077075 | 0 | 0 | 0.002717 | 0.230662 | 1,435 | 59 | 86 | 24.322034 | 0.913949 | 0.165854 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.307692 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d97b3edb59428301b91473c7128fe22cb8401956 | 539 | py | Python | stuff/etc.py | BenG49/matchsticks | 47116180df4258b1153add24275d4138f4458439 | [
"MIT"
] | null | null | null | stuff/etc.py | BenG49/matchsticks | 47116180df4258b1153add24275d4138f4458439 | [
"MIT"
] | null | null | null | stuff/etc.py | BenG49/matchsticks | 47116180df4258b1153add24275d4138f4458439 | [
"MIT"
] | null | null | null | from math import sin, cos, pi, sqrt
TO_RAD = pi / 180
def t_mul(t: tuple, n: int) -> tuple:
return tuple([i * n for i in t])
def t_div(t: tuple, n: int) -> tuple:
return tuple([i / n for i in t])
def t_add(a: tuple, b: tuple) -> tuple:
return tuple([a[i] + b[i] for i in range(len(a))])
def dst(a: tuple, b: tupl... | 23.434783 | 53 | 0.545455 | 112 | 539 | 2.571429 | 0.3125 | 0.052083 | 0.166667 | 0.069444 | 0.270833 | 0.270833 | 0.270833 | 0.270833 | 0.270833 | 0.270833 | 0 | 0.031863 | 0.243043 | 539 | 22 | 54 | 24.5 | 0.67402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.266667 | 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 |
d9937d46dccd544a5bf334693116fc9ba7a180fa | 1,769 | py | Python | climetlab/core/__init__.py | mikewcasale/climetlab | 924aa602dcd638ff1a49a9d8b4b6f7bd29361d1e | [
"Apache-2.0"
] | 3 | 2021-07-23T02:06:08.000Z | 2022-02-15T01:17:15.000Z | climetlab/core/__init__.py | mikewcasale/climetlab | 924aa602dcd638ff1a49a9d8b4b6f7bd29361d1e | [
"Apache-2.0"
] | null | null | null | climetlab/core/__init__.py | mikewcasale/climetlab | 924aa602dcd638ff1a49a9d8b4b6f7bd29361d1e | [
"Apache-2.0"
] | 2 | 2021-11-02T13:19:48.000Z | 2021-12-29T08:38:45.000Z | # (C) Copyright 2020 ECMWF. #
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
# In applying this licence, ECMWF does not waive the privileges and immunities
# granted to it by virtue of its status as an intergovernment... | 23.586667 | 78 | 0.648954 | 228 | 1,769 | 4.776316 | 0.486842 | 0.167126 | 0.198347 | 0.173554 | 0.219467 | 0.170799 | 0.121212 | 0 | 0 | 0 | 0 | 0.007502 | 0.246467 | 1,769 | 74 | 79 | 23.905405 | 0.809452 | 0.332956 | 0 | 0.352941 | 0 | 0 | 0.030251 | 0.026793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382353 | false | 0 | 0.029412 | 0 | 0.441176 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
795cc82574e484fba801d8e6fa0b407d7c4c536b | 136 | py | Python | app/urls.py | Kgermando/sem | c76e97e1d526d4e92a925adb6bceee426f999655 | [
"Apache-2.0"
] | null | null | null | app/urls.py | Kgermando/sem | c76e97e1d526d4e92a925adb6bceee426f999655 | [
"Apache-2.0"
] | null | null | null | app/urls.py | Kgermando/sem | c76e97e1d526d4e92a925adb6bceee426f999655 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from app.views import index
app_name = 'app'
urlpatterns = [
path('index/', index, name='index'),
]
| 13.6 | 40 | 0.676471 | 19 | 136 | 4.789474 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183824 | 136 | 9 | 41 | 15.111111 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 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 |
795e50837f21c4b4bac5afea1aa5842c7e911854 | 3,951 | py | Python | custom-events/client-libraries/python/gen/spec_pb2.py | marcgovi/eventarc-samples | d7958b24c091c846c8daba264540b22d78cac77d | [
"Apache-2.0"
] | null | null | null | custom-events/client-libraries/python/gen/spec_pb2.py | marcgovi/eventarc-samples | d7958b24c091c846c8daba264540b22d78cac77d | [
"Apache-2.0"
] | null | null | null | custom-events/client-libraries/python/gen/spec_pb2.py | marcgovi/eventarc-samples | d7958b24c091c846c8daba264540b22d78cac77d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spec.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.... | 63.725806 | 1,372 | 0.806884 | 534 | 3,951 | 5.709738 | 0.294007 | 0.051164 | 0.041325 | 0.0551 | 0.202033 | 0.083306 | 0.066907 | 0.066907 | 0.066907 | 0.066907 | 0 | 0.099973 | 0.063275 | 3,951 | 61 | 1,373 | 64.770492 | 0.723858 | 0.11263 | 0 | 0.15 | 1 | 0.05 | 0.480103 | 0.431148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.175 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79777ca7c91fe25485535fd39fe1839f8e6d7c0d | 3,035 | py | Python | tests/utils.py | synapticarbors/wagyu | b98354611dceda8888f2951e9704f843a4e88c27 | [
"MIT"
] | 1 | 2021-01-20T05:49:13.000Z | 2021-01-20T05:49:13.000Z | tests/utils.py | synapticarbors/wagyu | b98354611dceda8888f2951e9704f843a4e88c27 | [
"MIT"
] | 1 | 2020-11-20T18:21:24.000Z | 2020-11-20T18:21:37.000Z | tests/utils.py | synapticarbors/wagyu | b98354611dceda8888f2951e9704f843a4e88c27 | [
"MIT"
] | 2 | 2020-11-20T18:17:31.000Z | 2021-01-20T14:58:22.000Z | import pickle
from enum import Enum
from functools import partial
from typing import (Callable,
Iterable,
List,
Optional,
Sequence,
Tuple,
Type,
TypeVar)
from hypothesis import st... | 30.969388 | 77 | 0.647446 | 333 | 3,035 | 5.798799 | 0.249249 | 0.039876 | 0.026411 | 0.025893 | 0.044537 | 0.044537 | 0.044537 | 0 | 0 | 0 | 0 | 0.000432 | 0.237891 | 3,035 | 97 | 78 | 31.28866 | 0.834414 | 0 | 0 | 0 | 0 | 0 | 0.003624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.109375 | 0.203125 | 0.609375 | 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 |
7983c61cd54ba26aef1c5935d7f4c7a2eeba1fec | 146 | py | Python | main.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | null | null | null | main.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | 11 | 2019-08-13T06:03:43.000Z | 2020-07-05T18:08:13.000Z | main.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | null | null | null | """CLI main runner"""
from py_greet import hello
def main():
"""main runner"""
print(hello('World'))
if __name__ == '__main__':
main()
| 11.230769 | 26 | 0.616438 | 19 | 146 | 4.263158 | 0.684211 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 146 | 12 | 27 | 12.166667 | 0.686441 | 0.184932 | 0 | 0 | 0 | 0 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79a28adf5bda57ac6a66fd9e56a74b2f130dd4fd | 290 | py | Python | test/types/reference_specification_type_test.py | bbraithwaite/js-lang | d97be539a2b16d164273d86ec2ad66ff3058ba15 | [
"MIT"
] | 2 | 2016-02-27T12:33:38.000Z | 2020-10-30T20:20:27.000Z | test/types/reference_specification_type_test.py | bbraithwaite/js-lang | d97be539a2b16d164273d86ec2ad66ff3058ba15 | [
"MIT"
] | null | null | null | test/types/reference_specification_type_test.py | bbraithwaite/js-lang | d97be539a2b16d164273d86ec2ad66ff3058ba15 | [
"MIT"
] | null | null | null | import unittest
from jstypes import reference_specification as rs
class ReferenceSpecificationTypeTests(unittest.TestCase):
def test_get_value_is_type_is_not_reference_return_V(self):
spec = rs.ReferenceSpecification(1, 'foo')
self.assertEqual(spec.getBase('foo'), 1)
| 32.222222 | 63 | 0.782759 | 36 | 290 | 6.027778 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.137931 | 290 | 8 | 64 | 36.25 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
79a990f10187812be68b60f9104fad7484307d0b | 235 | py | Python | __init__.py | Fendse/py-mw-api | 5b21fb368c106db4528f1e74fe78f6e9dc3e9e08 | [
"MIT"
] | null | null | null | __init__.py | Fendse/py-mw-api | 5b21fb368c106db4528f1e74fe78f6e9dc3e9e08 | [
"MIT"
] | null | null | null | __init__.py | Fendse/py-mw-api | 5b21fb368c106db4528f1e74fe78f6e9dc3e9e08 | [
"MIT"
] | null | null | null | from .session import MWApiSession
from .errors import MediaWikiError, MediaWikiWarning
from .parser import MWApiParser
__all__ = [
"MWApiParser", "MediaWikiWarning", "MediaWikiError", "MWApiSession",
"encapsulating_argparse"
] | 29.375 | 72 | 0.782979 | 20 | 235 | 8.95 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 235 | 8 | 73 | 29.375 | 0.873171 | 0 | 0 | 0 | 0 | 0 | 0.317797 | 0.09322 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 |
8db3767bce06ef60327a86e5ee1ae1bd74cf0ebf | 248 | py | Python | mycelyso/pilyso/misc/hacks/recursionlimit_raise.py | csachs/mycelyso | b7b383cd1fa55be7b084821e5b38b72bf9df7f59 | [
"BSD-2-Clause"
] | 2 | 2019-04-19T03:11:06.000Z | 2021-10-06T03:11:22.000Z | mycelyso/pilyso/misc/hacks/recursionlimit_raise.py | csachs/mycelyso | b7b383cd1fa55be7b084821e5b38b72bf9df7f59 | [
"BSD-2-Clause"
] | 1 | 2020-05-27T08:24:32.000Z | 2020-06-09T07:53:46.000Z | mycelyso/pilyso/misc/hacks/recursionlimit_raise.py | csachs/mycelyso | b7b383cd1fa55be7b084821e5b38b72bf9df7f59 | [
"BSD-2-Clause"
] | 3 | 2017-05-29T07:52:55.000Z | 2021-01-15T19:44:45.000Z | # -*- coding: utf-8 -*-
"""
The recursionlimit_raise submodule raises the recursion limit of the Python interpreter upon import.
(Currently to 10**9)
"""
import sys
# graphs, recursion, let's raise the bar a bit ;)
sys.setrecursionlimit(int(1E9))
| 24.8 | 100 | 0.725806 | 36 | 248 | 4.972222 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028436 | 0.149194 | 248 | 9 | 101 | 27.555556 | 0.819905 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8dff2c00f1fa207c70fed879d44dafa5ddbc9ac7 | 112 | py | Python | Code only/4- Functions/Best Practice of Function Return Value.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | 1 | 2021-09-27T16:47:25.000Z | 2021-09-27T16:47:25.000Z | Code only/4- Functions/Best Practice of Function Return Value.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | null | null | null | Code only/4- Functions/Best Practice of Function Return Value.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | 1 | 2021-09-27T16:47:33.000Z | 2021-09-27T16:47:33.000Z | def greet(name):
get_greet = f"Hi, {name}"
return get_greet
greeting = greet("Ahmed")
print(greeting)
| 14 | 29 | 0.660714 | 16 | 112 | 4.5 | 0.625 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 7 | 30 | 16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
5c0e23628ccafb713d2d2c88885167978fc50a20 | 405 | py | Python | music_metadata_extractor/utils.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | music_metadata_extractor/utils.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | music_metadata_extractor/utils.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | from dotenv import load_dotenv, find_dotenv
from spotipy import Spotify
from spotipy.oauth2 import SpotifyClientCredentials
# env variables: SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET
load_dotenv(find_dotenv())
_client_credentials_manager = SpotifyClientCredentials()
_spotify_client = Spotify(client_credentials_manager... | 28.928571 | 81 | 0.861728 | 48 | 405 | 6.8125 | 0.395833 | 0.159021 | 0.220183 | 0.122324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002717 | 0.091358 | 405 | 13 | 82 | 31.153846 | 0.88587 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
5c2c4b2e1ed6a185c17861c5d85601fcbb5982ca | 227 | py | Python | src/nevow/test/segfault.py | winjer/squeal | 20401986e0d1698776f5b482b28e14c57b11833c | [
"Apache-2.0"
] | 2 | 2015-01-30T10:22:12.000Z | 2015-11-05T15:37:23.000Z | src/nevow/test/segfault.py | winjer/squeal | 20401986e0d1698776f5b482b28e14c57b11833c | [
"Apache-2.0"
] | null | null | null | src/nevow/test/segfault.py | winjer/squeal | 20401986e0d1698776f5b482b28e14c57b11833c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
"""
Generate an unhandled SIGSEGV for this process immediately upon import.
@see: L{nevow.test.test_testutil.JavaScriptTests.test_signalledExit}.
"""
import os, signal
os.kill(os.getpid(), signal.SIGSEGV)
| 18.916667 | 71 | 0.762115 | 31 | 227 | 5.516129 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105727 | 227 | 11 | 72 | 20.636364 | 0.842365 | 0.700441 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5c3a64c8b13004c5dd229be6512ef28b3b45e498 | 163 | py | Python | 164.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | 164.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | 164.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | import numpy as np
class Solution:
def maximumGap(self, nums):
if len(nums) == 1:
return 0
return max(np.diff(sorted(nums))) | 23.285714 | 41 | 0.558282 | 22 | 163 | 4.136364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.337423 | 163 | 7 | 41 | 23.285714 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.833333 | 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 |
5c41f814e970a0f897e8b72e80b4dbb09cfadaa2 | 299 | py | Python | utils/stats_utils.py | brunzema/uitvbo | 3d71f94cfe452678ff2c9c8fbea1eef4d8a233f5 | [
"MIT"
] | null | null | null | utils/stats_utils.py | brunzema/uitvbo | 3d71f94cfe452678ff2c9c8fbea1eef4d8a233f5 | [
"MIT"
] | null | null | null | utils/stats_utils.py | brunzema/uitvbo | 3d71f94cfe452678ff2c9c8fbea1eef4d8a233f5 | [
"MIT"
] | null | null | null | import numpy as np
from scipy.stats import norm
def calculate_likelihood(mu, var, x):
return norm.pdf(x, loc=mu, scale=np.sqrt(var))
def calculate_log_likelihood(mu, var, x):
res = norm.logpdf(x, loc=mu, scale=np.sqrt(var))
# es[res > 0] = 0 # catch numerical issues
return res
| 23 | 52 | 0.67893 | 51 | 299 | 3.921569 | 0.529412 | 0.12 | 0.15 | 0.16 | 0.2 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0.008299 | 0.19398 | 299 | 12 | 53 | 24.916667 | 0.821577 | 0.133779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 |
308277c05571e6a565c4c085a8be5882f554a0a4 | 1,220 | py | Python | images/views.py | JeremyKimotho/gallery | ea90263a8b54f13b932b6cddf8bdac19f3b308a2 | [
"MIT"
] | null | null | null | images/views.py | JeremyKimotho/gallery | ea90263a8b54f13b932b6cddf8bdac19f3b308a2 | [
"MIT"
] | null | null | null | images/views.py | JeremyKimotho/gallery | ea90263a8b54f13b932b6cddf8bdac19f3b308a2 | [
"MIT"
] | null | null | null | from django.shortcuts import render, render_to_response, redirect
import datetime as dt
from .models import Image, Location, Category
from django.http import HttpResponse, Http404
def default(request):
pics = Image.all_images()
return render(request, 'all/pics.html', {'pics':pics})
def filter_usa(request):
pics... | 32.105263 | 69 | 0.728689 | 166 | 1,220 | 5.246988 | 0.240964 | 0.110218 | 0.174512 | 0.202067 | 0.537313 | 0.352468 | 0.315729 | 0.274397 | 0.274397 | 0.225029 | 0 | 0.002801 | 0.122131 | 1,220 | 37 | 70 | 32.972973 | 0.810458 | 0 | 0 | 0.172414 | 0 | 0 | 0.160656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.137931 | 0 | 0.655172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
30b96e0d9ca34323ed8fe11eca714e68234a8f95 | 734 | py | Python | pyptv3/query_params.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | 2 | 2019-02-24T03:40:35.000Z | 2019-09-09T00:05:27.000Z | pyptv3/query_params.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | 2 | 2019-06-15T11:41:24.000Z | 2021-06-01T22:30:12.000Z | pyptv3/query_params.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | null | null | null | class QueryParams:
def _append_query_list(query_list, key, values):
if isinstance(values, list):
for value in values:
QueryParams._append_query_list(query_list, key, value)
elif isinstance(values, bool):
if values == True:
QueryParams._... | 34.952381 | 74 | 0.589918 | 81 | 734 | 5.049383 | 0.271605 | 0.286064 | 0.183374 | 0.244499 | 0.466993 | 0.466993 | 0.466993 | 0 | 0 | 0 | 0 | 0 | 0.321526 | 734 | 20 | 75 | 36.7 | 0.821285 | 0 | 0 | 0.111111 | 0 | 0 | 0.012262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 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 |
30da9f5fb2ecce16b768a6f6f6915f596af38733 | 968 | py | Python | make_image_lists.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | 1 | 2020-11-13T12:04:38.000Z | 2020-11-13T12:04:38.000Z | make_image_lists.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | null | null | null | make_image_lists.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | null | null | null | import os
from utils import ImageListCreator
def main():
image_list_creator = ImageListCreator(min_size=256)
create_train_list(image_list_creator)
create_test_lists(image_list_creator)
def create_train_list(image_list_creator):
create_image_list(image_list_creator, './data/train/', 'train')
def c... | 25.473684 | 78 | 0.738636 | 132 | 968 | 4.962121 | 0.242424 | 0.192366 | 0.268702 | 0.21374 | 0.471756 | 0.471756 | 0.348092 | 0.112977 | 0 | 0 | 0 | 0.003686 | 0.159091 | 968 | 37 | 79 | 26.162162 | 0.800983 | 0 | 0 | 0 | 0 | 0 | 0.084711 | 0.02376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.045455 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30dea2826de24681d3a2cdce63db8437d4314f26 | 2,146 | py | Python | __manifest__.py | wdw139130/wechat-mall | b2a39bcf7b3d459e594751ed3525d71fcb27acb8 | [
"MIT"
] | 108 | 2018-10-10T02:02:22.000Z | 2022-02-03T01:28:30.000Z | __manifest__.py | wdw139130/wechat-mall | b2a39bcf7b3d459e594751ed3525d71fcb27acb8 | [
"MIT"
] | null | null | null | __manifest__.py | wdw139130/wechat-mall | b2a39bcf7b3d459e594751ed3525d71fcb27acb8 | [
"MIT"
] | 46 | 2018-10-18T03:43:45.000Z | 2022-02-02T11:13:28.000Z | # -*- coding: utf-8 -*-
{
'name': "wechat_mall",
'application': True,
'summary': u"""
微信小程序商城管理后台""",
'description': u"""
微信小程序商城管理后台
""",
'author': "Gzp",
'website': "http://wechat.elfgzp.cn",
# Categories can be used to filter modules in modules listing
# Check ... | 29.805556 | 92 | 0.641193 | 253 | 2,146 | 5.177866 | 0.387352 | 0.129771 | 0.148855 | 0.091603 | 0.212214 | 0.212214 | 0 | 0 | 0 | 0 | 0 | 0.001811 | 0.227866 | 2,146 | 71 | 93 | 30.225352 | 0.788775 | 0.162162 | 0 | 0.043478 | 0 | 0 | 0.667787 | 0.557983 | 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 |
30e5d8568f9591c21f9a6b027ef897b78467a785 | 368 | py | Python | code/project-euler/src/001.py | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | 1 | 2021-09-01T14:39:12.000Z | 2021-09-01T14:39:12.000Z | code/project-euler/src/001.py | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | code/project-euler/src/001.py | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date : 2019-07-07 12:07:46
# @Author : Lewis Tian (taseikyo@gmail.com)
# @Link : github.com/taseikyo
# @Version : Python3.7
# https://projecteuler.net/problem=1
def main():
return sum([i for i in range(1, 1000) if (i % 3 == 0) or (i % 5 == 0)])
if __name_... | 20.444444 | 75 | 0.581522 | 57 | 368 | 3.614035 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0.217391 | 368 | 17 | 76 | 21.647059 | 0.600694 | 0.570652 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.