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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be3f8647042978a837a891eba069e2a7e1afb8bb | 305 | py | Python | saveLoadCtrls/main.py | Saij84/mayaTools | c5f3c81a57f3882074eeee7f6e5c7f1fe5dbc7b0 | [
"MIT"
] | null | null | null | saveLoadCtrls/main.py | Saij84/mayaTools | c5f3c81a57f3882074eeee7f6e5c7f1fe5dbc7b0 | [
"MIT"
] | null | null | null | saveLoadCtrls/main.py | Saij84/mayaTools | c5f3c81a57f3882074eeee7f6e5c7f1fe5dbc7b0 | [
"MIT"
] | null | null | null | import mayaTools.saveLoadCtrls.ui.saveLoadCtrl_UI as mainUI
if __name__ == '__main__':
global open_import_dialog
try:
open_import_dialog.close()
open_import_dialog.deleteLater()
except:
pass
open_import_dialog = mainUI.MainDialog()
open_import_dialog.show()
| 21.785714 | 59 | 0.708197 | 35 | 305 | 5.628571 | 0.571429 | 0.253807 | 0.406091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216393 | 305 | 13 | 60 | 23.461538 | 0.824268 | 0 | 0 | 0 | 0 | 0 | 0.02623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
be4a22594b1d946f852e0efd33d311c5b644d133 | 663 | py | Python | spec/construct/test_params_pass_array_int.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/construct/test_params_pass_array_int.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/construct/test_params_pass_array_int.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from params_pass_array_int import _schema
class TestParamsPassArrayInt(unittest.TestCase):
def test_params_pass_array_int(self):
r = _schema.parse_file('src/position_to_end.bin')
self.assertEqual(len(r.... | 36.833333 | 77 | 0.717949 | 101 | 663 | 4.49505 | 0.475248 | 0.231278 | 0.138767 | 0.220264 | 0.462555 | 0.444934 | 0.140969 | 0 | 0 | 0 | 0 | 0.043636 | 0.170437 | 663 | 17 | 78 | 39 | 0.781818 | 0.113122 | 0 | 0 | 1 | 0 | 0.039249 | 0.039249 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.083333 | false | 0.833333 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
beb27c8360efeff2165c31c9a64d9e0639b252b1 | 50 | py | Python | appiumbase/__init__.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | null | null | null | appiumbase/__init__.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | null | null | null | appiumbase/__init__.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | 1 | 2021-12-20T04:31:26.000Z | 2021-12-20T04:31:26.000Z | from appiumbase.fixtures.base_case import BaseCase | 50 | 50 | 0.9 | 7 | 50 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 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 |
fe211e08655a582dd4e570e46ed6d7c5c1ace522 | 131 | py | Python | component/elasticsearch/__init__.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 340 | 2016-06-21T08:05:57.000Z | 2022-03-13T02:23:34.000Z | component/elasticsearch/__init__.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 1 | 2016-08-30T07:15:30.000Z | 2016-08-30T07:15:30.000Z | component/elasticsearch/__init__.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 195 | 2016-06-21T08:06:00.000Z | 2022-03-25T00:39:32.000Z | KEYWORDS = ['elasticsearch', ]
def rules(head='',context='',ip='',port='',productname={},keywords='',hackinfo=''):
return False | 43.666667 | 83 | 0.641221 | 13 | 131 | 6.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 131 | 3 | 84 | 43.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fe2707285d0ca7a722ced5b3d1bc4f6b4e29dd4c | 52 | py | Python | modules/qgr/__init__.py | Merricx/blasto | df1f514a31ea54fb439d08d025bb39a2e0371b15 | [
"MIT"
] | 7 | 2017-07-01T18:19:54.000Z | 2020-12-05T16:48:45.000Z | modules/qgr/__init__.py | Merricx/blasto | df1f514a31ea54fb439d08d025bb39a2e0371b15 | [
"MIT"
] | 1 | 2021-08-18T15:02:36.000Z | 2022-03-01T09:46:58.000Z | modules/qgr/__init__.py | Merricx/blasto | df1f514a31ea54fb439d08d025bb39a2e0371b15 | [
"MIT"
] | 1 | 2020-12-05T16:43:25.000Z | 2020-12-05T16:43:25.000Z | #!/usr/bin/env python
import en
import de
import es | 10.4 | 21 | 0.75 | 10 | 52 | 3.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 5 | 22 | 10.4 | 0.886364 | 0.384615 | 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 |
fe3f7ccb465084879f2a66ccd23ed393eb745a71 | 143 | py | Python | sakarya_stream_project/consume2.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | sakarya_stream_project/consume2.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | sakarya_stream_project/consume2.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | from controller.consumerController.consumerController import ConsumerController
consumer = ConsumerController()
consumer.consume_tweets_agg() | 28.6 | 79 | 0.881119 | 12 | 143 | 10.333333 | 0.666667 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 143 | 5 | 80 | 28.6 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fe5c562f987595138233e792ee94d805960b4b21 | 491 | py | Python | malib/policies/__init__.py | alvaro-serra/malib | fe2b0736974c2a3ed9e41121b6cf475a3ee0b5a0 | [
"MIT"
] | 23 | 2020-07-05T11:13:00.000Z | 2022-01-28T00:24:41.000Z | malib/policies/__init__.py | Taospirit/malib | fe2b0736974c2a3ed9e41121b6cf475a3ee0b5a0 | [
"MIT"
] | 2 | 2020-09-07T19:09:40.000Z | 2021-06-02T02:21:51.000Z | malib/policies/__init__.py | Taospirit/malib | fe2b0736974c2a3ed9e41121b6cf475a3ee0b5a0 | [
"MIT"
] | 8 | 2020-07-06T07:24:37.000Z | 2021-09-27T20:28:25.000Z | from malib.policies.gaussian_policy import GaussianMLPPolicy
from malib.policies.uniform_policy import UniformPolicy
from malib.policies.deterministic_policy import DeterministicMLPPolicy
from malib.policies.discrete_qf_policy import DiscreteQfDerivedPolicy
from malib.policies.level_k_policy import LevelKPolicy
from ma... | 61.375 | 103 | 0.881874 | 50 | 491 | 8.4 | 0.42 | 0.128571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063136 | 491 | 8 | 103 | 61.375 | 0.913043 | 0.205703 | 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 |
fe6b2854ff50ced8d03e9d3233f99829148a0361 | 271 | py | Python | retriever/lib/models.py | piyushchauhan/retriever | c5197332603c8236ab3543eb0150ef0130240414 | [
"MIT"
] | null | null | null | retriever/lib/models.py | piyushchauhan/retriever | c5197332603c8236ab3543eb0150ef0130240414 | [
"MIT"
] | 1 | 2019-02-23T14:11:34.000Z | 2019-02-28T21:18:51.000Z | retriever/lib/models.py | piyushchauhan/retriever | c5197332603c8236ab3543eb0150ef0130240414 | [
"MIT"
] | 1 | 2020-01-06T11:37:54.000Z | 2020-01-06T11:37:54.000Z | """Data Retriever Data Model
This module contains basic class definitions for the Retriever platform.
"""
from retriever.lib.cleanup import *
from retriever.lib.engine import *
from retriever.lib.table import *
from retriever.lib.table import TabularDataset as Table
| 24.636364 | 72 | 0.797048 | 37 | 271 | 5.837838 | 0.540541 | 0.240741 | 0.296296 | 0.305556 | 0.277778 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136531 | 271 | 10 | 73 | 27.1 | 0.923077 | 0.365314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fe6c0268838b8dcb97b97ca729cffc3cf72e5a77 | 1,247 | py | Python | cloudevents/http/event_type.py | timofurrer/sdk-python | 390f5944c041d02979ecc403fb17fd49f4465b7a | [
"Apache-2.0"
] | null | null | null | cloudevents/http/event_type.py | timofurrer/sdk-python | 390f5944c041d02979ecc403fb17fd49f4465b7a | [
"Apache-2.0"
] | null | null | null | cloudevents/http/event_type.py | timofurrer/sdk-python | 390f5944c041d02979ecc403fb17fd49f4465b7a | [
"Apache-2.0"
] | null | null | null | import typing
from cloudevents.sdk.converters import binary, structured
def is_binary(headers: typing.Dict[str, str]) -> bool:
"""Uses internal marshallers to determine whether this event is binary
:param headers: the HTTP headers
:type headers: typing.Dict[str, str]
:returns bool: returns a bool ind... | 41.566667 | 97 | 0.732959 | 159 | 1,247 | 5.660377 | 0.27673 | 0.097778 | 0.075556 | 0.088889 | 0.724444 | 0.724444 | 0.724444 | 0.724444 | 0.724444 | 0.615556 | 0 | 0 | 0.173216 | 1,247 | 29 | 98 | 43 | 0.872939 | 0.371291 | 0 | 0.285714 | 0 | 0 | 0.032476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 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 |
fe76fc349aade7e81ee7fd7217a785380fe90f55 | 176 | py | Python | training/rootnav2/__init__.py | robail-yasrab/6-RootNav-2.0 | 3e973c0f7fc34b3938a2294e858d1a0de76e9f0f | [
"BSD-3-Clause"
] | 23 | 2019-07-25T10:15:20.000Z | 2022-01-26T03:28:56.000Z | training/rootnav2/__init__.py | rootnav2/RootNav-2.0 | 3e973c0f7fc34b3938a2294e858d1a0de76e9f0f | [
"BSD-3-Clause"
] | 7 | 2019-08-07T15:56:26.000Z | 2022-01-13T01:28:22.000Z | training/rootnav2/__init__.py | rootnav2/RootNav-2.0 | 3e973c0f7fc34b3938a2294e858d1a0de76e9f0f | [
"BSD-3-Clause"
] | 11 | 2019-07-25T10:15:25.000Z | 2022-02-15T09:14:49.000Z | import torchvision.models as models
from rootnav2.hourglass import *
from rootnav2.utils import convert_state_dict
from rootnav2.accuracy import nonmaximalsuppression, rrtree
| 29.333333 | 59 | 0.863636 | 22 | 176 | 6.818182 | 0.636364 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.102273 | 176 | 5 | 60 | 35.2 | 0.93038 | 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 |
fe8fa5460779af2cfaed6e7101fcd60ceac4afca | 924 | py | Python | seija/reusables/send_large_message.py | kevlu8/Seija | 3fc4cfe3b265232f7ae6315eae2214fa363336c0 | [
"MIT"
] | 16 | 2019-02-12T17:16:03.000Z | 2021-07-16T05:36:06.000Z | seija/reusables/send_large_message.py | kevlu8/Seija | 3fc4cfe3b265232f7ae6315eae2214fa363336c0 | [
"MIT"
] | null | null | null | seija/reusables/send_large_message.py | kevlu8/Seija | 3fc4cfe3b265232f7ae6315eae2214fa363336c0 | [
"MIT"
] | 6 | 2019-12-17T19:48:10.000Z | 2022-03-11T04:29:06.000Z | async def send_large_text(channel, contents):
return_messages = []
content_lines = contents.splitlines(True)
output = ""
for line in content_lines:
if len(output) > 1800:
return_messages.append(await channel.send(output))
output = ""
output += line
if len(outp... | 31.862069 | 67 | 0.638528 | 105 | 924 | 5.466667 | 0.238095 | 0.195122 | 0.076655 | 0.174216 | 0.8223 | 0.8223 | 0.8223 | 0.578397 | 0.578397 | 0.578397 | 0 | 0.014771 | 0.267316 | 924 | 28 | 68 | 33 | 0.833087 | 0 | 0 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
feb399f8e2eb5906741d730c5095751a86de2e69 | 1,728 | py | Python | tests/test_public_endpoints.py | snclucas/stashy | f24488fa640f561f79ac13f474ab43d6348f692f | [
"MIT"
] | null | null | null | tests/test_public_endpoints.py | snclucas/stashy | f24488fa640f561f79ac13f474ab43d6348f692f | [
"MIT"
] | 1 | 2021-06-01T22:24:42.000Z | 2021-06-01T22:24:42.000Z | tests/test_public_endpoints.py | snclucas/spaceenv | 04d2ab194bb6be7793a45c373d9e8ba7a5267561 | [
"MIT"
] | null | null | null | import json
from tests.stashy_test_case import StashyTestCase
class TestStashyAuthorization(StashyTestCase):
def test_post_to_public_endpoint(self):
result = self.simulate_request(method='POST', path='/p/testuser1endpoint/docs',
headers=self.header_with_user1_token... | 44.307692 | 101 | 0.608218 | 195 | 1,728 | 5.184615 | 0.266667 | 0.07913 | 0.054402 | 0.098912 | 0.725025 | 0.725025 | 0.725025 | 0.725025 | 0.705242 | 0.624135 | 0 | 0.006426 | 0.279514 | 1,728 | 38 | 102 | 45.473684 | 0.805622 | 0.019676 | 0 | 0.576923 | 0 | 0 | 0.109338 | 0.060284 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.153846 | 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 |
229928c6addc09a6f842158847fe3a834e8b30b8 | 23,801 | py | Python | dining_room/tests/test_domain.py | GT-RAIL/isolation_cyoa | f83e143fa5c4f011a80d5ca963bd722d4222f478 | [
"MIT"
] | 1 | 2021-08-18T20:59:45.000Z | 2021-08-18T20:59:45.000Z | dining_room/tests/test_domain.py | GT-RAIL/isolation_cyoa | f83e143fa5c4f011a80d5ca963bd722d4222f478 | [
"MIT"
] | 8 | 2021-03-19T11:59:35.000Z | 2022-02-27T10:42:43.000Z | dining_room/tests/test_domain.py | GT-RAIL/isolation_cyoa | f83e143fa5c4f011a80d5ca963bd722d4222f478 | [
"MIT"
] | null | null | null | import os
import copy
import collections
import unittest
import numpy as np
from django.test import SimpleTestCase, TestCase, Client
from dining_room import constants
from dining_room.models import User, StudyManagement
from dining_room.models.domain import State, Transition, Suggestions
from dining_room.views impor... | 46.03675 | 127 | 0.655645 | 2,802 | 23,801 | 5.337259 | 0.096717 | 0.069542 | 0.080241 | 0.088265 | 0.771448 | 0.749381 | 0.745771 | 0.717753 | 0.708058 | 0.694617 | 0 | 0.005531 | 0.263224 | 23,801 | 516 | 128 | 46.125969 | 0.847286 | 0.140456 | 0 | 0.663492 | 0 | 0 | 0.024008 | 0.001544 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.060317 | false | 0.003175 | 0.031746 | 0 | 0.104762 | 0.003175 | 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 |
a3f48554c572b749cb92b1ee543f06829256c5b7 | 492 | py | Python | day_34/quiz.py | steveanlorn/python_bootcamp_100_days | e542df58406ecae54c76fc8d5cbe08b81243b92f | [
"MIT"
] | null | null | null | day_34/quiz.py | steveanlorn/python_bootcamp_100_days | e542df58406ecae54c76fc8d5cbe08b81243b92f | [
"MIT"
] | null | null | null | day_34/quiz.py | steveanlorn/python_bootcamp_100_days | e542df58406ecae54c76fc8d5cbe08b81243b92f | [
"MIT"
] | 1 | 2021-06-04T03:37:22.000Z | 2021-06-04T03:37:22.000Z | from question import Question
class Quiz:
def __init__(self, questions: list[Question]):
self.questions = questions
self.question_number = 1
self.current_question = self.questions[0]
def next_question(self):
self.current_question = self.questions[self.question_number]
... | 27.333333 | 68 | 0.668699 | 59 | 492 | 5.338983 | 0.40678 | 0.206349 | 0.228571 | 0.171429 | 0.203175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.25 | 492 | 17 | 69 | 28.941176 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | 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 |
4328336e983041f363c76118cc5cc7dfc699ee97 | 143 | py | Python | tests/web_platform/css_flexbox_1/test_flex_box_wrap.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flex_box_wrap.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flex_box_wrap.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 TestFlexBoxWrap(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flex-box-wrap'))
| 23.833333 | 68 | 0.783217 | 17 | 143 | 6.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.097902 | 143 | 5 | 69 | 28.6 | 0.806202 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 0 | 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 |
4a387915d37e0145941d7136ba33105ddab73650 | 101 | py | Python | ports/renesas-ra/boards/RA4M1_EK/manifest.py | andypiper/micropython | 7883ae413ddfa6181d784533b236658658383d0c | [
"MIT"
] | 1 | 2022-03-06T10:05:36.000Z | 2022-03-06T10:05:36.000Z | ports/renesas-ra/boards/RA4M1_EK/manifest.py | andypiper/micropython | 7883ae413ddfa6181d784533b236658658383d0c | [
"MIT"
] | null | null | null | ports/renesas-ra/boards/RA4M1_EK/manifest.py | andypiper/micropython | 7883ae413ddfa6181d784533b236658658383d0c | [
"MIT"
] | null | null | null | # We do not want to include default frozen modules,
freeze("$(MPY_DIR)/drivers/sdcard", "sdcard.py")
| 33.666667 | 51 | 0.732673 | 16 | 101 | 4.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 2 | 52 | 50.5 | 0.820225 | 0.485149 | 0 | 0 | 0 | 0 | 0.68 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a4e9adb2fe7abef5e1ee505d714d18b70ed9c05 | 23 | py | Python | DarkMatterUtilities/__init__.py | dtemps123/DarkMatterUtilities | b38b668a12fe2ee098f29a7b41b16d63da026e8a | [
"MIT"
] | null | null | null | DarkMatterUtilities/__init__.py | dtemps123/DarkMatterUtilities | b38b668a12fe2ee098f29a7b41b16d63da026e8a | [
"MIT"
] | null | null | null | DarkMatterUtilities/__init__.py | dtemps123/DarkMatterUtilities | b38b668a12fe2ee098f29a7b41b16d63da026e8a | [
"MIT"
] | null | null | null | # print("Initializing") | 23 | 23 | 0.73913 | 2 | 23 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 23 | 1 | 23 | 23 | 0.772727 | 0.913043 | 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 |
4a6ee8afc9be40ae3ea79da0f633a9ea013bcd7e | 213 | py | Python | 01_PythonTutorial/016_GlobalVariables.py | EliazBobadilla/Python-Tutorial-W3Schools | 0f22be2eea493c7e331d15b72847a34a4b748884 | [
"MIT"
] | 5 | 2021-05-29T23:30:57.000Z | 2021-12-19T11:21:24.000Z | 01_PythonTutorial/016_GlobalVariables.py | ChromeOwO/Python-Tutorial-W3Schools | 0f22be2eea493c7e331d15b72847a34a4b748884 | [
"MIT"
] | null | null | null | 01_PythonTutorial/016_GlobalVariables.py | ChromeOwO/Python-Tutorial-W3Schools | 0f22be2eea493c7e331d15b72847a34a4b748884 | [
"MIT"
] | 4 | 2021-06-04T20:23:48.000Z | 2022-01-23T05:48:19.000Z | #x = "awesome"
def myfunc():
print("Python is " + x)
#myfunc()
''''''''''''''''''''''''''''''''''''
x = "awesome"
def myfunc2():
x = "fantastic"
print("Python is " + x)
myfunc2()
print("Python is " + x) | 13.3125 | 36 | 0.469484 | 24 | 213 | 4.166667 | 0.375 | 0.33 | 0.39 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.192488 | 213 | 16 | 37 | 13.3125 | 0.569767 | 0.098592 | 0 | 0.333333 | 0 | 0 | 0.248649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.222222 | 0.333333 | 1 | 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 | 0 | 0 | 0 | 5 |
4a9a126bb1d30fcb017e1ad7dbb0470192700504 | 81 | py | Python | tests/test_art.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 1,133 | 2017-01-10T16:58:15.000Z | 2022-03-31T14:40:29.000Z | tests/test_art.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 287 | 2015-01-02T18:54:17.000Z | 2017-01-10T14:48:14.000Z | tests/test_art.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 295 | 2017-01-16T19:16:49.000Z | 2022-02-18T14:10:58.000Z | from ggplot import *
print ggplot(diamonds, aes('price')) + geom_now_its_art()
| 16.2 | 57 | 0.728395 | 12 | 81 | 4.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 4 | 58 | 20.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
437b329c502ea7f3da44da54e0d27cf8ac007440 | 83 | py | Python | hub/__init__.py | joniumGit/mindstorms-skeleton | 0921fa7e439532e26b7ccaddaf86abb90437feb4 | [
"MIT"
] | null | null | null | hub/__init__.py | joniumGit/mindstorms-skeleton | 0921fa7e439532e26b7ccaddaf86abb90437feb4 | [
"MIT"
] | null | null | null | hub/__init__.py | joniumGit/mindstorms-skeleton | 0921fa7e439532e26b7ccaddaf86abb90437feb4 | [
"MIT"
] | null | null | null | # TODO
# https://lego.github.io/MINDSTORMS-Robot-Inventor-hub-API/class_image.html
| 27.666667 | 75 | 0.783133 | 13 | 83 | 4.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 83 | 2 | 76 | 41.5 | 0.810127 | 0.939759 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
438ab587a83b778d5722b34b2c899e34cf536a98 | 113,128 | py | Python | tests/test_providers.py | nilver/alerta | 5ff6d39306e914f58aae9794f616e64d25573a27 | [
"Apache-2.0"
] | 1,233 | 2017-11-01T00:29:12.000Z | 2022-03-29T04:13:09.000Z | tests/test_providers.py | nilver/alerta | 5ff6d39306e914f58aae9794f616e64d25573a27 | [
"Apache-2.0"
] | 760 | 2017-10-27T20:33:41.000Z | 2022-03-28T17:01:41.000Z | tests/test_providers.py | KiqoCode/alerta | 5e6aa75b6fb7dab554d83f5efa7b505035ca26cd | [
"Apache-2.0"
] | 238 | 2017-11-02T14:58:15.000Z | 2022-03-29T03:59:20.000Z | import json
import unittest
from urllib.parse import parse_qs
import requests_mock
from alerta.app import create_app, db
from alerta.models.enums import Scope
from alerta.models.key import ApiKey
from alerta.models.token import Jwt
class AuthProvidersTestCase(unittest.TestCase):
def setUp(self):
pass
... | 54.545805 | 1,979 | 0.691526 | 7,374 | 113,128 | 10.426499 | 0.177787 | 0.022436 | 0.022397 | 0.024933 | 0.480224 | 0.459908 | 0.4427 | 0.415907 | 0.396605 | 0.380685 | 0 | 0.092186 | 0.211035 | 113,128 | 2,073 | 1,980 | 54.572118 | 0.769232 | 0.007328 | 0 | 0.621938 | 0 | 0.041534 | 0.796373 | 0.43368 | 0 | 1 | 0 | 0 | 0.058573 | 1 | 0.00639 | false | 0.001597 | 0.004792 | 0 | 0.011715 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43a061f20564c4e376977687019102519ed01ec6 | 7,409 | py | Python | Parser/parsetab.py | yujiecong/yjcL | 6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c | [
"MIT"
] | null | null | null | Parser/parsetab.py | yujiecong/yjcL | 6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c | [
"MIT"
] | null | null | null | Parser/parsetab.py | yujiecong/yjcL | 6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftANDORleftPLUSMINUSleftTIMESDIVIDErightUMINUSleftLPARENRPARENAND DIVIDE FLOAT GE GT ID IE IN LE LIST LPAREN LT MINUS NE NONE NOT NUMBER OR PLUS RPAREN STR TIMES\n ... | 129.982456 | 3,702 | 0.55878 | 1,858 | 7,409 | 2.177072 | 0.073735 | 0.06131 | 0.012608 | 0.016811 | 0.616811 | 0.56885 | 0.56885 | 0.499382 | 0.481582 | 0.481582 | 0 | 0.355778 | 0.095964 | 7,409 | 56 | 3,703 | 132.303571 | 0.248134 | 0.011338 | 0 | 0.043478 | 1 | 0.021739 | 0.276366 | 0.009153 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43c5791087d64a14baace68ec3182012ac3f1417 | 22 | py | Python | sofi/app/__init__.py | danlat/sofi | 3305c9552cfe65b477d03ccd51b8b22c5c613dcb | [
"MIT"
] | null | null | null | sofi/app/__init__.py | danlat/sofi | 3305c9552cfe65b477d03ccd51b8b22c5c613dcb | [
"MIT"
] | null | null | null | sofi/app/__init__.py | danlat/sofi | 3305c9552cfe65b477d03ccd51b8b22c5c613dcb | [
"MIT"
] | null | null | null | from .app import Sofi
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
78df01d16a32c0bbe7b713ec9c304ace0eeb88ed | 3,525 | py | Python | tests/test_user.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | 14 | 2020-08-05T15:48:06.000Z | 2021-08-18T13:13:39.000Z | tests/test_user.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | 4 | 2020-10-30T14:49:25.000Z | 2021-09-29T17:11:53.000Z | tests/test_user.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | null | null | null | import unittest
import inspect
import files_sdk
from tests.base import TestBase
from files_sdk.models import User
from files_sdk import user
class UserTest(TestBase):
pass
# Instance Methods
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/users/{id}/unlock"), "Mock path does not exist")
... | 31.19469 | 130 | 0.605106 | 422 | 3,525 | 4.85545 | 0.125592 | 0.058077 | 0.164959 | 0.190337 | 0.818448 | 0.816496 | 0.816496 | 0.744266 | 0.635432 | 0.566618 | 0 | 0.035203 | 0.266667 | 3,525 | 113 | 131 | 31.19469 | 0.757447 | 0.013333 | 0 | 0.578947 | 0 | 0 | 0.174676 | 0.030504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147368 | false | 0.021053 | 0.063158 | 0 | 0.221053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78e175f92237d14fe867d851d0f3b3aa072c0b27 | 66 | py | Python | frakky/core/__init__.py | HeadHaus/frakky | fc1a54f78bc8a4bd580ff28b323c23c754609650 | [
"MIT"
] | null | null | null | frakky/core/__init__.py | HeadHaus/frakky | fc1a54f78bc8a4bd580ff28b323c23c754609650 | [
"MIT"
] | null | null | null | frakky/core/__init__.py | HeadHaus/frakky | fc1a54f78bc8a4bd580ff28b323c23c754609650 | [
"MIT"
] | null | null | null | from .application import Application
from .context import Context
| 22 | 36 | 0.848485 | 8 | 66 | 7 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 37 | 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 |
6035cbecaea5aa9e64299286b75f65176d945f48 | 35 | py | Python | test/mamba_runner.py | ll-in-anki/CrowdAnki | b25eace61c2ddbc4dad078b83093b291581c0d87 | [
"MIT"
] | 391 | 2016-08-31T21:55:07.000Z | 2022-03-30T16:30:12.000Z | test/mamba_runner.py | ll-in-anki/CrowdAnki | b25eace61c2ddbc4dad078b83093b291581c0d87 | [
"MIT"
] | 150 | 2016-09-01T00:35:35.000Z | 2022-03-30T23:26:48.000Z | test/mamba_runner.py | ll-in-anki/CrowdAnki | b25eace61c2ddbc4dad078b83093b291581c0d87 | [
"MIT"
] | 51 | 2016-09-04T17:02:39.000Z | 2022-02-04T11:49:10.000Z | from mamba.cli import main
main()
| 8.75 | 26 | 0.742857 | 6 | 35 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 27 | 11.666667 | 0.896552 | 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 |
604dd186265eff3c882b3810ac6a98bf54c74663 | 191 | py | Python | surreal/launch/__init__.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 471 | 2018-10-29T07:11:54.000Z | 2022-03-31T11:56:00.000Z | surreal/launch/__init__.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 34 | 2018-10-30T12:02:56.000Z | 2019-05-22T07:57:51.000Z | surreal/launch/__init__.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 77 | 2018-10-30T00:51:52.000Z | 2022-03-01T08:26:35.000Z | from .build_images import SurrealDockerBuilder
from .command_generator import CommandGenerator
from .launcher import Launcher, SurrealDefaultLauncher
from .setup_network import setup_network
| 38.2 | 54 | 0.884817 | 21 | 191 | 7.857143 | 0.571429 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089005 | 191 | 4 | 55 | 47.75 | 0.948276 | 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 |
604fa95b7691e14a99a3301df7bc9164f563f18f | 35 | py | Python | db_adapter/curw_sim/timeseries/waterlevel/__init__.py | CUrW-SL/curw_db_adapter | 9d9ef24f42080910e0bd251bc7f001b0a4b0ab31 | [
"MIT"
] | 2 | 2019-04-26T07:50:33.000Z | 2019-09-28T20:15:33.000Z | db_adapter/curw_sim/timeseries/waterlevel/__init__.py | CUrW-SL/curw_db_adapter | 9d9ef24f42080910e0bd251bc7f001b0a4b0ab31 | [
"MIT"
] | 1 | 2019-04-03T09:30:38.000Z | 2019-04-20T18:11:59.000Z | db_adapter/curw_sim/timeseries/waterlevel/__init__.py | shadhini/curw_db_adapter | 4db8e1ea8794ffbd0dce29ac954a13315e83d843 | [
"MIT"
] | null | null | null | from .timeseries import Timeseries
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
606ffc6b74367cb221be743a58e37934b53faa32 | 105 | py | Python | pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/arrays.py | alexus37/AugmentedRealityChess | 7f600ad153270feff12aa7aa86d7ed0a49ebc71c | [
"MIT"
] | 1 | 2015-07-12T07:24:17.000Z | 2015-07-12T07:24:17.000Z | pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/arrays.py | alexus37/AugmentedRealityChess | 7f600ad153270feff12aa7aa86d7ed0a49ebc71c | [
"MIT"
] | null | null | null | pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/arrays.py | alexus37/AugmentedRealityChess | 7f600ad153270feff12aa7aa86d7ed0a49ebc71c | [
"MIT"
] | 1 | 2016-02-19T21:55:53.000Z | 2016-02-19T21:55:53.000Z | """Abstraction point allowing OpenGLContext to be used with numpy or Numeric"""
from vrml.arrays import * | 52.5 | 79 | 0.790476 | 15 | 105 | 5.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 2 | 80 | 52.5 | 0.912088 | 0.695238 | 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 |
607f18f99f5004981121fdb08b58d67215d6401e | 21 | py | Python | src/main.py | shahana300996/ltelearn | 4c0e516784770c9f404f0a6428f343df43f5ed42 | [
"Apache-2.0"
] | null | null | null | src/main.py | shahana300996/ltelearn | 4c0e516784770c9f404f0a6428f343df43f5ed42 | [
"Apache-2.0"
] | null | null | null | src/main.py | shahana300996/ltelearn | 4c0e516784770c9f404f0a6428f343df43f5ed42 | [
"Apache-2.0"
] | null | null | null | #code for feature 1
| 10.5 | 20 | 0.714286 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.238095 | 21 | 1 | 21 | 21 | 0.875 | 0.857143 | 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 |
717c28c4e2b46836970469eb55aece95e3303f2e | 132 | py | Python | tests/fail.py | catseye/Falderal | 96393da75518f3796af80facb9447e34bb91e401 | [
"Unlicense"
] | 6 | 2016-10-24T17:37:41.000Z | 2019-12-11T19:13:02.000Z | tests/fail.py | catseye/Falderal | 96393da75518f3796af80facb9447e34bb91e401 | [
"Unlicense"
] | 8 | 2015-01-03T18:46:40.000Z | 2018-12-11T09:35:45.000Z | tests/fail.py | catseye/Falderal | 96393da75518f3796af80facb9447e34bb91e401 | [
"Unlicense"
] | null | null | null | import sys
sys.stdout.write(sys.argv[1] + '\n')
sys.stdout.flush()
sys.stderr.write(sys.argv[2] + '\n')
sys.exit(int(sys.argv[3]))
| 18.857143 | 36 | 0.659091 | 25 | 132 | 3.48 | 0.52 | 0.241379 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.083333 | 132 | 6 | 37 | 22 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
71a7f775793beb35c93fa2b459f17ee211b1942b | 297 | py | Python | ITXQ/__init__.py | itxq/ip-python | aeef904c8927c661560a2ff27a9e88258a5bc65e | [
"Apache-2.0"
] | 1 | 2021-12-20T13:12:39.000Z | 2021-12-20T13:12:39.000Z | ITXQ/__init__.py | itxq/ip-python | aeef904c8927c661560a2ff27a9e88258a5bc65e | [
"Apache-2.0"
] | null | null | null | ITXQ/__init__.py | itxq/ip-python | aeef904c8927c661560a2ff27a9e88258a5bc65e | [
"Apache-2.0"
] | null | null | null | # ==================================================================
# 文 件 名: __init__.py
# 概 要:
# 作 者: IT小强
# 创建时间: 12/19/19 6:58 PM
# 修改时间:
# copyright (c) 2016 - 2019 mail@xqitw.cn
# ================================================================== | 37.125 | 68 | 0.232323 | 25 | 297 | 2.6 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076233 | 0.249158 | 297 | 8 | 69 | 37.125 | 0.215247 | 0.946128 | 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 |
71c3d833d0060718302ff56727e8878a5768c658 | 2,715 | py | Python | desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf3/presentation.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 11 | 2019-03-20T07:38:35.000Z | 2021-06-18T09:42:46.000Z | desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf3/presentation.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 80 | 2018-04-13T13:46:24.000Z | 2022-02-16T16:01:46.000Z | desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf3/presentation.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 6 | 2018-06-06T19:55:32.000Z | 2021-09-30T15:16:40.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2006-2007 Søren Roug, European Environment Agency
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at you... | 31.569767 | 80 | 0.704236 | 342 | 2,715 | 5.590643 | 0.397661 | 0.104603 | 0.177824 | 0.230126 | 0.460251 | 0.290795 | 0.08159 | 0 | 0 | 0 | 0 | 0.012148 | 0.151013 | 2,715 | 85 | 81 | 31.941176 | 0.817354 | 0.311234 | 0 | 0 | 0 | 0 | 0.094207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | true | 0 | 0.047619 | 0.47619 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
71d7ef08b503431648f63867a7223698b9e1da5b | 281 | py | Python | staticfiles/photos/views.py | encok/Gallery-Application | f2c36d631ec6bc978484fdbbc5f7e5fb703e8cf6 | [
"MIT"
] | null | null | null | staticfiles/photos/views.py | encok/Gallery-Application | f2c36d631ec6bc978484fdbbc5f7e5fb703e8cf6 | [
"MIT"
] | null | null | null | staticfiles/photos/views.py | encok/Gallery-Application | f2c36d631ec6bc978484fdbbc5f7e5fb703e8cf6 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def gallery(request):
return render(request,'photos/gallery.html')
def viewPhoto(request, pk):
return render(request,'photos/photo.html')
def addPhoto(request):
return render(request,'photos/add.html')
| 20.071429 | 48 | 0.740214 | 37 | 281 | 5.621622 | 0.540541 | 0.173077 | 0.274038 | 0.360577 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13879 | 281 | 13 | 49 | 21.615385 | 0.859504 | 0.081851 | 0 | 0 | 0 | 0 | 0.199219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 |
e09c4d240f0b1df16c40458b9408ced8385ebf5c | 300 | py | Python | amusementpark.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | null | null | null | amusementpark.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | null | null | null | amusementpark.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | null | null | null | age = 3
admission_fee = (0,25,40)
if age < 4:
print(f"Your admission fee is ${admission_fee[0]}, welcome to the park!")
elif age < 18:
print(f"Your admission fee is ${admission_fee[1]}, welcome to the park!")
else:
print(f"You're a senior so your fee is ${admission_fee[2]}, Welcome!!")
| 30 | 77 | 0.663333 | 54 | 300 | 3.611111 | 0.5 | 0.369231 | 0.215385 | 0.261538 | 0.369231 | 0.369231 | 0.369231 | 0.369231 | 0 | 0 | 0 | 0.04898 | 0.183333 | 300 | 9 | 78 | 33.333333 | 0.746939 | 0 | 0 | 0 | 0 | 0 | 0.623333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e0dab806af7804b39f6f6bda63dfd39aeea52bd7 | 85 | py | Python | data/data/models/structures/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 7 | 2020-09-01T21:52:37.000Z | 2022-02-25T16:00:08.000Z | data/data/models/structures/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 4 | 2021-09-10T22:15:09.000Z | 2022-03-25T22:17:43.000Z | data/data/models/structures/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 9 | 2020-09-01T21:53:39.000Z | 2022-03-30T12:03:04.000Z | from data.models.structures.static.character_template import StaticCharacterTemplate
| 42.5 | 84 | 0.905882 | 9 | 85 | 8.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 85 | 1 | 85 | 85 | 0.938272 | 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 |
e0e2c148021e0cacac0e4029baaac83491fdec2a | 1,753 | py | Python | RobotFlask/RobotFlask/common.py | Microshak/iotil-RobotAPI | 1e545d352a360dd99345fb657f0cb37a8b6146d6 | [
"Apache-2.0"
] | null | null | null | RobotFlask/RobotFlask/common.py | Microshak/iotil-RobotAPI | 1e545d352a360dd99345fb657f0cb37a8b6146d6 | [
"Apache-2.0"
] | null | null | null | RobotFlask/RobotFlask/common.py | Microshak/iotil-RobotAPI | 1e545d352a360dd99345fb657f0cb37a8b6146d6 | [
"Apache-2.0"
] | null | null | null | class common(object):
"""description of class"""
def generateData(dat):
updateDic = {
"Cartisian.position.x":dat['Cartisian[position][x]'],
"Cartisian.position.y":dat['Cartisian[position][y]'],
"Cartisian.position.z":dat['Cartisian[position][z]'],
"Cartisia... | 43.825 | 84 | 0.568739 | 158 | 1,753 | 6.310127 | 0.14557 | 0.341023 | 0.184554 | 0.054162 | 0.750251 | 0.750251 | 0.750251 | 0.232698 | 0.136409 | 0.136409 | 0 | 0.000734 | 0.223046 | 1,753 | 39 | 85 | 44.948718 | 0.731278 | 0.011409 | 0 | 0.285714 | 1 | 0 | 0.456283 | 0.245512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
460a6548b22f853cc015c183009db4ccdbd1e6b6 | 34 | py | Python | open_couplet/models/__init__.py | neoql/open_couplet | 6281979161d688c90eb5a470f0163c0e7ea8ae1b | [
"MIT"
] | 46 | 2020-05-13T06:59:39.000Z | 2021-07-12T21:24:06.000Z | open_couplet/models/__init__.py | JeRainXiong/open_couplet | 5b254987c91b0118f4317b91d95d2d32fd0976da | [
"MIT"
] | 1 | 2020-10-22T05:17:37.000Z | 2020-10-29T09:13:58.000Z | open_couplet/models/__init__.py | JeRainXiong/open_couplet | 5b254987c91b0118f4317b91d95d2d32fd0976da | [
"MIT"
] | 21 | 2020-05-13T06:59:46.000Z | 2020-11-08T04:44:20.000Z | from .seq2seq import Seq2seqModel
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1cd28b0dee57e3ce39e3a0f55be0fe0255224e78 | 123 | py | Python | beecrowd exercises/beecrowd-1096.py | pachecosamuel/Python-Exercises | de542536dd1a2bc0ad27e81824713cda8ad34054 | [
"MIT"
] | null | null | null | beecrowd exercises/beecrowd-1096.py | pachecosamuel/Python-Exercises | de542536dd1a2bc0ad27e81824713cda8ad34054 | [
"MIT"
] | null | null | null | beecrowd exercises/beecrowd-1096.py | pachecosamuel/Python-Exercises | de542536dd1a2bc0ad27e81824713cda8ad34054 | [
"MIT"
] | null | null | null | x = 1
for i in range (0, 5):
y = 7
for j in range (0, 3):
print(f"I={x} J={y}")
y -= 1
x += 2
| 13.666667 | 29 | 0.357724 | 26 | 123 | 1.692308 | 0.576923 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.447154 | 123 | 8 | 30 | 15.375 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cf0062bf62f249747540c33e006deaba9a53d59 | 101 | py | Python | icls/albu/__init__.py | TaikiInoue/iClassification | 7045c7721c9ee86e3823b13722d22b6c0095b76a | [
"MIT"
] | null | null | null | icls/albu/__init__.py | TaikiInoue/iClassification | 7045c7721c9ee86e3823b13722d22b6c0095b76a | [
"MIT"
] | null | null | null | icls/albu/__init__.py | TaikiInoue/iClassification | 7045c7721c9ee86e3823b13722d22b6c0095b76a | [
"MIT"
] | null | null | null | from albumentations import *
from albumentations.pytorch import ToTensorV2
__all__ = ["ToTensorV2"]
| 20.2 | 45 | 0.811881 | 10 | 101 | 7.8 | 0.6 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.118812 | 101 | 4 | 46 | 25.25 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 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 |
1cf35c7c41850e948fe0d947b66d032d9630151a | 867 | py | Python | project/views/auth.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | project/views/auth.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | project/views/auth.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | from django.contrib.auth import views, authenticate, login, logout, update_session_auth_hash
from django.core.urlresolvers import reverse
from django.shortcuts import get_object_or_404
from django.contrib.auth.models import User
from django.shortcuts import render, redirect
import logging
logger = logging.getLogger(__n... | 32.111111 | 136 | 0.820069 | 122 | 867 | 5.598361 | 0.393443 | 0.073206 | 0.070278 | 0.061493 | 0.073206 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008805 | 0.083045 | 867 | 26 | 137 | 33.346154 | 0.850314 | 0.059977 | 0 | 0 | 0 | 0 | 0.105068 | 0.02843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.133333 | 0.4 | 0.266667 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 5 |
e8024a979b3b6044dac46313a2a11bf5abc6e281 | 79 | py | Python | Packages/vision/vision.py | zachlatta/robotpy | a2ab5519481170f236a6efce1ef128e4f812509d | [
"MIT",
"Unlicense"
] | 1 | 2021-09-24T22:49:11.000Z | 2021-09-24T22:49:11.000Z | Packages/vision/vision.py | zachlatta/robotpy | a2ab5519481170f236a6efce1ef128e4f812509d | [
"MIT",
"Unlicense"
] | null | null | null | Packages/vision/vision.py | zachlatta/robotpy | a2ab5519481170f236a6efce1ef128e4f812509d | [
"MIT",
"Unlicense"
] | null | null | null | import _wpilib
from nivision import *
import _vision2009
from _vision import *
| 15.8 | 22 | 0.822785 | 10 | 79 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.151899 | 79 | 4 | 23 | 19.75 | 0.865672 | 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 |
e804aa498311c0788ba27647c31c1478fef0a282 | 30 | py | Python | pcdet/version.py | riceleslie/OpenPCDet | 1be23349430b1fb39e3c4e1570526334b8d93758 | [
"Apache-2.0"
] | null | null | null | pcdet/version.py | riceleslie/OpenPCDet | 1be23349430b1fb39e3c4e1570526334b8d93758 | [
"Apache-2.0"
] | null | null | null | pcdet/version.py | riceleslie/OpenPCDet | 1be23349430b1fb39e3c4e1570526334b8d93758 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.3.0+5396f34"
| 15 | 29 | 0.7 | 5 | 30 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.1 | 30 | 1 | 30 | 30 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e81cf8f80feb1b196f2a4e51cab8869b31101747 | 524 | py | Python | deepnade/buml/Instrumentation/Instrumentable.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 43 | 2017-06-19T21:19:55.000Z | 2022-02-06T01:21:48.000Z | deepnade/buml/Instrumentation/Instrumentable.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 1 | 2017-08-29T14:09:49.000Z | 2017-09-08T12:34:19.000Z | deepnade/buml/Instrumentation/Instrumentable.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 12 | 2017-09-12T07:56:13.000Z | 2021-09-19T19:11:41.000Z | class Instrumentable (object):
def __init__(self):
self.instrumentation = []
def add_instrumentation(self, ins):
self.instrumentation.append(ins)
def get_context(self):
return []
def initialize_instrumentation(self):
for i in self.instrumentation: i.ini... | 27.578947 | 57 | 0.631679 | 58 | 524 | 5.551724 | 0.327586 | 0.295031 | 0.204969 | 0.214286 | 0.419255 | 0.419255 | 0.419255 | 0.419255 | 0 | 0 | 0 | 0 | 0.278626 | 524 | 18 | 58 | 29.111111 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0 | 0.076923 | 0.615385 | 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 |
e82c99ca1b72ad67b6b6ef39be68b7d2abcd1ba6 | 113,201 | py | Python | src/bot_data/bot1.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | src/bot_data/bot1.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | src/bot_data/bot1.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | bot1_wieght_layer_one = [[0.9236090789486788, 0.9210637151227483, 0.16119690767556938, 0.8891669007445379, 0.7530696859511529, 0.9684743676682231, 0.9140001906787625, 0.5462343790375778, 0.4625067913831683, 0.10294585839313619, 0.4659734634943964, 0.673851063496881, 0.4119975257359164, 0.4119836779033137, 0.78659108761... | 12,577.888889 | 72,250 | 0.850514 | 11,168 | 113,201 | 8.61918 | 0.49991 | 0.000312 | 0.000467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.893455 | 0.049417 | 113,201 | 8 | 72,251 | 14,150.125 | 0.001087 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1c3c36f80c202066ee6e4861d511ce5139939c29 | 7,701 | py | Python | dahua.py | d34db33f-1007/asleep_scanner | 7fe03adad8335ce306ae2b7b933d8142205bd8c3 | [
"Apache-2.0"
] | 46 | 2020-04-15T12:03:24.000Z | 2022-03-22T04:39:16.000Z | dahua.py | S0Ulle33/asleep_scanner | 7fe03adad8335ce306ae2b7b933d8142205bd8c3 | [
"Apache-2.0"
] | 9 | 2020-06-14T19:51:04.000Z | 2022-03-08T12:25:04.000Z | dahua.py | S0Ulle33/asleep_scanner | 7fe03adad8335ce306ae2b7b933d8142205bd8c3 | [
"Apache-2.0"
] | 31 | 2020-06-15T09:35:17.000Z | 2022-03-28T22:54:02.000Z | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
import logging
import re
import socket
import struct
import time
from enum import Enum
#import telegram
#from wrapt_timeout_decorator import *
LOGIN_TEMPLATE = b'\xa0\x00\x00\x60%b\x00\x00\x00%b%b%b%b\x04\x01\x00\x00\x00\x00\xa1\xaa%b&&%b\x00Random:%b\r\n\r\n'
GET_SERIA... | 48.13125 | 1,572 | 0.595507 | 1,137 | 7,701 | 3.937555 | 0.245383 | 0.241233 | 0.309582 | 0.353808 | 0.232969 | 0.198347 | 0.167746 | 0.14809 | 0.14742 | 0.130668 | 0 | 0.145826 | 0.231528 | 7,701 | 159 | 1,573 | 48.433962 | 0.610679 | 0.080509 | 0 | 0.179688 | 0 | 0.0625 | 0.335834 | 0.14591 | 0 | 0 | 0 | 0.006289 | 0 | 1 | 0.0625 | false | 0.085938 | 0.046875 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1c3e06d700fd8d978fa4cb832a94077e2ac73f9e | 184 | py | Python | fog/cli/reporting/__init__.py | Yomguithereal/fog | 0b2defd7c413b55766c4368e17e1238dfc3c8b81 | [
"MIT"
] | 17 | 2018-04-26T15:37:45.000Z | 2021-05-18T05:58:10.000Z | fog/cli/reporting/__init__.py | Yomguithereal/fog | 0b2defd7c413b55766c4368e17e1238dfc3c8b81 | [
"MIT"
] | 29 | 2018-04-27T14:54:20.000Z | 2021-05-27T15:30:14.000Z | fog/cli/reporting/__init__.py | Yomguithereal/fog | 0b2defd7c413b55766c4368e17e1238dfc3c8b81 | [
"MIT"
] | 1 | 2019-11-27T18:14:49.000Z | 2019-11-27T18:14:49.000Z | from fog.cli.reporting.html import print_html_report
from fog.cli.reporting.toml import print_toml_report
RENDERERS = {
'html': print_html_report,
'toml': print_toml_report
}
| 23 | 52 | 0.777174 | 27 | 184 | 5 | 0.37037 | 0.103704 | 0.148148 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13587 | 184 | 7 | 53 | 26.285714 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 5 |
1c4e047b950a47b59a41dbd7f5f173913c4ed4b9 | 695 | py | Python | scripts/vocabulary_meta.py | flarebyte/bubblegum-ui-preview-tag | 89a1eb5218bce82afd70d34929d9c2735cefbb3e | [
"BSD-3-Clause"
] | null | null | null | scripts/vocabulary_meta.py | flarebyte/bubblegum-ui-preview-tag | 89a1eb5218bce82afd70d34929d9c2735cefbb3e | [
"BSD-3-Clause"
] | null | null | null | scripts/vocabulary_meta.py | flarebyte/bubblegum-ui-preview-tag | 89a1eb5218bce82afd70d34929d9c2735cefbb3e | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
import sys
import csv
from string import Template
enumerations = {
'selected-appearance': [
'ui:selected-appearance/ordered-list/decimal'
, 'ui:selected-appearance/ordered-list/alphabetic/upper'
, 'ui:selected-appearance/ordered-list/alphabetic/lower'
, 'ui:select... | 34.75 | 64 | 0.683453 | 77 | 695 | 6.168831 | 0.337662 | 0.416842 | 0.421053 | 0.341053 | 0.614737 | 0.431579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178417 | 695 | 20 | 65 | 34.75 | 0.831874 | 0.023022 | 0 | 0 | 0 | 0 | 0.681885 | 0.653903 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.176471 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c79f749520373ae51368a31a25273009a44a944 | 1,080 | py | Python | alpyro_msgs/control_msgs/pointheadactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/control_msgs/pointheadactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/control_msgs/pointheadactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_msgs.goalstatus import GoalStatus
from alpyro_msgs.control_msgs.pointheadfeedback import PointHeadFeedback
from alpyro_msgs.std_msgs.header import Header
class PointHeadActionFeedback(RosMessage):
__msg_typ__ = "control_msgs/Poin... | 67.5 | 618 | 0.930556 | 53 | 1,080 | 18.528302 | 0.45283 | 0.040733 | 0.057026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093385 | 0.048148 | 1,080 | 15 | 619 | 72 | 0.861868 | 0 | 0 | 0 | 0 | 0 | 0.618519 | 0.618519 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1c88cb3ca4b61d6584d8d0527c04ef41a8314675 | 36 | py | Python | flex_imzML/__init__.py | sekro/flex_imzML_msi | d6423e32cc0263e751bd8aadf1bbf0ae9821b8f1 | [
"MIT"
] | null | null | null | flex_imzML/__init__.py | sekro/flex_imzML_msi | d6423e32cc0263e751bd8aadf1bbf0ae9821b8f1 | [
"MIT"
] | null | null | null | flex_imzML/__init__.py | sekro/flex_imzML_msi | d6423e32cc0263e751bd8aadf1bbf0ae9821b8f1 | [
"MIT"
] | null | null | null | from .reader import flexImzMLHandler | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
98dbcea52aa48533788e521b2b4173f57db56482 | 13,975 | py | Python | TestScripts/GraphGenerator.py | BDEvan5/SuperSafety | 73edd8d8b191e291a6f369043698b8763887a1f7 | [
"Apache-2.0"
] | null | null | null | TestScripts/GraphGenerator.py | BDEvan5/SuperSafety | 73edd8d8b191e291a6f369043698b8763887a1f7 | [
"Apache-2.0"
] | null | null | null | TestScripts/GraphGenerator.py | BDEvan5/SuperSafety | 73edd8d8b191e291a6f369043698b8763887a1f7 | [
"Apache-2.0"
] | null | null | null | import enum
from turtle import width
import numpy as np
import matplotlib.pyplot as plt
import csv
import matplotlib
def turn_on_pgf():
matplotlib.use("pgf")
matplotlib.rcParams.update({
"pgf.texsystem": "pdflatex",
'font.family': 'serif',
'text.usetex': True,
'pgf.rcfonts': Fal... | 33.513189 | 135 | 0.607227 | 2,077 | 13,975 | 3.961964 | 0.117959 | 0.021266 | 0.051039 | 0.061247 | 0.790619 | 0.772512 | 0.768623 | 0.768623 | 0.753919 | 0.745899 | 0 | 0.038334 | 0.225331 | 13,975 | 417 | 136 | 33.513189 | 0.721781 | 0.135385 | 0 | 0.556777 | 0 | 0 | 0.175707 | 0.110566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0.003663 | 0.032967 | 0 | 0.080586 | 0.029304 | 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 |
c7006fadd6cd8b0b5418ef3092cd27e5b7c2abce | 915 | py | Python | stubs/ev3_pybricks_v1_0_0/umqtt/robust.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/ev3_pybricks_v1_0_0/umqtt/robust.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/ev3_pybricks_v1_0_0/umqtt/robust.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'umqtt.robust' on LEGO EV3 v1.0.0
"""
# MCU: sysname=ev3, nodename=ev3, release=('v1.0.0',), version=('0.0.0',), machine=ev3
# Stubber: 1.3.2 - updated
from typing import Any
class MQTTClient:
""""""
DEBUG = None
DELAY = 2
def _recv_len(self, *argv) -> Any:
pass
def _send_st... | 16.339286 | 86 | 0.539891 | 122 | 915 | 3.97541 | 0.42623 | 0.181443 | 0.249485 | 0.340206 | 0.334021 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027113 | 0.314754 | 915 | 55 | 87 | 16.636364 | 0.746411 | 0.16612 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354839 | false | 0.354839 | 0.032258 | 0 | 0.580645 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c70ac54e6e8f98e7ac0a9655936c42b3136007e0 | 210 | py | Python | sameO&N.py | Zo3i/codewarsPy | 6a148a21a953ceeb3b9c6433100f727e1d3e4b71 | [
"Apache-2.0"
] | null | null | null | sameO&N.py | Zo3i/codewarsPy | 6a148a21a953ceeb3b9c6433100f727e1d3e4b71 | [
"Apache-2.0"
] | null | null | null | sameO&N.py | Zo3i/codewarsPy | 6a148a21a953ceeb3b9c6433100f727e1d3e4b71 | [
"Apache-2.0"
] | null | null | null | def xo(s):
return len(s.lower().replace('x', '')) == len(s.lower().replace('o', ''))
print(xo('xo'))
#############大佬的最佳实践
# def xo(s):
# s = s.lower()
# return s.count('x') == s.count('o') | 23.333333 | 78 | 0.452381 | 31 | 210 | 3.064516 | 0.387097 | 0.189474 | 0.126316 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204762 | 210 | 9 | 79 | 23.333333 | 0.568862 | 0.361905 | 0 | 0 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c71b0101d4fb0e1595a63c3dd09b0d16ec838e8a | 199 | py | Python | src/budget/admin.py | psrajoria/python_web_testing | e09e8a0de5866d70277985be589c05215c583498 | [
"MIT"
] | null | null | null | src/budget/admin.py | psrajoria/python_web_testing | e09e8a0de5866d70277985be589c05215c583498 | [
"MIT"
] | null | null | null | src/budget/admin.py | psrajoria/python_web_testing | e09e8a0de5866d70277985be589c05215c583498 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Project, Expense, Category
admin.site.register(Project)
admin.site.register(Expense)
admin.site.register(Category)
| 22.111111 | 46 | 0.809045 | 27 | 199 | 5.962963 | 0.481481 | 0.167702 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100503 | 199 | 8 | 47 | 24.875 | 0.899441 | 0.130653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c7498163169ed2650fd10c585f6b90b79f21eee5 | 37 | py | Python | null_bot_api/models/testers/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | 1 | 2021-08-03T15:28:57.000Z | 2021-08-03T15:28:57.000Z | null_bot_api/models/testers/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | null | null | null | null_bot_api/models/testers/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | null | null | null | from .get_info import TestersGetInfo
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c769a8a4d249e0d922f6a8bbef9145aa55b92b98 | 211 | py | Python | webcrawler/utils/async.py | mrafayaleem/simple-crawler | 673dc41915bb70b22b1a50d5256c45efd361c2d5 | [
"MIT"
] | 27 | 2016-03-08T11:43:24.000Z | 2021-03-10T11:51:58.000Z | webcrawler/utils/async.py | mrafayaleem/simple-crawler | 673dc41915bb70b22b1a50d5256c45efd361c2d5 | [
"MIT"
] | null | null | null | webcrawler/utils/async.py | mrafayaleem/simple-crawler | 673dc41915bb70b22b1a50d5256c45efd361c2d5 | [
"MIT"
] | 1 | 2022-02-11T05:55:13.000Z | 2022-02-11T05:55:13.000Z | import workerpool
class SimpleCrawlJob(workerpool.Job):
def __init__(self, target, kwargs):
self.target = target
self.kwargs = kwargs
def run(self):
self.target(**self.kwargs)
| 19.181818 | 39 | 0.649289 | 24 | 211 | 5.541667 | 0.458333 | 0.225564 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246446 | 211 | 10 | 40 | 21.1 | 0.836478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c7c9d1f2b7774b3bbdfe023aaf3bb6c52621c623 | 38,096 | py | Python | hypixel/hypixel.py | HypixelBot/bot | 672e17c5bbd37b0e7e54581b679051b7e59575d2 | [
"MIT"
] | 10 | 2020-06-06T13:57:46.000Z | 2021-11-08T09:27:42.000Z | hypixel/hypixel.py | HypixelBot/Bot | 672e17c5bbd37b0e7e54581b679051b7e59575d2 | [
"MIT"
] | 7 | 2020-06-06T14:04:05.000Z | 2020-07-05T04:05:37.000Z | hypixel/hypixel.py | HypixelBot/bot | 672e17c5bbd37b0e7e54581b679051b7e59575d2 | [
"MIT"
] | 14 | 2020-06-09T17:12:52.000Z | 2021-07-21T23:24:30.000Z | import asyncio
import logging
import re
from cogs.utils.checks import *
from cogs.utils.mojang import *
log = logging.getLogger(__name__)
def list_factory(data):
items = []
for i in data:
items.append(i[0])
return items
class Hypixel(commands.Cog):
def __init__(self, bot):
self.bot ... | 53.430575 | 156 | 0.636681 | 4,746 | 38,096 | 5.038137 | 0.083017 | 0.034127 | 0.050939 | 0.043913 | 0.774455 | 0.762954 | 0.757768 | 0.740998 | 0.720547 | 0.717034 | 0 | 0.006954 | 0.214826 | 38,096 | 712 | 157 | 53.505618 | 0.792424 | 0.568537 | 0 | 0.193833 | 0 | 0.017621 | 0.1354 | 0.009657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013216 | false | 0 | 0.022026 | 0 | 0.220264 | 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 |
c7d32d9de7b3b3e0c630bbc18caa61a0d609753b | 91 | py | Python | aioa2squery/command/server.py | insurgency/aioa2squery | b578f93e13646776691169e10b9c8955c1fd7712 | [
"MIT"
] | 4 | 2019-10-09T10:39:56.000Z | 2022-01-14T09:17:59.000Z | aioa2squery/command/server.py | insurgency/aioa2squery | b578f93e13646776691169e10b9c8955c1fd7712 | [
"MIT"
] | 217 | 2019-10-22T21:23:19.000Z | 2021-12-19T23:39:06.000Z | aioa2squery/command/server.py | insurgency/aioa2squery | b578f93e13646776691169e10b9c8955c1fd7712 | [
"MIT"
] | null | null | null | from asyncio import AbstractEventLoop
async def serve(loop: AbstractEventLoop):
pass
| 15.166667 | 41 | 0.791209 | 10 | 91 | 7.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 42 | 18.2 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
1bf0fe49dc450577d5723d7eeab0e722a496773f | 386 | py | Python | unit_testing/test_utils.py | valosekj/spinalcordtoolbox | 266bfc88d6eb6e96a2c2f1ec88c2e185c6f88e09 | [
"MIT"
] | 1 | 2020-05-17T00:39:47.000Z | 2020-05-17T00:39:47.000Z | unit_testing/test_utils.py | valosekj/spinalcordtoolbox | 266bfc88d6eb6e96a2c2f1ec88c2e185c6f88e09 | [
"MIT"
] | null | null | null | unit_testing/test_utils.py | valosekj/spinalcordtoolbox | 266bfc88d6eb6e96a2c2f1ec88c2e185c6f88e09 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8
# pytest unit tests for utils
from __future__ import print_function, absolute_import, division
from spinalcordtoolbox import utils
def test_parse_num_list_inv():
assert utils.parse_num_list_inv([1, 2, 3, 5, 6, 9]) == '1:3;5:6;9'
assert utils.parse_num_list_inv([3, 2... | 27.571429 | 70 | 0.694301 | 66 | 386 | 3.772727 | 0.5 | 0.128514 | 0.192771 | 0.240964 | 0.313253 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0.058282 | 0.15544 | 386 | 13 | 71 | 29.692308 | 0.705521 | 0.170984 | 0 | 0 | 0 | 0 | 0.044164 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
401e5d5e83054d89d9330e769e6841c70321454c | 77 | py | Python | backend/app/views/__init__.py | Edinburgh-Genome-Foundry/DnaWeaver-online | fafa87dffce68a801652e2f14b1dfdd4da5a476e | [
"MIT"
] | 1 | 2018-07-30T20:09:07.000Z | 2018-07-30T20:09:07.000Z | backend/app/views/__init__.py | Edinburgh-Genome-Foundry/DnaWeaver-online | fafa87dffce68a801652e2f14b1dfdd4da5a476e | [
"MIT"
] | 7 | 2020-01-15T19:42:03.000Z | 2022-03-02T03:56:11.000Z | backend/app/views/__init__.py | Edinburgh-Genome-Foundry/DnaWeaver-online | fafa87dffce68a801652e2f14b1dfdd4da5a476e | [
"MIT"
] | null | null | null | from .base import PollJobView
from .generic_solver import GenericSolverView
| 19.25 | 45 | 0.857143 | 9 | 77 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 3 | 46 | 25.666667 | 0.955882 | 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 |
404c5928c0b8a19d256b1eac811af27cbbcf1da6 | 45 | py | Python | zwave_js_server/__init__.py | Petro31/zwave-js-server-python | ed766f054d2ef2f6a6fa01fa431484da12d05eca | [
"Apache-2.0"
] | 53 | 2021-01-09T18:47:34.000Z | 2022-03-16T21:54:41.000Z | zwave_js_server/__init__.py | Petro31/zwave-js-server-python | ed766f054d2ef2f6a6fa01fa431484da12d05eca | [
"Apache-2.0"
] | 130 | 2021-01-06T21:34:46.000Z | 2022-03-29T18:44:14.000Z | zwave_js_server/__init__.py | Petro31/zwave-js-server-python | ed766f054d2ef2f6a6fa01fa431484da12d05eca | [
"Apache-2.0"
] | 17 | 2021-01-07T21:55:29.000Z | 2022-03-29T08:08:50.000Z | """Provide a package for zwave-js-server."""
| 22.5 | 44 | 0.688889 | 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 |
40a8da1a58d2fae41c5c922daf418f35c82793ec | 112 | py | Python | models/__init__.py | frankinwi/haq | ae02900001cc2bc3fcbd0d2ece7c04d4f4af4ca5 | [
"Apache-2.0"
] | 161 | 2019-12-10T16:41:48.000Z | 2022-03-30T02:56:52.000Z | models/__init__.py | frankinwi/haq | ae02900001cc2bc3fcbd0d2ece7c04d4f4af4ca5 | [
"Apache-2.0"
] | 16 | 2019-12-23T05:07:29.000Z | 2022-03-12T05:13:36.000Z | models/__init__.py | frankinwi/haq | ae02900001cc2bc3fcbd0d2ece7c04d4f4af4ca5 | [
"Apache-2.0"
] | 49 | 2020-01-07T01:53:21.000Z | 2022-03-04T07:47:42.000Z | # import customized models here
from .mobilenet import *
from .mobilenetv2 import *
from .mobilenetv3 import *
| 18.666667 | 31 | 0.776786 | 13 | 112 | 6.692308 | 0.615385 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.160714 | 112 | 5 | 32 | 22.4 | 0.904255 | 0.258929 | 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 |
40a94c9542f23fb1735176e4ea60e32accf762de | 237 | py | Python | htmlparser/utils/get_linked_scripts_url.py | weblit/html-parser | 9fa9cc97ff1a747fd742397ad6b2d65d10aeba50 | [
"MIT"
] | null | null | null | htmlparser/utils/get_linked_scripts_url.py | weblit/html-parser | 9fa9cc97ff1a747fd742397ad6b2d65d10aeba50 | [
"MIT"
] | 3 | 2022-01-12T14:51:20.000Z | 2022-02-01T05:14:39.000Z | htmlparser/utils/get_linked_scripts_url.py | weblit/html-parser | 9fa9cc97ff1a747fd742397ad6b2d65d10aeba50 | [
"MIT"
] | null | null | null | import re
from utils.get_raw_html import get_raw_html_from_url
def get_linked_scripts_url(url: str) -> str:
html = get_raw_html_from_url(url)
linked_scripts = re.findall(r'<script .*></script>', html)
return linked_scripts | 26.333333 | 62 | 0.751055 | 39 | 237 | 4.179487 | 0.410256 | 0.110429 | 0.184049 | 0.171779 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147679 | 237 | 9 | 63 | 26.333333 | 0.806931 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40ac5e0d2b5fab6ea66f0a123c9e85709ffb388c | 158 | py | Python | tests/web_platform/css_grid_1/placement/test_grid_layout_grid_span.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 71 | 2015-04-13T09:44:14.000Z | 2019-03-24T01:03:02.000Z | tests/web_platform/css_grid_1/placement/test_grid_layout_grid_span.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 35 | 2019-05-06T15:26:09.000Z | 2022-03-28T06:30:33.000Z | tests/web_platform/css_grid_1/placement/test_grid_layout_grid_span.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 139 | 2015-05-30T18:37:43.000Z | 2019-03-27T17:14:05.000Z | from tests.utils import W3CTestCase
class TestGridLayoutGridSpan(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'grid-layout-grid-span'))
| 26.333333 | 76 | 0.797468 | 18 | 158 | 6.722222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.088608 | 158 | 5 | 77 | 31.6 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.132911 | 0.132911 | 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 |
40b67002ebc3d6f47483f692012cc4fb105c33ed | 1,240 | py | Python | plugins/SerpentMiniMetroGamePlugin/files/api/context.py | jarulsamy/mini-metro | 79d3f3645f45f2d3331d2385f106aa7cb1f4cc5c | [
"MIT"
] | 25 | 2018-10-20T17:09:49.000Z | 2022-03-15T12:10:44.000Z | plugins/SerpentMiniMetroGamePlugin/files/api/context.py | jarulsamy/mini-metro | 79d3f3645f45f2d3331d2385f106aa7cb1f4cc5c | [
"MIT"
] | 9 | 2020-01-28T22:29:35.000Z | 2022-03-11T23:26:15.000Z | plugins/SerpentMiniMetroGamePlugin/files/api/context.py | jarulsamy/mini-metro | 79d3f3645f45f2d3331d2385f106aa7cb1f4cc5c | [
"MIT"
] | 1 | 2020-05-04T01:52:37.000Z | 2020-05-04T01:52:37.000Z |
class Context(object):
@staticmethod
def click(x, y, new_context, ctrl):
ctrl.move(x=x, y=y)
ctrl.click()
return new_context
class MainMenu(Context):
@classmethod
def click_play(cls, ctrl):
return cls.click(x=270, y=210, new_context=LevelMenu, ctrl=ctrl)
class Lev... | 22.545455 | 72 | 0.654839 | 179 | 1,240 | 4.435754 | 0.206704 | 0.105793 | 0.191436 | 0.161209 | 0.643577 | 0.609572 | 0.501259 | 0.501259 | 0.130982 | 0.130982 | 0 | 0.047767 | 0.223387 | 1,240 | 54 | 73 | 22.962963 | 0.776739 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0.028571 | 0 | 0.228571 | 0.657143 | 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 |
40e297d4019457373250dc9f0df42c7c3fe1c74f | 141 | py | Python | jp.atcoder/abc082/abc082_b/31155948.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc082/abc082_b/31155948.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc082/abc082_b/31155948.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | def main() -> None:
print("Yes" if sorted(input()) < sorted(input(), reverse=1) else "No")
if __name__ == "__main__":
main()
| 20.142857 | 75 | 0.560284 | 18 | 141 | 3.944444 | 0.722222 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.234043 | 141 | 6 | 76 | 23.5 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40f43cd1a4fae590d681efcea53a3eeeadf64b63 | 123 | py | Python | flacon/__init__.py | iksaif/flacon | 9434bd9071977cf3ec74259469306a01e03fcdc2 | [
"Apache-2.0"
] | 2 | 2019-05-16T09:38:18.000Z | 2020-06-11T15:21:33.000Z | flacon/__init__.py | iksaif/flacon | 9434bd9071977cf3ec74259469306a01e03fcdc2 | [
"Apache-2.0"
] | 1 | 2019-08-26T15:08:40.000Z | 2019-08-26T15:08:40.000Z | flacon/__init__.py | iksaif/flacon | 9434bd9071977cf3ec74259469306a01e03fcdc2 | [
"Apache-2.0"
] | 1 | 2019-07-16T15:07:34.000Z | 2019-07-16T15:07:34.000Z | """Flacon entry point."""
from __future__ import absolute_import
from flacon import flacon
# Ewww
Flacon = flacon.Flacon
| 15.375 | 38 | 0.772358 | 16 | 123 | 5.625 | 0.5 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 7 | 39 | 17.571429 | 0.857143 | 0.203252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
dc0f7612c28772c61ff5fd3fd63cd5ff77fd8d43 | 121 | py | Python | revision/admin.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | revision/admin.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | revision/admin.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Revision
# Register your models here.
admin.site.register(Revision)
| 24.2 | 32 | 0.818182 | 17 | 121 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 4 | 33 | 30.25 | 0.925234 | 0.214876 | 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 |
dc1392f9e7ecd116e5672f6c1df067b00e9dffad | 71 | py | Python | src/__main__.py | gabfl/pg-batch | 95f224826bd807bb2ce2af82f9e1c0272b8cd970 | [
"MIT"
] | 12 | 2019-01-24T16:13:28.000Z | 2022-02-08T16:01:21.000Z | src/__main__.py | gabfl/pg-batch | 95f224826bd807bb2ce2af82f9e1c0272b8cd970 | [
"MIT"
] | 9 | 2017-11-02T12:24:50.000Z | 2022-01-30T05:08:50.000Z | src/__main__.py | gabfl/pg-batch | 95f224826bd807bb2ce2af82f9e1c0272b8cd970 | [
"MIT"
] | 3 | 2018-07-16T18:36:02.000Z | 2020-08-10T02:56:45.000Z | from . import pg_batch
if __name__ == '__main__':
pg_batch.main()
| 14.2 | 26 | 0.676056 | 10 | 71 | 3.8 | 0.7 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 4 | 27 | 17.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90a0ae0fffa59b13eff1b2f7fda672233d28ea32 | 151 | py | Python | pipeline/source/__init__.py | Sakuya9461/darklight | 041d24d4102f804f1def1736686d84d96ad95c73 | [
"Apache-2.0"
] | 42 | 2019-03-31T13:43:41.000Z | 2022-01-29T16:39:08.000Z | pipeline/source/__init__.py | Sakuya9461/darklight | 041d24d4102f804f1def1736686d84d96ad95c73 | [
"Apache-2.0"
] | 17 | 2019-03-31T12:56:33.000Z | 2022-03-11T23:44:17.000Z | pipeline/source/__init__.py | Sakuya9461/darklight | 041d24d4102f804f1def1736686d84d96ad95c73 | [
"Apache-2.0"
] | 10 | 2019-04-01T01:41:46.000Z | 2021-09-20T10:22:02.000Z | from pipeline.source.bitcoin import BitcoinPipeline
from pipeline.source.email import EmailPipeline
__all__ = [
BitcoinPipeline, EmailPipeline,
]
| 21.571429 | 51 | 0.81457 | 15 | 151 | 7.933333 | 0.6 | 0.201681 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 6 | 52 | 25.166667 | 0.901515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90d9b6b546bbfa59d489399d76af4bc1ba3992d4 | 49 | py | Python | Python3/basico/loopWhileEx1.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/basico/loopWhileEx1.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/basico/loopWhileEx1.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | i = 10
while i >= 0:
print(i)
i = i - 1
| 8.166667 | 13 | 0.387755 | 10 | 49 | 1.9 | 0.6 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.44898 | 49 | 5 | 14 | 9.8 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
90f7612735cc0ab3da1556633c82b89952f193e4 | 106 | py | Python | search-github/__init__.py | CelebradoJonathan/search-github | 5283b39f7026da21a6383a44142cd87ce73da7f1 | [
"MIT"
] | null | null | null | search-github/__init__.py | CelebradoJonathan/search-github | 5283b39f7026da21a6383a44142cd87ce73da7f1 | [
"MIT"
] | null | null | null | search-github/__init__.py | CelebradoJonathan/search-github | 5283b39f7026da21a6383a44142cd87ce73da7f1 | [
"MIT"
] | null | null | null | from listdir_pkg.listdir import *
name = "listdir"
def test():
return "listdir is installed, nice."
| 15.142857 | 40 | 0.698113 | 14 | 106 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 6 | 41 | 17.666667 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.320755 | 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 |
90ffab8a2d848c0f7b2e98afaa825938b6969a9e | 87 | py | Python | nglview/theme/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | null | null | null | nglview/theme/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | null | null | null | nglview/theme/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | 1 | 2021-11-19T02:03:46.000Z | 2021-11-19T02:03:46.000Z | from __future__ import absolute_import
from .theme import oceans16, _get_theme, reset
| 21.75 | 46 | 0.83908 | 12 | 87 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.126437 | 87 | 3 | 47 | 29 | 0.842105 | 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 |
290b87b4fca3ade1b5d3f1d38ba2123dc2dd565c | 104 | py | Python | startup_scripts/startup_script_utils/__init__.py | systempal/netbox-docker | e251da2e232bd9170232a20652fb0f3714ef8a4d | [
"Apache-2.0"
] | 691 | 2019-01-31T13:59:03.000Z | 2022-03-30T00:38:52.000Z | startup_scripts/startup_script_utils/__init__.py | systempal/netbox-docker | e251da2e232bd9170232a20652fb0f3714ef8a4d | [
"Apache-2.0"
] | 305 | 2019-02-20T13:59:43.000Z | 2022-03-20T16:17:31.000Z | startup_scripts/startup_script_utils/__init__.py | systempal/netbox-docker | e251da2e232bd9170232a20652fb0f3714ef8a4d | [
"Apache-2.0"
] | 435 | 2019-01-31T15:48:11.000Z | 2022-03-29T01:29:24.000Z | from .custom_fields import pop_custom_fields, set_custom_fields_values
from .load_yaml import load_yaml
| 34.666667 | 70 | 0.884615 | 17 | 104 | 4.941176 | 0.529412 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 2 | 71 | 52 | 0.884211 | 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 |
293e9f524bb941dd6b68a3294f0330e5336f3722 | 120 | py | Python | itdagene/app/stands/admin.py | itdagene-ntnu/itdagene | b972cd3d803debccebbc33641397a39834b8d69a | [
"MIT"
] | 9 | 2018-10-17T20:58:09.000Z | 2021-12-16T16:16:45.000Z | itdagene/app/stands/admin.py | itdagene-ntnu/itdagene | b972cd3d803debccebbc33641397a39834b8d69a | [
"MIT"
] | 177 | 2018-10-27T18:15:56.000Z | 2022-03-28T04:29:06.000Z | itdagene/app/stands/admin.py | itdagene-ntnu/itdagene | b972cd3d803debccebbc33641397a39834b8d69a | [
"MIT"
] | null | null | null | from django.contrib import admin
from itdagene.app.stands.models import DigitalStand
admin.site.register(DigitalStand)
| 24 | 51 | 0.85 | 16 | 120 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 4 | 52 | 30 | 0.927273 | 0 | 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 |
29721b9291df599d520e65402bd996626daec65b | 177 | py | Python | tools/mo/openvino/tools/mo/__main__.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 1 | 2021-10-21T03:04:16.000Z | 2021-10-21T03:04:16.000Z | tools/mo/openvino/tools/mo/__main__.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 58 | 2020-11-06T12:13:45.000Z | 2022-03-28T13:20:11.000Z | tools/mo/openvino/tools/mo/__main__.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2 | 2021-07-14T07:40:50.000Z | 2021-07-27T01:40:03.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from openvino.tools.mo.subprocess_main import subprocess_main
subprocess_main(framework=None)
| 29.5 | 61 | 0.824859 | 25 | 177 | 5.72 | 0.84 | 0.293706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0.084746 | 177 | 5 | 62 | 35.4 | 0.820988 | 0.435028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
461daa5a5675e49b7a3987bdba874e68fdfac389 | 529 | py | Python | sdk/python/pulumi_azure_native/streamanalytics/v20170401preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/streamanalytics/v20170401preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/streamanalytics/v20170401preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .function import *
from .get_function i... | 27.842105 | 80 | 0.73913 | 79 | 529 | 4.835443 | 0.556962 | 0.26178 | 0.136126 | 0.109948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002278 | 0.170132 | 529 | 18 | 81 | 29.388889 | 0.867882 | 0.383743 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4623e9457ecc1e5867bed2a327e77cba4fda9e03 | 44 | py | Python | main.py | serdarquenchless/my-second_repo | 9ec82ed9f02876eff88bd356b71fe59a6556a0c2 | [
"MIT"
] | null | null | null | main.py | serdarquenchless/my-second_repo | 9ec82ed9f02876eff88bd356b71fe59a6556a0c2 | [
"MIT"
] | null | null | null | main.py | serdarquenchless/my-second_repo | 9ec82ed9f02876eff88bd356b71fe59a6556a0c2 | [
"MIT"
] | null | null | null | print("Hello World!")
print("By the World")
| 14.666667 | 21 | 0.681818 | 7 | 44 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 22 | 22 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
4682c0e46fcfbb202ad07258553f68a0b422db99 | 231 | py | Python | strongr/clouddomain/handler/impl/cloud/mockcloud/listdeployedvmshandler.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/clouddomain/handler/impl/cloud/mockcloud/listdeployedvmshandler.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/clouddomain/handler/impl/cloud/mockcloud/listdeployedvmshandler.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | from strongr.clouddomain.handler.abstract.cloud import AbstractListDeployedVmsHandler
class ListDeployedVmsHandler(AbstractListDeployedVmsHandler):
def __call__(self, command):
return {'up': ['localhost'], 'down': []}
| 38.5 | 85 | 0.770563 | 19 | 231 | 9.157895 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 231 | 5 | 86 | 46.2 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d3d69168a927610239335d1b46a4e0afe4b0e6b0 | 38,135 | py | Python | python/ray/dataframe/test/test_dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 2 | 2017-12-19T08:18:51.000Z | 2018-01-19T02:42:28.000Z | python/ray/dataframe/test/test_dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 5 | 2018-01-04T22:54:34.000Z | 2018-02-06T23:48:20.000Z | python/ray/dataframe/test/test_dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 3 | 2018-01-04T21:18:42.000Z | 2019-01-20T05:34:33.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import pytest
import numpy as np
import pandas as pd
import ray
import ray.dataframe as rdf
@pytest.fixture
def ray_df_equals_pandas(ray_df, pandas_df):
return rdf.to_pandas(ray_df).sort_index().equals(pa... | 20.70304 | 76 | 0.688921 | 5,064 | 38,135 | 4.78594 | 0.061019 | 0.124402 | 0.136656 | 0.297491 | 0.771497 | 0.734156 | 0.712535 | 0.684354 | 0.677752 | 0.675029 | 0 | 0.005553 | 0.206713 | 38,135 | 1,841 | 77 | 20.714286 | 0.795584 | 0 | 0 | 0.517921 | 0 | 0 | 0.004563 | 0 | 0 | 0 | 0 | 0 | 0.03405 | 1 | 0.218638 | false | 0 | 0.007168 | 0.000896 | 0.227599 | 0.000896 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3e6055578b7db5e0bbf773b47861e841b51fbb7 | 167 | py | Python | wdae/wdae/datasets_api/admin.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | wdae/wdae/datasets_api/admin.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | 82 | 2019-07-22T11:44:23.000Z | 2022-01-13T15:27:33.000Z | wdae/wdae/datasets_api/admin.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | from datasets_api.models import Dataset
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
admin.site.register(Dataset, GuardedModelAdmin)
| 27.833333 | 47 | 0.862275 | 21 | 167 | 6.809524 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08982 | 167 | 5 | 48 | 33.4 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d3e9272f27ecd8d55f6aabea7b8ceb946fc07f90 | 64 | py | Python | src/simple_ray_tracing.py | mnichol3/acoustics_sandbox | a4ce90b484f75c366752ea12e97d2acb22ea059b | [
"MIT"
] | null | null | null | src/simple_ray_tracing.py | mnichol3/acoustics_sandbox | a4ce90b484f75c366752ea12e97d2acb22ea059b | [
"MIT"
] | null | null | null | src/simple_ray_tracing.py | mnichol3/acoustics_sandbox | a4ce90b484f75c366752ea12e97d2acb22ea059b | [
"MIT"
] | null | null | null | """
A simple acoustic ray tracing model.
"""
import numpy as np
| 12.8 | 36 | 0.703125 | 10 | 64 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 4 | 37 | 16 | 0.865385 | 0.5625 | 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 |
d3e995acfb359366732599c28f4d62d14efbc889 | 91 | py | Python | wic/__init__.py | hacki11/wic | da7aa917e1da937e1c73d4c7fde3760986387e3d | [
"Apache-2.0"
] | null | null | null | wic/__init__.py | hacki11/wic | da7aa917e1da937e1c73d4c7fde3760986387e3d | [
"Apache-2.0"
] | null | null | null | wic/__init__.py | hacki11/wic | da7aa917e1da937e1c73d4c7fde3760986387e3d | [
"Apache-2.0"
] | null | null | null | from .workspace import *
from .files import *
from .options import *
from .Config import *
| 18.2 | 24 | 0.736264 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 4 | 25 | 22.75 | 0.893333 | 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 |
31107869ae687d5a76f261e9b17e7d5e0bd24f53 | 34 | py | Python | insomniac/__main__.py | shifenis/Insomniac | 7c9d572b83c29049bc3075073be5549fe821a739 | [
"MIT"
] | 533 | 2020-06-01T10:40:11.000Z | 2022-03-29T17:05:50.000Z | insomniac/__main__.py | shifenis/Insomniac | 7c9d572b83c29049bc3075073be5549fe821a739 | [
"MIT"
] | 399 | 2020-06-01T22:01:55.000Z | 2022-03-29T20:39:29.000Z | insomniac/__main__.py | shifenis/Insomniac | 7c9d572b83c29049bc3075073be5549fe821a739 | [
"MIT"
] | 166 | 2020-06-01T21:51:52.000Z | 2022-03-12T14:14:44.000Z | import insomniac
insomniac.run()
| 8.5 | 16 | 0.794118 | 4 | 34 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 3 | 17 | 11.333333 | 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 |
312dece8cb9be1b01cb234cd62cc05791bdf9b91 | 115 | py | Python | wsgi.py | Eddyjim/BB-BaseTool | 39fd41cc503b7c31886426b8b017c5f9acfe5072 | [
"MIT"
] | null | null | null | wsgi.py | Eddyjim/BB-BaseTool | 39fd41cc503b7c31886426b8b017c5f9acfe5072 | [
"MIT"
] | 2 | 2022-03-16T01:34:51.000Z | 2022-03-16T01:34:56.000Z | wsgi.py | Eddyjim/BB-BaseTool | 39fd41cc503b7c31886426b8b017c5f9acfe5072 | [
"MIT"
] | null | null | null | """
wsgi
--------------------------------------------
"""
from app import create_app
application = create_app()
| 11.5 | 44 | 0.417391 | 9 | 115 | 5.111111 | 0.666667 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 9 | 45 | 12.777778 | 0.455446 | 0.426087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31455873df8e68d183fe483099b63613d3da119f | 45 | py | Python | stones/exceptions.py | croqaz/stones | 1b57a44ccc8adbbcb777a363ba7d7d51dcc0b20f | [
"MIT"
] | 4 | 2019-11-15T09:39:56.000Z | 2022-01-17T07:44:04.000Z | stones/exceptions.py | croqaz/stones | 1b57a44ccc8adbbcb777a363ba7d7d51dcc0b20f | [
"MIT"
] | 3 | 2017-11-19T21:11:55.000Z | 2022-01-07T10:33:45.000Z | stones/exceptions.py | croqaz/stones | 1b57a44ccc8adbbcb777a363ba7d7d51dcc0b20f | [
"MIT"
] | 1 | 2022-03-11T19:23:55.000Z | 2022-03-11T19:23:55.000Z |
class EncoderException(Exception):
pass
| 11.25 | 34 | 0.755556 | 4 | 45 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 3 | 35 | 15 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
315b43ec185f5041e7b7ce3897b8225adb018380 | 31 | py | Python | jaineel.py | dhyeyshah28/Python_93 | e64a5dcdf1e0be401a35eb09bcd3b8dbe1d9e723 | [
"Apache-2.0"
] | 1 | 2019-10-14T16:25:19.000Z | 2019-10-14T16:25:19.000Z | jaineel.py | dhyeyshah28/Python_93 | e64a5dcdf1e0be401a35eb09bcd3b8dbe1d9e723 | [
"Apache-2.0"
] | 1 | 2019-10-14T16:15:02.000Z | 2019-10-14T16:17:48.000Z | jaineel.py | dhyeyshah28/Python_93 | e64a5dcdf1e0be401a35eb09bcd3b8dbe1d9e723 | [
"Apache-2.0"
] | 2 | 2019-10-14T15:08:58.000Z | 2019-10-14T15:11:26.000Z | prini("jurani")
print("purani") | 15.5 | 15 | 0.709677 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 31 | 2 | 16 | 15.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
315f84609576d4ca87a45d55b2641050b00a4db2 | 118 | py | Python | 9X9.py | LH3525/github | 9484ffcd123978523e8c2368ffa64646b84b3449 | [
"MIT"
] | null | null | null | 9X9.py | LH3525/github | 9484ffcd123978523e8c2368ffa64646b84b3449 | [
"MIT"
] | null | null | null | 9X9.py | LH3525/github | 9484ffcd123978523e8c2368ffa64646b84b3449 | [
"MIT"
] | null | null | null | for i in range(1,10):
for j in range(1,i+1):
print('{}*{} = {}''\t'.format(i,j,i*j),end = '')
print()
| 23.6 | 56 | 0.440678 | 22 | 118 | 2.363636 | 0.5 | 0.269231 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0.254237 | 118 | 4 | 57 | 29.5 | 0.534091 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3160a7c6a575cda334c8c5f85c494937b2a881b7 | 88 | py | Python | acq4/devices/AxoPatch200/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/devices/AxoPatch200/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/devices/AxoPatch200/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | #!/usr/bin/env python
from __future__ import print_function
from .AxoPatch200 import *
| 17.6 | 37 | 0.795455 | 12 | 88 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.125 | 88 | 4 | 38 | 22 | 0.805195 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
318598864bdbb0e53636858ad8656ed34590ccd2 | 42 | py | Python | Python/LearningCode/007_Project_XMLParser/test.py | FontaineGuo/PathOfLearning | a5af03af6dcea409375276b53a397f014a4de231 | [
"MIT"
] | null | null | null | Python/LearningCode/007_Project_XMLParser/test.py | FontaineGuo/PathOfLearning | a5af03af6dcea409375276b53a397f014a4de231 | [
"MIT"
] | null | null | null | Python/LearningCode/007_Project_XMLParser/test.py | FontaineGuo/PathOfLearning | a5af03af6dcea409375276b53a397f014a4de231 | [
"MIT"
] | null | null | null | a = 1
b = 2,
print(type(a))
print(type(b)) | 10.5 | 14 | 0.571429 | 10 | 42 | 2.4 | 0.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.166667 | 42 | 4 | 15 | 10.5 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
31a9eda5c1ca5940ef9878e64dc8afed9c0865ea | 249,811 | py | Python | sdk/python/pulumi_azure_native/media/v20180330preview/outputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/media/v20180330preview/outputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/media/v20180330preview/outputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 41.725572 | 561 | 0.654131 | 28,881 | 249,811 | 5.479658 | 0.033274 | 0.016277 | 0.024479 | 0.035777 | 0.801887 | 0.767494 | 0.742945 | 0.687858 | 0.669457 | 0.653572 | 0 | 0.004581 | 0.255541 | 249,811 | 5,986 | 562 | 41.732543 | 0.846387 | 0.339677 | 0 | 0.677887 | 1 | 0.020313 | 0.198918 | 0.085119 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172084 | false | 0.004063 | 0.002031 | 0 | 0.325885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31cf7c51de5c34f8ad2c78eb594fc6b7ad2bf188 | 117 | py | Python | RandomGenerator/RandomInts/RandomWithSeed.py | Parikshit-njit/Calculator-is601 | 929317871afec437fa9a903d9fe46dcb66da5d60 | [
"MIT"
] | 1 | 2021-07-07T22:49:49.000Z | 2021-07-07T22:49:49.000Z | RandomGenerator/RandomInts/RandomWithSeed.py | Parikshit-njit/Calculator-is601 | 929317871afec437fa9a903d9fe46dcb66da5d60 | [
"MIT"
] | null | null | null | RandomGenerator/RandomInts/RandomWithSeed.py | Parikshit-njit/Calculator-is601 | 929317871afec437fa9a903d9fe46dcb66da5d60 | [
"MIT"
] | null | null | null | import random
def random_with_seed(start, stop, seed):
random.seed(seed)
return random.randint(start, stop) | 19.5 | 40 | 0.735043 | 17 | 117 | 4.941176 | 0.529412 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 6 | 41 | 19.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9efdd08ed5cfc87c2814c4d3c796a8a67fdd7c26 | 36 | py | Python | tests/__init__.py | brucetony/aop2db | 117e60d2e0a356c7944b33b26ddc64a9a952162c | [
"MIT"
] | null | null | null | tests/__init__.py | brucetony/aop2db | 117e60d2e0a356c7944b33b26ddc64a9a952162c | [
"MIT"
] | null | null | null | tests/__init__.py | brucetony/aop2db | 117e60d2e0a356c7944b33b26ddc64a9a952162c | [
"MIT"
] | null | null | null | """Unit test package for aop2db."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.138889 | 36 | 1 | 36 | 36 | 0.741935 | 0.805556 | 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 |
73001d14fe9e31346f5d7f4bdd9fd9d4528eb6e8 | 53 | py | Python | utils/models/hyperdensenet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/hyperdensenet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/hyperdensenet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import HyperDenseNet, HyperDenseNet_2Mod
| 26.5 | 52 | 0.867925 | 6 | 53 | 7.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.09434 | 53 | 1 | 53 | 53 | 0.916667 | 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 |
731b70d4ddde8e6698e601ad8397f77c88576792 | 1,127 | py | Python | python/test/test_authorizations_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | python/test/test_authorizations_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | 1 | 2021-01-20T00:20:01.000Z | 2021-01-20T00:20:01.000Z | python/test/test_authorizations_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenLattice API
OpenLattice API # noqa: E501
The version of the OpenAPI document: 0.0.1
Contact: support@openlattice.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import openlattice
from openlattice.api.authori... | 23 | 147 | 0.700089 | 128 | 1,127 | 5.984375 | 0.492188 | 0.052219 | 0.044386 | 0.08094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.22449 | 1,127 | 48 | 148 | 23.479167 | 0.854691 | 0.433008 | 0 | 0.1875 | 1 | 0 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1875 | 0.3125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
732f4d20a3f9f11a89754d2c0b2cc6670ad1967c | 64 | py | Python | womail/__init__.py | lee233/dailysign | a6b3e3bf4315f2213a1b0bda521abf261245b3e0 | [
"MIT"
] | 68 | 2021-05-12T18:32:46.000Z | 2021-12-06T07:00:52.000Z | womail/__init__.py | lee233/dailysign | a6b3e3bf4315f2213a1b0bda521abf261245b3e0 | [
"MIT"
] | null | null | null | womail/__init__.py | lee233/dailysign | a6b3e3bf4315f2213a1b0bda521abf261245b3e0 | [
"MIT"
] | 37 | 2021-05-12T04:37:26.000Z | 2022-03-29T09:16:07.000Z | # -*- coding: utf-8 -*-
from womail.womail import WoMailCheckIn
| 21.333333 | 39 | 0.703125 | 8 | 64 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.140625 | 64 | 2 | 40 | 32 | 0.8 | 0.328125 | 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 |
7df81bb4df4818c11109e2497926fde422691b53 | 75 | py | Python | models/link.py | dainiuskreivenas/rbs | 1d371963ccd64976b3f0603dead891f51996cfb1 | [
"MIT"
] | 1 | 2021-10-04T17:44:04.000Z | 2021-10-04T17:44:04.000Z | models/link.py | dainiuskreivenas/rbs | 1d371963ccd64976b3f0603dead891f51996cfb1 | [
"MIT"
] | 12 | 2019-07-16T08:31:50.000Z | 2019-11-19T17:58:53.000Z | models/link.py | dainiuskreivenas/rbs | 1d371963ccd64976b3f0603dead891f51996cfb1 | [
"MIT"
] | null | null | null | class Link:
def __init__(self, caIndex):
self.caIndex = caIndex | 25 | 32 | 0.653333 | 9 | 75 | 5 | 0.666667 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 75 | 3 | 33 | 25 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b41a8b7d0fea151ac016c75b72255f38ea98e593 | 113 | py | Python | piconumpy/test_purepy_array.py | pyhandle/piconumpy | ee2907c15c3a2142d0d15b4c1708baba6f15a8ce | [
"BSD-3-Clause"
] | 10 | 2021-04-03T05:59:52.000Z | 2021-11-30T06:36:29.000Z | piconumpy/test_purepy_array.py | pyhandle/piconumpy | ee2907c15c3a2142d0d15b4c1708baba6f15a8ce | [
"BSD-3-Clause"
] | 4 | 2020-12-09T10:17:17.000Z | 2021-11-27T14:25:23.000Z | piconumpy/test_purepy_array.py | pyhandle/piconumpy | ee2907c15c3a2142d0d15b4c1708baba6f15a8ce | [
"BSD-3-Clause"
] | 1 | 2021-07-19T14:01:33.000Z | 2021-07-19T14:01:33.000Z | from .test_cpython_capi import Tests as _Tests
class Tests(_Tests):
from . import purepy_array as piconumpy
| 22.6 | 46 | 0.787611 | 17 | 113 | 4.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 4 | 47 | 28.25 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
b4220df65e973efc71ff87b770592fe64650c682 | 123 | py | Python | Section21_Strategy/Practice/AbstractDiscriminantStrategy.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | 1 | 2020-10-20T07:41:51.000Z | 2020-10-20T07:41:51.000Z | Section21_Strategy/Practice/AbstractDiscriminantStrategy.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | Section21_Strategy/Practice/AbstractDiscriminantStrategy.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | from abc import ABC
class AbstractDiscriminantStrategy(ABC):
def calculate_discriminant(self, a, b, c):
pass
| 17.571429 | 46 | 0.715447 | 15 | 123 | 5.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211382 | 123 | 6 | 47 | 20.5 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b43664f902a9ebdd31d1c1ebe6eb201d4732bfc2 | 194 | py | Python | Lesson_1/1.3_Lab.py | gabistein/warden_introcs | fbc8de1d937b94951369929deb2f2a0b285e47f2 | [
"MIT"
] | null | null | null | Lesson_1/1.3_Lab.py | gabistein/warden_introcs | fbc8de1d937b94951369929deb2f2a0b285e47f2 | [
"MIT"
] | null | null | null | Lesson_1/1.3_Lab.py | gabistein/warden_introcs | fbc8de1d937b94951369929deb2f2a0b285e47f2 | [
"MIT"
] | null | null | null | #Four Fours
#Zero
print("Zero is ", 44-44)
# One
print("One is ", 4/4 * 4/4)
# Two
print("Two is ", (4*4)/(4+4) )
# Three
print("Three is ", (4 + 4 + 4)/4)
# Four
print("Four is ", (4-4)/4 + 4) | 17.636364 | 33 | 0.525773 | 40 | 194 | 2.55 | 0.25 | 0.235294 | 0.235294 | 0.196078 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0.206186 | 194 | 11 | 34 | 17.636364 | 0.532468 | 0.175258 | 0 | 0 | 0 | 0 | 0.251613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.