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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12f3e15449887a93928072028cfc90fcace19042 | 322 | py | Python | 3-Python-Advanced (May 2021)/modules/gui_shop/main.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 3-Python-Advanced (May 2021)/modules/gui_shop/main.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 3-Python-Advanced (May 2021)/modules/gui_shop/main.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | # from authentication import render_main_enter_screen
from modules.gui_shop.authentication import render_main_enter_screen
from modules.gui_shop.canvas import tk
if __name__ == '__main__':
render_main_enter_screen()
tk.mainloop() # keeps the window on our screen until we close it. Otherwise it wold disappears.... | 35.777778 | 99 | 0.807453 | 47 | 322 | 5.12766 | 0.574468 | 0.124481 | 0.186722 | 0.261411 | 0.489627 | 0.489627 | 0.489627 | 0.489627 | 0.489627 | 0.489627 | 0 | 0 | 0.136646 | 322 | 8 | 100 | 40.25 | 0.866906 | 0.406832 | 0 | 0 | 0 | 0 | 0.042781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
423b6446a4147ac8847fd61fe08d00fde1329fff | 46 | py | Python | app/v1/__init__.py | josephniel/python-base | 63ef4218a01250e03041be90bd4c773ceea42336 | [
"MIT"
] | null | null | null | app/v1/__init__.py | josephniel/python-base | 63ef4218a01250e03041be90bd4c773ceea42336 | [
"MIT"
] | null | null | null | app/v1/__init__.py | josephniel/python-base | 63ef4218a01250e03041be90bd4c773ceea42336 | [
"MIT"
] | null | null | null | # just so that the folder is seen as a module
| 23 | 45 | 0.73913 | 10 | 46 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 46 | 1 | 46 | 46 | 0.971429 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4249b5da7fe77f6e6671782085bdbbf375ac1496 | 46 | py | Python | static_data/__init__.py | dp0973/static-data | bba6f209bcef9844c57b5aadba49e9e70ae6cfed | [
"MIT"
] | 2 | 2021-07-25T04:01:46.000Z | 2021-08-31T19:18:48.000Z | static_data/__init__.py | dp0973/static-data | bba6f209bcef9844c57b5aadba49e9e70ae6cfed | [
"MIT"
] | 1 | 2021-08-31T19:47:46.000Z | 2021-09-01T06:56:18.000Z | static_data/__init__.py | dp0973/static-data | bba6f209bcef9844c57b5aadba49e9e70ae6cfed | [
"MIT"
] | 2 | 2021-07-25T04:01:56.000Z | 2021-08-31T19:31:55.000Z | from static_data.ddragon import(
ddragon
) | 15.333333 | 32 | 0.76087 | 6 | 46 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 33 | 15.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
42843cab8606607f30c24da11fb9c0c7a7e0c373 | 328 | py | Python | (Ex4)_Neural_Network_model_implementation/Sigmoid.py | HarryPham0123/Coursera_Machine_learning_AndrewNg | ae1fa34969fa0dafd44aa6606f6749c09b447239 | [
"MIT"
] | 1 | 2021-11-10T07:23:30.000Z | 2021-11-10T07:23:30.000Z | (Ex4)_Neural_Network_model_implementation/Sigmoid.py | HarryPham0123/Coursera_Machine_learning_AndrewNg | ae1fa34969fa0dafd44aa6606f6749c09b447239 | [
"MIT"
] | null | null | null | (Ex4)_Neural_Network_model_implementation/Sigmoid.py | HarryPham0123/Coursera_Machine_learning_AndrewNg | ae1fa34969fa0dafd44aa6606f6749c09b447239 | [
"MIT"
] | null | null | null | import numpy as np
# (NOTE) Sigmoid function used for logistic regression (non-linear regression)
# TODO Logistic function (Sigmoid function)
def sigmoid(z):
return 1 / (1 + np.exp(-z))
# TODO return gradient (derivative) of sigmoid function
def sigmoid_gradient(z):
return sigmoid(z) * (1-sigmoid... | 23.428571 | 79 | 0.689024 | 45 | 328 | 5 | 0.488889 | 0.2 | 0.16 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011538 | 0.207317 | 328 | 13 | 80 | 25.230769 | 0.853846 | 0.52439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4286b8de9b0c3f35fb0b97be8f62944d79463d42 | 10,182 | py | Python | mayan/apps/tags/tests/test_views.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 4 | 2019-02-17T08:35:42.000Z | 2019-03-28T06:02:11.000Z | mayan/apps/tags/tests/test_views.py | zhoubear/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 1 | 2018-10-11T13:01:34.000Z | 2018-10-11T13:01:34.000Z | mayan/apps/tags/tests/test_views.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 3 | 2019-01-29T13:21:57.000Z | 2019-10-27T03:20:15.000Z | from __future__ import unicode_literals
from documents.permissions import permission_document_view
from documents.tests import GenericDocumentViewTestCase
from ..models import Tag
from ..permissions import (
permission_tag_attach, permission_tag_create, permission_tag_delete,
permission_tag_edit, permission_t... | 32.018868 | 79 | 0.677077 | 1,239 | 10,182 | 5.213075 | 0.073446 | 0.037932 | 0.074779 | 0.055736 | 0.884657 | 0.828766 | 0.789286 | 0.723022 | 0.691438 | 0.677814 | 0 | 0.008386 | 0.227067 | 10,182 | 317 | 80 | 32.119874 | 0.812325 | 0.022294 | 0 | 0.610092 | 0 | 0 | 0.029654 | 0.016586 | 0 | 0 | 0 | 0 | 0.183486 | 1 | 0.12844 | false | 0 | 0.027523 | 0.041284 | 0.201835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
428c86bb9a75f4ce9ca6bde70020a25995130302 | 171 | py | Python | src/wafp/targets/__init__.py | schemathesis/web-api-fuzzing-project | 69916d9ba9c8c844c7f529dd116790b1f7a135a9 | [
"MIT"
] | 5 | 2021-05-10T16:14:46.000Z | 2021-09-18T13:29:42.000Z | src/wafp/targets/__init__.py | schemathesis/web-api-fuzzing-project | 69916d9ba9c8c844c7f529dd116790b1f7a135a9 | [
"MIT"
] | 4 | 2021-05-10T10:42:56.000Z | 2021-11-13T08:15:11.000Z | src/wafp/targets/__init__.py | schemathesis/web-api-fuzzing-project | 69916d9ba9c8c844c7f529dd116790b1f7a135a9 | [
"MIT"
] | null | null | null | from . import cli, loader
from .core import BaseTarget
from .metadata import Language, Metadata, Package, SchemaSource, SchemaSourceType, Specification, SpecificationType
| 42.75 | 115 | 0.830409 | 18 | 171 | 7.888889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 171 | 3 | 116 | 57 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c41010cc65e3cfab36a240c31f997527a2c29416 | 91 | py | Python | api/__init__.py | xuhdev/MAX-Text-Sentiment-Classifier | be40b49491726cb16a59715cd1e22b566a1710cc | [
"Apache-2.0"
] | null | null | null | api/__init__.py | xuhdev/MAX-Text-Sentiment-Classifier | be40b49491726cb16a59715cd1e22b566a1710cc | [
"Apache-2.0"
] | null | null | null | api/__init__.py | xuhdev/MAX-Text-Sentiment-Classifier | be40b49491726cb16a59715cd1e22b566a1710cc | [
"Apache-2.0"
] | null | null | null | from .metadata import ModelMetadataAPI # noqa
from .predict import ModelPredictAPI # noqa | 45.5 | 46 | 0.813187 | 10 | 91 | 7.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 2 | 47 | 45.5 | 0.948718 | 0.098901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c41b7109b9723858b0684045387d7e9834fc0274 | 13,334 | py | Python | BinanceCTOrder.py | a2gs/BinanceCopyTrade | 78d77a303487e77acbe02b5c3d96502c842789ce | [
"MIT"
] | 8 | 2020-10-06T20:49:44.000Z | 2022-02-27T01:47:17.000Z | BinanceCTOrder.py | a2gs/BinanceCopyTrade | 78d77a303487e77acbe02b5c3d96502c842789ce | [
"MIT"
] | 1 | 2021-04-19T03:16:44.000Z | 2021-05-04T14:32:38.000Z | BinanceCTOrder.py | a2gs/BinanceCopyTrade | 78d77a303487e77acbe02b5c3d96502c842789ce | [
"MIT"
] | 1 | 2022-03-11T00:56:27.000Z | 2022-03-11T00:56:27.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Andre Augusto Giannotti Scota
# andre.scota@gmail.com
# MIT license
from binance.client import Client
from binance.exceptions import BinanceAPIException, BinanceWithdrawException, BinanceRequestException, BinanceOrderException, BinanceOrderMinAmountException, BinanceOr... | 45.047297 | 291 | 0.597345 | 1,410 | 13,334 | 5.553901 | 0.113475 | 0.036266 | 0.037926 | 0.058996 | 0.768101 | 0.751373 | 0.732984 | 0.723662 | 0.700932 | 0.660963 | 0 | 0.004556 | 0.19349 | 13,334 | 295 | 292 | 45.2 | 0.723638 | 0.031648 | 0 | 0.518182 | 0 | 0 | 0.441322 | 0.155114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040909 | false | 0 | 0.009091 | 0 | 0.109091 | 0.013636 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c4230dcb6ac2d7afa95c7dc2e76035d72e433952 | 73 | py | Python | spikeforest/spikesorters/spyking_circus/spykingcircussortingextractor/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikesorters/spyking_circus/spykingcircussortingextractor/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikesorters/spyking_circus/spykingcircussortingextractor/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | from .spykingcircussortingextractor import SpykingCircusSortingExtractor
| 36.5 | 72 | 0.931507 | 4 | 73 | 17 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.985507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c449cf4ac62a7e9e6b3650f498c1bf442e497b98 | 191 | py | Python | tests/pyccel/scripts/import_syntax/user_mod.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 206 | 2018-06-28T00:28:47.000Z | 2022-03-29T05:17:03.000Z | tests/pyccel/scripts/import_syntax/user_mod.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 670 | 2018-07-23T11:02:24.000Z | 2022-03-30T07:28:05.000Z | tests/pyccel/scripts/import_syntax/user_mod.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 19 | 2019-09-19T06:01:00.000Z | 2022-03-29T05:17:06.000Z | # pylint: disable=missing-function-docstring, missing-module-docstring/
from pyccel.decorators import types
@types('double','double','double')
def user_func(x1, x2, x3):
return x1+x2+x3
| 27.285714 | 71 | 0.748691 | 27 | 191 | 5.259259 | 0.703704 | 0.169014 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.104712 | 191 | 6 | 72 | 31.833333 | 0.795322 | 0.361257 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c45d2739227d6d132c5ddb1ba9c2e8c66013d3ec | 257 | py | Python | test/utils/test_learning_rate.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | 287 | 2020-06-13T05:19:50.000Z | 2022-03-31T04:46:32.000Z | test/utils/test_learning_rate.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | 19 | 2020-08-19T05:33:45.000Z | 2022-03-27T15:16:03.000Z | test/utils/test_learning_rate.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | 44 | 2020-07-06T00:41:44.000Z | 2022-03-29T17:05:08.000Z | from machin.utils.logging import default_logger
from machin.utils.learning_rate import gen_learning_rate_func
def test_gen_learning_rate_func():
func = gen_learning_rate_func([(0, 1e-3), (20000, 1e-3)], default_logger)
func(10000)
func(20001)
| 28.555556 | 77 | 0.770428 | 40 | 257 | 4.625 | 0.475 | 0.259459 | 0.243243 | 0.308108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.128405 | 257 | 8 | 78 | 32.125 | 0.736607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
c465dc4bc4a09d41cf33edb066ca57eaefcbe76c | 74 | py | Python | modelvshuman/models/wrappers/__init__.py | TizianThieringer/model-vs-human | 17729b8167520f682d93d55c340c27de07bb2681 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 158 | 2021-06-04T15:19:58.000Z | 2022-03-30T00:31:28.000Z | modelvshuman/models/wrappers/__init__.py | TizianThieringer/model-vs-human | 17729b8167520f682d93d55c340c27de07bb2681 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 7 | 2021-07-20T03:57:34.000Z | 2022-02-01T11:00:47.000Z | modelvshuman/models/wrappers/__init__.py | TizianThieringer/model-vs-human | 17729b8167520f682d93d55c340c27de07bb2681 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 14 | 2021-06-16T13:33:11.000Z | 2022-03-29T15:04:09.000Z | from .pytorch import PyTorchModel
from .tensorflow import TensorFlowModel
| 24.666667 | 39 | 0.864865 | 8 | 74 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 40 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c46c983d799d3afaf58d30ad66cc8674c22c2824 | 5,638 | py | Python | datacube_ows/styles/api/base.py | LiamOSullivan/datacube-ows | 6ff10853081b08d8de8485bd3c9c976cdae03390 | [
"Apache-2.0"
] | null | null | null | datacube_ows/styles/api/base.py | LiamOSullivan/datacube-ows | 6ff10853081b08d8de8485bd3c9c976cdae03390 | [
"Apache-2.0"
] | null | null | null | datacube_ows/styles/api/base.py | LiamOSullivan/datacube-ows | 6ff10853081b08d8de8485bd3c9c976cdae03390 | [
"Apache-2.0"
] | null | null | null | # This file is part of datacube-ows, part of the Open Data Cube project.
# See https://opendatacube.org for more information.
#
# Copyright (c) 2017-2021 OWS Contributors
# SPDX-License-Identifier: Apache-2.0
import xarray
from datacube_ows.startup_utils import initialise_ignorable_warnings
from datacube_ows.styles.ba... | 44.046875 | 111 | 0.690848 | 783 | 5,638 | 4.87484 | 0.238825 | 0.025151 | 0.027247 | 0.011003 | 0.722557 | 0.709458 | 0.709458 | 0.709458 | 0.709458 | 0.709458 | 0 | 0.004264 | 0.25133 | 5,638 | 127 | 112 | 44.393701 | 0.900024 | 0.693154 | 0 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.073171 | 0 | 0.341463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c471d7b8d0b668b38f19b7337cb1526c9df80129 | 3,933 | py | Python | baghchal/lookup_table.py | basnetsoyuj/baghchal | fb60a7a69b6698f07545150ee71a47837e920de8 | [
"MIT"
] | 6 | 2019-07-27T10:57:13.000Z | 2022-02-21T04:08:18.000Z | build/lib/baghchal/lookup_table.py | basnetsoyuj/BaghChal | fb60a7a69b6698f07545150ee71a47837e920de8 | [
"MIT"
] | 2 | 2021-06-08T20:09:10.000Z | 2021-10-08T14:35:30.000Z | build/lib/baghchal/lookup_table.py | basnetsoyuj/BaghChal | fb60a7a69b6698f07545150ee71a47837e920de8 | [
"MIT"
] | 1 | 2021-12-26T13:23:44.000Z | 2021-12-26T13:23:44.000Z | action_space={'11':0,'12':1,'13':2,'14':3,'15':4,'21':5,'22':6,'23':7,'24':8,'25':9,'31':10,'32':11,'33':12,'34':13,'35':14,'41':15,'42':16,'43':17,'44':18,'45':19,'51':20,'52':21,'53':22,'54':23,'55':24,'1112':25,'1121':26,'1122':27,'1113':28,'1131':29,'1133':30,'1213':31,'1211':32,'1222':33,'1232':34,'1214':35,'1312'... | 786.6 | 2,241 | 0.500636 | 944 | 3,933 | 2.075212 | 0.449153 | 0.035733 | 0.019908 | 0.014293 | 0.160286 | 0.057172 | 0.028586 | 0.02144 | 0 | 0 | 0 | 0.469554 | 0.002034 | 3,933 | 5 | 2,242 | 786.6 | 0.029554 | 0 | 0 | 0 | 0 | 0 | 0.207931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c48010964b516ab4ffd35a43829edf4b08f1291b | 105 | py | Python | tests/conftest.py | fraudlabspro/fraudlabspro-python | 8cdf454f728b84957ada3f5ef28840156d97181c | [
"MIT"
] | 4 | 2018-08-28T02:45:21.000Z | 2021-04-24T16:32:27.000Z | tests/conftest.py | ip2whois/ip2whois-python | 79af46c585e3d1e48135b2b985ce51d9a83fced5 | [
"MIT"
] | 3 | 2019-12-02T10:20:11.000Z | 2019-12-10T00:35:09.000Z | tests/conftest.py | ip2whois/ip2whois-python | 79af46c585e3d1e48135b2b985ce51d9a83fced5 | [
"MIT"
] | 1 | 2019-04-14T20:52:43.000Z | 2019-04-14T20:52:43.000Z | import pytest
@pytest.fixture(scope = 'module')
def global_data():
return {'apikey': "YOUR_API_KEY"} | 21 | 37 | 0.704762 | 14 | 105 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 5 | 37 | 21 | 0.78022 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
670bd31790214fb15af9efc26da19e9df6e23ac4 | 173 | py | Python | tests/web_platform/css_flexbox_1/test_flexbox_align_items_baseline.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_align_items_baseline.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_align_items_baseline.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestFlexbox_AlignItemsBaseline(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_align-items-baseline'))
| 28.833333 | 83 | 0.820809 | 19 | 173 | 7.105263 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.080925 | 173 | 5 | 84 | 34.6 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
672cd831cf90464dd8e97f0b6e382e38348304ac | 342 | py | Python | dis_calc.py | RAKS-Codes/Discount-calc | 64aa0e038520f723bb5fa6cf487f3f787df56bd2 | [
"Apache-2.0"
] | null | null | null | dis_calc.py | RAKS-Codes/Discount-calc | 64aa0e038520f723bb5fa6cf487f3f787df56bd2 | [
"Apache-2.0"
] | null | null | null | dis_calc.py | RAKS-Codes/Discount-calc | 64aa0e038520f723bb5fa6cf487f3f787df56bd2 | [
"Apache-2.0"
] | null | null | null | import math
import random
import os
def final_price():
final_price = (org_price - (org_price * (disc_perc/100)))
return int(final_price)
org_price = int(input("Enter the original price: "))
disc_perc = int(input("Enter the dicount %: \n"))
print("The final price after discount is: " , fina... | 22.8 | 62 | 0.643275 | 47 | 342 | 4.489362 | 0.489362 | 0.236967 | 0.184834 | 0.170616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.236842 | 342 | 15 | 63 | 22.8 | 0.796935 | 0 | 0 | 0 | 0 | 0 | 0.258359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0.111111 | 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 | 1 | 0 | 0 | 5 |
678594f6038f56c247450a3420bb47d0800d89f9 | 1,487 | py | Python | Player.py | NankNgSa/Tic-Tac-Toe | a1127689c04b2f8db7121b807df2d358b5eeaa25 | [
"MIT"
] | null | null | null | Player.py | NankNgSa/Tic-Tac-Toe | a1127689c04b2f8db7121b807df2d358b5eeaa25 | [
"MIT"
] | null | null | null | Player.py | NankNgSa/Tic-Tac-Toe | a1127689c04b2f8db7121b807df2d358b5eeaa25 | [
"MIT"
] | null | null | null |
from Board import Board
class Player:
global b
b = [" " for i in range(9)]
def __init__(self):
self.player = "x"
self.round = 0
def play(self):
while True:
# Board.print_board(b)
print("the round of the player " +self.player)
... | 20.652778 | 63 | 0.431069 | 169 | 1,487 | 3.757396 | 0.313609 | 0.07874 | 0.075591 | 0.059843 | 0.781102 | 0.781102 | 0.781102 | 0.781102 | 0.781102 | 0.781102 | 0 | 0.021823 | 0.476126 | 1,487 | 71 | 64 | 20.943662 | 0.793325 | 0.166106 | 0 | 0.5625 | 0 | 0 | 0.154386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.03125 | 0 | 0.1875 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67c40b8654792ae9e621c8612f93f5d8b5332956 | 176 | py | Python | server/stylegan2_hypotheses_explorer/logic/util/__init__.py | HealthML/StyleGAN2-Hypotheses-Explorer | 347d7a85cea4b5d13c8c27c8015a085997f377c8 | [
"MIT"
] | 2 | 2021-09-22T13:49:16.000Z | 2022-01-12T06:04:12.000Z | server/stylegan2_hypotheses_explorer/logic/util/__init__.py | HealthML/StyleGAN2-Hypotheses-Explorer | 347d7a85cea4b5d13c8c27c8015a085997f377c8 | [
"MIT"
] | null | null | null | server/stylegan2_hypotheses_explorer/logic/util/__init__.py | HealthML/StyleGAN2-Hypotheses-Explorer | 347d7a85cea4b5d13c8c27c8015a085997f377c8 | [
"MIT"
] | null | null | null | from .batched import batched
from .json import load, load_and_validate
from .meta import subclasses_dict
__all__ = ["batched", "load", "load_and_validate", "subclasses_dict"]
| 29.333333 | 69 | 0.784091 | 24 | 176 | 5.333333 | 0.458333 | 0.125 | 0.171875 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 176 | 5 | 70 | 35.2 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.244318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
67d8cb6c1fed98ab21ef0a28cf3ad480e42b57f7 | 66 | py | Python | automon/integrations/sentryio/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/integrations/sentryio/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/integrations/sentryio/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | from .client import SentryClient
from .config import SentryConfig
| 22 | 32 | 0.848485 | 8 | 66 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db2576ee46ce4b266866ce08dbf3f4913dbd4ee3 | 300 | py | Python | tests/02_acceptance/22_outputs_ext/conftest.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 1 | 2020-08-19T16:21:04.000Z | 2020-08-19T16:21:04.000Z | tests/02_acceptance/22_outputs_ext/conftest.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 86 | 2019-12-02T21:24:20.000Z | 2021-03-04T13:29:35.000Z | tests/02_acceptance/22_outputs_ext/conftest.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 1 | 2020-03-19T09:25:07.000Z | 2020-03-19T09:25:07.000Z | import pytest
from delatore.outputs import AlertaRunner, BotRunner
@pytest.fixture
def bot(service, stop_event):
return BotRunner(service, stop_event)
@pytest.fixture
def alerta(service, stop_event):
return AlertaRunner(msg_service=service, stop_event=stop_event, send_heartbeats=False)
| 21.428571 | 90 | 0.803333 | 39 | 300 | 6 | 0.487179 | 0.192308 | 0.273504 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 300 | 13 | 91 | 23.076923 | 0.883019 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
220d1bcf3405e0d1aa48f9a846fb79ae59c7feb9 | 206 | py | Python | students/K33402/Dubina Sergey/laboratory_works/lab2/races_project/races/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33402/Dubina Sergey/laboratory_works/lab2/races_project/races/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33402/Dubina Sergey/laboratory_works/lab2/races_project/races/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.contrib import admin
from .models import *
admin.site.register(Driver)
admin.site.register(Car)
admin.site.register(Race)
admin.site.register(Registration)
admin.site.register(Comment)
| 22.888889 | 34 | 0.781553 | 28 | 206 | 5.75 | 0.464286 | 0.279503 | 0.52795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 206 | 8 | 35 | 25.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
224105746dcac638e5fe296794c2844593099b12 | 126 | py | Python | 2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/01-Basic-Syntax-Conditional-Statements-and-Loops/03_More_Exercises-NOT-DONE-YET/01_Find-The-Largest.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/01-Basic-Syntax-Conditional-Statements-and-Loops/03_More_Exercises-NOT-DONE-YET/01_Find-The-Largest.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/01-Basic-Syntax-Conditional-Statements-and-Loops/03_More_Exercises-NOT-DONE-YET/01_Find-The-Largest.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | # 1. Find the Largest
# Given a number, print the largest number that can be formed from the digits of the given number.
| 15.75 | 98 | 0.730159 | 22 | 126 | 4.181818 | 0.681818 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.230159 | 126 | 7 | 99 | 18 | 0.938144 | 0.920635 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22445dd8a0078122aa6666e4dbc995d216a4a083 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/urllib/error.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/urllib/error.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/urllib/error.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/81/fa/ca/ceffba5b93a3ccd21f8ef25a424c400512f29b62b08df2855d274307ad | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 96 | 1 | 96 | 96 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
224641abc0be2dee8d10b7e0329eb91225f1c22b | 79 | py | Python | project-scaffolds/python-package/cluedo/models/__init__.py | ranuzz/makeall-code | 34bf5c1b73870884ceafd3f7d4b18be29127cab1 | [
"MIT"
] | 2 | 2021-11-02T04:21:41.000Z | 2021-12-03T22:47:10.000Z | project-scaffolds/python-package/cluedo/models/__init__.py | ranuzz/makeall-code | 34bf5c1b73870884ceafd3f7d4b18be29127cab1 | [
"MIT"
] | null | null | null | project-scaffolds/python-package/cluedo/models/__init__.py | ranuzz/makeall-code | 34bf5c1b73870884ceafd3f7d4b18be29127cab1 | [
"MIT"
] | 2 | 2022-01-29T10:52:16.000Z | 2022-02-13T18:10:14.000Z | from __future__ import absolute_import
from cluedo.models.sample import Sample | 26.333333 | 39 | 0.873418 | 11 | 79 | 5.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 3 | 39 | 26.333333 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2276abba0d6a88f2e185da835d5522aa5630c126 | 74 | py | Python | socialchoice/__init__.py | ashwinreddy/voting | 4a9ef46901ddad23e814d5744944463f6fd9ae83 | [
"MIT"
] | null | null | null | socialchoice/__init__.py | ashwinreddy/voting | 4a9ef46901ddad23e814d5744944463f6fd9ae83 | [
"MIT"
] | null | null | null | socialchoice/__init__.py | ashwinreddy/voting | 4a9ef46901ddad23e814d5744944463f6fd9ae83 | [
"MIT"
] | null | null | null | from .voting import *
from .preference_schedule import PreferenceSchedule
| 24.666667 | 51 | 0.851351 | 8 | 74 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 52 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97f7ae21b79ca272342a429da38b1e29f9e2ae3b | 535 | py | Python | aiosaber/__init__.py | flowsaber/aiosaber | 480d1bf49c9612c97ad20d008469ae94c1fbffd3 | [
"MIT"
] | null | null | null | aiosaber/__init__.py | flowsaber/aiosaber | 480d1bf49c9612c97ad20d008469ae94c1fbffd3 | [
"MIT"
] | null | null | null | aiosaber/__init__.py | flowsaber/aiosaber | 480d1bf49c9612c97ad20d008469ae94c1fbffd3 | [
"MIT"
] | null | null | null | __version__ = '0.0.1.1'
import warnings
import uvloop
# noinspection PyUnresolvedReferences
from .channel import *
# noinspection PyUnresolvedReferences
from .flow import *
# noinspection PyUnresolvedReferences
from .middleware import BaseHandler, BaseExecutor, BaseBuilder
# noinspection PyUnresolvedReferences
from ... | 25.47619 | 62 | 0.828037 | 49 | 535 | 8.959184 | 0.469388 | 0.387244 | 0.432802 | 0.300683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.099065 | 535 | 20 | 63 | 26.75 | 0.90249 | 0.334579 | 0 | 0 | 0 | 0 | 0.054286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.636364 | 0 | 0.636364 | 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 | 1 | 0 | 0 | 5 |
3f131b4232bd51dd6419020c4a76ef5643e8e65f | 308 | py | Python | zippy/edu.uci.python.test/src/tests/megaguards/for/test4.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | 1 | 2018-07-19T21:15:29.000Z | 2018-07-19T21:15:29.000Z | zippy/edu.uci.python.test/src/tests/megaguards/for/test4.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | null | null | null | zippy/edu.uci.python.test/src/tests/megaguards/for/test4.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | null | null | null | a = [[1, 2, 3], [1, 2, 3], [1, 2, 3]]
b = [4, 5, 6]
c = [0, 0, 0]
def t():
for j in range(len(a)):
for [A1, A2, A3] in [[1, 2, 3], [1, 2, 3], [1, 2, 3]]:
for B in b:
c[A1-1] = B + A1*2
c[A2-1] = B + A2*2
c[A3-1] = B + A3*2
t()
print(c)
| 23.692308 | 62 | 0.308442 | 65 | 308 | 1.461538 | 0.323077 | 0.126316 | 0.189474 | 0.168421 | 0.189474 | 0.189474 | 0.189474 | 0.189474 | 0.189474 | 0 | 0 | 0.224138 | 0.435065 | 308 | 12 | 63 | 25.666667 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.083333 | 0.083333 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f57978563e0ff1bf859ce4d289508f63c33f02b | 216 | py | Python | openprocurement/auction/tests/test_core.py | OrysiaDrabych/openprocurement.auction | d68b4aca7313dd4c7c13bd22c772a32a1b70d79f | [
"Apache-2.0"
] | 23 | 2015-07-09T17:07:39.000Z | 2020-11-14T11:23:39.000Z | openprocurement/auction/tests/test_core.py | OrysiaDrabych/openprocurement.auction | d68b4aca7313dd4c7c13bd22c772a32a1b70d79f | [
"Apache-2.0"
] | 23 | 2015-01-14T22:33:58.000Z | 2018-02-08T16:31:20.000Z | openprocurement/auction/tests/test_core.py | OrysiaDrabych/openprocurement.auction | d68b4aca7313dd4c7c13bd22c772a32a1b70d79f | [
"Apache-2.0"
] | 27 | 2015-02-17T10:22:32.000Z | 2021-06-08T06:50:45.000Z | from openprocurement.auction.core import compoenents
class TestDispatch(object):
def test_predicate(self):
pass
def test_plugin_load(self):
pass
def test_adapters(self):
pass
| 15.428571 | 52 | 0.675926 | 25 | 216 | 5.68 | 0.68 | 0.147887 | 0.15493 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 216 | 13 | 53 | 16.615385 | 0.8875 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3f5863f0a28265b1b51112a92fa21a99ee26b295 | 131 | py | Python | cowsay_app/admin.py | JustDeWitt8485/django-cowsay | 4c3cf91eb7ba394cd7fd581b3d86c56494acf413 | [
"MIT"
] | null | null | null | cowsay_app/admin.py | JustDeWitt8485/django-cowsay | 4c3cf91eb7ba394cd7fd581b3d86c56494acf413 | [
"MIT"
] | null | null | null | cowsay_app/admin.py | JustDeWitt8485/django-cowsay | 4c3cf91eb7ba394cd7fd581b3d86c56494acf413 | [
"MIT"
] | null | null | null | from django.contrib import admin
from cowsay_app.models import Message
# Register your models here.
admin.site.register(Message)
| 18.714286 | 37 | 0.816794 | 19 | 131 | 5.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 6 | 38 | 21.833333 | 0.921739 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
58d207950de0f8905e72ba1e593ed6460e4176ce | 536 | py | Python | survey/questions/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 2 | 2021-04-10T21:50:36.000Z | 2022-03-26T16:46:52.000Z | survey/questions/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 11 | 2020-08-30T18:47:14.000Z | 2021-09-09T15:57:19.000Z | survey/questions/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | null | null | null | from survey.questions._abstract.question import Question
from survey.questions.count_question import CountQuestion
from survey.questions.free_text_question import FreeTextQuestion
from survey.questions.likert_question import LikertQuestion
from survey.questions.multi_choice_question import MultiChoiceQuestion
from surv... | 59.555556 | 78 | 0.908582 | 61 | 536 | 7.770492 | 0.377049 | 0.168776 | 0.320675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 536 | 8 | 79 | 67 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
451f5d066fa316abde2b3536411ce20cf3e85e2c | 217 | py | Python | perimetro_cuadrado.py | Sebas2587/practica_python | 2d3a92c4f97afd7f199e8beee8cc87251f249edf | [
"MIT"
] | null | null | null | perimetro_cuadrado.py | Sebas2587/practica_python | 2d3a92c4f97afd7f199e8beee8cc87251f249edf | [
"MIT"
] | null | null | null | perimetro_cuadrado.py | Sebas2587/practica_python | 2d3a92c4f97afd7f199e8beee8cc87251f249edf | [
"MIT"
] | null | null | null | # calculo del perimetro del cuadrado
print('calculo del perimetro cuadrado')
lado = int(input('introduce el valor del lado que conoces del cuadrado: '))
lado *= 4
print('el perimetro del cuadrado es: ',lado)
| 27.125 | 76 | 0.718894 | 31 | 217 | 5.032258 | 0.483871 | 0.211538 | 0.24359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.184332 | 217 | 7 | 77 | 31 | 0.875706 | 0.156682 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
18959d46b97c1a4842aa58f0624fc71e16201b7e | 254 | py | Python | wingedsheep/carcassonne/objects/city.py | SuryaVikram/CarcassonneMaster | cc0201638dfea05b254833097329729e9b8a410c | [
"MIT"
] | 11 | 2020-05-19T17:29:18.000Z | 2022-03-24T06:22:50.000Z | wingedsheep/carcassonne/objects/city.py | SuryaVikram/CarcassonneMaster | cc0201638dfea05b254833097329729e9b8a410c | [
"MIT"
] | 6 | 2020-05-18T09:24:26.000Z | 2022-03-12T00:30:21.000Z | wingedsheep/carcassonne/objects/city.py | SuryaVikram/CarcassonneMaster | cc0201638dfea05b254833097329729e9b8a410c | [
"MIT"
] | 5 | 2021-09-16T11:53:26.000Z | 2022-03-30T12:08:56.000Z | from wingedsheep.carcassonne.objects.coordinate_with_side import CoordinateWithSide
class City:
def __init__(self, city_positions: [CoordinateWithSide], finished: bool):
self.city_positions = city_positions
self.finished = finished
| 31.75 | 83 | 0.775591 | 27 | 254 | 6.962963 | 0.62963 | 0.207447 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 254 | 7 | 84 | 36.285714 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 5 |
18d0326c9387f6a919d3333e47f316d631de0c3e | 66 | py | Python | main.py | csy1993/PythonLeetcode | 98fd9b1639626459fbf81bf94727775d39248dde | [
"Apache-2.0"
] | null | null | null | main.py | csy1993/PythonLeetcode | 98fd9b1639626459fbf81bf94727775d39248dde | [
"Apache-2.0"
] | null | null | null | main.py | csy1993/PythonLeetcode | 98fd9b1639626459fbf81bf94727775d39248dde | [
"Apache-2.0"
] | null | null | null | '''
* @File: main.py
* @Author: CSY
* @Date: 2019/7/27 - 9:40
'''
| 11 | 25 | 0.5 | 11 | 66 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 0.19697 | 66 | 5 | 26 | 13.2 | 0.433962 | 0.863636 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18d40bf9458210791473817db5245f750de4bebe | 45 | py | Python | tests/__init__.py | tsouchlarakis/sql-query-tools | 03de8c971ba3c937d72b567938689fcb37482073 | [
"MIT"
] | null | null | null | tests/__init__.py | tsouchlarakis/sql-query-tools | 03de8c971ba3c937d72b567938689fcb37482073 | [
"MIT"
] | null | null | null | tests/__init__.py | tsouchlarakis/sql-query-tools | 03de8c971ba3c937d72b567938689fcb37482073 | [
"MIT"
] | null | null | null | """Unit test package for sql_query_tools."""
| 22.5 | 44 | 0.733333 | 7 | 45 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.775 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18f632ead7eea2d6005e0c8453f48e7f42455efe | 4,792 | py | Python | beam_analysis/AppliedLoad.py | XDwightsBeetsX/beam-analysis | 714b90cdc6b77d6da6d2182b66efead17db2617d | [
"MIT"
] | 1 | 2021-08-13T08:08:36.000Z | 2021-08-13T08:08:36.000Z | beam_analysis/AppliedLoad.py | XDwightsBeetsX/beam-analysis | 714b90cdc6b77d6da6d2182b66efead17db2617d | [
"MIT"
] | 10 | 2021-02-23T06:47:48.000Z | 2022-01-01T19:27:36.000Z | beam_analysis/AppliedLoad.py | XDwightsBeetsX/beam_analysis | 714b90cdc6b77d6da6d2182b66efead17db2617d | [
"MIT"
] | null | null | null | from enum import Enum
from beam_analysis.BeamAnalysisTypes import BeamAnalysisTypes
class AppliedLoadTypes(Enum):
"""
The assigned values here matter and are used in Singularity analysis
"""
DISTRIBUTED_LOAD = 1
POINT_LOAD = 2
MOMENT = 3
class AppliedLoad(object):
def __init__(self, mag... | 36.030075 | 72 | 0.595785 | 484 | 4,792 | 5.830579 | 0.117769 | 0.153083 | 0.297661 | 0.089298 | 0.824238 | 0.766123 | 0.72112 | 0.587881 | 0.54146 | 0.416726 | 0 | 0.016765 | 0.290484 | 4,792 | 132 | 73 | 36.30303 | 0.813235 | 0.01419 | 0 | 0.656863 | 0 | 0 | 0.0839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.019608 | 0.019608 | 0 | 0.539216 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7a00061bffda2979f894d9c3c2f02401c27df1bf | 142 | py | Python | tests/steps/import_behave_core_steps.py | berkeleybop/behave_core | aa8354fcf0deeb68f6add8749d80d0a2a1bef16d | [
"BSD-3-Clause"
] | null | null | null | tests/steps/import_behave_core_steps.py | berkeleybop/behave_core | aa8354fcf0deeb68f6add8749d80d0a2a1bef16d | [
"BSD-3-Clause"
] | null | null | null | tests/steps/import_behave_core_steps.py | berkeleybop/behave_core | aa8354fcf0deeb68f6add8749d80d0a2a1bef16d | [
"BSD-3-Clause"
] | null | null | null | ####
#### Not really much here but to indroduce the step libraries.
####
from behave_core import json_data_steps, resource_steps, page_steps
| 23.666667 | 67 | 0.753521 | 21 | 142 | 4.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 5 | 68 | 28.4 | 0.836066 | 0.401408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e151d2ce34f1d3b94b709c20d0351a387b8c2564 | 13,604 | py | Python | silver_waffle/base/constants.py | miguelagustin/silver-waffle-trading-bot | a20ed31b075fd432952ce5608868a47472f32c6b | [
"MIT"
] | 2 | 2021-03-16T00:39:47.000Z | 2021-03-16T00:57:35.000Z | silver_waffle/base/constants.py | miguelagustin/silver-waffle-trading-bot | a20ed31b075fd432952ce5608868a47472f32c6b | [
"MIT"
] | null | null | null | silver_waffle/base/constants.py | miguelagustin/silver-waffle-trading-bot | a20ed31b075fd432952ce5608868a47472f32c6b | [
"MIT"
] | 1 | 2021-07-19T21:45:54.000Z | 2021-07-19T21:45:54.000Z | STABLECOIN_SYMBOLS = ['USDC', 'DAI', 'USDT', 'BUSD', 'TUSD', 'PAX', 'VAI']
FREE_RPC_ENDPOINTS = ['https://api.mycryptoapi.com/eth',
'https://nodes.mewapi.io/rpc/eth',
'https://mainnet-nethermind.blockscout.com/',
'https://mainnet.eth.cloud.ava.do/',
... | 80.97619 | 120 | 0.5813 | 643 | 13,604 | 12.290824 | 0.688958 | 0.002025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.400253 | 0.302852 | 13,604 | 168 | 121 | 80.97619 | 0.433045 | 0 | 0 | 0 | 0 | 0 | 0.589783 | 0.456891 | 0 | 0 | 0.456891 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e18aa7606044247b303f6a68e3c9285ed0bc2fb4 | 1,735 | py | Python | Data-Structures/linked-list/challenge-07/ll-kth-from-end/tests/test_ll_kth_from_end.py | AymanNaif/data-structures-and-algorithms | f68c8a2829362a4c9cf9084973b56464ca951ca5 | [
"MIT"
] | null | null | null | Data-Structures/linked-list/challenge-07/ll-kth-from-end/tests/test_ll_kth_from_end.py | AymanNaif/data-structures-and-algorithms | f68c8a2829362a4c9cf9084973b56464ca951ca5 | [
"MIT"
] | 1 | 2021-06-13T16:51:53.000Z | 2021-06-13T16:51:53.000Z | Data-Structures/linked-list/challenge-07/ll-kth-from-end/tests/test_ll_kth_from_end.py | AymanNaif/data-structures-and-algorithms | f68c8a2829362a4c9cf9084973b56464ca951ca5 | [
"MIT"
] | 1 | 2021-04-26T09:16:53.000Z | 2021-04-26T09:16:53.000Z | from ll_kth_from_end import __version__
from ll_kth_from_end.ll_kth_from_end import LinkedList
def test_version():
assert __version__ == '0.1.0'
def test_k_greater():
ll = LinkedList()
ll.append('test')
ll.append('hii')
ll.insert('hisai')
ll.insertBefore('test', 'wow')
ll.insertAfter('hi... | 21.419753 | 54 | 0.628818 | 232 | 1,735 | 4.521552 | 0.181034 | 0.083889 | 0.093422 | 0.13346 | 0.914204 | 0.816969 | 0.816969 | 0.816969 | 0.619638 | 0.533842 | 0 | 0.020104 | 0.225937 | 1,735 | 80 | 55 | 21.6875 | 0.760983 | 0 | 0 | 0.734375 | 0 | 0 | 0.092795 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.03125 | 0 | 0.15625 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bee5928e54e860d294c50d6b9f92c2ec097a9dd6 | 72 | py | Python | randterrainpy/__init__.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | 7 | 2017-04-17T19:34:52.000Z | 2022-01-18T23:37:31.000Z | randterrainpy/__init__.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | null | null | null | randterrainpy/__init__.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | 5 | 2017-11-08T11:22:37.000Z | 2021-08-07T18:26:54.000Z | from terrain import *
from exceptions import *
from terraingen import *
| 18 | 24 | 0.791667 | 9 | 72 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bee9d720faa0f355f09cdfca0c063ffe884c6a62 | 36 | py | Python | pyvodb/__main__.py | messa/pyvodb | 6b61d82448470bad518f9db6e8ef5abdc8056379 | [
"MIT"
] | 1 | 2018-11-27T15:13:53.000Z | 2018-11-27T15:13:53.000Z | pyvodb/__main__.py | messa/pyvodb | 6b61d82448470bad518f9db6e8ef5abdc8056379 | [
"MIT"
] | 7 | 2015-07-30T15:01:31.000Z | 2018-02-27T15:23:14.000Z | pyvodb/__main__.py | messa/pyvodb | 6b61d82448470bad518f9db6e8ef5abdc8056379 | [
"MIT"
] | 5 | 2015-06-25T09:49:25.000Z | 2018-02-11T12:25:40.000Z | from pyvodb.cli import main
main()
| 9 | 27 | 0.75 | 6 | 36 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 3 | 28 | 12 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8315be91035cc5970fa13974d86816622e4db0d5 | 131 | py | Python | src/numgraph/__init__.py | gravins/NumGraph | 69ada09f0e434411a61ab36cccfface77a86aa65 | [
"MIT"
] | null | null | null | src/numgraph/__init__.py | gravins/NumGraph | 69ada09f0e434411a61ab36cccfface77a86aa65 | [
"MIT"
] | null | null | null | src/numgraph/__init__.py | gravins/NumGraph | 69ada09f0e434411a61ab36cccfface77a86aa65 | [
"MIT"
] | null | null | null | from .distributions import barabasi_albert, clique, erdos_renyi, full_grid, random_tree, simple_grid, star, stochastic_block_model
| 65.5 | 130 | 0.854962 | 18 | 131 | 5.833333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 131 | 1 | 131 | 131 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
833af10d0ac26673e02d8bd8c8ddc1b5f0deabe9 | 116 | py | Python | cats/admin.py | CodeByLine/dj4e-tutorial | 8cb592658a18777220eb297e63d42f2a7d53733c | [
"CC-BY-3.0"
] | null | null | null | cats/admin.py | CodeByLine/dj4e-tutorial | 8cb592658a18777220eb297e63d42f2a7d53733c | [
"CC-BY-3.0"
] | 3 | 2021-04-12T16:18:58.000Z | 2021-06-10T20:40:08.000Z | cats/admin.py | CodeByLine/dj4e-tutorial | 8cb592658a18777220eb297e63d42f2a7d53733c | [
"CC-BY-3.0"
] | null | null | null | from django.contrib import admin
from .models import Cat, Breed
admin.site.register(Cat)
admin.site.register(Breed) | 23.2 | 32 | 0.810345 | 18 | 116 | 5.222222 | 0.555556 | 0.191489 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 5 | 33 | 23.2 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
834d2ac6ad807d23057e2122ced409903c31de0b | 217 | py | Python | ls/joyous/holidays/workalendar.py | gardentronic/ls.joyous | db2308ce59cd072b83a465b02b9f29c00269fdbb | [
"BSD-3-Clause"
] | null | null | null | ls/joyous/holidays/workalendar.py | gardentronic/ls.joyous | db2308ce59cd072b83a465b02b9f29c00269fdbb | [
"BSD-3-Clause"
] | null | null | null | ls/joyous/holidays/workalendar.py | gardentronic/ls.joyous | db2308ce59cd072b83a465b02b9f29c00269fdbb | [
"BSD-3-Clause"
] | null | null | null | # ------------------------------------------------------------------------------
# Joyous Holidays - Workalendar compatibility
# ------------------------------------------------------------------------------
# Monkey
| 43.4 | 80 | 0.202765 | 5 | 217 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0553 | 217 | 4 | 81 | 54.25 | 0.214634 | 0.958525 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83584ad56400971fea82b81adf55917b7d2f0ae6 | 7,848 | py | Python | tests/python/unittest/test_te_schedule_postproc_rewrite_for_tensor_core.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | tests/python/unittest/test_te_schedule_postproc_rewrite_for_tensor_core.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 3,022 | 2020-11-24T14:02:31.000Z | 2022-03-31T23:55:31.000Z | tests/python/unittest/test_te_schedule_postproc_rewrite_for_tensor_core.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# 'License'); you may not u... | 33.827586 | 98 | 0.595056 | 1,459 | 7,848 | 3.096642 | 0.135024 | 0.014608 | 0.066401 | 0.083665 | 0.762948 | 0.751439 | 0.734838 | 0.730412 | 0.710491 | 0.684374 | 0 | 0.01702 | 0.206422 | 7,848 | 231 | 99 | 33.974026 | 0.708414 | 0.106651 | 0 | 0.674033 | 0 | 0 | 0.06866 | 0 | 0 | 0 | 0 | 0 | 0.01105 | 1 | 0.022099 | false | 0 | 0.027624 | 0 | 0.049724 | 0.01105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55d77b5fb76e3e87590685d28bdc50048e72e3f4 | 51 | py | Python | ffai/util/__init__.py | tysen2k/ffai | 2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec | [
"Apache-2.0"
] | null | null | null | ffai/util/__init__.py | tysen2k/ffai | 2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec | [
"Apache-2.0"
] | null | null | null | ffai/util/__init__.py | tysen2k/ffai | 2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec | [
"Apache-2.0"
] | null | null | null | from .bothelper import *
from .pathfinding import * | 25.5 | 26 | 0.784314 | 6 | 51 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 26 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55dc1a216e6032ace7fd5fac7c90cc1bd76dbdd1 | 133 | py | Python | bender/data_importer/interface.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 2 | 2021-12-17T15:45:40.000Z | 2021-12-18T14:15:43.000Z | bender/data_importer/interface.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 2 | 2022-03-30T14:31:12.000Z | 2022-03-31T14:25:25.000Z | bender/data_importer/interface.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 1 | 2021-12-19T17:16:38.000Z | 2021-12-19T17:16:38.000Z | from pandas import DataFrame
class DataImporter:
async def import_data(self) -> DataFrame:
raise NotImplementedError()
| 19 | 45 | 0.736842 | 14 | 133 | 6.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 133 | 6 | 46 | 22.166667 | 0.915094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3603af6df185d5a82a98357301692e826d1bd54b | 11,630 | py | Python | akshare/index/index_investing.py | rayshifu/akshare | 4f34f45edf242e78320a86b29347868e4d8d5933 | [
"MIT"
] | null | null | null | akshare/index/index_investing.py | rayshifu/akshare | 4f34f45edf242e78320a86b29347868e4d8d5933 | [
"MIT"
] | null | null | null | akshare/index/index_investing.py | rayshifu/akshare | 4f34f45edf242e78320a86b29347868e4d8d5933 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Date: 2022/3/18 17:03
Desc: 英为财情-股票指数-全球股指与期货指数数据接口
https://cn.investing.com/indices/volatility-s-p-500-historical-data
"""
import re
import pandas as pd
from bs4 import BeautifulSoup
from akshare.index.cons import short_headers, long_headers
from akshare.utils.ak_sess... | 36.23053 | 139 | 0.610146 | 1,567 | 11,630 | 4.287811 | 0.145501 | 0.064295 | 0.058937 | 0.029469 | 0.813514 | 0.77705 | 0.743712 | 0.71082 | 0.690281 | 0.66111 | 0 | 0.021911 | 0.215133 | 11,630 | 320 | 140 | 36.34375 | 0.714176 | 0.108341 | 0 | 0.66129 | 0 | 0.004032 | 0.157858 | 0.007184 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020161 | false | 0 | 0.020161 | 0 | 0.060484 | 0.008065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
361f2399caa5f13f5a2092e1236b6cbe3fd8986e | 3,280 | py | Python | tests/integration/test_over.py | goodwanghan/dask-sql | 990d647d3788aa200c28c01fb1429b176dfbc617 | [
"MIT"
] | null | null | null | tests/integration/test_over.py | goodwanghan/dask-sql | 990d647d3788aa200c28c01fb1429b176dfbc617 | [
"MIT"
] | null | null | null | tests/integration/test_over.py | goodwanghan/dask-sql | 990d647d3788aa200c28c01fb1429b176dfbc617 | [
"MIT"
] | 1 | 2021-01-24T05:52:50.000Z | 2021-01-24T05:52:50.000Z | import numpy as np
import pandas as pd
from pandas.testing import assert_frame_equal
def test_over_with_sorting(c, user_table_1):
df = c.sql(
"""
SELECT
user_id,
ROW_NUMBER() OVER (ORDER BY user_id, b) AS R
FROM user_table_1
"""
)
df = df.compute()
expected_df = pd... | 29.026549 | 84 | 0.567073 | 523 | 3,280 | 3.332696 | 0.151052 | 0.106713 | 0.064257 | 0.130809 | 0.765921 | 0.756741 | 0.740677 | 0.740677 | 0.704532 | 0.662651 | 0 | 0.05601 | 0.292378 | 3,280 | 112 | 85 | 29.285714 | 0.694959 | 0 | 0 | 0.37931 | 0 | 0 | 0.051741 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.086207 | false | 0 | 0.051724 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
361fdd8c5a5a90cf974a26da3b2163432daed5e1 | 626 | py | Python | pycta2045/models/model.py | mohamm-alsaid/CTA2045-DER | e66d0d468dda42f8b3640b9f81bad6b6193002d1 | [
"MIT"
] | 1 | 2021-10-04T17:32:53.000Z | 2021-10-04T17:32:53.000Z | pycta2045/models/model.py | mohamm-alsaid/CTA2045-DER | e66d0d468dda42f8b3640b9f81bad6b6193002d1 | [
"MIT"
] | null | null | null | pycta2045/models/model.py | mohamm-alsaid/CTA2045-DER | e66d0d468dda42f8b3640b9f81bad6b6193002d1 | [
"MIT"
] | null | null | null | import abc
class CTA2045Model(abc.ABC):
@abc.abstractmethod
def loadup(self,payload:dict)->dict:
pass
@abc.abstractmethod
def operating_status(self,payload:dict)->dict:
pass
@abc.abstractmethod
def shed(self,payload:dict)->dict:
pass
@abc.abstractmethod
def ends... | 24.076923 | 53 | 0.659744 | 74 | 626 | 5.513514 | 0.297297 | 0.291667 | 0.343137 | 0.32598 | 0.688725 | 0.632353 | 0.632353 | 0.632353 | 0 | 0 | 0 | 0.008333 | 0.233227 | 626 | 25 | 54 | 25.04 | 0.841667 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.304348 | 0.043478 | 0 | 0.391304 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3626069cf41d4452bfaebcb371becf98853c94c9 | 8,913 | py | Python | py_dp/dispersion/mapping_input.py | amirdel/dispersion-continua | 2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60 | [
"0BSD"
] | null | null | null | py_dp/dispersion/mapping_input.py | amirdel/dispersion-continua | 2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60 | [
"0BSD"
] | null | null | null | py_dp/dispersion/mapping_input.py | amirdel/dispersion-continua | 2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60 | [
"0BSD"
] | null | null | null | # Copyright 2017 Amir Hossein Delgoshaie, amirdel@stanford.edu
#
# Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee
# is hereby granted, provided that the above copyright notice and this permission notice appear in all
# copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AN... | 55.018519 | 138 | 0.66835 | 1,301 | 8,913 | 4.222137 | 0.139892 | 0.052066 | 0.052066 | 0.026215 | 0.76643 | 0.754597 | 0.718187 | 0.70162 | 0.6714 | 0.630803 | 0 | 0.002536 | 0.24784 | 8,913 | 162 | 139 | 55.018519 | 0.816826 | 0.125098 | 0 | 0.550459 | 0 | 0 | 0.041331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.036697 | null | null | 0.073395 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
362dcac7488926a4c2596e31ed7b67c0ad49130e | 353 | py | Python | fastai/metrics.py | Engid/faitest | 0080d4f526d01395870416745d9a3f8d5ac33551 | [
"Apache-2.0"
] | null | null | null | fastai/metrics.py | Engid/faitest | 0080d4f526d01395870416745d9a3f8d5ac33551 | [
"Apache-2.0"
] | null | null | null | fastai/metrics.py | Engid/faitest | 0080d4f526d01395870416745d9a3f8d5ac33551 | [
"Apache-2.0"
] | null | null | null | from .imports import *
from .torch_imports import *
def accuracy(preds, targs):
preds = torch.max(preds, dim=1)[1]
return (preds==targs).float().mean()
def accuracy_thresh(thresh):
return lambda preds,targs: accuracy_multi(preds, targs, thresh)
def accuracy_multi(preds, targs, thresh):
return ((preds... | 25.214286 | 67 | 0.705382 | 48 | 353 | 5.104167 | 0.354167 | 0.204082 | 0.114286 | 0.187755 | 0.236735 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.144476 | 353 | 13 | 68 | 27.153846 | 0.804636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3695b59018fd811fc5e322ded1f1e5f445f2afae | 388 | py | Python | gpflow/inducing_variables/__init__.py | elvijs/GPflow | 056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92 | [
"Apache-2.0"
] | null | null | null | gpflow/inducing_variables/__init__.py | elvijs/GPflow | 056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92 | [
"Apache-2.0"
] | null | null | null | gpflow/inducing_variables/__init__.py | elvijs/GPflow | 056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92 | [
"Apache-2.0"
] | null | null | null | from .inducing_variables import InducingVariables, InducingPoints, Multiscale
from .inducing_patch import InducingPatches
from .mo_inducing_variables import (MultioutputInducingVariables, FallbackSharedIndependentInducingVariables, FallbackSeparateIndependentInducingVariables,
Shared... | 77.6 | 155 | 0.832474 | 22 | 388 | 14.5 | 0.681818 | 0.075235 | 0.144201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 388 | 4 | 156 | 97 | 0.95509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3697c42695447884c159ec977e7cc70fc4281cec | 728 | py | Python | 15/duelingGenerators.py | jcsesznegi/advent-of-code-2017 | 9710e184e092b82aa798076b9ce3915c6e42758d | [
"MIT"
] | 1 | 2020-04-12T17:54:52.000Z | 2020-04-12T17:54:52.000Z | 15/duelingGenerators.py | jcsesznegi/advent-of-code-2017 | 9710e184e092b82aa798076b9ce3915c6e42758d | [
"MIT"
] | null | null | null | 15/duelingGenerators.py | jcsesznegi/advent-of-code-2017 | 9710e184e092b82aa798076b9ce3915c6e42758d | [
"MIT"
] | null | null | null |
def generatorA(value, stop):
i = 0
while i < stop:
value = (value * 16807) % 2147483647
yield value
i += 1
def generatorB(value, stop):
i = 0
while i < stop:
value = (value * 48271) % 2147483647
yield value
i += 1
def generatorAPart2(value, stop):
i... | 22.060606 | 48 | 0.505495 | 84 | 728 | 4.380952 | 0.202381 | 0.163043 | 0.108696 | 0.119565 | 0.790761 | 0.790761 | 0.782609 | 0.782609 | 0.649457 | 0.5 | 0 | 0.235294 | 0.392857 | 728 | 32 | 49 | 22.75 | 0.597285 | 0 | 0 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
36a3608ab4d69cfcd568c0a613ce6e8f41e0cc31 | 156 | py | Python | backend/server/core/views.py | JenardKin/django-react-boilerplate | dde2c817a502e1bed4c4c0618b10b3a381eff6cf | [
"MIT"
] | null | null | null | backend/server/core/views.py | JenardKin/django-react-boilerplate | dde2c817a502e1bed4c4c0618b10b3a381eff6cf | [
"MIT"
] | null | null | null | backend/server/core/views.py | JenardKin/django-react-boilerplate | dde2c817a502e1bed4c4c0618b10b3a381eff6cf | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index( request ):
return render( request, 'core/index.html', { 'msg': 'You have reached the django apis.' } )
| 26 | 95 | 0.692308 | 21 | 156 | 5.142857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 5 | 96 | 31.2 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 5 |
36d9ea5c81dd5ff8eaa5f964e9d547a047b4f26a | 137 | py | Python | basicsr/version.py | BCV-Uniandes/RSR | dad60eedd3560f2655e3d1ed444153ed2616af2e | [
"zlib-acknowledgement"
] | 14 | 2021-08-28T04:15:37.000Z | 2021-12-28T17:00:33.000Z | basicsr/version.py | BCV-Uniandes/RSR | dad60eedd3560f2655e3d1ed444153ed2616af2e | [
"zlib-acknowledgement"
] | 2 | 2021-09-26T01:27:06.000Z | 2021-12-24T19:06:09.000Z | basicsr/version.py | BCV-Uniandes/RSR | dad60eedd3560f2655e3d1ed444153ed2616af2e | [
"zlib-acknowledgement"
] | 1 | 2021-10-18T15:48:56.000Z | 2021-10-18T15:48:56.000Z | # GENERATED VERSION FILE
# TIME: Mon Oct 11 04:02:23 2021
__version__ = '1.2.0+f83fd55'
short_version = '1.2.0'
version_info = (1, 2, 0)
| 22.833333 | 32 | 0.686131 | 26 | 137 | 3.384615 | 0.653846 | 0.068182 | 0.102273 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.160584 | 137 | 5 | 33 | 27.4 | 0.547826 | 0.386861 | 0 | 0 | 1 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7fcbbe0feafa2e1f8ccf912176165f8f65724eb8 | 63 | py | Python | yammled/admin.py | Guest007/smyted | 5b425e8456f97b1051e29b95d9e5c0528d1f01ca | [
"MIT"
] | null | null | null | yammled/admin.py | Guest007/smyted | 5b425e8456f97b1051e29b95d9e5c0528d1f01ca | [
"MIT"
] | null | null | null | yammled/admin.py | Guest007/smyted | 5b425e8456f97b1051e29b95d9e5c0528d1f01ca | [
"MIT"
] | null | null | null | from django.contrib import admin
from yammled.models import *
| 15.75 | 32 | 0.809524 | 9 | 63 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 33 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d02a3ee892ea2a72150136619d3988df9fb46ac | 305 | py | Python | intervul/datFiles/general_data/geometry/_definitions.py | mpacheco62/intervul | c0eaadf54580de4b3c2dea46e8f196eab52280e1 | [
"MIT"
] | 1 | 2021-04-13T13:28:16.000Z | 2021-04-13T13:28:16.000Z | intervul/datFiles/general_data/geometry/_definitions.py | andresutrera/intervul | 75c5f824067549b3ddcbe9fe667964fb85a05ce3 | [
"MIT"
] | null | null | null | intervul/datFiles/general_data/geometry/_definitions.py | andresutrera/intervul | 75c5f824067549b3ddcbe9fe667964fb85a05ce3 | [
"MIT"
] | 1 | 2021-05-06T20:29:42.000Z | 2021-05-06T20:29:42.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .._definitions import _General_data
class _Geometry(_General_data):
pass
class Interpolate(_Geometry):
def __str__(self):
return "INTERPOLATE"
class Noninterpolate(_Geometry):
def __str__(self):
return "NONINTERPOLATE"
| 16.052632 | 40 | 0.685246 | 33 | 305 | 5.848485 | 0.636364 | 0.11399 | 0.145078 | 0.186529 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0.2 | 305 | 18 | 41 | 16.944444 | 0.786885 | 0.137705 | 0 | 0.222222 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.222222 | 0.888889 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
3d08d62d31d70f826588b330150f53d1ee96090d | 315 | py | Python | Mycoffee/products/views.py | AbderrhmanAbdellatif/MyCoffee | 01563ccd1881caea605391fb813b7d0f2f59be02 | [
"MIT"
] | null | null | null | Mycoffee/products/views.py | AbderrhmanAbdellatif/MyCoffee | 01563ccd1881caea605391fb813b7d0f2f59be02 | [
"MIT"
] | null | null | null | Mycoffee/products/views.py | AbderrhmanAbdellatif/MyCoffee | 01563ccd1881caea605391fb813b7d0f2f59be02 | [
"MIT"
] | null | null | null | from django.http import request
from django.shortcuts import render
def products(request):
return render(request,'Products\products.html')
def product(request):
return render(request,'Products\product.html')
def search(request):
return render(request,'Products\search.html')
# Create your views here.
| 26.25 | 51 | 0.768254 | 41 | 315 | 5.902439 | 0.414634 | 0.161157 | 0.235537 | 0.322314 | 0.421488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 315 | 11 | 52 | 28.636364 | 0.876812 | 0.073016 | 0 | 0 | 0 | 0 | 0.217241 | 0.148276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3d168ac782d471cdafd30c5477a7c01e23b0b1af | 58 | py | Python | src/neptuneml_toolkit/modelzoo/encoder/__init__.py | riaz/neptuneml-toolkit | 6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8 | [
"Apache-2.0"
] | 7 | 2021-11-11T15:47:39.000Z | 2022-03-31T03:44:40.000Z | src/neptuneml_toolkit/modelzoo/encoder/__init__.py | riaz/neptuneml-toolkit | 6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8 | [
"Apache-2.0"
] | null | null | null | src/neptuneml_toolkit/modelzoo/encoder/__init__.py | riaz/neptuneml-toolkit | 6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8 | [
"Apache-2.0"
] | 2 | 2021-11-23T19:32:25.000Z | 2022-02-24T18:42:42.000Z | from .han import *
from .rgcn import *
from .rgat import * | 19.333333 | 19 | 0.706897 | 9 | 58 | 4.555556 | 0.555556 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 3 | 20 | 19.333333 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3d40709100e485f753e9bc6e733684b31f860cfe | 42 | py | Python | tox_add_factor/__init__.py | jayvdb/tox-add-factor | 38742451c74a7655592d6930f8f365574cb13ee7 | [
"MIT"
] | 1 | 2020-12-17T11:14:00.000Z | 2020-12-17T11:14:00.000Z | tox_add_factor/__init__.py | jayvdb/tox-add-factor | 38742451c74a7655592d6930f8f365574cb13ee7 | [
"MIT"
] | 3 | 2020-10-15T14:49:04.000Z | 2020-10-20T07:49:25.000Z | tox_add_factor/__init__.py | jayvdb/tox-add-factor | 38742451c74a7655592d6930f8f365574cb13ee7 | [
"MIT"
] | null | null | null | """Make it easy to add factors to tox."""
| 21 | 41 | 0.642857 | 8 | 42 | 3.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 1 | 42 | 42 | 0.794118 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d5e88049493a0d9b8269359be9d265bdc4ef730 | 89 | py | Python | plugins/beebeeto/utils/http/__init__.py | aliluyala/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 95 | 2016-07-05T12:44:25.000Z | 2022-01-24T09:16:44.000Z | plugins/beebeeto/utils/http/__init__.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 2 | 2016-10-24T09:35:24.000Z | 2017-07-28T08:50:31.000Z | plugins/beebeeto/utils/http/__init__.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 39 | 2016-06-13T07:47:39.000Z | 2020-11-26T00:53:48.000Z | from forgeheaders import ForgeHeaders, Win, IOS, Android, Linux, MacOS
from http import * | 44.5 | 70 | 0.797753 | 12 | 89 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 2 | 71 | 44.5 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9fca05afcb0ee1c25603b2aa4b5c7229bdb9b95 | 49 | py | Python | develop/custom_modules/__init__.py | mustard-seed/SparseNN_training | 267a1fb5bed650e66ad5cf3d98069891bb307aec | [
"Apache-2.0"
] | null | null | null | develop/custom_modules/__init__.py | mustard-seed/SparseNN_training | 267a1fb5bed650e66ad5cf3d98069891bb307aec | [
"Apache-2.0"
] | null | null | null | develop/custom_modules/__init__.py | mustard-seed/SparseNN_training | 267a1fb5bed650e66ad5cf3d98069891bb307aec | [
"Apache-2.0"
] | null | null | null | #Author: James Liu <linqiao.liu@mail.utoronto.ca> | 49 | 49 | 0.77551 | 8 | 49 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.826087 | 0.979592 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18048b0aa5d03f85d7540f7736807707b2e90851 | 195 | py | Python | frontend/urls.py | yalld/webgl-test | 0b4c821f7dbcedca6e80470eb8d67cfd4261795c | [
"MIT"
] | null | null | null | frontend/urls.py | yalld/webgl-test | 0b4c821f7dbcedca6e80470eb8d67cfd4261795c | [
"MIT"
] | 7 | 2021-03-30T14:15:18.000Z | 2022-02-19T04:49:53.000Z | frontend/urls.py | yalld/webgl-test | 0b4c821f7dbcedca6e80470eb8d67cfd4261795c | [
"MIT"
] | null | null | null | from django.urls import path
from django.urls import re_path
from frontend.views import index_view
app_name = 'frontend'
urlpatterns = [
re_path(r'^(?:.*)/?$', index_view, name='index'),
]
| 19.5 | 53 | 0.707692 | 28 | 195 | 4.75 | 0.5 | 0.150376 | 0.210526 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14359 | 195 | 9 | 54 | 21.666667 | 0.796407 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
18084028814a8ffa15e92b101d8d2e46fda0c351 | 171 | py | Python | src/config.py | juliangruendner/ketos_annotation | eb7f4b518132be60a08df2c47efc2c86565a32f7 | [
"MIT"
] | null | null | null | src/config.py | juliangruendner/ketos_annotation | eb7f4b518132be60a08df2c47efc2c86565a32f7 | [
"MIT"
] | null | null | null | src/config.py | juliangruendner/ketos_annotation | eb7f4b518132be60a08df2c47efc2c86565a32f7 | [
"MIT"
] | null | null | null | import os
POSTGRES_USER = str(os.getenv('POSTGRES_USER', ''))
POSTGRES_PASSWORD = str(os.getenv('POSTGRES_PASSWORD', ''))
POSTGRES_DB = str(os.getenv('POSTGRES_DB', ''))
| 28.5 | 59 | 0.719298 | 23 | 171 | 5.086957 | 0.347826 | 0.128205 | 0.282051 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 171 | 5 | 60 | 34.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.239766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
18217cab25ca3cef00f09afa9b2a8a1fe4ae975a | 214 | py | Python | bridger/display/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | bridger/display/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | bridger/display/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from .formatting import Condition, Formatting, FormattingRule
from .instance_display import FieldSet, InstanceDisplay, Section, SectionList
from .list_display import Calendar, Field, Legend, LegendItem, ListDisplay | 71.333333 | 77 | 0.850467 | 23 | 214 | 7.826087 | 0.73913 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 214 | 3 | 78 | 71.333333 | 0.927835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18674b34c9a83175605866d662f9ca902e2ed6ec | 100 | py | Python | python/testData/mover/insideStatement.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/mover/insideStatement.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/mover/insideStatement.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a, b):
if a:
pass
else:
pass
a = <caret>3
if b:
pass | 12.5 | 16 | 0.37 | 15 | 100 | 2.466667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.53 | 100 | 8 | 17 | 12.5 | 0.765957 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.375 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
18824315d4ba1b9978f980f3e33303a5f0cd3511 | 116 | py | Python | mundo 1/aula 7/exer6.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | null | null | null | mundo 1/aula 7/exer6.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | null | null | null | mundo 1/aula 7/exer6.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | 1 | 2020-02-22T17:21:05.000Z | 2020-02-22T17:21:05.000Z | n = int(input('digite um numero '))
print(f'o dobro do numero {n} e {n*2} e o triplo e {n*3} e a raiz e {n**(1/2)}') | 58 | 80 | 0.586207 | 29 | 116 | 2.344828 | 0.62069 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.189655 | 116 | 2 | 80 | 58 | 0.680851 | 0 | 0 | 0 | 0 | 0.5 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a106f0aa7984f815b1c2ce217cf1e7e2a38bf027 | 137 | py | Python | 02-json-to-csv.py | sb-olr/C2C-Shipping-ETL-Analysis | 043640e58df9ca58ea361d9d8df37b4274540428 | [
"Apache-2.0"
] | null | null | null | 02-json-to-csv.py | sb-olr/C2C-Shipping-ETL-Analysis | 043640e58df9ca58ea361d9d8df37b4274540428 | [
"Apache-2.0"
] | null | null | null | 02-json-to-csv.py | sb-olr/C2C-Shipping-ETL-Analysis | 043640e58df9ca58ea361d9d8df37b4274540428 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# Usage: ./02-json-to-csv.py
import my_utils
from config import CONFIG
my_utils.generate_csv_files(archive=True)
| 19.571429 | 41 | 0.781022 | 24 | 137 | 4.291667 | 0.791667 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.094891 | 137 | 6 | 42 | 22.833333 | 0.806452 | 0.350365 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a11cc56177ca425de270255de4da4b2e6e7008b3 | 52 | py | Python | cobrakbase/core/kbasebiochem/__init__.py | Fxe/cobrakbase | a41c142b0808b4ded16b400167c70b2466eebd85 | [
"MIT"
] | 3 | 2018-11-28T12:48:54.000Z | 2022-02-28T22:20:32.000Z | cobrakbase/core/kbasebiochem/__init__.py | Fxe/cobrakbase | a41c142b0808b4ded16b400167c70b2466eebd85 | [
"MIT"
] | 2 | 2020-06-26T20:13:16.000Z | 2020-10-27T05:10:34.000Z | cobrakbase/core/kbasebiochem/__init__.py | Fxe/cobrakbase | a41c142b0808b4ded16b400167c70b2466eebd85 | [
"MIT"
] | 1 | 2020-09-02T17:40:34.000Z | 2020-09-02T17:40:34.000Z | from cobrakbase.core.kbasebiochem.media import Media | 52 | 52 | 0.884615 | 7 | 52 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a18621e5ab043a19831adff810a4215ae534afc4 | 80 | py | Python | authorization/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 1 | 2019-01-20T23:00:40.000Z | 2019-01-20T23:00:40.000Z | authorization/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 1 | 2018-12-19T06:51:07.000Z | 2018-12-19T06:51:07.000Z | authorization/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 2 | 2018-12-22T20:19:13.000Z | 2020-09-02T07:32:21.000Z | from ims.authorization.oauth_1 import LTIRequestValidator, LTIRemoteUserBackend
| 40 | 79 | 0.9 | 8 | 80 | 8.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.0625 | 80 | 1 | 80 | 80 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a19f1d08c47859b8d8d46012df013e6e807b6d61 | 91,298 | py | Python | position/controllers.py | josephevans/WeVoteServer | 137f3037ba9984e036eb146aeeeecb4e979c21e1 | [
"MIT"
] | null | null | null | position/controllers.py | josephevans/WeVoteServer | 137f3037ba9984e036eb146aeeeecb4e979c21e1 | [
"MIT"
] | null | null | null | position/controllers.py | josephevans/WeVoteServer | 137f3037ba9984e036eb146aeeeecb4e979c21e1 | [
"MIT"
] | null | null | null | # position/controllers.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
from .models import PositionEntered, PositionEnteredManager, PositionListManager, ANY_STANCE, NO_STANCE, \
FRIENDS_AND_PUBLIC, FRIENDS_ONLY, PUBLIC_ONLY, SHOW_PUBLIC
from ballot.models import OFFICE, CANDIDATE, MEASURE
from can... | 51.551666 | 120 | 0.626071 | 10,212 | 91,298 | 5.063455 | 0.038484 | 0.055465 | 0.072871 | 0.019726 | 0.829021 | 0.783399 | 0.739228 | 0.708324 | 0.652085 | 0.622592 | 0 | 0.000904 | 0.309076 | 91,298 | 1,770 | 121 | 51.580791 | 0.818817 | 0.07952 | 0 | 0.646865 | 0 | 0 | 0.165484 | 0.071229 | 0 | 0 | 0 | 0.00226 | 0 | 1 | 0.007921 | false | 0.005281 | 0.017822 | 0 | 0.053465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1aa2644c42d33fc16ec6f3728f4af39b511f6bd | 123 | py | Python | cron/admin.py | Littledelma/mofadog | 5a7c6672da248e400a8a5746506a6e7b273c9510 | [
"MIT"
] | null | null | null | cron/admin.py | Littledelma/mofadog | 5a7c6672da248e400a8a5746506a6e7b273c9510 | [
"MIT"
] | 1 | 2021-06-08T03:28:08.000Z | 2021-06-08T03:28:08.000Z | cron/admin.py | Littledelma/mofadog | 5a7c6672da248e400a8a5746506a6e7b273c9510 | [
"MIT"
] | 1 | 2021-06-08T03:23:34.000Z | 2021-06-08T03:23:34.000Z | from django.contrib import admin
from .models import Cron_beat
# Register your models here.
admin.site.register(Cron_beat) | 24.6 | 32 | 0.821138 | 19 | 123 | 5.210526 | 0.631579 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 5 | 33 | 24.6 | 0.908257 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1c40c42bb903110c00dd53c0189fc8332e921f5 | 15,078 | py | Python | test/test_integration_list.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 16 | 2019-05-17T15:34:59.000Z | 2021-11-08T10:30:21.000Z | test/test_integration_list.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 301 | 2019-05-07T18:27:10.000Z | 2022-01-26T13:03:49.000Z | test/test_integration_list.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 10 | 2019-07-30T17:00:13.000Z | 2022-01-20T17:00:34.000Z | # -*- coding: utf-8 -*-
"""
CLI List Integration tests
This test file handles the main test flows for the list command
"""
import io
import os
import shutil
from contextlib import redirect_stderr
from conjur.constants import DEFAULT_CONFIG_FILE
from test.util.test_infrastructure import integration_test
from test.uti... | 54.043011 | 137 | 0.639806 | 1,891 | 15,078 | 4.835008 | 0.120571 | 0.089249 | 0.115498 | 0.166029 | 0.761238 | 0.750191 | 0.740676 | 0.713879 | 0.675599 | 0.651537 | 0 | 0.00337 | 0.212694 | 15,078 | 278 | 138 | 54.23741 | 0.766827 | 0.090065 | 0 | 0.487923 | 0 | 0 | 0.30585 | 0.217078 | 0 | 0 | 0 | 0 | 0.178744 | 1 | 0.173913 | false | 0.033816 | 0.038647 | 0 | 0.217391 | 0.004831 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1d2a588d4942404dac45f5a8d80c3d88c6274df | 2,612 | py | Python | main.py | Chiki1601/Batman-drawing | 216d9e4e3643c3aa92e92251f5193860f1dd606c | [
"Unlicense"
] | null | null | null | main.py | Chiki1601/Batman-drawing | 216d9e4e3643c3aa92e92251f5193860f1dd606c | [
"Unlicense"
] | null | null | null | main.py | Chiki1601/Batman-drawing | 216d9e4e3643c3aa92e92251f5193860f1dd606c | [
"Unlicense"
] | null | null | null | #bat man using python
import turtle
import math
kalam = turtle.Turtle()
kalam.speed(500)
window = turtle.Screen()
window.bgcolor("#000000")
kalam.color("yellow")
ankur = 20
kalam.left(90)
kalam.penup()
kalam.goto(-7 * ankur, 0)
kalam.pendown()
for a in range(-7 * ankur, -3 * ankur, 1):
x = a / ankur
rel =... | 33.063291 | 106 | 0.492726 | 462 | 2,612 | 2.785714 | 0.108225 | 0.180264 | 0.111888 | 0.06216 | 0.764569 | 0.764569 | 0.746698 | 0.724942 | 0.724942 | 0.724942 | 0 | 0.105376 | 0.287902 | 2,612 | 78 | 107 | 33.487179 | 0.586559 | 0.007657 | 0 | 0.587302 | 0 | 0 | 0.016609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031746 | 0 | 0.031746 | 0.015873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1d3a7445794ad7b7dfe82d5d8ee19e8703d25cb | 40 | py | Python | testing/assets/exp_syntax_error.py | ice-stuff/ice | 151b741feb23275b4ebe40c3657df563f55cbfee | [
"MIT"
] | 2 | 2015-03-06T20:22:48.000Z | 2015-09-20T10:18:07.000Z | testing/assets/exp_syntax_error.py | glestaris/ice | 151b741feb23275b4ebe40c3657df563f55cbfee | [
"MIT"
] | null | null | null | testing/assets/exp_syntax_error.py | glestaris/ice | 151b741feb23275b4ebe40c3657df563f55cbfee | [
"MIT"
] | null | null | null | def this_is_not valid python:
pass
| 10 | 29 | 0.725 | 7 | 40 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 40 | 3 | 30 | 13.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a1e9986e5bf06289cd4dd089dbac5d440483ac6b | 51 | py | Python | ucdev/cy7c65211/__init__.py | vpetrigo/python-ucdev | d3606fd1244dfefef039c7c38acb8b4a1f086c29 | [
"MIT"
] | 11 | 2015-07-08T01:28:01.000Z | 2022-01-26T14:29:47.000Z | ucdev/cy7c65211/__init__.py | vpetrigo/python-ucdev | d3606fd1244dfefef039c7c38acb8b4a1f086c29 | [
"MIT"
] | 5 | 2017-12-07T15:04:00.000Z | 2021-06-02T14:47:14.000Z | ucdev/cy7c65211/__init__.py | vpetrigo/python-ucdev | d3606fd1244dfefef039c7c38acb8b4a1f086c29 | [
"MIT"
] | 4 | 2017-02-18T18:20:13.000Z | 2022-03-23T16:21:20.000Z | # -*- coding: utf-8-unix -*-
from .device import *
| 17 | 28 | 0.588235 | 7 | 51 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.176471 | 51 | 2 | 29 | 25.5 | 0.690476 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b80b27d224c954b748bcc8898633150a624746ca | 468 | py | Python | stacks/list_stack.py | fgoncalves/datastructures.python | 91afd63c27b04855715f49dc94c46772ff89bb60 | [
"MIT"
] | null | null | null | stacks/list_stack.py | fgoncalves/datastructures.python | 91afd63c27b04855715f49dc94c46772ff89bb60 | [
"MIT"
] | null | null | null | stacks/list_stack.py | fgoncalves/datastructures.python | 91afd63c27b04855715f49dc94c46772ff89bb60 | [
"MIT"
] | null | null | null | from .stack import Stack
class ListStack(Stack):
"""
A stack backed up by a list. There's no limit to the stack's capacity
"""
def __init__(self):
Stack.__init__(self)
self.elements = list()
def push(self, element):
raise NotImplementedError()
def pop(self):
... | 21.272727 | 73 | 0.619658 | 54 | 468 | 5.203704 | 0.537037 | 0.341637 | 0.288256 | 0.220641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286325 | 468 | 22 | 74 | 21.272727 | 0.841317 | 0.147436 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
62d914ab67168870b0749b74ce7386d986722857 | 55 | py | Python | my_script.py | EvgSkv/toyrepo | da9ef8e9e770472575a1e18cbb1a239991d109b0 | [
"Apache-2.0"
] | 1 | 2021-05-03T05:37:24.000Z | 2021-05-03T05:37:24.000Z | my_script.py | EvgSkv/toyrepo | da9ef8e9e770472575a1e18cbb1a239991d109b0 | [
"Apache-2.0"
] | null | null | null | my_script.py | EvgSkv/toyrepo | da9ef8e9e770472575a1e18cbb1a239991d109b0 | [
"Apache-2.0"
] | null | null | null | print("Hello, human! ~~~")
print("How can I help you?") | 27.5 | 28 | 0.618182 | 9 | 55 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 28 | 27.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
62e352bdf1f384bb98d6eed0a42143cbcbd24c67 | 124 | py | Python | server/testCGI.py | padlesky/Lab03 | ec374222dcffc5cf9962771ccf2c988741c634da | [
"Apache-2.0"
] | null | null | null | server/testCGI.py | padlesky/Lab03 | ec374222dcffc5cf9962771ccf2c988741c634da | [
"Apache-2.0"
] | null | null | null | server/testCGI.py | padlesky/Lab03 | ec374222dcffc5cf9962771ccf2c988741c634da | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
print "Content-type: text/html"
print
print "<title> Test CGI </title>"
print "<p>Hellow World!</p>"
| 17.714286 | 33 | 0.677419 | 20 | 124 | 4.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 6 | 34 | 20.666667 | 0.770642 | 0.16129 | 0 | 0 | 0 | 0 | 0.660194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1a0fa524f864cd8514898d22cc4beedc1fb52b3a | 63 | py | Python | __init__.py | anish175/anish_outlier | a53d2410553d09f73bdf7d027027bf3575484abf | [
"MIT"
] | null | null | null | __init__.py | anish175/anish_outlier | a53d2410553d09f73bdf7d027027bf3575484abf | [
"MIT"
] | null | null | null | __init__.py | anish175/anish_outlier | a53d2410553d09f73bdf7d027027bf3575484abf | [
"MIT"
] | null | null | null | from anish_101703072_outlier.outlier import outlier_row_removal | 63 | 63 | 0.936508 | 9 | 63 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.047619 | 63 | 1 | 63 | 63 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a7e1d284df3568f073738af6e2ae77feb738785d | 69 | py | Python | helloworld.py | Douwanna/Douwanna | ebd7f47d4b25d93fed46c9d0ff6a263de26ccd56 | [
"MIT"
] | 1 | 2018-01-24T02:47:07.000Z | 2018-01-24T02:47:07.000Z | helloworld.py | Douwanna/Douwanna | ebd7f47d4b25d93fed46c9d0ff6a263de26ccd56 | [
"MIT"
] | null | null | null | helloworld.py | Douwanna/Douwanna | ebd7f47d4b25d93fed46c9d0ff6a263de26ccd56 | [
"MIT"
] | null | null | null | #coding=utf-8
print("hello world!")
print('Welcome to a new world!') | 17.25 | 32 | 0.695652 | 12 | 69 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.115942 | 69 | 4 | 32 | 17.25 | 0.770492 | 0.173913 | 0 | 0 | 0 | 0 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a7f4fd4f578061b465a13b62c3d0684802480480 | 32,758 | py | Python | tests/agent_features/test_asgi_browser.py | bradleycamacho/newrelic-python-agent | d41fb461e7a4eb428fa85b0abc21734814bd7390 | [
"Apache-2.0"
] | null | null | null | tests/agent_features/test_asgi_browser.py | bradleycamacho/newrelic-python-agent | d41fb461e7a4eb428fa85b0abc21734814bd7390 | [
"Apache-2.0"
] | null | null | null | tests/agent_features/test_asgi_browser.py | bradleycamacho/newrelic-python-agent | d41fb461e7a4eb428fa85b0abc21734814bd7390 | [
"Apache-2.0"
] | null | null | null | # Copyright 2010 New Relic, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 37.480549 | 91 | 0.723335 | 4,201 | 32,758 | 5.361343 | 0.062128 | 0.053279 | 0.045287 | 0.033211 | 0.879279 | 0.841229 | 0.767482 | 0.711761 | 0.690583 | 0.678107 | 0 | 0.008501 | 0.156115 | 32,758 | 873 | 92 | 37.523482 | 0.806251 | 0.094175 | 0 | 0.560684 | 0 | 0.001709 | 0.235832 | 0.073624 | 0 | 0 | 0 | 0 | 0.208547 | 1 | 0.041026 | false | 0.001709 | 0.018803 | 0 | 0.061538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7fba8dd77e87ad1b06a627871af64f972741a90 | 69 | py | Python | SVM Classification/svm_code/svm_class/__init__.py | herr-kistler/machine-learning | 1ec88fbafec6a0ccbfe788b462c804b8e981d851 | [
"MIT"
] | 1 | 2020-04-08T06:23:47.000Z | 2020-04-08T06:23:47.000Z | SVM Classification/svm_code/svm_class/__init__.py | herr-kistler/machine-learning | 1ec88fbafec6a0ccbfe788b462c804b8e981d851 | [
"MIT"
] | null | null | null | SVM Classification/svm_code/svm_class/__init__.py | herr-kistler/machine-learning | 1ec88fbafec6a0ccbfe788b462c804b8e981d851 | [
"MIT"
] | null | null | null | from .svm import SVMTrainer, SVMPredictor
from .kernel import Kernel
| 23 | 41 | 0.826087 | 9 | 69 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 2 | 42 | 34.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c502ce08bcf5237aa0039d5c0c80fa59fe3c098c | 127 | py | Python | disvoice/articulation/__init__.py | jcvasquezc/Disvoice | ed9dbd42c3f01f041f90848f96004be8ebb78d8d | [
"MIT"
] | null | null | null | disvoice/articulation/__init__.py | jcvasquezc/Disvoice | ed9dbd42c3f01f041f90848f96004be8ebb78d8d | [
"MIT"
] | null | null | null | disvoice/articulation/__init__.py | jcvasquezc/Disvoice | ed9dbd42c3f01f041f90848f96004be8ebb78d8d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .articulation import Articulation
from .articulation_functions import *
__all__=["Articulation"] | 21.166667 | 38 | 0.748031 | 13 | 127 | 6.923077 | 0.615385 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.11811 | 127 | 6 | 39 | 21.166667 | 0.794643 | 0.165354 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c5247f9bbbac6e9d128d677382c6cde793165c5a | 156 | py | Python | office365/outlook/mail/mailbox_settings.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/outlook/mail/mailbox_settings.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/outlook/mail/mailbox_settings.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | from office365.runtime.client_value import ClientValue
class MailboxSettings(ClientValue):
"""Settings for the primary mailbox of a user."""
pass
| 22.285714 | 54 | 0.762821 | 19 | 156 | 6.210526 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.160256 | 156 | 6 | 55 | 26 | 0.877863 | 0.275641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
c556ddb4ab114e2577a986c282600fd08579d625 | 62 | py | Python | winejournal/blueprints/categories/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | null | null | null | winejournal/blueprints/categories/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | 5 | 2021-02-08T20:22:06.000Z | 2021-09-07T23:52:33.000Z | winejournal/blueprints/categories/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | 2 | 2018-06-27T15:03:38.000Z | 2020-03-14T15:40:34.000Z | from winejournal.blueprints.categories.views import categories | 62 | 62 | 0.903226 | 7 | 62 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
c56fdf1a222a53558fe508011166458e152eb33c | 16,198 | py | Python | src/datamgr/metadata/metadata_biz/types/entities/by_biz/data_model.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 84 | 2021-06-30T06:20:23.000Z | 2022-03-22T03:05:49.000Z | src/datamgr/metadata/metadata_biz/types/entities/by_biz/data_model.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 7 | 2021-06-30T06:21:16.000Z | 2022-03-29T07:36:13.000Z | src/datamgr/metadata/metadata_biz/types/entities/by_biz/data_model.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 40 | 2021-06-30T06:21:26.000Z | 2022-03-29T12:42:26.000Z | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
License for BK-BASE 蓝鲸基础平台:
---------------------------------------------... | 41.533333 | 117 | 0.707742 | 2,174 | 16,198 | 5.070837 | 0.121435 | 0.108309 | 0.180515 | 0.146589 | 0.78184 | 0.7666 | 0.754263 | 0.716528 | 0.69512 | 0.690221 | 0 | 0.000577 | 0.143351 | 16,198 | 389 | 118 | 41.640103 | 0.793889 | 0.106248 | 0 | 0.7 | 0 | 0 | 0.084253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.861538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c573c9d703524b4314ba0b270a9bcdc04a8cc26d | 2,575 | py | Python | codigos/numero pi.py | skunkworksdev/Ifes_Algoritmo | 458ef73a304573c12b45d8afae38e13ae0f3354f | [
"MIT"
] | null | null | null | codigos/numero pi.py | skunkworksdev/Ifes_Algoritmo | 458ef73a304573c12b45d8afae38e13ae0f3354f | [
"MIT"
] | null | null | null | codigos/numero pi.py | skunkworksdev/Ifes_Algoritmo | 458ef73a304573c12b45d8afae38e13ae0f3354f | [
"MIT"
] | null | null | null | num_pi = "141592653589793238462643383279502884197169399375105
82097494459230781640628620899862803482534211706798
21480865132823066470938446095505822317253594081284
81117450284102701938521105559644622948954930381964
42881097566593344612847564823378678316527120190914
56485669234603486104543266482133936072602491412737
245... | 49.519231 | 61 | 0.977476 | 55 | 2,575 | 45.727273 | 0.963636 | 0.003976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.991277 | 0.020583 | 2,575 | 52 | 62 | 49.519231 | 0.005948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.019608 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d6d2ded67e6efc04d9e4f27d6821d0f5a405036 | 555 | py | Python | src/web/CygnusCloud/controllers/plugin_translate.py | lbarriosh/cygnus-cloud | 1a17fbb55de69adba2ec42db4c9a063865af4fbd | [
"Apache-2.0"
] | 3 | 2017-09-03T22:01:35.000Z | 2019-01-10T05:40:44.000Z | src/web/CygnusCloud/controllers/plugin_translate.py | lbarriosh/cygnus-cloud | 1a17fbb55de69adba2ec42db4c9a063865af4fbd | [
"Apache-2.0"
] | null | null | null | src/web/CygnusCloud/controllers/plugin_translate.py | lbarriosh/cygnus-cloud | 1a17fbb55de69adba2ec42db4c9a063865af4fbd | [
"Apache-2.0"
] | null | null | null | def translate():
return "jQuery(document).ready(function(){jQuery('body').translate('%s');});" % request.args(0).split('.')[0]
def changeLanguage():
session._language = request.args[0]
#T.force(request.args[0])
#T.set_current_languages(str(request.args[0]),str(request.args[0]) + '-' + str(req... | 39.642857 | 113 | 0.630631 | 77 | 555 | 4.506494 | 0.415584 | 0.443804 | 0.207493 | 0.129683 | 0.400576 | 0.400576 | 0.400576 | 0.400576 | 0.270893 | 0.270893 | 0 | 0.031646 | 0.145946 | 555 | 13 | 114 | 42.692308 | 0.700422 | 0.216216 | 0 | 0 | 0 | 0 | 0.159353 | 0.157044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
3d95ae30f98e58ff75d580c78b00579861a88438 | 2,064 | py | Python | tests/date/test_getters.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 5,049 | 2016-07-04T07:16:34.000Z | 2022-03-31T07:41:48.000Z | tests/date/test_getters.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 536 | 2016-07-05T22:46:29.000Z | 2022-03-22T12:41:54.000Z | tests/date/test_getters.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 373 | 2016-07-05T19:51:51.000Z | 2022-03-23T16:57:46.000Z | import pendulum
def test_year():
d = pendulum.Date(1234, 5, 6)
assert d.year == 1234
def test_month():
d = pendulum.Date(1234, 5, 6)
assert d.month == 5
def test_day():
d = pendulum.Date(1234, 5, 6)
assert d.day == 6
def test_day_of_week():
d = pendulum.Date(2012, 5, 7)
assert d.... | 24 | 57 | 0.65843 | 361 | 2,064 | 3.542936 | 0.146814 | 0.243941 | 0.197029 | 0.172009 | 0.658327 | 0.456607 | 0.39093 | 0.312744 | 0.111024 | 0.056294 | 0 | 0.112257 | 0.20155 | 2,064 | 85 | 58 | 24.282353 | 0.663835 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 1 | 0.245614 | false | 0 | 0.017544 | 0 | 0.263158 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d9d89911af790ddcf88ecdb541a37d85a1e64ec | 34 | py | Python | cryptomaker.py | AndrewMeadows/cryptogram | eb1b02dc2a954281be82c92a1bbe01ad015cd5db | [
"Apache-2.0"
] | null | null | null | cryptomaker.py | AndrewMeadows/cryptogram | eb1b02dc2a954281be82c92a1bbe01ad015cd5db | [
"Apache-2.0"
] | null | null | null | cryptomaker.py | AndrewMeadows/cryptogram | eb1b02dc2a954281be82c92a1bbe01ad015cd5db | [
"Apache-2.0"
] | null | null | null | #! /user/bin/python
print("foo")
| 8.5 | 19 | 0.617647 | 5 | 34 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 3 | 20 | 11.333333 | 0.7 | 0.529412 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3dabcd4c45b175681227f86f9413720f46a627e5 | 2,257 | py | Python | hubspot/files/files/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | hubspot/files/files/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | hubspot/files/files/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Files
Upload and manage files. # noqa: E501
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
__version__ = "1.0.0"
# import apis into sdk package
from hubspot.files.files.api.files_... | 42.584906 | 92 | 0.854231 | 303 | 2,257 | 6.227723 | 0.267327 | 0.169051 | 0.245893 | 0.322735 | 0.533651 | 0.446211 | 0.157393 | 0.042395 | 0 | 0 | 0 | 0.004356 | 0.084626 | 2,257 | 52 | 93 | 43.403846 | 0.909003 | 0.104564 | 0 | 0 | 1 | 0 | 0.00251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.967742 | 0 | 0.967742 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3db556a11d2501212b04ab032688b0220d340ca7 | 2,934 | py | Python | python/jittor/test/test_affine_grid.py | Exusial/jittor | eca21d5bba5098bce4f492fa44908677b6e76588 | [
"Apache-2.0"
] | 2,571 | 2020-03-20T03:38:35.000Z | 2022-03-31T08:20:05.000Z | python/jittor/test/test_affine_grid.py | Exusial/jittor | eca21d5bba5098bce4f492fa44908677b6e76588 | [
"Apache-2.0"
] | 197 | 2020-03-20T04:11:47.000Z | 2022-03-31T10:14:24.000Z | python/jittor/test/test_affine_grid.py | Exusial/jittor | eca21d5bba5098bce4f492fa44908677b6e76588 | [
"Apache-2.0"
] | 284 | 2020-03-20T03:53:15.000Z | 2022-03-28T07:20:32.000Z | # ***************************************************************
# Copyright (c) 2021 Jittor. All Rights Reserved.
# Maintainers: Dun Liang <randonlang@gmail.com>.
# This file is subject to the terms and conditions defined in
# file 'LICENSE.txt', which is part of this source code package.
# ************************... | 39.648649 | 120 | 0.656783 | 421 | 2,934 | 4.36342 | 0.244656 | 0.052259 | 0.074034 | 0.058792 | 0.726728 | 0.718019 | 0.717474 | 0.717474 | 0.717474 | 0.688078 | 0 | 0.022425 | 0.179277 | 2,934 | 74 | 121 | 39.648649 | 0.740449 | 0.118269 | 0 | 0.518519 | 0 | 0 | 0.028671 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.037037 | false | 0 | 0.111111 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3dc789bb341fbe33803a4e1bb103d2ee9b4865f0 | 35 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/result.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/result.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/result.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | class SyncResult(object):
pass
| 11.666667 | 25 | 0.714286 | 4 | 35 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 26 | 17.5 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9a805602d21b59185f15b225aec71ba701580e84 | 100 | py | Python | terminal/System.py | tagadvance/Terminal-Save-and-Restore | 53c99ddd59886f50d21250c7f41b99c0bb1323b1 | [
"MIT"
] | 3 | 2018-06-05T19:30:18.000Z | 2018-07-09T21:53:23.000Z | terminal/System.py | tagadvance/Terminal-Save-and-Restore | 53c99ddd59886f50d21250c7f41b99c0bb1323b1 | [
"MIT"
] | 1 | 2018-06-01T18:05:30.000Z | 2018-06-02T07:51:24.000Z | terminal/System.py | tagadvance/Terminal-Save-and-Restore | 53c99ddd59886f50d21250c7f41b99c0bb1323b1 | [
"MIT"
] | null | null | null | import os
class System:
@staticmethod
def isRoot():
return os.geteuid() == 0
| 11.111111 | 32 | 0.56 | 11 | 100 | 5.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.34 | 100 | 8 | 33 | 12.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9a8ce63a90523e238db33621886cd1976e1d2dd9 | 8,440 | py | Python | tdameritrade/tdameritrade/tests/AlgoTrading.py | ziran137/td_api | 1b7fad9a1a47d28ae6c6ed64c4787ac94f40ac7a | [
"MIT"
] | null | null | null | tdameritrade/tdameritrade/tests/AlgoTrading.py | ziran137/td_api | 1b7fad9a1a47d28ae6c6ed64c4787ac94f40ac7a | [
"MIT"
] | null | null | null | tdameritrade/tdameritrade/tests/AlgoTrading.py | ziran137/td_api | 1b7fad9a1a47d28ae6c6ed64c4787ac94f40ac7a | [
"MIT"
] | null | null | null | import requests
endpoint = r'https://api.tdameritrade.com/v1/marketdata/{}/pricehistory'.format('GOOG')
payload = {'apikey': URLENCODED_Consumer_Key,
'periodType': 'minute',
'frequency': 1,
'period':2,
'endDate':'155615824000',
'startDate':'15545358... | 55.89404 | 1,193 | 0.757109 | 875 | 8,440 | 7.274286 | 0.392 | 0.012726 | 0.013354 | 0.019639 | 0.167164 | 0.158052 | 0.158052 | 0.158052 | 0.14454 | 0.14454 | 0 | 0.064268 | 0.153791 | 8,440 | 150 | 1,194 | 56.266667 | 0.826939 | 0.036137 | 0 | 0.123077 | 0 | 0.076923 | 0.656636 | 0.499888 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.046154 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a90d313357c0eae87f6d61505cd984c83344a95 | 170 | py | Python | audiomate/annotations/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 133 | 2018-05-18T13:54:10.000Z | 2022-02-15T02:14:20.000Z | audiomate/annotations/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 68 | 2018-06-03T16:42:09.000Z | 2021-01-29T10:58:30.000Z | audiomate/annotations/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 37 | 2018-11-02T02:40:29.000Z | 2021-11-30T07:44:50.000Z | """
This module contains classes to describe
the content of an audio-segment.
"""
from .label import Label # noqa: F401
from .label_list import LabelList # noqa: F401
| 21.25 | 47 | 0.741176 | 25 | 170 | 5 | 0.76 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.176471 | 170 | 7 | 48 | 24.285714 | 0.85 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ad85997d789daed48deeac90d084cb0cc0dea54 | 67 | py | Python | demo.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | demo.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | demo.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | """Demo script."""
import os
print('Demo Hello')
print('commit..')
| 13.4 | 19 | 0.641791 | 9 | 67 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 4 | 20 | 16.75 | 0.716667 | 0.179104 | 0 | 0 | 0 | 0 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b10e7ac7baeb3ca610a27258dc048c131589e525 | 91 | py | Python | enthought/graphcanvas/graph_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/graphcanvas/graph_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/graphcanvas/graph_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from graphcanvas.graph_view import *
| 22.75 | 38 | 0.846154 | 12 | 91 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.8875 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.