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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13a9a5b0e6c26793009942c4d4baef5b062f3fcf | 290 | py | Python | api/serializers.py | Aryamanz29/Youtube-API | afbcc34b99f031faaedc6e81abec26fe4e87acd5 | [
"MIT"
] | 1 | 2021-12-18T13:51:47.000Z | 2021-12-18T13:51:47.000Z | api/serializers.py | Aryamanz29/Youtube-API | afbcc34b99f031faaedc6e81abec26fe4e87acd5 | [
"MIT"
] | null | null | null | api/serializers.py | Aryamanz29/Youtube-API | afbcc34b99f031faaedc6e81abec26fe4e87acd5 | [
"MIT"
] | 1 | 2021-12-18T13:52:28.000Z | 2021-12-18T13:52:28.000Z | from rest_framework import serializers
from api.models import YoutubeAPIResult
# Youtube model serializer is for serializing the database model
class YoutubeResultAPIModelSerializer(serializers.ModelSerializer):
class Meta:
model = YoutubeAPIResult
fields = "__all__"
| 29 | 67 | 0.789655 | 29 | 290 | 7.724138 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 290 | 9 | 68 | 32.222222 | 0.933333 | 0.213793 | 0 | 0 | 0 | 0 | 0.030973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13bf7a80a8e2fc39a728d6f7316443503112ecb0 | 40 | py | Python | aicon/backend/__version__.py | nakajima-john-shotaro/AIcon_dev | 4710c5b230265973449004b912aaefa5709bf8e0 | [
"MIT"
] | 3 | 2021-09-01T05:32:07.000Z | 2021-09-01T06:16:12.000Z | aicon/backend/__version__.py | nakajima-john-shotaro/AIcon_dev | 4710c5b230265973449004b912aaefa5709bf8e0 | [
"MIT"
] | 5 | 2021-09-05T00:29:17.000Z | 2021-09-19T03:44:05.000Z | aicon/backend/__version__.py | nakajima-john-shotaro/AIcon2 | 4710c5b230265973449004b912aaefa5709bf8e0 | [
"MIT"
] | 1 | 2021-09-01T05:59:11.000Z | 2021-09-01T05:59:11.000Z | # __version__.py
__version__ = "1.2.1"
| 10 | 21 | 0.675 | 6 | 40 | 3.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.15 | 40 | 3 | 22 | 13.333333 | 0.470588 | 0.35 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13cc431b1c0507f835038fb1458328bfcfe50ac8 | 527 | py | Python | hatspil/core/exceptions.py | dodomorandi/hatspil | 99c4d255b3f9836b32506636c84b16b3456bd74c | [
"MIT"
] | 2 | 2018-12-20T08:54:17.000Z | 2019-10-19T18:35:33.000Z | hatspil/core/exceptions.py | dodomorandi/hatspil | 99c4d255b3f9836b32506636c84b16b3456bd74c | [
"MIT"
] | null | null | null | hatspil/core/exceptions.py | dodomorandi/hatspil | 99c4d255b3f9836b32506636c84b16b3456bd74c | [
"MIT"
] | null | null | null | """A small set of custom exceptions."""
class PipelineError(RuntimeError):
"""An exception generated during pipeline execution.
Generally this exception is raised within `Executor` in case of
errors.
"""
class BarcodeError(RuntimeError):
"""An exception generated in case of invalid barcoded... | 23.954545 | 71 | 0.721063 | 59 | 527 | 6.440678 | 0.59322 | 0.110526 | 0.181579 | 0.252632 | 0.247368 | 0.247368 | 0.247368 | 0.247368 | 0 | 0 | 0 | 0 | 0.184061 | 527 | 21 | 72 | 25.095238 | 0.883721 | 0.603416 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13d72054329dcbc046f7595bcddc1a0b72e6e984 | 104 | py | Python | gui_app/enum/LogType.py | cloudconductor/cloud_conductor_gui | 8929815adfc6442daed5d320bfb7942d6917c3ea | [
"Apache-2.0"
] | null | null | null | gui_app/enum/LogType.py | cloudconductor/cloud_conductor_gui | 8929815adfc6442daed5d320bfb7942d6917c3ea | [
"Apache-2.0"
] | null | null | null | gui_app/enum/LogType.py | cloudconductor/cloud_conductor_gui | 8929815adfc6442daed5d320bfb7942d6917c3ea | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class Message(Enum):
api_url = 'API call'
api_response = 'API response'
| 14.857143 | 33 | 0.682692 | 15 | 104 | 4.6 | 0.6 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 104 | 6 | 34 | 17.333333 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
13e269759a216978f027392daea54cc9321bfe91 | 254 | py | Python | tests/test_datasets.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 17 | 2020-06-16T06:37:03.000Z | 2020-10-15T00:25:05.000Z | tests/test_datasets.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 5 | 2020-10-18T23:50:49.000Z | 2021-04-14T02:36:08.000Z | tests/test_datasets.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 2 | 2020-07-17T11:51:30.000Z | 2020-09-21T14:50:56.000Z | # NOTE: to run, need to cd into tests/, then run pytest
import sys
sys.path.append("../src")
sys.path.append('../experiment')
import room_types
import agent
import constants
import datasets
import experiment1
def test_buffer_data():
# TODO
pass | 18.142857 | 55 | 0.73622 | 38 | 254 | 4.842105 | 0.710526 | 0.076087 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004673 | 0.15748 | 254 | 14 | 56 | 18.142857 | 0.85514 | 0.228346 | 0 | 0 | 0 | 0 | 0.097938 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.1 | true | 0.1 | 0.6 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
b912317b82b310bda4b08a5a282f8a703474aca4 | 58 | py | Python | external/__init__.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 25 | 2015-08-24T16:05:14.000Z | 2020-12-09T20:07:14.000Z | external/__init__.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 1 | 2016-02-16T21:18:10.000Z | 2016-02-16T21:18:10.000Z | external/__init__.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 5 | 2016-02-16T20:05:37.000Z | 2020-01-31T11:27:39.000Z | # Dummy __init__ so this dir is seen as a python package.
| 29 | 57 | 0.758621 | 11 | 58 | 3.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 1 | 58 | 58 | 0.869565 | 0.948276 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b922ddca6f7b7020e0d835242fc18a58924731f4 | 68 | py | Python | movement/constant.py | jaswll/How_Shots_Miss_NBA | 03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d | [
"MIT"
] | null | null | null | movement/constant.py | jaswll/How_Shots_Miss_NBA | 03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d | [
"MIT"
] | null | null | null | movement/constant.py | jaswll/How_Shots_Miss_NBA | 03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d | [
"MIT"
] | null | null | null | import os
# change this data_dir for personal path
data_dir = '../'
| 17 | 40 | 0.720588 | 11 | 68 | 4.272727 | 0.818182 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 41 | 22.666667 | 0.839286 | 0.558824 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b92f62383dee4c8c4a8825d138bb849a2c4550a9 | 13,327 | py | Python | tests/regressiontests/forms/localflavor/es.py | huicheese/Django-test3 | ac11d2dce245b48392e52d1f4acfd5e7433b243e | [
"BSD-3-Clause"
] | 23 | 2015-01-26T12:16:59.000Z | 2022-02-10T10:58:40.000Z | tests/regressiontests/forms/localflavor/es.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 1 | 2015-11-25T10:57:23.000Z | 2017-02-25T07:54:03.000Z | tests/regressiontests/forms/localflavor/es.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | # -*- coding: utf-8 -*-
# Tests for the contrib/localflavor/ ES form fields.
tests = r"""
# ESPostalCodeField ##############################################################
ESPostalCodeField validates that data is a five-digit spanish postal code.
>>> from django.contrib.localflavor.es.forms import ESPostalCodeField
... | 38.295977 | 2,008 | 0.692429 | 1,839 | 13,327 | 5.017945 | 0.165851 | 0.06502 | 0.089727 | 0.130689 | 0.730169 | 0.684005 | 0.678587 | 0.660815 | 0.660815 | 0.660815 | 0 | 0.123738 | 0.100698 | 13,327 | 347 | 2,009 | 38.40634 | 0.646224 | 0.005403 | 0 | 0.883436 | 0 | 0.042945 | 0.998566 | 0.326692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018405 | 0 | 0.018405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b94870f48e1e003c234e9fa7f1ddf13766c164bc | 20 | py | Python | data/studio21_generated/introductory/2659/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2659/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2659/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def last_chair(n):
| 10 | 18 | 0.7 | 4 | 20 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 2 | 19 | 10 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b98660c62bd7a2cd5b2f5b70d664ef4aa0dd4147 | 211 | py | Python | python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py | letouriste001/SmartForest_2.0 | 109b78bf1e8c8404800f377ab969395ccbb617be | [
"MIT"
] | null | null | null | python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py | letouriste001/SmartForest_2.0 | 109b78bf1e8c8404800f377ab969395ccbb617be | [
"MIT"
] | null | null | null | python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py | letouriste001/SmartForest_2.0 | 109b78bf1e8c8404800f377ab969395ccbb617be | [
"MIT"
] | null | null | null | """
Invokes django-admin when the django module is run as a script.
Example: python -m django check
"""
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 211 | 211 | 0.753555 | 30 | 211 | 4.933333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 211 | 1 | 211 | 211 | 0.831461 | 0.454976 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b9980ad24c22a2aa8faad1e146f9aff59af8a424 | 151 | py | Python | birdman_xmodel_tools/PyCoD/__init__.py | Wast-3/birdmans-xmodel-tools-for-blender | c6a8b7c314388db1587c44749c20618efea8ca78 | [
"MIT"
] | 1 | 2021-11-22T18:40:31.000Z | 2021-11-22T18:40:31.000Z | birdman_xmodel_tools/PyCoD/__init__.py | Wast-3/birdmans-xmodel-tools-for-blender | c6a8b7c314388db1587c44749c20618efea8ca78 | [
"MIT"
] | null | null | null | birdman_xmodel_tools/PyCoD/__init__.py | Wast-3/birdmans-xmodel-tools-for-blender | c6a8b7c314388db1587c44749c20618efea8ca78 | [
"MIT"
] | null | null | null | # <pep8 compliant>
from .xmodel import Model
from .xanim import Anim
from .sanim import SiegeAnim
version = (0, 3, 0) # Version specifier for PyCoD
| 18.875 | 50 | 0.735099 | 22 | 151 | 5.045455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.18543 | 151 | 7 | 51 | 21.571429 | 0.869919 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9aaf3c85b7163b92c3bdee57462f756b0d76e68 | 228 | py | Python | stock_portfolio/stock_portfolio/tests/test_view_default.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | null | null | null | stock_portfolio/stock_portfolio/tests/test_view_default.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | 4 | 2019-12-26T16:42:42.000Z | 2020-01-06T18:53:34.000Z | stock_portfolio/stock_portfolio/tests/test_view_default.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | null | null | null | def test_default_behavior_of_home_view(dummy_request):
"""test home view"""
from ..views.default import home_view
response = home_view(dummy_request)
assert isinstance(response, dict)
assert response == {}
| 25.333333 | 54 | 0.723684 | 29 | 228 | 5.37931 | 0.551724 | 0.205128 | 0.166667 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179825 | 228 | 8 | 55 | 28.5 | 0.834225 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 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 | 4 |
b9c0f04d553edbd7e0b6f74fd1301fcf73fee09d | 94 | py | Python | skip_logic/apps.py | maxlemieux/django-skip-logic | 3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42 | [
"BSD-3-Clause"
] | null | null | null | skip_logic/apps.py | maxlemieux/django-skip-logic | 3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42 | [
"BSD-3-Clause"
] | null | null | null | skip_logic/apps.py | maxlemieux/django-skip-logic | 3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class SkipLogicConfig(AppConfig):
name = 'skip_logic'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9f29e8e2be5c0f8dac0cd823fc805e1b511eb5e | 185 | py | Python | scripts/quest/q29902s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 9 | 2021-04-26T11:59:29.000Z | 2021-12-20T13:15:27.000Z | scripts/quest/q29902s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/quest/q29902s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 6 | 2021-07-14T06:32:05.000Z | 2022-02-06T02:32:56.000Z | # Veteran Adventurer
medal = 1142109
if sm.canHold(medal):
sm.chatScript("You obtained the <Veteran Adventurer> medal.")
sm.startQuest(parentID)
sm.completeQuest(parentID) | 23.125 | 65 | 0.735135 | 22 | 185 | 6.181818 | 0.636364 | 0.25 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0.156757 | 185 | 8 | 66 | 23.125 | 0.826923 | 0.097297 | 0 | 0 | 0 | 0 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9fda844880b33cf0aa0a51876bc766b73287918 | 7,025 | py | Python | sales/urls.py | nuwainfo/treeio | f57bf9114d9774c11468a1b0e44614b04631beb1 | [
"MIT"
] | null | null | null | sales/urls.py | nuwainfo/treeio | f57bf9114d9774c11468a1b0e44614b04631beb1 | [
"MIT"
] | null | null | null | sales/urls.py | nuwainfo/treeio | f57bf9114d9774c11468a1b0e44614b04631beb1 | [
"MIT"
] | null | null | null | # encoding: utf-8
# Copyright 2011 Tree.io Limited
# This file is part of Treeio.
# License www.tree.io/license
"""
Sales module URLs
"""
from django.conf.urls import patterns, url
urlpatterns = patterns('treeio.sales.views',
url(r'^(\.(?P<response_format>\w+))?$', 'index', name='sales'),
url(r'^index(\.(?P<r... | 52.425373 | 113 | 0.623203 | 926 | 7,025 | 4.439525 | 0.071274 | 0.049623 | 0.186086 | 0.198492 | 0.487716 | 0.421309 | 0.380199 | 0.364875 | 0.355388 | 0.171491 | 0 | 0.000811 | 0.122847 | 7,025 | 133 | 114 | 52.819549 | 0.666342 | 0.032456 | 0 | 0.019231 | 0 | 0.009615 | 0.717237 | 0.551948 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009615 | 0 | 0.009615 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a0861326e700eff533f48d83dd1bde5f50c46f1 | 719 | py | Python | deeploader/x2onnx/backends/base.py | cnzeki/DeepLoader | cec3f47692bc77fbdcb397ad7ec21c994328fc00 | [
"Apache-2.0"
] | 1 | 2020-11-30T01:20:10.000Z | 2020-11-30T01:20:10.000Z | deeploader/x2onnx/backends/base.py | cnzeki/DeepLoader | cec3f47692bc77fbdcb397ad7ec21c994328fc00 | [
"Apache-2.0"
] | null | null | null | deeploader/x2onnx/backends/base.py | cnzeki/DeepLoader | cec3f47692bc77fbdcb397ad7ec21c994328fc00 | [
"Apache-2.0"
] | 2 | 2020-08-09T09:38:46.000Z | 2020-09-04T08:32:22.000Z | import abc
class BaseBackend(object, metaclass=abc.ABCMeta):
@abc.abstractmethod
def init(self, *args, **kwargs):
pass
def verbose(self):
print('Inputs :{}'.format(self.get_inputs()))
print('Outputs :{}'.format(self.get_outputs()))
def get_inputs(self):
... | 21.787879 | 63 | 0.55911 | 77 | 719 | 5.090909 | 0.441558 | 0.130102 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32267 | 719 | 32 | 64 | 22.46875 | 0.804928 | 0.146036 | 0 | 0.294118 | 0 | 0 | 0.04943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.117647 | 0.058824 | 0.117647 | 0.588235 | 0.117647 | 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 | 1 | 1 | 0 | 0 | 4 |
6a157dcb255afd701e704442115ec915ec8c4498 | 22 | py | Python | auth0/__init__.py | agarwalrounak/auth0-python | 2bdd9008b0124b53360c79dd299331a8190d95f9 | [
"MIT"
] | 163 | 2017-03-21T08:49:32.000Z | 2022-03-29T22:48:19.000Z | auth0/__init__.py | agarwalrounak/auth0-python | 2bdd9008b0124b53360c79dd299331a8190d95f9 | [
"MIT"
] | 74 | 2017-03-21T20:23:41.000Z | 2022-03-30T18:21:31.000Z | auth0/__init__.py | agarwalrounak/auth0-python | 2bdd9008b0124b53360c79dd299331a8190d95f9 | [
"MIT"
] | 28 | 2017-03-21T08:49:36.000Z | 2021-12-29T12:48:23.000Z | __version__ = '3.3.0'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a1aec95f328dec153c32942ebe30d19dd97f54e | 14,476 | py | Python | sdk/python/pulumi_azure/hdinsight/spark_cluster.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/hdinsight/spark_cluster.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/hdinsight/spark_cluster.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class SparkC... | 47 | 268 | 0.625656 | 1,616 | 14,476 | 5.426361 | 0.115718 | 0.102862 | 0.08302 | 0.054168 | 0.77238 | 0.741704 | 0.709659 | 0.672255 | 0.62356 | 0.60463 | 0 | 0.000094 | 0.263609 | 14,476 | 307 | 269 | 47.153094 | 0.822514 | 0.459105 | 0 | 0.022727 | 1 | 0 | 0.179616 | 0.013531 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.011364 | 0.068182 | 0.022727 | 0.295455 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a46f1a8278d99674529d2e5cdff7cf9d305ed4c | 399 | py | Python | ckan/model/term_translation.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | 1 | 2021-10-01T12:47:19.000Z | 2021-10-01T12:47:19.000Z | ckan/model/term_translation.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | null | null | null | ckan/model/term_translation.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | 2 | 2018-01-21T17:03:08.000Z | 2019-07-23T08:49:52.000Z | # encoding: utf-8
from sqlalchemy import Column, Table
from sqlalchemy.types import UnicodeText
import ckan.model.meta as meta
__all__ = ['term_translation_table']
term_translation_table = Table('term_translation', meta.metadata,
Column('term', UnicodeText, nullable=False),
Column('term_translation', Unicode... | 28.5 | 65 | 0.769424 | 48 | 399 | 6.166667 | 0.458333 | 0.202703 | 0.243243 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002849 | 0.120301 | 399 | 13 | 66 | 30.692308 | 0.840456 | 0.037594 | 0 | 0 | 0 | 0 | 0.175393 | 0.057592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
6a4784f6b5f00aaa8bcd2d953e34636923eede10 | 23 | py | Python | lib/fiveserver/model/__init__.py | spawnsworth/fiveserver | c2109a200c4784717fa644f9d488448b54d404cb | [
"BSD-2-Clause"
] | 18 | 2018-03-30T13:47:53.000Z | 2022-02-01T22:44:40.000Z | lib/fiveserver/model/__init__.py | spawnsworth/fiveserver | c2109a200c4784717fa644f9d488448b54d404cb | [
"BSD-2-Clause"
] | 19 | 2015-04-22T11:56:11.000Z | 2022-01-04T20:39:01.000Z | lib/fiveserver/model/__init__.py | spawnsworth/fiveserver | c2109a200c4784717fa644f9d488448b54d404cb | [
"BSD-2-Clause"
] | 10 | 2015-09-06T09:25:37.000Z | 2021-08-14T10:01:54.000Z | """
Model modules.
"""
| 5.75 | 14 | 0.521739 | 2 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 3 | 15 | 7.666667 | 0.631579 | 0.608696 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a47bfdd6377f1246e0c9ed6f46dcc55ef947a19 | 216 | py | Python | example.py | yurimalheiros/markovtextgen | bd5865af4540e02ac9e64ea1c266485faf3ffb9e | [
"MIT"
] | 1 | 2021-06-19T18:28:39.000Z | 2021-06-19T18:28:39.000Z | example.py | yurimalheiros/markovtextgen | bd5865af4540e02ac9e64ea1c266485faf3ffb9e | [
"MIT"
] | null | null | null | example.py | yurimalheiros/markovtextgen | bd5865af4540e02ac9e64ea1c266485faf3ffb9e | [
"MIT"
] | null | null | null | from nltk.corpus import gutenberg
from textgen import TextGenerator
corpus = gutenberg.raw('shakespeare-hamlet.txt')
generator = TextGenerator(3)
generator.process_corpus(corpus)
print generator.generate_text(10)
| 21.6 | 48 | 0.824074 | 27 | 216 | 6.518519 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.092593 | 216 | 9 | 49 | 24 | 0.882653 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
dbebdaa0351e63febeed22a88dcf82b45dcb4513 | 350 | py | Python | queryset_transform/geo.py | acdha/django-queryset-transform | 33eafc124b74ee83e19211e2860ac2010a447977 | [
"BSD-3-Clause"
] | null | null | null | queryset_transform/geo.py | acdha/django-queryset-transform | 33eafc124b74ee83e19211e2860ac2010a447977 | [
"BSD-3-Clause"
] | null | null | null | queryset_transform/geo.py | acdha/django-queryset-transform | 33eafc124b74ee83e19211e2860ac2010a447977 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.gis.db.models.manager import GeoManager
from django.contrib.gis.db.models.query import GeoQuerySet
from . import TransformQuerySetMixin
class GeoTransformQuerySet(TransformQuerySetMixin, GeoQuerySet):
pass
class GeoTransformManager(GeoManager):
def get_queryset(self):
return Geo... | 25 | 64 | 0.808571 | 37 | 350 | 7.621622 | 0.594595 | 0.070922 | 0.120567 | 0.141844 | 0.198582 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122857 | 350 | 13 | 65 | 26.923077 | 0.918567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0.125 | 0.875 | 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 | 1 | 1 | 0 | 0 | 4 |
e014750e624c26e9bcf57726dc82fe05deef1c64 | 202 | py | Python | lenskit/__init__.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | lenskit/__init__.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | lenskit/__init__.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | """
The LensKit package.
"""
from lenskit.algorithms import * # noqa: F401,F403
class DataWarning(UserWarning):
"""
Warning raised for detectable problems with input data.
"""
pass
| 14.428571 | 59 | 0.663366 | 22 | 202 | 6.090909 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.227723 | 202 | 13 | 60 | 15.538462 | 0.820513 | 0.460396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
e01ab11d0e18d761b99b5665b0b9731011103664 | 1,998 | py | Python | encodings/iso8859_1.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | 1 | 2020-03-12T16:44:10.000Z | 2020-03-12T16:44:10.000Z | encodings/iso8859_1.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | encodings/iso8859_1.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.2.4
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
# Embedded file name: encodings.iso8859_1
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors='strict'):
return codecs.charm... | 48.731707 | 755 | 0.748248 | 320 | 1,998 | 4.628125 | 0.69375 | 0.040513 | 0.051317 | 0.024308 | 0.135044 | 0.105334 | 0.105334 | 0 | 0 | 0 | 0 | 0.124179 | 0.085085 | 1,998 | 41 | 756 | 48.731707 | 0.685996 | 0.097598 | 0 | 0.1 | 0 | 0.05 | 0.083936 | 0.067815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1 | 0.05 | 0.25 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
e01b8baf094e23fda6c3332b31ee0deb09713f36 | 95,983 | py | Python | diofant/polys/polyquinticconst.py | project-kotinos/diofant___diofant | 882549ac3a4dac238695aa620c02fce6ca33f9d3 | [
"BSD-3-Clause"
] | 1 | 2021-08-22T09:34:15.000Z | 2021-08-22T09:34:15.000Z | diofant/polys/polyquinticconst.py | project-kotinos/diofant___diofant | 882549ac3a4dac238695aa620c02fce6ca33f9d3 | [
"BSD-3-Clause"
] | null | null | null | diofant/polys/polyquinticconst.py | project-kotinos/diofant___diofant | 882549ac3a4dac238695aa620c02fce6ca33f9d3 | [
"BSD-3-Clause"
] | null | null | null | """
Solving solvable quintics - An implementation of DS Dummit's paper
Paper :
http://www.ams.org/journals/mcom/1991-57-195/S0025-5718-1991-1079014-X/S0025-5718-1991-1079014-X.pdf
Mathematica notebook:
http://www.emba.uvm.edu/~ddummit/quintics/quintics.nb
"""
from ..core import Dummy, I, N, Rational
from ..functions... | 510.547872 | 6,558 | 0.555088 | 25,035 | 95,983 | 2.127661 | 0.129539 | 0.026321 | 0.027034 | 0.009312 | 0.433015 | 0.34844 | 0.214227 | 0.148913 | 0.123606 | 0.123606 | 0 | 0.460198 | 0.088432 | 95,983 | 187 | 6,559 | 513.278075 | 0.148591 | 0.003928 | 0 | 0.144144 | 0 | 0 | 0.000387 | 0.000272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.027027 | 0.009009 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e021b8159be4a307e49f6ca332844339c78ca840 | 220 | py | Python | api/src/lib/twitter/fields/__init__.py | kagemeka/twitter-api-python | c78e2b16177126d7808b90d09d6f565bd89dce5b | [
"MIT"
] | null | null | null | api/src/lib/twitter/fields/__init__.py | kagemeka/twitter-api-python | c78e2b16177126d7808b90d09d6f565bd89dce5b | [
"MIT"
] | null | null | null | api/src/lib/twitter/fields/__init__.py | kagemeka/twitter-api-python | c78e2b16177126d7808b90d09d6f565bd89dce5b | [
"MIT"
] | null | null | null | from .media_fields import (
MediaFields,
)
from .place_fields import (
PlaceFields,
)
from .poll_fields import (
PollFields,
)
from .tweet_fields import (
TweetFields,
)
from .user_fields import (
UserFields,
) | 14.666667 | 27 | 0.731818 | 25 | 220 | 6.24 | 0.52 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177273 | 220 | 15 | 28 | 14.666667 | 0.861878 | 0 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
e02f262481c5d8a3d2f9c4c57682335d1b713fdd | 216 | py | Python | build/env/bin/rst2html5.py | bopopescu/myhue | 5f566970a5a1fa5af9f01832c9e9808c47634bc7 | [
"Apache-2.0"
] | null | null | null | build/env/bin/rst2html5.py | bopopescu/myhue | 5f566970a5a1fa5af9f01832c9e9808c47634bc7 | [
"Apache-2.0"
] | 2 | 2022-02-13T22:56:24.000Z | 2022-03-02T10:06:35.000Z | build/env/bin/rst2html5.py | bopopescu/myhue | 5f566970a5a1fa5af9f01832c9e9808c47634bc7 | [
"Apache-2.0"
] | 1 | 2020-07-25T07:03:40.000Z | 2020-07-25T07:03:40.000Z | #!/home/inx/PycharmProjects/hue/build/env/bin/python2.7
# EASY-INSTALL-SCRIPT: 'docutils==0.14','rst2html5.py'
__requires__ = 'docutils==0.14'
__import__('pkg_resources').run_script('docutils==0.14', 'rst2html5.py')
| 43.2 | 72 | 0.74537 | 31 | 216 | 4.870968 | 0.709677 | 0.178808 | 0.218543 | 0.225166 | 0.370861 | 0.370861 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.041667 | 216 | 4 | 73 | 54 | 0.657005 | 0.49537 | 0 | 0 | 0 | 0 | 0.495327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e035f9d9d18d3ccd4dfc6dca485e3e651ee83b44 | 28 | py | Python | Random things/InputTest.py | 4RandomProgrammer/Python | 6f2c938e0378bdfd60b796a6d87cf37dac338563 | [
"MIT"
] | null | null | null | Random things/InputTest.py | 4RandomProgrammer/Python | 6f2c938e0378bdfd60b796a6d87cf37dac338563 | [
"MIT"
] | null | null | null | Random things/InputTest.py | 4RandomProgrammer/Python | 6f2c938e0378bdfd60b796a6d87cf37dac338563 | [
"MIT"
] | null | null | null | x = float(input())
print(x)
| 9.333333 | 18 | 0.607143 | 5 | 28 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 19 | 14 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e0512167d2a5c980fa6029bcf003fadef483be0e | 27,880 | py | Python | easy/spreadsheet_1d/spreadsheet_1d_test.py | late-goodbye/codingame-overcomplicated | 2c24bd35b668237b07e64d4997f15a87e3c80e69 | [
"MIT"
] | null | null | null | easy/spreadsheet_1d/spreadsheet_1d_test.py | late-goodbye/codingame-overcomplicated | 2c24bd35b668237b07e64d4997f15a87e3c80e69 | [
"MIT"
] | null | null | null | easy/spreadsheet_1d/spreadsheet_1d_test.py | late-goodbye/codingame-overcomplicated | 2c24bd35b668237b07e64d4997f15a87e3c80e69 | [
"MIT"
] | null | null | null | import unittest
from easy.spreadsheet_1d.spreadsheet_1d import Spreadsheet
def run_with_parameters(input_data, expected_output):
def _format(data):
return [int(x) for x in map(str.strip, data.split('\n')) if x]
def inner_func(func):
def wrapper(instance):
spreadsheet = Spreadsheet... | 35.246523 | 76 | 0.182712 | 1,560 | 27,880 | 3.18141 | 0.210256 | 0.006851 | 0.047955 | 0.062059 | 0.118678 | 0.100947 | 0.100947 | 0.073947 | 0.016119 | 0 | 0 | 0.418589 | 0.780811 | 27,880 | 790 | 77 | 35.291139 | 0.393553 | 0 | 0 | 0.250324 | 0 | 0 | 0.909146 | 0 | 0 | 0 | 0 | 0 | 0.001297 | 1 | 0.022049 | false | 0.016861 | 0.002594 | 0.001297 | 0.029831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0569f4c1694a0f9a16c802350e0d32393d465f8 | 255 | py | Python | model-optimizer/mo/main_onnx.py | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 1 | 2020-07-07T10:13:00.000Z | 2020-07-07T10:13:00.000Z | model-optimizer/mo/main_onnx.py | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 105 | 2020-06-04T00:23:29.000Z | 2022-02-21T13:04:33.000Z | model-optimizer/mo/main_onnx.py | v-Golubev/openvino | 26936d1fbb025c503ee43fe74593ee9d7862ab15 | [
"Apache-2.0"
] | 4 | 2021-04-02T08:48:38.000Z | 2021-07-01T06:59:02.000Z | # Copyright (C) 2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import sys
from mo.utils.cli_parser import get_onnx_cli_parser
if __name__ == "__main__":
from mo.main import main
sys.exit(main(get_onnx_cli_parser(), None, 'onnx'))
| 23.181818 | 55 | 0.745098 | 40 | 255 | 4.375 | 0.625 | 0.154286 | 0.114286 | 0.182857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.145098 | 255 | 10 | 56 | 25.5 | 0.775229 | 0.282353 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e05ad9b8be247fb9d75be62ff6503840cf431042 | 116 | py | Python | FlaskWebProject/__init__.py | rscohn2/rococal | 80303fa71df08b8d561753f8eb7bb421f05a737b | [
"MIT"
] | null | null | null | FlaskWebProject/__init__.py | rscohn2/rococal | 80303fa71df08b8d561753f8eb7bb421f05a737b | [
"MIT"
] | null | null | null | FlaskWebProject/__init__.py | rscohn2/rococal | 80303fa71df08b8d561753f8eb7bb421f05a737b | [
"MIT"
] | null | null | null | """
The flask application package.
"""
from flask import Flask
app = Flask(__name__)
import FlaskWebProject.views
| 12.888889 | 30 | 0.758621 | 14 | 116 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 8 | 31 | 14.5 | 0.848485 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 4 |
e068ad18234d596e6f3ffd2eb2856f02cca8b7ea | 94 | py | Python | poll.py | cc-d/madmike-temperature-gauge | 31d322ceee58954a4c76aa47d7c4d81a5306b70f | [
"MIT"
] | null | null | null | poll.py | cc-d/madmike-temperature-gauge | 31d322ceee58954a4c76aa47d7c4d81a5306b70f | [
"MIT"
] | null | null | null | poll.py | cc-d/madmike-temperature-gauge | 31d322ceee58954a4c76aa47d7c4d81a5306b70f | [
"MIT"
] | null | null | null | from run import poll_temp
def main():
poll_temp()
if __name__ == '__main__':
main()
| 11.75 | 26 | 0.638298 | 13 | 94 | 3.846154 | 0.692308 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 94 | 7 | 27 | 13.428571 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0eb6c5c57b0ef88d92f800afa38851b258e617fb | 42 | py | Python | umr_line_driver/__init__.py | JQ-Networks/UMRLineDriver | 37c6cda36e19671657390fbbab6ad1d2de4cd76d | [
"MIT"
] | null | null | null | umr_line_driver/__init__.py | JQ-Networks/UMRLineDriver | 37c6cda36e19671657390fbbab6ad1d2de4cd76d | [
"MIT"
] | 1 | 2020-07-26T06:35:46.000Z | 2020-07-26T06:35:46.000Z | umr_line_driver/__init__.py | JQ-Networks/UMRLineDriver | 37c6cda36e19671657390fbbab6ad1d2de4cd76d | [
"MIT"
] | 1 | 2020-07-26T05:35:38.000Z | 2020-07-26T05:35:38.000Z | from . import driver
__VERSION__ = '0.2'
| 10.5 | 20 | 0.690476 | 6 | 42 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 42 | 3 | 21 | 14 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0eea3a977504b031461ec752c367a3c1dc07558e | 748 | py | Python | tests/test_misc.py | arolet/ot-sparse-projection | 10952b9d0565a0a2b3476c28f2b8cef196fbc2c3 | [
"MIT"
] | null | null | null | tests/test_misc.py | arolet/ot-sparse-projection | 10952b9d0565a0a2b3476c28f2b8cef196fbc2c3 | [
"MIT"
] | null | null | null | tests/test_misc.py | arolet/ot-sparse-projection | 10952b9d0565a0a2b3476c28f2b8cef196fbc2c3 | [
"MIT"
] | 1 | 2021-06-03T16:19:55.000Z | 2021-06-03T16:19:55.000Z | from ot_sparse_projection import misc
def assert_not_power_of_2(a):
if misc.is_power_of_two(a):
raise AssertionError("{} is a power of 2".format(a))
def assert_power_of_2(a):
if not misc.is_power_of_two(a):
raise AssertionError("{} is not a power of 2".format(a))
def test_is_power_of_two()... | 24.933333 | 64 | 0.723262 | 144 | 748 | 3.256944 | 0.215278 | 0.328358 | 0.324094 | 0.307036 | 0.763326 | 0.373134 | 0.336887 | 0.255864 | 0.255864 | 0 | 0 | 0.075286 | 0.183155 | 748 | 29 | 65 | 25.793103 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.053476 | 0 | 0 | 0 | 0 | 0 | 0.826087 | 1 | 0.130435 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
160f05f1ecd241951e7a4899a129c589fe448e7f | 227 | py | Python | VBDiarization_not_working/vbdiar/vad/__init__.py | yt2639/CMI_VoiceAnalysis | 74d30bbda66296acdb53f7c0028b7daa034e86bf | [
"CNRI-Python"
] | null | null | null | VBDiarization_not_working/vbdiar/vad/__init__.py | yt2639/CMI_VoiceAnalysis | 74d30bbda66296acdb53f7c0028b7daa034e86bf | [
"CNRI-Python"
] | null | null | null | VBDiarization_not_working/vbdiar/vad/__init__.py | yt2639/CMI_VoiceAnalysis | 74d30bbda66296acdb53f7c0028b7daa034e86bf | [
"CNRI-Python"
] | 1 | 2020-05-08T15:10:40.000Z | 2020-05-08T15:10:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018 Brno University of Technology FIT
# Author: Jan Profant <xprofa00@stud.fit.vutbr.cz>
# All Rights Reserved
from vad import load_vad_lab_as_bool_vec, get_vad
| 25.222222 | 54 | 0.735683 | 37 | 227 | 4.351351 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035897 | 0.140969 | 227 | 8 | 55 | 28.375 | 0.789744 | 0.722467 | 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 | 1 | 0 | 0 | 4 |
1610d2815ec77bd4791a5f4b380d4968c080d38c | 201 | py | Python | autocomplete_light/apps.py | blueyed/django-autocomplete-light | 92cc9187268ba25e58fdf33f771f3a6cc33404ce | [
"MIT"
] | 1 | 2015-10-12T21:42:05.000Z | 2015-10-12T21:42:05.000Z | autocomplete_light/apps.py | blueyed/django-autocomplete-light | 92cc9187268ba25e58fdf33f771f3a6cc33404ce | [
"MIT"
] | null | null | null | autocomplete_light/apps.py | blueyed/django-autocomplete-light | 92cc9187268ba25e58fdf33f771f3a6cc33404ce | [
"MIT"
] | null | null | null | from django.apps import AppConfig
import autocomplete_light
class AutocompleteLightConfig(AppConfig):
name = 'autocomplete_light'
def ready(self):
autocomplete_light.autodiscover()
| 18.272727 | 41 | 0.766169 | 20 | 201 | 7.55 | 0.7 | 0.337748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169154 | 201 | 10 | 42 | 20.1 | 0.904192 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16254d4f56a9eccd7ceedb102e35a37b371e9ba4 | 346 | py | Python | deep_utils/utils/utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | deep_utils/utils/utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | deep_utils/utils/utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | from .main import shift_lst, dictnamedtuple, easy_argparse
from .pickles import dump_pickle, load_pickle
from .unzip import unzip
from .str_utils import color_str
from .seeds import tf_set_seed
from .logging_ import get_logger, log_print, value_error_log, get_conf_matrix, get_cls_report, save_params
from .json_utils im... | 43.25 | 106 | 0.846821 | 57 | 346 | 4.77193 | 0.596491 | 0.080882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106936 | 346 | 7 | 107 | 49.428571 | 0.880259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
162880d679c96d6d05286574e291202de0225e31 | 91 | py | Python | blueair/__main__.py | thedjinn/blueair-py | 6b10a3f7c2a13560af682ceef8c631b249bb41ed | [
"MIT"
] | 1 | 2021-12-19T02:07:17.000Z | 2021-12-19T02:07:17.000Z | blueair/__main__.py | aijayadams/blueair-py | 8887748d26c5ea1add1afaa287d8cbf04d692c6c | [
"MIT"
] | 1 | 2021-12-18T14:35:04.000Z | 2021-12-18T14:35:04.000Z | blueair/__main__.py | aijayadams/blueair-py | 8887748d26c5ea1add1afaa287d8cbf04d692c6c | [
"MIT"
] | 2 | 2021-02-20T02:11:00.000Z | 2021-06-14T05:55:07.000Z | """Entry point for running the Blueair client as a module."""
from .cli import run
run()
| 15.166667 | 61 | 0.703297 | 15 | 91 | 4.266667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 91 | 5 | 62 | 18.2 | 0.864865 | 0.604396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 4 |
1645921de10061eab93d90a008cc53783ada9050 | 93 | py | Python | egresados/apps.py | SurielRuano/backend-mi-primer-empleo | 394849947fc7cda8b7a736e8605ad2c4c66523a9 | [
"MIT"
] | null | null | null | egresados/apps.py | SurielRuano/backend-mi-primer-empleo | 394849947fc7cda8b7a736e8605ad2c4c66523a9 | [
"MIT"
] | null | null | null | egresados/apps.py | SurielRuano/backend-mi-primer-empleo | 394849947fc7cda8b7a736e8605ad2c4c66523a9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EgresadosConfig(AppConfig):
name = 'egresados'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
165815bf8f5462ef73ae30f564187aa75818bcea | 213 | py | Python | auth.py | c-wilkinson/twitter-bot | c482b88f2f822fc876f8dbd74542d8e995f0a5bb | [
"Unlicense"
] | 1 | 2022-03-15T18:54:22.000Z | 2022-03-15T18:54:22.000Z | auth.py | c-wilkinson/twitter-bot | c482b88f2f822fc876f8dbd74542d8e995f0a5bb | [
"Unlicense"
] | 6 | 2021-07-21T16:20:59.000Z | 2021-07-21T17:45:59.000Z | auth.py | c-wilkinson/twitter-bot | c482b88f2f822fc876f8dbd74542d8e995f0a5bb | [
"Unlicense"
] | null | null | null | consumer_key = '{{ secrets.consumer_key }}'
consumer_secret = '{{ secrets.consumer_secret }}'
access_token = '{{ secrets.access_token }}'
access_token_secret = '{{ secrets.access_token_secret }}' | 53.25 | 57 | 0.676056 | 22 | 213 | 6.090909 | 0.272727 | 0.328358 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173709 | 213 | 4 | 57 | 53.25 | 0.761364 | 0 | 0 | 0 | 0 | 0 | 0.53271 | 0.233645 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
166501cdfa6250a24ffe12bedefee746a5c32695 | 94 | py | Python | uploadfile/apps.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 1,063 | 2020-11-15T12:55:15.000Z | 2022-03-31T14:33:12.000Z | uploadfile/apps.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 96 | 2020-11-18T00:06:05.000Z | 2022-03-03T09:05:39.000Z | uploadfile/apps.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 349 | 2020-11-15T13:15:30.000Z | 2022-03-31T11:01:15.000Z | from django.apps import AppConfig
class UploadfileConfig(AppConfig):
name = 'uploadfile'
| 18.8 | 34 | 0.776596 | 10 | 94 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 4 | 35 | 23.5 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
166af602555835604a1254455dcc898a6ba400ce | 137 | py | Python | is_triangle.py | Lioheart/python-samples | de5f82b20fa216178e0084b7693e42df4fcaf883 | [
"Unlicense"
] | null | null | null | is_triangle.py | Lioheart/python-samples | de5f82b20fa216178e0084b7693e42df4fcaf883 | [
"Unlicense"
] | null | null | null | is_triangle.py | Lioheart/python-samples | de5f82b20fa216178e0084b7693e42df4fcaf883 | [
"Unlicense"
] | null | null | null | # Sprawdza, czy z podanych boków można utworzyć trójkąt. Zwraca bool
def is_triangle(a, b, c):
return (a<b+c) and (b<a+c) and (c<a+b) | 45.666667 | 68 | 0.678832 | 28 | 137 | 3.285714 | 0.642857 | 0.065217 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 137 | 3 | 69 | 45.666667 | 0.814159 | 0.481752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
16b3394dcf045e5050880b102c925ec91cda19a5 | 903 | py | Python | data_gen/column.py | dungeontiger/data_gen | d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d | [
"MIT"
] | null | null | null | data_gen/column.py | dungeontiger/data_gen | d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d | [
"MIT"
] | null | null | null | data_gen/column.py | dungeontiger/data_gen | d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d | [
"MIT"
] | null | null | null | import random
class Column:
def __init__(self, name, get_value):
self.name = name
self.values = []
self._get_value = get_value
# returns the generated value
def generate(self):
return None
# returns true of a condition in this column says it should stop
# for exam... | 29.129032 | 84 | 0.647841 | 122 | 903 | 4.606557 | 0.360656 | 0.071174 | 0.042705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001543 | 0.282392 | 903 | 31 | 85 | 29.129032 | 0.865741 | 0.200443 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bc5e3b69794f685bfb94a1a2f20059058e1a8d65 | 79 | py | Python | day_4/day_4.py | PavcaHyx/advent-of-code-2021 | 81bf8bc524ff9b9f193dba76eda89f5a58001d41 | [
"MIT"
] | null | null | null | day_4/day_4.py | PavcaHyx/advent-of-code-2021 | 81bf8bc524ff9b9f193dba76eda89f5a58001d41 | [
"MIT"
] | null | null | null | day_4/day_4.py | PavcaHyx/advent-of-code-2021 | 81bf8bc524ff9b9f193dba76eda89f5a58001d41 | [
"MIT"
] | null | null | null | import numpy as np
new_matrix = np.array([[1,2,3], [1,2,3]])
print(new_matrix) | 19.75 | 41 | 0.670886 | 17 | 79 | 3 | 0.647059 | 0.352941 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.113924 | 79 | 4 | 42 | 19.75 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bc6025bca131cb7a01bce255e1127db9a413377f | 334 | py | Python | anomaly_detection/__init__.py | havenmoney/AnomalyDetection | 506856d2218c0ce215b0e2299aad229d3d2afe33 | [
"Apache-2.0"
] | 10 | 2018-10-29T04:43:08.000Z | 2020-11-21T06:08:58.000Z | anomaly_detection/__init__.py | havenmoney/AnomalyDetection | 506856d2218c0ce215b0e2299aad229d3d2afe33 | [
"Apache-2.0"
] | null | null | null | anomaly_detection/__init__.py | havenmoney/AnomalyDetection | 506856d2218c0ce215b0e2299aad229d3d2afe33 | [
"Apache-2.0"
] | 1 | 2018-12-07T09:22:13.000Z | 2018-12-07T09:22:13.000Z | # -*- coding: utf-8 -*-
"""
anomaly_detection
A Pure Python library of Twitter's AnomalyDetection R Package.
:license: Apache-2.0, see LICENSE for more details.
"""
__version__ = '0.0.2'
from anomaly_detection.anomaly_detect_ts import anomaly_detect_ts
from anomaly_detection.anomaly_detect_vec import anoma... | 30.363636 | 67 | 0.766467 | 48 | 334 | 5.020833 | 0.604167 | 0.215768 | 0.165975 | 0.224066 | 0.273859 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.143713 | 334 | 10 | 68 | 33.4 | 0.821678 | 0.464072 | 0 | 0 | 0 | 0 | 0.031447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc714755a1a49944e8f45323ddf4da5cf904cabc | 192 | py | Python | tests/micropython/stack_use.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 692 | 2016-12-19T23:25:35.000Z | 2022-03-31T14:20:48.000Z | tests/micropython/stack_use.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 509 | 2017-03-28T19:37:18.000Z | 2022-03-31T20:31:43.000Z | tests/micropython/stack_use.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 228 | 2016-12-19T05:03:30.000Z | 2022-03-22T18:13:00.000Z | # tests stack_use function in micropython module
import micropython
if not hasattr(micropython, 'stack_use'):
print('SKIP')
else:
print(type(micropython.stack_use())) # output varies
| 24 | 56 | 0.75 | 25 | 192 | 5.64 | 0.68 | 0.170213 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 192 | 7 | 57 | 27.428571 | 0.859756 | 0.3125 | 0 | 0 | 0 | 0 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc7cf152ff026b171c5fb51a4a5f165a70911b2f | 88 | py | Python | binsize/apps.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 1,063 | 2020-11-15T12:55:15.000Z | 2022-03-31T14:33:12.000Z | binsize/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 96 | 2020-11-18T00:06:05.000Z | 2022-03-03T09:05:39.000Z | binsize/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 349 | 2020-11-15T13:15:30.000Z | 2022-03-31T11:01:15.000Z | from django.apps import AppConfig
class BinsizeConfig(AppConfig):
name = 'binsize'
| 17.6 | 33 | 0.761364 | 10 | 88 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 4 | 34 | 22 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc815efbf171e17cd455943f961ef8a39d5f8b76 | 1,130 | py | Python | openapi_client/test/test_fetchs_api.py | osuka/dognews-scraper | 12373064061157083a48ced8e2cabf9d1ace30a5 | [
"MIT"
] | 1 | 2019-11-15T13:19:36.000Z | 2019-11-15T13:19:36.000Z | openapi_client/test/test_fetchs_api.py | osuka/news-extractor | 12373064061157083a48ced8e2cabf9d1ace30a5 | [
"MIT"
] | null | null | null | openapi_client/test/test_fetchs_api.py | osuka/news-extractor | 12373064061157083a48ced8e2cabf9d1ace30a5 | [
"MIT"
] | null | null | null | """
Dognews Server API
Dognews Server client API # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import unittest
import openapi_client
from openapi_client.api.fetchs_api import FetchsApi # noqa: E501
class TestFetchsApi(unittest.TestCase)... | 17.384615 | 65 | 0.60177 | 132 | 1,130 | 4.916667 | 0.340909 | 0.064715 | 0.101695 | 0.157165 | 0.212635 | 0.083205 | 0 | 0 | 0 | 0 | 0 | 0.015287 | 0.30531 | 1,130 | 64 | 66 | 17.65625 | 0.811465 | 0.384071 | 0 | 0.318182 | 1 | 0 | 0.012579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.318182 | 0.136364 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
bc90eabd35f5202112c869783f0435eb4dbedcfb | 193 | py | Python | code/abc079_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc079_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc079_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | s=input()
op=["+","-"]
for i in op:
for j in op:
for k in op:
f=s[0]+i+s[1]+j+s[2]+k+s[3]
if eval(f)==7:
print(f+"=7")
exit() | 21.444444 | 39 | 0.326425 | 35 | 193 | 1.8 | 0.514286 | 0.238095 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.445596 | 193 | 9 | 40 | 21.444444 | 0.53271 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 1 | 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 | 4 |
bc939167c207a6702532d093bbe6221a27b8ed8e | 98 | py | Python | lib/constants.py | d-e-e-p/compare_image_annotations | c26e7a33abb506dbfa87c4dd4bca77e47547566c | [
"BSD-3-Clause"
] | null | null | null | lib/constants.py | d-e-e-p/compare_image_annotations | c26e7a33abb506dbfa87c4dd4bca77e47547566c | [
"BSD-3-Clause"
] | null | null | null | lib/constants.py | d-e-e-p/compare_image_annotations | c26e7a33abb506dbfa87c4dd4bca77e47547566c | [
"BSD-3-Clause"
] | null | null | null | VERSION = "3.5"
BUILD_DATE = "2022-03-03 11:50:25.180804"
AUTHOR = "deep@tensorfield.ag"
| 24.5 | 43 | 0.632653 | 16 | 98 | 3.8125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278481 | 0.193878 | 98 | 3 | 44 | 32.666667 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0.489796 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcb213dbe622aa1f4fbec7a0210d4072b5118e3e | 201 | py | Python | src/ua/console/task16/solution.py | DataArt/kiddo-tasks | 9e15241a6a3f152b4b64a345d923224450c0adee | [
"Apache-2.0"
] | null | null | null | src/ua/console/task16/solution.py | DataArt/kiddo-tasks | 9e15241a6a3f152b4b64a345d923224450c0adee | [
"Apache-2.0"
] | null | null | null | src/ua/console/task16/solution.py | DataArt/kiddo-tasks | 9e15241a6a3f152b4b64a345d923224450c0adee | [
"Apache-2.0"
] | null | null | null | import console
a = console.get_value("a")
b = console.get_value("b")
if a == 2:
console.set_value("c", a + b)
elif a == 1:
console.set_value("c", b - a)
elif a == 0:
console.set_value("c", 0)
| 20.1 | 32 | 0.60199 | 38 | 201 | 3.052632 | 0.342105 | 0.258621 | 0.387931 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.19403 | 201 | 9 | 33 | 22.333333 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0.024876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcbab3a0c1d6a343ccd8bf2c09111f232f8fe616 | 194 | py | Python | create_config_file/__init__.py | fujiawei-dev/tookit-py | 5ab3a18a41885f6166150cc27183621b96f8f991 | [
"BSD-3-Clause"
] | null | null | null | create_config_file/__init__.py | fujiawei-dev/tookit-py | 5ab3a18a41885f6166150cc27183621b96f8f991 | [
"BSD-3-Clause"
] | null | null | null | create_config_file/__init__.py | fujiawei-dev/tookit-py | 5ab3a18a41885f6166150cc27183621b96f8f991 | [
"BSD-3-Clause"
] | null | null | null | """
Date: 2022.02.03 9:09
Description: Create or display the configuration of commonly used software.
LastEditors: Rustle Karl
LastEditTime: 2022.02.03 9:09
"""
from .command import command_ccf
| 24.25 | 75 | 0.778351 | 30 | 194 | 5 | 0.8 | 0.08 | 0.106667 | 0.12 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 0.128866 | 194 | 7 | 76 | 27.714286 | 0.757396 | 0.783505 | 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 | 1 | 0 | 0 | 4 |
bcc0a5e30bcd927520f1c771c4f15f6ab6b775ab | 213 | py | Python | src/utility.py | brodzik/pszt-project-1 | 85dcdc3ed58019ac2be5a73bf00360b8fc3082b2 | [
"MIT"
] | 1 | 2020-09-17T10:37:48.000Z | 2020-09-17T10:37:48.000Z | src/utility.py | brodzik/pszt-project-1 | 85dcdc3ed58019ac2be5a73bf00360b8fc3082b2 | [
"MIT"
] | null | null | null | src/utility.py | brodzik/pszt-project-1 | 85dcdc3ed58019ac2be5a73bf00360b8fc3082b2 | [
"MIT"
] | null | null | null | # Authors:
# Adrian Brodzik
# Jakub Górka
import os
import random
import numpy as np
def seed_everything(seed):
random.seed(seed)
os.environ["PYTHONHASHSEED"] = str(seed)
np.random.seed(seed)
| 13.3125 | 44 | 0.690141 | 29 | 213 | 5.034483 | 0.586207 | 0.136986 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206573 | 213 | 15 | 45 | 14.2 | 0.863905 | 0.183099 | 0 | 0 | 0 | 0 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bcc7a83b0d246786e77425e0a9517387a308a703 | 298 | py | Python | stackimplementation.py | gkanishk44/Python-projects | 1a89deab2bd68e766f03a22df516599901c72f6d | [
"MIT"
] | 1 | 2021-01-04T06:26:25.000Z | 2021-01-04T06:26:25.000Z | stackimplementation.py | gkanishk44/Python-projects | 1a89deab2bd68e766f03a22df516599901c72f6d | [
"MIT"
] | null | null | null | stackimplementation.py | gkanishk44/Python-projects | 1a89deab2bd68e766f03a22df516599901c72f6d | [
"MIT"
] | null | null | null | from collections import deque
stack = deque()
stack.append('a')
stack.append('b')
stack.append('c')
print('Initial stack:')
print(stack)
print('\nElements poped from stack:')
print(stack.pop())
print(stack.pop())
print(stack.pop())
print('\nStack after elements are poped:')
print(stack)
| 15.684211 | 42 | 0.697987 | 42 | 298 | 4.952381 | 0.428571 | 0.240385 | 0.1875 | 0.259615 | 0.211538 | 0.211538 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 298 | 18 | 43 | 16.555556 | 0.793893 | 0 | 0 | 0.384615 | 0 | 0 | 0.261745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.615385 | 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 | 1 | 0 | 4 |
4c456ca41d4482dd380e7e73da1b76efa4f26450 | 5,361 | py | Python | fhirclient/models/provenance_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | 2 | 2019-05-16T16:41:22.000Z | 2021-04-22T22:06:49.000Z | fhirclient/models/provenance_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | null | null | null | fhirclient/models/provenance_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | 3 | 2019-03-26T01:39:18.000Z | 2020-02-02T19:06:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 1.0.2.7202 on 2016-06-23.
# 2016, SMART Health IT.
import os
import io
import unittest
import json
from . import provenance
from .fhirdate import FHIRDate
class ProvenanceTests(unittest.TestCase):
def instantiate_from(self, filename):
... | 55.268041 | 170 | 0.680097 | 702 | 5,361 | 5.178063 | 0.237892 | 0.21458 | 0.256121 | 0.085832 | 0.70729 | 0.633563 | 0.542228 | 0.430536 | 0.376891 | 0.353232 | 0 | 0.063347 | 0.160791 | 5,361 | 96 | 171 | 55.84375 | 0.74461 | 0.021078 | 0 | 0.2375 | 1 | 0.025 | 0.255055 | 0.061427 | 0 | 0 | 0 | 0 | 0.675 | 1 | 0.0625 | false | 0 | 0.075 | 0 | 0.1625 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c72f77604b8aa5f94efce66eaa8184e38be149c | 1,914 | py | Python | billing/models/world_pay_models.py | litchfield/merchant | e4fba8a88a326bbde39c26e937c17d5283817320 | [
"BSD-3-Clause"
] | null | null | null | billing/models/world_pay_models.py | litchfield/merchant | e4fba8a88a326bbde39c26e937c17d5283817320 | [
"BSD-3-Clause"
] | null | null | null | billing/models/world_pay_models.py | litchfield/merchant | e4fba8a88a326bbde39c26e937c17d5283817320 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
class WorldPayResponse(models.Model):
# merchant details
installation_id = models.CharField(max_length=64)
company_name = models.CharField(max_length=255, blank=True, null=True)
# purchase details sent by merchant
cart_id = models.CharField(max_length=255)
descrip... | 39.061224 | 74 | 0.743992 | 258 | 1,914 | 5.325581 | 0.310078 | 0.240175 | 0.262009 | 0.349345 | 0.601892 | 0.542213 | 0.275109 | 0.071325 | 0.071325 | 0 | 0 | 0.033687 | 0.162487 | 1,914 | 48 | 75 | 39.875 | 0.823456 | 0.120167 | 0 | 0 | 0 | 0 | 0.017303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.96875 | 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 | 1 | 0 | 0 | 4 |
d5b3e5168adfa27488a55a478f6391abbf3d833b | 131 | py | Python | .history/ClassFiles/DataTypes/StringData_20201230223058.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/DataTypes/StringData_20201230223058.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/DataTypes/StringData_20201230223058.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | """ ThisString Data type(str)
Strings are sequences of character data.
Strings are enclosed in either single or double quotes.
""" | 26.2 | 55 | 0.770992 | 19 | 131 | 5.315789 | 0.842105 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 5 | 56 | 26.2 | 0.90991 | 0.931298 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5de41adf8d90c750226b7416c7c8ce562e76982 | 397 | py | Python | database_files/games.py | djacosta-01/Lowkey-Tho... | 6aa62f2214221d3cdbdcce7a8e89e1c821def0c4 | [
"MIT"
] | null | null | null | database_files/games.py | djacosta-01/Lowkey-Tho... | 6aa62f2214221d3cdbdcce7a8e89e1c821def0c4 | [
"MIT"
] | null | null | null | database_files/games.py | djacosta-01/Lowkey-Tho... | 6aa62f2214221d3cdbdcce7a8e89e1c821def0c4 | [
"MIT"
] | null | null | null | from google.appengine.ext import ndb
import user
class Play(ndb.Model):
user = ndb.KeyProperty(user.User, required=True)
game = ndb.StringProperty(default='top')
points = ndb.IntegerProperty(default=0)
round = ndb.IntegerProperty(default=1)
answer = ndb.StringProperty(default='hai')
order = ndb... | 33.083333 | 52 | 0.732997 | 49 | 397 | 5.938776 | 0.530612 | 0.247423 | 0.343643 | 0.178694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011834 | 0.148615 | 397 | 11 | 53 | 36.090909 | 0.849112 | 0 | 0 | 0 | 0 | 0 | 0.015113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
d5ea263f6143d7789e0395b2bafa258a6438edc3 | 311 | py | Python | input_buffer.py | mode89/editor | 4b40b5420d8e47d829a4af24bcc072c4265aba6c | [
"MIT"
] | null | null | null | input_buffer.py | mode89/editor | 4b40b5420d8e47d829a4af24bcc072c4265aba6c | [
"MIT"
] | null | null | null | input_buffer.py | mode89/editor | 4b40b5420d8e47d829a4af24bcc072c4265aba6c | [
"MIT"
] | null | null | null | KEY_BACKSPACE = 0x107
KEY_ENTER = 0x0a
class InputBuffer:
def __init__(self):
self.buffer = []
def put(self, key):
assert type(key) is int
self.buffer.append(key)
def get(self):
return self.buffer.pop(0)
def empty(self):
return len(self.buffer) == 0
| 17.277778 | 36 | 0.59164 | 42 | 311 | 4.238095 | 0.547619 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03653 | 0.29582 | 311 | 17 | 37 | 18.294118 | 0.776256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028939 | 0 | 0.083333 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d5f11426499ec410c6cf126752204bd07ca7694e | 883 | py | Python | db/csvs_test_examples/transmission/transmission_portfolios/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 44 | 2020-10-27T19:05:44.000Z | 2022-03-22T17:17:37.000Z | db/csvs_test_examples/transmission/transmission_portfolios/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 67 | 2020-10-08T22:36:53.000Z | 2022-03-22T22:58:33.000Z | db/csvs_test_examples/transmission/transmission_portfolios/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 21 | 2020-10-08T23:23:48.000Z | 2022-03-28T01:21:21.000Z | # Copyright 2016-2020 Blue Marble Analytics LLC. All rights reserved.
"""
Relevant tables:
+--------------------------------+----------------------------------------------+
|:code:`scenarios` table column |:code:`project_portfolio_scenario_id` |
+--------------------------------+-----------------------------... | 44.15 | 81 | 0.353341 | 47 | 883 | 6.170213 | 0.702128 | 0.068966 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01027 | 0.11778 | 883 | 19 | 82 | 46.473684 | 0.362003 | 0.933182 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d5f8213e98e75a3d7e818ad294eef55530fc679e | 43 | py | Python | host/util/__init__.py | flowswitch/phison | d9415a8d5c62354d09cd6410754c9d8bb65e164f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | host/util/__init__.py | flowswitch/phison | d9415a8d5c62354d09cd6410754c9d8bb65e164f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | host/util/__init__.py | flowswitch/phison | d9415a8d5c62354d09cd6410754c9d8bb65e164f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | __all__ = ["BinFile"]
__version__ = "1.00"
| 14.333333 | 21 | 0.651163 | 5 | 43 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.139535 | 43 | 2 | 22 | 21.5 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5f8c0796f9d0b6d779dee982ad467761a35291d | 948 | py | Python | extract_bottleneck_features.py | JaySRT/Dog-breed-classifier | 317a4ed5b4da9941378e613ae793605a8dad2f0f | [
"MIT"
] | null | null | null | extract_bottleneck_features.py | JaySRT/Dog-breed-classifier | 317a4ed5b4da9941378e613ae793605a8dad2f0f | [
"MIT"
] | null | null | null | extract_bottleneck_features.py | JaySRT/Dog-breed-classifier | 317a4ed5b4da9941378e613ae793605a8dad2f0f | [
"MIT"
] | null | null | null | def extract_VGG16(tensor):
from keras.applications.vgg16 import VGG16, preprocess_input
return VGG16(weights='imagenet', include_top=False).predict(preprocess_input(tensor))
def extract_VGG19(tensor):
from keras.applications.vgg19 import VGG19, preprocess_input
return VGG19(weights='imagenet', include_top=Fa... | 49.894737 | 92 | 0.81962 | 116 | 948 | 6.517241 | 0.206897 | 0.198413 | 0.099206 | 0.178571 | 0.436508 | 0.436508 | 0.436508 | 0.436508 | 0.436508 | 0.359788 | 0 | 0.029988 | 0.085443 | 948 | 19 | 92 | 49.894737 | 0.841984 | 0 | 0 | 0 | 0 | 0 | 0.042965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
911f4f1b406191ba70f2ad04b2b5fca3548f81ee | 78 | py | Python | tests/__init__.py | gagelarsen/flake8-typehinting | 31223d0f7958896f85e796efd6f1c297f5ab1deb | [
"MIT"
] | 1 | 2021-07-23T05:12:52.000Z | 2021-07-23T05:12:52.000Z | tests/__init__.py | gagelarsen/flake8-typehinting | 31223d0f7958896f85e796efd6f1c297f5ab1deb | [
"MIT"
] | 1 | 2021-07-23T04:25:00.000Z | 2021-07-23T04:25:00.000Z | tests/__init__.py | gagelarsen/flake8-typehinting | 31223d0f7958896f85e796efd6f1c297f5ab1deb | [
"MIT"
] | null | null | null | """
The flake8_typehinting tests.
This file was created on July 22, 2021
"""
| 13 | 38 | 0.717949 | 12 | 78 | 4.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.179487 | 78 | 5 | 39 | 15.6 | 0.75 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
912d0c7f5ae6c44af0ad21a20cc5012422eef376 | 513 | py | Python | Src/Clova/vendor/http/server.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 2 | 2020-08-17T07:52:48.000Z | 2020-12-18T16:39:32.000Z | Src/Clova/vendor/http/server.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 5 | 2020-12-15T23:40:14.000Z | 2022-02-23T15:43:18.000Z | Src/Clova/vendor/http/server.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 4 | 2019-05-16T09:57:33.000Z | 2021-07-14T12:31:21.000Z | from __future__ import absolute_import
import sys
assert sys.version_info[0] < 3
from BaseHTTPServer import *
from CGIHTTPServer import *
from SimpleHTTPServer import *
try:
from CGIHTTPServer import _url_collapse_path # needed for a test
except ImportError:
try:
# Python 2.7.0 to 2.7.... | 27 | 73 | 0.682261 | 68 | 513 | 4.911765 | 0.558824 | 0.152695 | 0.206587 | 0.155689 | 0.227545 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.269006 | 513 | 18 | 74 | 28.5 | 0.864 | 0.157895 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0 | true | 0.071429 | 0.642857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
9135329ed6c90a6567b68dbd209b3d2228498ffb | 169 | py | Python | setup.py | thedataincubator/conda_minifier | 7a7e669191e35010f2a298d58c18185602b5e29b | [
"MIT"
] | 1 | 2016-10-05T17:43:15.000Z | 2016-10-05T17:43:15.000Z | setup.py | thedataincubator/conda_minifier | 7a7e669191e35010f2a298d58c18185602b5e29b | [
"MIT"
] | 2 | 2016-03-16T21:49:04.000Z | 2016-03-16T21:51:52.000Z | setup.py | thedataincubator/conda_minifier | 7a7e669191e35010f2a298d58c18185602b5e29b | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='conda_minifier',
author="Christian Moscardi, Tianhui Michael Li",
version='0.1',
py_modules=['conda_minifier'],
)
| 18.777778 | 50 | 0.727811 | 22 | 169 | 5.454545 | 0.863636 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.136095 | 169 | 8 | 51 | 21.125 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.408284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9148efc38b3ac57ad2d8afe815bff64d0be3a367 | 762 | py | Python | bin/config/constants.py | KirtusJ/Event-Logger-newsapi | e33b903690ba829361b5d7d047d681b50cb50c7d | [
"MIT"
] | 5 | 2018-12-14T23:57:05.000Z | 2018-12-17T00:08:48.000Z | bin/config/constants.py | KirtusJ/Event-Logger-newsapi | e33b903690ba829361b5d7d047d681b50cb50c7d | [
"MIT"
] | 1 | 2021-06-01T23:09:02.000Z | 2021-06-01T23:09:02.000Z | bin/config/constants.py | KirtusJ/newsapi-scraper | e33b903690ba829361b5d7d047d681b50cb50c7d | [
"MIT"
] | null | null | null | from .setup import const_type
class Const():
def __init__(self,urls,countries,languages,categories,sort_method):
self.urls = urls
self.countries = countries
self.languages = languages
self.categories = categories
self.sort_method = sort_method
def get_sort_methods(self):
return self.sort_method
def get... | 25.4 | 68 | 0.754593 | 109 | 762 | 5.091743 | 0.238532 | 0.086486 | 0.201802 | 0.097297 | 0.097297 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144357 | 762 | 30 | 69 | 25.4 | 0.851227 | 0 | 0 | 0.071429 | 0 | 0 | 0.026212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.035714 | 0.285714 | 0.785714 | 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 | 1 | 1 | 0 | 0 | 4 |
e696dd3b5025a61930c47b5e16e48e6e9515e30f | 12,245 | py | Python | lists_of_terms/shcript_for_lists_of_terms.py | ShawnJSavoie2/ToBeRedone | be1981969deb5ebb083e7ef2592e331746af757a | [
"MIT"
] | null | null | null | lists_of_terms/shcript_for_lists_of_terms.py | ShawnJSavoie2/ToBeRedone | be1981969deb5ebb083e7ef2592e331746af757a | [
"MIT"
] | null | null | null | lists_of_terms/shcript_for_lists_of_terms.py | ShawnJSavoie2/ToBeRedone | be1981969deb5ebb083e7ef2592e331746af757a | [
"MIT"
] | null | null | null | # IDLE (Python 3.8.0)
# lists of terms
import random
from copy import deepcopy as copy_of
from shodule_for_lists_of_terms import *
print()
print('Note: a character that represents a list of characters that typically --but not necessarily--')
print('represent phonemes can be --for ex.-- a V that represents a primary ... | 51.44958 | 124 | 0.638628 | 1,663 | 12,245 | 4.50451 | 0.111245 | 0.100921 | 0.046856 | 0.064878 | 0.779602 | 0.761581 | 0.7222 | 0.682018 | 0.678147 | 0.663463 | 0 | 0.002829 | 0.278318 | 12,245 | 237 | 125 | 51.666667 | 0.844857 | 0.002777 | 0 | 0.684932 | 0 | 0.022831 | 0.355341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013699 | 0 | 0.013699 | 0.401826 | 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 | 1 | 0 | 4 |
e6ac00dd529079bdb9db7b7d32ec9f5b8ec1d4c7 | 206 | py | Python | polyaxon/checks/crons.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/checks/crons.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/checks/crons.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from checks.worker import WorkerCheck
from polyaxon.config_settings import CronsCeleryTasks
class CronsCheck(WorkerCheck):
WORKER_HEALTH_TASK = CronsCeleryTasks.CRONS_HEALTH
WORKER_NAME = 'CRONS'
| 25.75 | 54 | 0.825243 | 23 | 206 | 7.173913 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 206 | 7 | 55 | 29.428571 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.024272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
e6b71242682533573211273ac23ca12fad1e76d9 | 160 | py | Python | 01_Language/01_Functions/python/is_writable.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/is_writable.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/is_writable.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import os
def is_writable(filename):
return os.access(filename, os.W_OK)
if __name__ == '__main__':
print(is_writable("test.txt"))
| 13.333333 | 39 | 0.68125 | 24 | 160 | 4.083333 | 0.791667 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.175 | 160 | 11 | 40 | 14.545455 | 0.734848 | 0.08125 | 0 | 0 | 0 | 0 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e6bfc57b98fbc6e6c8e66b5e9bc2f746778285af | 638 | py | Python | venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py | mutaihillary/mycalculator | 55685dd7c968861f18ae0701129f5af2bc682d67 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py | mutaihillary/mycalculator | 55685dd7c968861f18ae0701129f5af2bc682d67 | [
"MIT"
] | 7 | 2021-02-08T20:22:15.000Z | 2022-03-11T23:19:41.000Z | venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py | mutaihillary/mycalculator | 55685dd7c968861f18ae0701129f5af2bc682d67 | [
"MIT"
] | null | null | null | """test non-exceptions catched
"""
__revision__ = 1
class MyException(object):
""" custom 'exception' """
pass
class MySecondException(object):
""" custom 'exception' """
pass
class MyGoodException(Exception):
""" custom 'exception' """
pass
class MySecondGoodException(MyGoodException):
... | 15.190476 | 48 | 0.65047 | 62 | 638 | 6.629032 | 0.370968 | 0.145985 | 0.184915 | 0.175182 | 0.272506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018256 | 0.227273 | 638 | 41 | 49 | 15.560976 | 0.815416 | 0 | 0 | 0.56 | 0 | 0 | 0.06012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.16 | 0 | null | null | 0.16 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e6cd5e12990b91fb99b78a30098dd7f77da11522 | 308 | py | Python | debug.py | SouthForkResearch/osGNAT | b254c775b2061e3a8c0fd7baa02d94799fc4d193 | [
"MIT"
] | 2 | 2017-08-31T15:47:22.000Z | 2019-07-06T05:08:41.000Z | debug.py | SouthForkResearch/osGNAT | b254c775b2061e3a8c0fd7baa02d94799fc4d193 | [
"MIT"
] | 36 | 2017-02-28T20:43:08.000Z | 2017-08-18T19:50:22.000Z | debug.py | SouthForkResearch/pyGNAT | b254c775b2061e3a8c0fd7baa02d94799fc4d193 | [
"MIT"
] | null | null | null | import os
def InitDebug():
"""This module is used for remotely debugging the GNAT Plugin"""
if 'DEBUG_PLUGIN' in os.environ and os.environ['DEBUG_PLUGIN'] == "GNATPlugin":
import pydevd
pydevd.settrace('localhost', port=53100, stdoutToServer=True, stderrToServer=True, suspend=False) | 44 | 105 | 0.714286 | 39 | 308 | 5.589744 | 0.769231 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.172078 | 308 | 7 | 105 | 44 | 0.835294 | 0.188312 | 0 | 0 | 0 | 0 | 0.17551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
e6d3b5b7c4b50b13af3bed21b7e7ab6b56565852 | 157 | py | Python | virtual/bin/django-admin.py | Monroe100/blog | c9ddff57c93bc65dab4252fbd79309b7888dbae3 | [
"MIT"
] | 1 | 2019-10-07T18:52:05.000Z | 2019-10-07T18:52:05.000Z | virtual/bin/django-admin.py | Monroe100/blog | c9ddff57c93bc65dab4252fbd79309b7888dbae3 | [
"MIT"
] | null | null | null | virtual/bin/django-admin.py | Monroe100/blog | c9ddff57c93bc65dab4252fbd79309b7888dbae3 | [
"MIT"
] | null | null | null | #!/home/michelle/projects/blog/virtual/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 26.166667 | 50 | 0.789809 | 20 | 157 | 5.65 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.095541 | 157 | 5 | 51 | 31.4 | 0.788732 | 0.312102 | 0 | 0 | 0 | 0 | 0.074766 | 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 | 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 | 4 |
e6d612d4eb9feb71abda0c142e33b8bcc06ec637 | 58 | py | Python | lboxd/__main__.py | Fitzy1293/lboxd | ca1767de2b6f79c6ba96aa81c2912198a2dc2cec | [
"MIT"
] | 2 | 2021-01-06T08:40:37.000Z | 2021-10-31T09:27:21.000Z | lboxd/__main__.py | Fitzy1293/lboxd | ca1767de2b6f79c6ba96aa81c2912198a2dc2cec | [
"MIT"
] | null | null | null | lboxd/__main__.py | Fitzy1293/lboxd | ca1767de2b6f79c6ba96aa81c2912198a2dc2cec | [
"MIT"
] | null | null | null | from .lboxd import *
if __name__=='__main__':
main()
| 11.6 | 24 | 0.637931 | 7 | 58 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 4 | 25 | 14.5 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 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 | 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 | 4 |
e6deda743f7b9d24204a9e0a3a690553827ecb55 | 255 | py | Python | ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py | pyansys/ansys_corba | 91e4e66a48143c827f56cf1113145bb48d5f4d6a | [
"MIT"
] | 6 | 2021-04-26T09:25:48.000Z | 2022-03-26T05:09:38.000Z | ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py | pyansys/ansys_corba | 91e4e66a48143c827f56cf1113145bb48d5f4d6a | [
"MIT"
] | 3 | 2022-03-14T08:17:21.000Z | 2022-03-17T20:07:23.000Z | ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py | pyansys/pymapdl-corba | 91e4e66a48143c827f56cf1113145bb48d5f4d6a | [
"MIT"
] | 1 | 2020-11-11T11:10:19.000Z | 2020-11-11T11:10:19.000Z | # DO NOT EDIT THIS FILE!
#
# Python module CosNotifyFilter__POA generated by omniidl
import omniORB
omniORB.updateModule("CosNotifyFilter__POA")
# ** 1. Stub files contributing to this module
import CosNotifyFilter_idl
# ** 2. Sub-modules
# ** 3. End
| 18.214286 | 57 | 0.756863 | 33 | 255 | 5.69697 | 0.787879 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013953 | 0.156863 | 255 | 13 | 58 | 19.615385 | 0.860465 | 0.592157 | 0 | 0 | 1 | 0 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e6df744906378019e5796d191df119825ecee5ab | 78 | py | Python | cdptools/tests/research_utils/__init__.py | joshuaipwork/cdptools | 5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295 | [
"BSD-3-Clause"
] | 10 | 2019-02-11T17:07:41.000Z | 2020-12-01T01:08:55.000Z | cdptools/tests/research_utils/__init__.py | joshuaipwork/cdptools | 5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295 | [
"BSD-3-Clause"
] | 116 | 2019-04-13T23:30:28.000Z | 2021-01-29T05:02:36.000Z | cdptools/tests/research_utils/__init__.py | joshuaipwork/cdptools | 5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295 | [
"BSD-3-Clause"
] | 11 | 2019-08-15T16:32:52.000Z | 2020-10-29T21:14:19.000Z | # -*- coding: utf-8 -*-
"""Unit test package for cdptools.research_utils."""
| 19.5 | 52 | 0.641026 | 10 | 78 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 78 | 3 | 53 | 26 | 0.716418 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6f4eda7e9e56c4c81e3faebc9e31559bb32f28b | 160 | py | Python | sandbox/shipping/repository.py | Bastilla123/shop2 | b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba | [
"BSD-3-Clause"
] | null | null | null | sandbox/shipping/repository.py | Bastilla123/shop2 | b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba | [
"BSD-3-Clause"
] | 12 | 2021-12-01T11:05:47.000Z | 2022-03-01T11:06:09.000Z | sandbox/shipping/repository.py | Bastilla123/shop2 | b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba | [
"BSD-3-Clause"
] | null | null | null | from oscar.apps.shipping import repository
from . import methods
class Repository(repository.Repository):
methods = (methods.Free(),methods.DHL_Standard()) | 32 | 53 | 0.7875 | 19 | 160 | 6.578947 | 0.578947 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 160 | 5 | 53 | 32 | 0.874126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc054ef3c68de857b1b477a7bee7d0643dfda0e3 | 79 | py | Python | api/wsgi.py | ubirch/qrcode-decoder-playground | 33472ede29b0e605a8fa140bea1605ab515da0b5 | [
"Apache-2.0"
] | null | null | null | api/wsgi.py | ubirch/qrcode-decoder-playground | 33472ede29b0e605a8fa140bea1605ab515da0b5 | [
"Apache-2.0"
] | null | null | null | api/wsgi.py | ubirch/qrcode-decoder-playground | 33472ede29b0e605a8fa140bea1605ab515da0b5 | [
"Apache-2.0"
] | null | null | null | from .app import app
# production specific config
app.config['DEBUG'] = False
| 15.8 | 28 | 0.746835 | 11 | 79 | 5.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 4 | 29 | 19.75 | 0.880597 | 0.329114 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc1ba6efc5809ac0d54e0e3220a4e09183d4305b | 239 | py | Python | dynamicInheritance/editor/nodes/nodeB.py | Derfies/doodads | d6bea9eec3e5bc8087a8aba758748dea68e1df25 | [
"MIT"
] | null | null | null | dynamicInheritance/editor/nodes/nodeB.py | Derfies/doodads | d6bea9eec3e5bc8087a8aba758748dea68e1df25 | [
"MIT"
] | null | null | null | dynamicInheritance/editor/nodes/nodeB.py | Derfies/doodads | d6bea9eec3e5bc8087a8aba758748dea68e1df25 | [
"MIT"
] | null | null | null | class NodeB( object ):
def __init__( self ):
super( NodeB, self ).__init__()
print 'NodeB EDITOR init'
def doSomething( self ):
super( NodeB, self ).doSomething()
print 'NodeB EDITOR doSomething' | 23.9 | 42 | 0.598326 | 25 | 239 | 5.4 | 0.4 | 0.133333 | 0.207407 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297071 | 239 | 10 | 43 | 23.9 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.170833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc3ea8880afeddda732812a66a0d7383f3d263a5 | 1,205 | py | Python | py/tests/integration/keys.py | tsloughter/epoch | 0e1227c5b337f2574d3757c18b9eca3d9c04a49f | [
"ISC"
] | 7 | 2018-06-05T01:57:29.000Z | 2022-02-23T09:12:53.000Z | py/tests/integration/keys.py | tsloughter/epoch | 0e1227c5b337f2574d3757c18b9eca3d9c04a49f | [
"ISC"
] | null | null | null | py/tests/integration/keys.py | tsloughter/epoch | 0e1227c5b337f2574d3757c18b9eca3d9c04a49f | [
"ISC"
] | 3 | 2018-07-02T08:54:21.000Z | 2019-12-23T06:12:17.000Z | import nacl.encoding
import nacl.signing
from nacl.signing import SigningKey, VerifyKey
from nacl.hash import blake2b
import common
def new_private():
return SigningKey.generate()
def public_key(private_key):
return private_key.verify_key
def address(public_key):
return common.encode_pubkey(public_key.e... | 31.710526 | 104 | 0.794191 | 166 | 1,205 | 5.475904 | 0.228916 | 0.088009 | 0.044004 | 0.079208 | 0.437844 | 0.310231 | 0.256326 | 0.184818 | 0.184818 | 0.184818 | 0 | 0.00566 | 0.120332 | 1,205 | 37 | 105 | 32.567568 | 0.851887 | 0 | 0 | 0.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.296296 | false | 0 | 0.185185 | 0.185185 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
fc5fef2aa20a2afc9df65d8a2974278e0ddc2135 | 351 | py | Python | config.py | AzogMugen/stack-versions-tracker | 7af8653b94add32043a9ef28f669c668bf90f90f | [
"CC0-1.0"
] | null | null | null | config.py | AzogMugen/stack-versions-tracker | 7af8653b94add32043a9ef28f669c668bf90f90f | [
"CC0-1.0"
] | null | null | null | config.py | AzogMugen/stack-versions-tracker | 7af8653b94add32043a9ef28f669c668bf90f90f | [
"CC0-1.0"
] | null | null | null | import os
os.environ['MONGODB_HOSTNAME'] = '127.0.0.1' # => to delete when mongo docker ready
MONGO_URI = 'mongodb://' + os.environ['MONGODB_HOSTNAME'] + ':27017' # => to delete when mongo docker ready
# MONGO_URI = 'mongodb://' + os.environ['MONGODB_USERNAME'] + ':' + os.environ['MONGODB_PASSWORD'] + '@' + os.environ... | 70.2 | 148 | 0.675214 | 46 | 351 | 5 | 0.391304 | 0.195652 | 0.347826 | 0.313043 | 0.695652 | 0.513043 | 0.513043 | 0.513043 | 0.513043 | 0.513043 | 0 | 0.052117 | 0.125356 | 351 | 5 | 148 | 70.2 | 0.697068 | 0.626781 | 0 | 0 | 0 | 0 | 0.445313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc65f06a0fa2132b8efb5f6341313c0679a0e90c | 73 | py | Python | pycraft/__main__.py | xeddmc/pycraft | 24d6b97cd0c1c4649b86d91d4bb419834a03bdad | [
"MIT"
] | 1,232 | 2016-04-09T18:41:50.000Z | 2022-01-15T20:00:39.000Z | pycraft/__main__.py | xeddmc/pycraft | 24d6b97cd0c1c4649b86d91d4bb419834a03bdad | [
"MIT"
] | 75 | 2016-04-09T14:43:04.000Z | 2020-08-11T02:30:22.000Z | pycraft/__main__.py | xeddmc/pycraft | 24d6b97cd0c1c4649b86d91d4bb419834a03bdad | [
"MIT"
] | 146 | 2016-04-09T21:33:05.000Z | 2021-11-01T09:29:48.000Z |
if __name__ == '__main__':
from pycraft.main import main
main()
| 14.6 | 33 | 0.643836 | 9 | 73 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 73 | 4 | 34 | 18.25 | 0.709091 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 4 |
fc72b5a60600775b4b24026d12bf92f15a001ffd | 95 | py | Python | webdisplay/apps.py | anurag5398/V2Droid | 2ea825f5a4a00d391c921a28fa5f4648ba89fecb | [
"MIT"
] | null | null | null | webdisplay/apps.py | anurag5398/V2Droid | 2ea825f5a4a00d391c921a28fa5f4648ba89fecb | [
"MIT"
] | null | null | null | webdisplay/apps.py | anurag5398/V2Droid | 2ea825f5a4a00d391c921a28fa5f4648ba89fecb | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WebdisplayConfig(AppConfig):
name = 'webdisplay'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fc9325ba3ca2b555541a64d4250c082e54a1dc53 | 189 | py | Python | Chapter01/single_double_comments.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 12 | 2018-07-09T16:20:31.000Z | 2022-03-21T22:52:15.000Z | Chapter01/single_double_comments.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | null | null | null | Chapter01/single_double_comments.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 19 | 2018-01-09T12:49:06.000Z | 2021-11-23T08:05:55.000Z | #This is a single line comment in Python
print "Hello World" #This is a single comment in Python
""" For multi-line
comment use three
double quotes
...
"""
print "Hello World!" | 18.9 | 56 | 0.68254 | 29 | 189 | 4.448276 | 0.586207 | 0.093023 | 0.108527 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227513 | 189 | 10 | 57 | 18.9 | 0.883562 | 0.386243 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fc9601afcde8a93dc0d670f6fd8b2811ed069476 | 193 | py | Python | AFL-wasm/.ycm_extra_conf.py | fuzzm/fuzzm-project | 93c7a7e6c934a6de106c27d2042baa6938685d54 | [
"Apache-2.0"
] | 16 | 2021-08-14T08:43:58.000Z | 2022-03-30T05:27:04.000Z | AFL-wasm/.ycm_extra_conf.py | fuzzm/fuzzm-project | 93c7a7e6c934a6de106c27d2042baa6938685d54 | [
"Apache-2.0"
] | null | null | null | AFL-wasm/.ycm_extra_conf.py | fuzzm/fuzzm-project | 93c7a7e6c934a6de106c27d2042baa6938685d54 | [
"Apache-2.0"
] | 2 | 2021-08-25T10:34:12.000Z | 2022-02-18T07:49:05.000Z | import os
def Settings( **kwargs ):
wasmtime_c_api = os.environ.get('WASMTIME_C_API')
return {
'flags': [ f'-I{wasmtime_c_api}/include', f'-L{wasmtime_c_api}/lib', '-lwasmtime' ],
}
| 24.125 | 88 | 0.658031 | 29 | 193 | 4.103448 | 0.62069 | 0.302521 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150259 | 193 | 7 | 89 | 27.571429 | 0.72561 | 0 | 0 | 0 | 0 | 0 | 0.398964 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc9e41f098659314e73851d3f035477f761b8d56 | 179 | py | Python | traffiq/forms.py | boyombo/smsbet | 66c20494b729c930edec553fe71e2084222acc4a | [
"MIT"
] | null | null | null | traffiq/forms.py | boyombo/smsbet | 66c20494b729c930edec553fe71e2084222acc4a | [
"MIT"
] | null | null | null | traffiq/forms.py | boyombo/smsbet | 66c20494b729c930edec553fe71e2084222acc4a | [
"MIT"
] | null | null | null | from django import forms
from traffiq.models import TrafficReport
class TrafficForm(forms.ModelForm):
class Meta:
model = TrafficReport
exclude = ('when',)
| 17.9 | 40 | 0.698324 | 19 | 179 | 6.578947 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22905 | 179 | 9 | 41 | 19.888889 | 0.905797 | 0 | 0 | 0 | 0 | 0 | 0.022346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d7a013c1792db4374a9aa2801a9ed297a38d526 | 3,830 | py | Python | vhdmmio/config/permissions.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 4 | 2019-07-01T14:41:38.000Z | 2021-11-28T12:54:49.000Z | vhdmmio/config/permissions.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 4 | 2019-08-23T15:05:24.000Z | 2020-12-16T10:02:20.000Z | vhdmmio/config/permissions.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 1 | 2021-07-16T13:41:21.000Z | 2021-07-16T13:41:21.000Z | """Submodule for `PermissionConfig` configurable."""
from ..configurable import configurable, Configurable, flag
@configurable(name='Permissions')
class PermissionConfig(Configurable):
"""This configuration structure defines the privilege levels that are
allowed to access a field based on the `aw_prot` and `a... | 42.087912 | 79 | 0.696606 | 530 | 3,830 | 5.030189 | 0.430189 | 0.021005 | 0.027007 | 0.03826 | 0.171793 | 0.125656 | 0.125656 | 0.114779 | 0.102026 | 0.075769 | 0 | 0.007189 | 0.237337 | 3,830 | 90 | 80 | 42.555556 | 0.905512 | 0.813577 | 0 | 0.571429 | 0 | 0 | 0.021956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.047619 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5d802b6e7ffffe72d7d68e18c43daa8effd54d9e | 887 | py | Python | examples/teb803/dma-example/led_blinker.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 1 | 2020-06-23T16:03:22.000Z | 2020-06-23T16:03:22.000Z | examples/teb803/dma-example/led_blinker.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | null | null | null | examples/teb803/dma-example/led_blinker.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time
from koheron import command, connect
import matplotlib.pyplot as plt
import numpy as np
import sys
class LedBlinker(object):
def __init__(self, client):
self.client = client
@command(classname='LedBlinker')
def set_leds(self, led... | 22.74359 | 66 | 0.676437 | 115 | 887 | 4.982609 | 0.530435 | 0.069808 | 0.181501 | 0.202443 | 0.328098 | 0.125654 | 0 | 0 | 0 | 0 | 0 | 0.02805 | 0.196167 | 887 | 38 | 67 | 23.342105 | 0.775596 | 0.047351 | 0 | 0.307692 | 0 | 0 | 0.131986 | 0.036861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0.076923 | 0.230769 | 0.076923 | 0.538462 | 0.038462 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5d83cc02cadff6946186c0a8a035975a83d4b335 | 118 | py | Python | hysia/utils/__init__.py | fossabot/Video-to-Online-Platform | 46019562f072a5dc2a92684986411d7f88758882 | [
"Apache-2.0"
] | 82 | 2019-10-04T05:40:45.000Z | 2020-03-14T06:40:02.000Z | hysia/utils/__init__.py | wangyongjie-ntu/Video-to-Online-Platform | b1230c8f702487225566b5be13947bd6f7904556 | [
"Apache-2.0"
] | 9 | 2020-06-04T19:31:59.000Z | 2021-01-10T02:32:02.000Z | hysia/utils/__init__.py | wangyongjie-ntu/Video-to-Online-Platform | b1230c8f702487225566b5be13947bd6f7904556 | [
"Apache-2.0"
] | 24 | 2019-10-04T05:46:46.000Z | 2020-05-30T05:22:32.000Z | # @Time : 13/2/19 1:39 PM
# @Author : Huaizheng Zhang
# @Site : zhanghuaizheng.info
# @File : __init__.py.py | 29.5 | 32 | 0.610169 | 17 | 118 | 4 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.237288 | 118 | 4 | 33 | 29.5 | 0.666667 | 0.932203 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d8663f56159005f69d3cae4f8f534b8a4e01602 | 158 | py | Python | auto_comm/init.py | RossSmyth/auto_comm | d5d79b99560b0bc09090d5304ae9d00041e14427 | [
"BlueOak-1.0.0"
] | null | null | null | auto_comm/init.py | RossSmyth/auto_comm | d5d79b99560b0bc09090d5304ae9d00041e14427 | [
"BlueOak-1.0.0"
] | null | null | null | auto_comm/init.py | RossSmyth/auto_comm | d5d79b99560b0bc09090d5304ae9d00041e14427 | [
"BlueOak-1.0.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Sep 10 13:31:38 2019
@author: Ross
@title: MTU Aerospace Enterprise Communication Testing Library
@version: 0
"""
| 17.555556 | 62 | 0.689873 | 23 | 158 | 4.73913 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 0.164557 | 158 | 8 | 63 | 19.75 | 0.719697 | 0.936709 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5def1cd6130cb1d8c7b20ba4489fb03a2133264b | 220 | py | Python | Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py | VictorBenoiston/Primeiro_trabalho_calculo_numerico | 80213b362f9b527339eaf3d0b0a3f7ae77c26eee | [
"MIT"
] | null | null | null | Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py | VictorBenoiston/Primeiro_trabalho_calculo_numerico | 80213b362f9b527339eaf3d0b0a3f7ae77c26eee | [
"MIT"
] | null | null | null | Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py | VictorBenoiston/Primeiro_trabalho_calculo_numerico | 80213b362f9b527339eaf3d0b0a3f7ae77c26eee | [
"MIT"
] | null | null | null | import xlsxwriter as xl
import time
import numpy as np
# Chute inicial entre o intervalo // Intervalo = [-1.5; -1.25] // f(x) = x^3 - 9x + 5 // função de iteração = (x^3+5) / 9
# Precisão = 10^2
print(3 * (-1.5 ** 4))
| 24.444444 | 121 | 0.604545 | 41 | 220 | 3.243902 | 0.682927 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 0.218182 | 220 | 8 | 122 | 27.5 | 0.668605 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 | 1 | 0 | 0 | 4 |
5dfeb60119508d31c30222ce638875559843c6ce | 49 | py | Python | features/test.py | julianojstavares/selenium_behave_globoesporte | 494c4287b02ee2a2eadaac4c6ee704cb183d3182 | [
"MIT"
] | null | null | null | features/test.py | julianojstavares/selenium_behave_globoesporte | 494c4287b02ee2a2eadaac4c6ee704cb183d3182 | [
"MIT"
] | null | null | null | features/test.py | julianojstavares/selenium_behave_globoesporte | 494c4287b02ee2a2eadaac4c6ee704cb183d3182 | [
"MIT"
] | null | null | null | file = open("features/results/results.txt", 'r')
| 24.5 | 48 | 0.693878 | 7 | 49 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.591837 | 0.571429 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f8d99bdd4773d9c69a6ab78b9c87cc3b07c9def8 | 722 | py | Python | ee_extra/__init__.py | aazuspan/ee_extra | cb21c401e1d8383837db0f651becb959a3247e25 | [
"Apache-2.0"
] | 1 | 2022-03-31T14:38:50.000Z | 2022-03-31T14:38:50.000Z | ee_extra/__init__.py | aazuspan/ee_extra | cb21c401e1d8383837db0f651becb959a3247e25 | [
"Apache-2.0"
] | null | null | null | ee_extra/__init__.py | aazuspan/ee_extra | cb21c401e1d8383837db0f651becb959a3247e25 | [
"Apache-2.0"
] | null | null | null | """
ee_extra Extensions.
"""
__version__ = "0.0.13"
from ee_extra.Image.basic import *
from ee_extra.ImageCollection.core import *
from ee_extra.JavaScript import (
translate_general,
translate_utils,
translate_functions,
translate_jsm_extra,
translate_jsm_wrappers,
translate_specialfunctions,... | 26.740741 | 56 | 0.813019 | 101 | 722 | 5.524752 | 0.316832 | 0.163082 | 0.236559 | 0.188172 | 0.241935 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.130194 | 722 | 26 | 57 | 27.769231 | 0.882166 | 0.027701 | 0 | 0 | 0 | 0 | 0.008646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d16f26fcbcab1597603e35bfbab4d0aff9134bf | 77 | py | Python | python/testData/resolve/DocStringInstance.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/DocStringInstance.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/DocStringInstance.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class Foo:
"Docstring of class Foo"
pass
foo = Foo()
foo._<ref>_doc__
| 8.555556 | 26 | 0.649351 | 12 | 77 | 3.833333 | 0.583333 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 77 | 8 | 27 | 9.625 | 0.779661 | 0.285714 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5d314fe1517e2881165a0342c6d51c02e5211f58 | 125 | py | Python | run.py | jonathaneunice/pythonhier | 6dfa3c2ffe5977af0ca31dda00d298df36a1900d | [
"Apache-2.0"
] | null | null | null | run.py | jonathaneunice/pythonhier | 6dfa3c2ffe5977af0ca31dda00d298df36a1900d | [
"Apache-2.0"
] | null | null | null | run.py | jonathaneunice/pythonhier | 6dfa3c2ffe5977af0ca31dda00d298df36a1900d | [
"Apache-2.0"
] | null | null | null |
from app.model import BigModel
from app.helpers.helper1 import helper_fn1
print "run.py"
helper_fn1()
b = BigModel
print b | 13.888889 | 42 | 0.784 | 21 | 125 | 4.571429 | 0.619048 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.144 | 125 | 9 | 43 | 13.888889 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0.048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d37c03876a615cc1207bb2a639efecc37d6d2c0 | 142 | py | Python | src/py_scripts/fc_consensus.py | peterjc/FALCON | ab80e88e1278879f28fe83b9fa0382249213444e | [
"BSD-3-Clause-Clear"
] | 216 | 2015-01-23T09:18:26.000Z | 2022-03-04T14:22:39.000Z | src/py_scripts/fc_consensus.py | PacificBiosciences/FALCON | ab80e88e1278879f28fe83b9fa0382249213444e | [
"BSD-3-Clause-Clear"
] | 646 | 2015-01-07T18:16:50.000Z | 2022-03-14T20:50:12.000Z | src/py_scripts/fc_consensus.py | peterjc/FALCON | ab80e88e1278879f28fe83b9fa0382249213444e | [
"BSD-3-Clause-Clear"
] | 118 | 2015-01-13T00:02:43.000Z | 2022-01-11T11:56:49.000Z | from __future__ import absolute_import
from falcon_kit.mains.consensus import main
import sys
if __name__ == "__main__":
main(sys.argv)
| 17.75 | 43 | 0.78169 | 20 | 142 | 4.85 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147887 | 142 | 7 | 44 | 20.285714 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d521f801cee81e23676997b98735fb11f96d7ee | 128 | py | Python | dhf_wrapper/__init__.py | Enflow-io/dhf-pay-python | 7c32461d3b2a5018151b2a16a0cc0ad6850b88b1 | [
"Apache-2.0"
] | 1 | 2022-02-16T10:58:09.000Z | 2022-02-16T10:58:09.000Z | dhf_wrapper/__init__.py | Enflow-io/dhf-pay-python | 7c32461d3b2a5018151b2a16a0cc0ad6850b88b1 | [
"Apache-2.0"
] | null | null | null | dhf_wrapper/__init__.py | Enflow-io/dhf-pay-python | 7c32461d3b2a5018151b2a16a0cc0ad6850b88b1 | [
"Apache-2.0"
] | 2 | 2022-02-21T03:56:48.000Z | 2022-03-08T22:15:19.000Z | __all__ = ('TransactionClient', 'PaymentClient',)
from .client import TransactionClient, PaymentClient
__version__ = "0.0.2"
| 18.285714 | 52 | 0.757813 | 12 | 128 | 7.416667 | 0.75 | 0.674157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.117188 | 128 | 6 | 53 | 21.333333 | 0.761062 | 0 | 0 | 0 | 0 | 0 | 0.273438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d5b555a030f613bf819c08a4ae85387dc0a9805 | 2,466 | py | Python | python/words_score.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | null | null | null | python/words_score.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | 1 | 2019-02-23T18:30:51.000Z | 2019-02-23T18:30:51.000Z | python/words_score.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 27 11:04:50 2019
@author: Ham
HackerRanch Challenge: Words Score
In this challenge, the task is to debug the existing code
to successfully execute all provided test files.
Consider that vowels in the alphabet are a, e, i, o, u and y.
Function score_words ... | 27.4 | 91 | 0.699108 | 441 | 2,466 | 3.891156 | 0.30839 | 0.037296 | 0.040793 | 0.024476 | 0.130536 | 0.090909 | 0.058275 | 0.058275 | 0.024476 | 0.024476 | 0 | 0.026767 | 0.242498 | 2,466 | 89 | 92 | 27.707865 | 0.891863 | 0.845499 | 0 | 0 | 0 | 0 | 0.021661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5d6e6a4d8d98a72bc82c92f5e84a961cfb3c87b7 | 20,848 | py | Python | test/unit/test_contracts_graph_compiled.py | majidaldo/dbt | 69c644b4da0200b3d1c809397ac0a524ac31990b | [
"Apache-2.0"
] | 1 | 2019-04-04T15:55:42.000Z | 2019-04-04T15:55:42.000Z | test/unit/test_contracts_graph_compiled.py | majidaldo/dbt | 69c644b4da0200b3d1c809397ac0a524ac31990b | [
"Apache-2.0"
] | 50 | 2021-11-02T06:20:50.000Z | 2022-03-31T06:23:16.000Z | test/unit/test_contracts_graph_compiled.py | majidaldo/dbt | 69c644b4da0200b3d1c809397ac0a524ac31990b | [
"Apache-2.0"
] | 1 | 2021-11-23T20:28:07.000Z | 2021-11-23T20:28:07.000Z | import pickle
import pytest
from dbt.contracts.files import FileHash
from dbt.contracts.graph.compiled import (
CompiledModelNode, InjectedCTE, CompiledSchemaTestNode
)
from dbt.contracts.graph.parsed import (
DependsOn, NodeConfig, TestConfig, TestMetadata, ColumnInfo
)
from dbt.node_types import NodeType
fr... | 35.216216 | 142 | 0.607972 | 2,305 | 20,848 | 5.275922 | 0.083731 | 0.034866 | 0.024998 | 0.041937 | 0.832004 | 0.747143 | 0.721404 | 0.681194 | 0.657676 | 0.637694 | 0 | 0.017636 | 0.23844 | 20,848 | 591 | 143 | 35.275804 | 0.748315 | 0.055353 | 0 | 0.656863 | 0 | 0 | 0.230484 | 0.024395 | 0 | 0 | 0 | 0 | 0.068627 | 1 | 0.045098 | false | 0 | 0.013725 | 0.019608 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5375091bd6be5f23a31f3cea0e45505e9809c7cb | 64 | py | Python | olang/__init__.py | spralja/olang | aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa | [
"MIT"
] | null | null | null | olang/__init__.py | spralja/olang | aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa | [
"MIT"
] | null | null | null | olang/__init__.py | spralja/olang | aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa | [
"MIT"
] | null | null | null |
__version__ = '0.0.0'
from . import feed
from . import token
| 10.666667 | 22 | 0.671875 | 10 | 64 | 3.9 | 0.6 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.21875 | 64 | 5 | 23 | 12.8 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
539cd52380e58e55297f3e52f93f8d5a8f381a05 | 145 | py | Python | contest/abc065/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc065/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc065/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | x, a, b = map(int, input().split())
if (x + a) < b:
print('dangerous')
elif a < b <= (x + a):
print('safe')
else:
print('delicious')
| 18.125 | 35 | 0.503448 | 23 | 145 | 3.173913 | 0.608696 | 0.082192 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248276 | 145 | 7 | 36 | 20.714286 | 0.669725 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.