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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1617ec423d380ef6d39ecb844f07e529d1e900e | 281 | py | Python | test/test_resources/python-unittest/py_several_files2/Root/test/test1.py | jocelyn/codeboard_mantra | 05a4c783dbae8d87b55c834382d8d12f957ffea9 | [
"MIT"
] | 1 | 2019-01-12T02:57:53.000Z | 2019-01-12T02:57:53.000Z | test/test_resources/python-unittest/py_several_files2/Root/test/test1.py | jocelyn/codeboard_mantra | 05a4c783dbae8d87b55c834382d8d12f957ffea9 | [
"MIT"
] | 1 | 2017-10-13T11:57:41.000Z | 2017-10-13T11:57:41.000Z | test/test_resources/python-unittest/py_several_files2/Root/test/test1.py | jocelyn/codeboard_mantra | 05a4c783dbae8d87b55c834382d8d12f957ffea9 | [
"MIT"
] | 6 | 2017-10-13T11:27:58.000Z | 2020-10-06T19:06:22.000Z | from Root import b
import unittest
class test1(unittest.TestCase):
def test_shuffle(self):
self.assertEqual(b.add(1,2),3)
def test_add(self):
self.assertEqual(b.add(4,2),6)
def test_addFail(self):
self.assertEqual(b.add(1,2),4)
if __name__ == '__main__':
unittest.main()
| 23.416667 | 32 | 0.725979 | 48 | 281 | 4.020833 | 0.479167 | 0.108808 | 0.295337 | 0.310881 | 0.378238 | 0.259067 | 0.259067 | 0 | 0 | 0 | 0 | 0.040161 | 0.113879 | 281 | 11 | 33 | 25.545455 | 0.73494 | 0 | 0 | 0 | 0 | 0 | 0.02847 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b167f223733c1d3f888e92631f85bada5ba538f4 | 31 | py | Python | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2017-04-17T16:24:23.000Z | 2017-04-17T16:24:23.000Z | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | null | null | null | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2021-02-23T07:51:32.000Z | 2021-02-23T07:51:32.000Z | keyboard.send_keys("<ctrl>+j")
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 31 | 1 | 31 | 31 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b16ab7d571cab76e9c524767f042bc73f2b4d7bb | 83 | py | Python | editor/platforms/windows.py | Commander07/Magnitude | 2b793d0d9946f6b35c5935ae5921592e287bbbe7 | [
"MIT"
] | 6 | 2020-12-06T20:21:39.000Z | 2021-06-29T06:37:40.000Z | editor/platforms/windows.py | Commander07/Magnitude | 2b793d0d9946f6b35c5935ae5921592e287bbbe7 | [
"MIT"
] | null | null | null | editor/platforms/windows.py | Commander07/Magnitude | 2b793d0d9946f6b35c5935ae5921592e287bbbe7 | [
"MIT"
] | null | null | null | ## Windows specific functions. If a function exists here it must exist in linux.py
| 41.5 | 82 | 0.783133 | 14 | 83 | 4.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 1 | 83 | 83 | 0.942029 | 0.951807 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1746ab01205c09873f11ebd2450332cf6fbd19f | 267 | py | Python | sniper/tools/viz/asohelper.py | kleberkruger/donuts | 99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6 | [
"MIT"
] | 2 | 2015-08-04T04:07:17.000Z | 2015-08-06T00:51:33.000Z | sniper/tools/viz/asohelper.py | kleberkruger/donuts | 99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6 | [
"MIT"
] | null | null | null | sniper/tools/viz/asohelper.py | kleberkruger/donuts | 99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6 | [
"MIT"
] | 1 | 2021-10-04T13:53:51.000Z | 2021-10-04T13:53:51.000Z | def get_fp_addsub(f):
return f["addpd"] + f["addsd"] + f["addss"] + f["addps"] + f["subpd"] + f["subsd"] + f["subss"] + f["subps"]
def get_fp_muldiv(f):
return f["mulpd"] + f["mulsd"] + f["mulss"] + f["mulps"] + f["divpd"] + f["divsd"] + f["divss"] + f["divps"]
| 44.5 | 110 | 0.531835 | 44 | 267 | 3.136364 | 0.522727 | 0.086957 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153558 | 267 | 5 | 111 | 53.4 | 0.610619 | 0 | 0 | 0 | 0 | 0 | 0.299625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
b192605b525578d6c9fe07cb2aed9dd6e6fe98f3 | 299 | py | Python | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | from xv_leak_tools.log import L
from xv_leak_tools.test_device.device import Device
class RouterDevice(Device):
def os_name(self):
# TODO: Make this dynamic
return 'linux'
def os_version(self):
L.warning("TODO: Linux version")
return 'TODO: Linux version'
| 23 | 51 | 0.67893 | 42 | 299 | 4.666667 | 0.547619 | 0.061224 | 0.102041 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237458 | 299 | 12 | 52 | 24.916667 | 0.859649 | 0.076923 | 0 | 0 | 0 | 0 | 0.156934 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b19889665f0ee81a193bc0063390a65e19a1320c | 59 | py | Python | wiremock/tests/resource_tests/scenarios_tests/serialization_tests.py | sp1rs/python-wiremock | b570b0ebc60ac0d873812f21f78f2a8a4353792f | [
"Apache-2.0"
] | 22 | 2017-07-01T14:44:04.000Z | 2021-09-08T08:45:21.000Z | wiremock/tests/resource_tests/scenarios_tests/serialization_tests.py | sp1rs/python-wiremock | b570b0ebc60ac0d873812f21f78f2a8a4353792f | [
"Apache-2.0"
] | 37 | 2017-04-24T15:28:27.000Z | 2021-09-20T08:58:26.000Z | wiremock/tests/resource_tests/scenarios_tests/serialization_tests.py | sp1rs/python-wiremock | b570b0ebc60ac0d873812f21f78f2a8a4353792f | [
"Apache-2.0"
] | 22 | 2017-04-24T14:58:06.000Z | 2021-09-09T09:22:31.000Z | # Purposefully left blank as there are no specific models.
| 29.5 | 58 | 0.79661 | 9 | 59 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 1 | 59 | 59 | 0.959184 | 0.949153 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4951f4dd0bb9dd7897a5719b630e1ba4c44100e2 | 2,168 | py | Python | Lib/site-packages/mysqlx/dbdoc.py | jmsnur/mytaxi-test | eb7f70d0ac1c4df32aaebaab118a25c83683ce13 | [
"bzip2-1.0.6"
] | 7 | 2022-03-10T07:03:14.000Z | 2022-03-24T09:42:46.000Z | Lib/site-packages/mysqlx/dbdoc.py | jmsnur/mytaxi-test | eb7f70d0ac1c4df32aaebaab118a25c83683ce13 | [
"bzip2-1.0.6"
] | 7 | 2019-12-04T22:51:59.000Z | 2022-02-10T08:28:35.000Z | Lib/site-packages/mysqlx/dbdoc.py | jmsnur/mytaxi-test | eb7f70d0ac1c4df32aaebaab118a25c83683ce13 | [
"bzip2-1.0.6"
] | 3 | 2020-07-22T23:41:29.000Z | 2020-09-02T16:40:32.000Z | # MySQL Connector/Python - MySQL driver written in Python.
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# MySQL Connector/Python is licensed under the terms of the GPLv2
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
# MySQL Connectors. There are special exceptions to ... | 34.412698 | 78 | 0.697417 | 314 | 2,168 | 4.656051 | 0.496815 | 0.043776 | 0.026676 | 0.038988 | 0.077291 | 0.038304 | 0 | 0 | 0 | 0 | 0 | 0.012353 | 0.215867 | 2,168 | 62 | 79 | 34.967742 | 0.847647 | 0.62869 | 0 | 0 | 0 | 0 | 0.046543 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.142857 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
499173929547adad9f80fb5bb89afaef0c631b1d | 237 | py | Python | venv/Lib/site-packages/bootstrap3/templates/bootstrap3/form_errors.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/bootstrap3/templates/bootstrap3/form_errors.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/bootstrap3/templates/bootstrap3/form_errors.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XXXX XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXX
XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
BBB BBBBB BB BBBBBB
BB BBB BBBBBBBBBBBBXXXXBBBBB
BBBBBB
XXXXXX
| 33.857143 | 95 | 0.835443 | 19 | 237 | 10.421053 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 237 | 6 | 96 | 39.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
49a27d8df1fa80afe142635c112bacef76b19c83 | 46 | py | Python | venv/lib/python3.6/encodings/unicode_escape.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/unicode_escape.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/unicode_escape.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/unicode_escape.py | 46 | 46 | 0.847826 | 8 | 46 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 46 | 1 | 46 | 46 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8f2861ad65e733005d740bd1e4ef27fa1421324 | 300 | py | Python | text_embeddings/byte/__init__.py | ChenghaoMou/embeddings | e63c2f2f4a688302de37bb8ccfd37a0170e2c374 | [
"MIT"
] | 12 | 2021-04-18T02:32:55.000Z | 2021-12-19T13:49:23.000Z | text_embeddings/byte/__init__.py | ChenghaoMou/embeddings | e63c2f2f4a688302de37bb8ccfd37a0170e2c374 | [
"MIT"
] | 1 | 2021-07-04T09:06:34.000Z | 2021-07-25T03:45:43.000Z | text_embeddings/byte/__init__.py | ChenghaoMou/embeddings | e63c2f2f4a688302de37bb8ccfd37a0170e2c374 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date : 2021-07-18 14:36:09
# @Author : Chenghao Mou (mouchenghao@gmail.com)
from text_embeddings.byte.byt5 import ByT5Tokenizer
from text_embeddings.byte.charformer import ByteTokenizer, GBST
__all__ = ['ByT5Tokenizer', 'GBST', 'ByteTokenizer']
| 30 | 63 | 0.726667 | 39 | 300 | 5.435897 | 0.794872 | 0.075472 | 0.169811 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.126667 | 300 | 9 | 64 | 33.333333 | 0.740458 | 0.403333 | 0 | 0 | 0 | 0 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b8f97ce9a4d92ac7394a34ba9d8586d3c1b540e4 | 22 | py | Python | alerta/version.py | panpann/alerta | 95961df969aa803d3c08c5839178f034b5f87ebb | [
"Apache-2.0"
] | null | null | null | alerta/version.py | panpann/alerta | 95961df969aa803d3c08c5839178f034b5f87ebb | [
"Apache-2.0"
] | null | null | null | alerta/version.py | panpann/alerta | 95961df969aa803d3c08c5839178f034b5f87ebb | [
"Apache-2.0"
] | null | null | null | __version__ = '8.4.1'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8fdd828a5b8c58e572fae07ebdd31154aa63e69 | 38 | py | Python | models/ACT/__init__.py | for-ai/ACT | efe259117a11d0583434d09440702fd75ebcdb99 | [
"MIT"
] | 18 | 2018-09-30T13:30:12.000Z | 2021-04-14T15:18:51.000Z | models/ACT/__init__.py | for-ai/ACT | efe259117a11d0583434d09440702fd75ebcdb99 | [
"MIT"
] | 4 | 2020-01-28T21:59:56.000Z | 2021-08-25T14:42:58.000Z | models/ACT/__init__.py | for-ai/ACT | efe259117a11d0583434d09440702fd75ebcdb99 | [
"MIT"
] | 4 | 2018-11-25T14:12:36.000Z | 2019-12-02T03:07:02.000Z | __all__ = ["act"]
from .act import *
| 9.5 | 18 | 0.605263 | 5 | 38 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 3 | 19 | 12.666667 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7712bea8a5466c59e23f22f1997b489414053997 | 550 | py | Python | app/main/models/pedido.py | amandapersampa/Franguinho | 940b6601a821ab4857de7f0a5a0ac53f6f54a564 | [
"MIT"
] | null | null | null | app/main/models/pedido.py | amandapersampa/Franguinho | 940b6601a821ab4857de7f0a5a0ac53f6f54a564 | [
"MIT"
] | 8 | 2017-03-14T11:55:07.000Z | 2017-04-03T00:53:32.000Z | app/main/models/pedido.py | amandapersampa/MicroGerencia | 940b6601a821ab4857de7f0a5a0ac53f6f54a564 | [
"MIT"
] | null | null | null | # coding=utf-8
from app import db
from sqlalchemy.orm import relationship
class pedido_dao:
__tablename__ = "pedido"
# id_pedido = db.Column(db.Integer, primary_key=True)
# nome = db.Column(db.String)
# valor = db.Column(db.Float)
# qtd_ingrediente = db.Column(db.Integer)
# qtd_item_extra = db.Colum... | 34.375 | 76 | 0.707273 | 78 | 550 | 4.782051 | 0.423077 | 0.171582 | 0.214477 | 0.182306 | 0.101877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002155 | 0.156364 | 550 | 16 | 77 | 34.375 | 0.801724 | 0.767273 | 0 | 0 | 0 | 0 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7720594be1fbbd83a062b7329a8a5ccdccc54065 | 109 | py | Python | social_oauth_token/apps.py | khasbilegt/django-social-auth-token | 2562c12b2747207557bda9e0fff39b15bbb22537 | [
"MIT"
] | null | null | null | social_oauth_token/apps.py | khasbilegt/django-social-auth-token | 2562c12b2747207557bda9e0fff39b15bbb22537 | [
"MIT"
] | null | null | null | social_oauth_token/apps.py | khasbilegt/django-social-auth-token | 2562c12b2747207557bda9e0fff39b15bbb22537 | [
"MIT"
] | 1 | 2021-11-08T07:09:45.000Z | 2021-11-08T07:09:45.000Z | from django.apps import AppConfig
class SocialOauthTokenConfig(AppConfig):
name = "social_oauth_token"
| 18.166667 | 40 | 0.798165 | 12 | 109 | 7.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 41 | 21.8 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
772cfe056716b53af0adc4c83c16484233dec372 | 167 | py | Python | rlsuite/envs/gridworld/__init__.py | christopher-wolff/lab | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | 2 | 2019-03-28T16:47:50.000Z | 2019-04-08T04:50:50.000Z | rlsuite/envs/gridworld/__init__.py | christopher-wolff/rlsuite | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | null | null | null | rlsuite/envs/gridworld/__init__.py | christopher-wolff/rlsuite | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='GridWorld-v0',
entry_point='rlsuite.envs.gridworld.gridworld:GridWorld',
max_episode_steps=50,
)
| 20.875 | 61 | 0.754491 | 21 | 167 | 5.857143 | 0.761905 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.131737 | 167 | 7 | 62 | 23.857143 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.323353 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
773cd0599249be90c24256de7dfd60ee4a466e7b | 86 | py | Python | test/first.py | zyj2614187/CANGKU01 | 9718e7fd8e5882914a69e1181dae07a9257d13dc | [
"MIT"
] | null | null | null | test/first.py | zyj2614187/CANGKU01 | 9718e7fd8e5882914a69e1181dae07a9257d13dc | [
"MIT"
] | null | null | null | test/first.py | zyj2614187/CANGKU01 | 9718e7fd8e5882914a69e1181dae07a9257d13dc | [
"MIT"
] | null | null | null | a = 1
b = 2
c = a+b
print(c)
d= 5
e = 6
f = 7
k = 6
h = 50
j =522022
l= 5050
你是猪
| 4.777778 | 9 | 0.453488 | 24 | 86 | 1.625 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0.395349 | 86 | 17 | 10 | 5.058824 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
774b737ce0ea4ccd49cf8c0f34d0766cc8c27e5c | 76 | py | Python | plotly/graph_objs/layout/polar/angularaxis/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/layout/polar/angularaxis/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/layout/polar/angularaxis/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._tickformatstop import Tickformatstop
from ._tickfont import Tickfont
| 25.333333 | 43 | 0.868421 | 8 | 76 | 8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 44 | 38 | 0.941176 | 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 | 0 | 0 | 0 | 4 |
620f0621fbc1841939002f3e397639cd6abdebdb | 3,482 | py | Python | al/experiments/object_detection.py | kili-technology/active-learning | 72dce7d91b988264dd7fa1a972d9af45e9648c4c | [
"Apache-2.0"
] | 3 | 2020-09-11T07:30:54.000Z | 2021-04-17T07:45:05.000Z | al/experiments/object_detection.py | kili-technology/active-learning | 72dce7d91b988264dd7fa1a972d9af45e9648c4c | [
"Apache-2.0"
] | null | null | null | al/experiments/object_detection.py | kili-technology/active-learning | 72dce7d91b988264dd7fa1a972d9af45e9648c4c | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
from ..model.model_zoo import *
from ..model.ssd import SSDLearner
from ..dataset.pascal_voc import PascalVOCObjectDataset
from ..dataset.coco import COCOObjectDataset
from ..model.configs import cfg
def set_up_pascalvoc_detection(config, output_dir, logger, device=0, queries_name='quer... | 41.951807 | 109 | 0.716255 | 459 | 3,482 | 5.198257 | 0.165577 | 0.050293 | 0.064124 | 0.060352 | 0.740151 | 0.740151 | 0.715004 | 0.715004 | 0.676446 | 0.64627 | 0 | 0.009547 | 0.157668 | 3,482 | 83 | 110 | 41.951807 | 0.803955 | 0 | 0 | 0.46875 | 0 | 0 | 0.254953 | 0.09532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.109375 | 0 | 0.203125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
621ab5790701b88e269ef5a4c9b8c64356f52746 | 72 | py | Python | __init__.py | 5x/cryptography-gui-app | a65539cc59276da831cc9f401c77b19de2fe18ea | [
"MIT"
] | 1 | 2021-08-03T09:50:02.000Z | 2021-08-03T09:50:02.000Z | __init__.py | 5x/cryptography-gui-app | a65539cc59276da831cc9f401c77b19de2fe18ea | [
"MIT"
] | null | null | null | __init__.py | 5x/cryptography-gui-app | a65539cc59276da831cc9f401c77b19de2fe18ea | [
"MIT"
] | null | null | null | #!/usr/bin/python3,4
# -*- coding: utf-8 -*-
"""cryptography-gui-app"""
| 18 | 26 | 0.583333 | 10 | 72 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.097222 | 72 | 3 | 27 | 24 | 0.6 | 0.861111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
623cda82dc78bcb7c0c0435e69a56d92bf23248b | 124 | py | Python | setup.py | goude/thxtime | ecc41913624c1e3836ab4f2fcfeb23c377450061 | [
"MIT"
] | null | null | null | setup.py | goude/thxtime | ecc41913624c1e3836ab4f2fcfeb23c377450061 | [
"MIT"
] | null | null | null | setup.py | goude/thxtime | ecc41913624c1e3836ab4f2fcfeb23c377450061 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name="thxtime",
version="2.0.0",
packages=find_packages(),
)
| 17.714286 | 43 | 0.685484 | 16 | 124 | 5.1875 | 0.6875 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.177419 | 124 | 6 | 44 | 20.666667 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62410e0fbb6abd0a88275e5da44046fea2fed835 | 123 | py | Python | Socket/Socket/udp/udp_client.py | RolandBalabekyan1994/socket-socketserver | 94ca247d1aa0e84b970d49b7e974e67932440b11 | [
"MIT"
] | null | null | null | Socket/Socket/udp/udp_client.py | RolandBalabekyan1994/socket-socketserver | 94ca247d1aa0e84b970d49b7e974e67932440b11 | [
"MIT"
] | null | null | null | Socket/Socket/udp/udp_client.py | RolandBalabekyan1994/socket-socketserver | 94ca247d1aa0e84b970d49b7e974e67932440b11 | [
"MIT"
] | null | null | null | import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(b'Test message', ('localhost', 8888)) | 30.75 | 56 | 0.747967 | 18 | 123 | 5 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.105691 | 123 | 4 | 57 | 30.75 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6256e27a027c2617019ef8c7c0b4d00633bfd944 | 112 | py | Python | 20180616/templating_01.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | 20180616/templating_01.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | 20180616/templating_01.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | sentence='I am interested in {num}'
pi=3.14
print(sentence.format(num=pi))
e=2.712
print(sentence.format(num=e)) | 22.4 | 35 | 0.741071 | 22 | 112 | 3.772727 | 0.636364 | 0.120482 | 0.457831 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.071429 | 112 | 5 | 36 | 22.4 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
65504a54c18f87bed505d7919f810fcb92470f5c | 93 | py | Python | mvouchers/apps.py | silverline99/meal-voucher-app | baa629004c205732114f7b35ff4f93a2a461cbd1 | [
"MIT"
] | null | null | null | mvouchers/apps.py | silverline99/meal-voucher-app | baa629004c205732114f7b35ff4f93a2a461cbd1 | [
"MIT"
] | null | null | null | mvouchers/apps.py | silverline99/meal-voucher-app | baa629004c205732114f7b35ff4f93a2a461cbd1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MvouchersConfig(AppConfig):
name = 'mvouchers'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6554c4524c237637492692e8b047f3d227565fe2 | 96 | py | Python | quickcert.py | dedickinson/hub-util-tls | cff25cf45455f97c5654110b7b4ad903380b9d0e | [
"BSD-2-Clause"
] | null | null | null | quickcert.py | dedickinson/hub-util-tls | cff25cf45455f97c5654110b7b4ad903380b9d0e | [
"BSD-2-Clause"
] | 4 | 2020-03-24T16:58:15.000Z | 2021-06-01T23:28:02.000Z | quickcert.py | dedickinson/hub-util-tls | cff25cf45455f97c5654110b7b4ad903380b9d0e | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
# PYTHON_ARGCOMPLETE_OK
import quickcert
quickcert.QuickCertCli().run() | 16 | 30 | 0.791667 | 12 | 96 | 6.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.083333 | 96 | 6 | 30 | 16 | 0.829545 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
65578b35b3e8467e311e7c6e421a770a28a92ea0 | 88 | py | Python | dialog/apps.py | asmadotgh/neural_chat_web | 1ef29cae7349ad945180adbd0a6d005087fe1365 | [
"MIT"
] | 26 | 2019-06-26T06:15:35.000Z | 2022-01-24T16:06:21.000Z | dialog/apps.py | asmadotgh/neural_chat_web | 1ef29cae7349ad945180adbd0a6d005087fe1365 | [
"MIT"
] | 2 | 2020-02-12T00:40:46.000Z | 2021-06-10T21:36:22.000Z | dialog/apps.py | asmadotgh/neural_chat_web | 1ef29cae7349ad945180adbd0a6d005087fe1365 | [
"MIT"
] | 2 | 2019-09-18T08:06:42.000Z | 2019-09-19T18:14:54.000Z | from django.apps import AppConfig
class DialogConfig(AppConfig):
name = 'dialog'
| 12.571429 | 33 | 0.738636 | 10 | 88 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 34 | 14.666667 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
657ae7301cc5259ff530c0acb108f3507a549fab | 277 | py | Python | string_apostraphe.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | string_apostraphe.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | string_apostraphe.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Testing apostraphes' in single quotes
# if I were to: print('he's done')
# error: compiler thinks the statement
# is ended at the apostraphe after 'he'.
# In order to print apostraphes and other
# characters like it, escape them:
print('he\'s done')
| 27.7 | 41 | 0.722022 | 45 | 277 | 4.444444 | 0.777778 | 0.07 | 0.08 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.169675 | 277 | 9 | 42 | 30.777778 | 0.865217 | 0.873646 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6580f66c87dc9a69012d50e7be434424964d3d52 | 54 | py | Python | python/testData/completion/beforeImport/beforeImportAs.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/beforeImport/beforeImportAs.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/beforeImport/beforeImportAs.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | m<caret>
from source import my_foo as my_renamed_foo
| 13.5 | 43 | 0.814815 | 11 | 54 | 3.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 44 | 18 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6594981e278002d85bb3afe0cdcda0bfc6660714 | 332 | py | Python | raylab/utils/types.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 29 | 2020-05-05T13:25:33.000Z | 2022-01-03T14:12:29.000Z | raylab/utils/types.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 215 | 2019-11-26T12:59:39.000Z | 2022-02-01T12:38:31.000Z | raylab/utils/types.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 7 | 2020-06-12T01:42:02.000Z | 2021-05-27T03:40:42.000Z | """Collection of type annotations."""
from typing import Callable, Dict, Tuple, Union
from torch import Tensor
DynamicsFn = Callable[[Tensor, Tensor], Tuple[Tensor, Tensor]]
RewardFn = Callable[[Tensor, Tensor, Tensor], Tensor]
StatDict = Dict[str, Union[float, int]]
TerminationFn = Callable[[Tensor, Tensor, Tenso... | 25.538462 | 62 | 0.740964 | 40 | 332 | 6.15 | 0.5 | 0.390244 | 0.292683 | 0.211382 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129518 | 332 | 12 | 63 | 27.666667 | 0.851211 | 0.093373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
659ae4eaf4c548a9ce8a6b81c0345c320f9bbce7 | 17,578 | py | Python | tests/test_pipeline.py | scottmhamilton/phoenix_pipeline | a531696b83c5a3201b89df555e4e81d5a35a73b3 | [
"MIT"
] | 42 | 2015-01-06T18:32:44.000Z | 2021-09-08T22:31:34.000Z | tests/test_pipeline.py | scottmhamilton/phoenix_pipeline | a531696b83c5a3201b89df555e4e81d5a35a73b3 | [
"MIT"
] | 24 | 2015-01-12T20:56:11.000Z | 2017-05-01T14:55:00.000Z | tests/test_pipeline.py | scottmhamilton/phoenix_pipeline | a531696b83c5a3201b89df555e4e81d5a35a73b3 | [
"MIT"
] | 29 | 2015-01-06T18:44:51.000Z | 2020-07-13T02:57:01.000Z | from bson.objectid import ObjectId
import datetime
from petrarch import petrarch
from petrarch2 import petrarch2
formatted = [{u'language': u'english',
u'title': u'6 killed in attacks in Iraqi capital Friday',
u'url': u'http://www.menafn.com/1094827896/6-killed-in-attacks-in-Iraqi-capital-Friday?src=RSS',
u'stanfor... | 191.065217 | 3,050 | 0.641313 | 2,829 | 17,578 | 3.967126 | 0.180983 | 0.022097 | 0.024949 | 0.017642 | 0.290386 | 0.207075 | 0.16582 | 0.14105 | 0.107191 | 0.107191 | 0 | 0.035612 | 0.182103 | 17,578 | 91 | 3,051 | 193.164835 | 0.745009 | 0 | 0 | 0.16092 | 0 | 0.402299 | 0.870342 | 0.025147 | 0 | 0 | 0 | 0 | 0.022989 | 1 | 0.022989 | false | 0 | 0.045977 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
65a778d34add6253eb7bc11de616c677109c2362 | 93 | py | Python | ImageWork/apps.py | imsks/ImageN | 58d45280985799361de002cb5d1460c2a7dc6ecd | [
"MIT"
] | 1 | 2021-08-05T09:10:49.000Z | 2021-08-05T09:10:49.000Z | ImageWork/apps.py | imsks/ImageN | 58d45280985799361de002cb5d1460c2a7dc6ecd | [
"MIT"
] | null | null | null | ImageWork/apps.py | imsks/ImageN | 58d45280985799361de002cb5d1460c2a7dc6ecd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ImageworkConfig(AppConfig):
name = 'ImageWork'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
65a7bc1b40d4add37a7b00a107311cc01ffdb566 | 2,613 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QGroupBox.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QGroupBox.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QGroupBox.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QWidget import QWidget
class QGroupBox(QWidget):
# no doc
def alignment(self, *args, **kwargs): # r... | 26.663265 | 106 | 0.63452 | 299 | 2,613 | 5.461538 | 0.270903 | 0.19902 | 0.306185 | 0.264544 | 0.608083 | 0.608083 | 0.608083 | 0.584813 | 0.057563 | 0 | 0 | 0.010283 | 0.255645 | 2,613 | 97 | 107 | 26.938144 | 0.829306 | 0.346345 | 0 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.446429 | false | 0.446429 | 0.053571 | 0 | 0.535714 | 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 | 0 | 0 | 0 | 4 |
65b249377623a307c87db1a62945b62ba3b4ab64 | 1,091 | py | Python | data/train/python/65b249377623a307c87db1a62945b62ba3b4ab64fabfile.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/65b249377623a307c87db1a62945b62ba3b4ab64fabfile.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/65b249377623a307c87db1a62945b62ba3b4ab64fabfile.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | from fabric.api import local, run, env, settings
from fabric.context_managers import lcd
def less():
local("lessc mcmun/static/css/mcmun.less -x > mcmun/static/css/mcmun.css")
def up():
local("python manage.py runserver")
def dump():
local("python manage.py dumpdata --indent=4 > backup.json")
def stati... | 24.795455 | 78 | 0.683776 | 149 | 1,091 | 4.932886 | 0.463087 | 0.134694 | 0.208163 | 0.232653 | 0.089796 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001112 | 0.175985 | 1,091 | 43 | 79 | 25.372093 | 0.816463 | 0.04583 | 0 | 0 | 0 | 0.034483 | 0.532243 | 0.096246 | 0 | 0 | 0 | 0 | 0 | 1 | 0.37931 | true | 0 | 0.068966 | 0 | 0.448276 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
65bf77b6d01ccda5cc2c02dde4df96904a41bd27 | 174 | py | Python | newsCrawl/fakeNews/index/views.py | ARIF-KHAN-420/Fake_News | acfbffcce454afc09c4a7b06205c1a632c11f822 | [
"MIT"
] | 1 | 2022-01-03T17:54:03.000Z | 2022-01-03T17:54:03.000Z | newsCrawl/fakeNews/index/views.py | arifkhan-silicornya/Fake_News | acfbffcce454afc09c4a7b06205c1a632c11f822 | [
"MIT"
] | null | null | null | newsCrawl/fakeNews/index/views.py | arifkhan-silicornya/Fake_News | acfbffcce454afc09c4a7b06205c1a632c11f822 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
data = {'d' : "Copy a NEWS and paste it."}
return render(request,'index.html',data) | 29 | 46 | 0.695402 | 26 | 174 | 4.653846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178161 | 174 | 6 | 47 | 29 | 0.846154 | 0.132184 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
029c17f331537c0184fca697765c9274a96aca9f | 23 | py | Python | fastai/__init__.py | janvdp/fastai | ec06bc4e5e445b9d963d4e029466050bfeb1db6c | [
"Apache-2.0"
] | null | null | null | fastai/__init__.py | janvdp/fastai | ec06bc4e5e445b9d963d4e029466050bfeb1db6c | [
"Apache-2.0"
] | null | null | null | fastai/__init__.py | janvdp/fastai | ec06bc4e5e445b9d963d4e029466050bfeb1db6c | [
"Apache-2.0"
] | null | null | null | __version__ = "2.1.9"
| 7.666667 | 21 | 0.608696 | 4 | 23 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.173913 | 23 | 2 | 22 | 11.5 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02beacd61f9882a976c73d37846fb6635b38fca9 | 28 | py | Python | maglearn_back/api/__init__.py | maglearn/maglearn-back | cb5d8623f26e207b870c09c80cbc59911ab23794 | [
"MIT"
] | null | null | null | maglearn_back/api/__init__.py | maglearn/maglearn-back | cb5d8623f26e207b870c09c80cbc59911ab23794 | [
"MIT"
] | null | null | null | maglearn_back/api/__init__.py | maglearn/maglearn-back | cb5d8623f26e207b870c09c80cbc59911ab23794 | [
"MIT"
] | null | null | null | """
API implementation.
"""
| 7 | 19 | 0.607143 | 2 | 28 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 3 | 20 | 9.333333 | 0.708333 | 0.678571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02bf1efa9fc21b10ade5e916aca00ef29f6df74d | 2,010 | py | Python | tests/admin_docs/models.py | ni-ning/django | 2e7ba6057cfc82a15a22b6021cd60cf307152e2d | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] | 19 | 2015-07-07T02:08:59.000Z | 2021-11-08T11:05:40.000Z | tests/admin_docs/models.py | ni-ning/django | 2e7ba6057cfc82a15a22b6021cd60cf307152e2d | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] | 57 | 2018-10-08T12:37:30.000Z | 2018-10-08T17:39:26.000Z | tests/admin_docs/models.py | ni-ning/django | 2e7ba6057cfc82a15a22b6021cd60cf307152e2d | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] | 145 | 2019-03-14T18:54:45.000Z | 2022-03-04T20:25:31.000Z | """
Models for testing various aspects of the djang.contrib.admindocs app
"""
from django.db import models
class Company(models.Model):
name = models.CharField(max_length=200)
class Group(models.Model):
name = models.CharField(max_length=200)
class Family(models.Model):
last_name = models.CharField(m... | 23.647059 | 86 | 0.656716 | 264 | 2,010 | 4.82197 | 0.359848 | 0.037706 | 0.074627 | 0.08641 | 0.213669 | 0.185389 | 0.185389 | 0.150825 | 0.150825 | 0.076984 | 0 | 0.010369 | 0.232338 | 2,010 | 84 | 87 | 23.928571 | 0.814647 | 0.204975 | 0 | 0.15 | 0 | 0 | 0.059868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.025 | 0.15 | 0.825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
02d0ddb6f5072c58acc6615cd782451b199d2579 | 796 | py | Python | test/e2e2/spec/test_api_domains.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | 197 | 2016-10-13T16:44:54.000Z | 2022-03-24T08:33:25.000Z | test/e2e2/spec/test_api_domains.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | 455 | 2016-12-08T15:23:04.000Z | 2022-03-29T12:58:02.000Z | test/e2e2/spec/test_api_domains.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | 25 | 2016-10-13T16:45:02.000Z | 2022-02-23T17:57:04.000Z | from conftest import DeSECAPIV1Client, NSLordClient, random_domainname
def test_create(api_user: DeSECAPIV1Client):
assert len(api_user.domain_list()) == 0
assert api_user.domain_create(random_domainname()).status_code == 201
assert len(api_user.domain_list()) == 1
def test_get(api_user_domain: DeSECAPI... | 39.8 | 95 | 0.753769 | 113 | 796 | 4.982301 | 0.300885 | 0.174068 | 0.300178 | 0.236234 | 0.195382 | 0.184725 | 0 | 0 | 0 | 0 | 0 | 0.021368 | 0.11809 | 796 | 19 | 96 | 41.894737 | 0.780627 | 0 | 0 | 0 | 0 | 0 | 0.059045 | 0.042714 | 0 | 0 | 0 | 0 | 0.538462 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02d73060a3dcc8c2a05ca0f279e7fec13e835925 | 220 | py | Python | classifiers/abs_classifier.py | eyalho/NetML-Competition2020 | cdf7b21642a8ce1ff8cc4c3ba7ed7fc6e1a91a81 | [
"BSD-2-Clause"
] | null | null | null | classifiers/abs_classifier.py | eyalho/NetML-Competition2020 | cdf7b21642a8ce1ff8cc4c3ba7ed7fc6e1a91a81 | [
"BSD-2-Clause"
] | null | null | null | classifiers/abs_classifier.py | eyalho/NetML-Competition2020 | cdf7b21642a8ce1ff8cc4c3ba7ed7fc6e1a91a81 | [
"BSD-2-Clause"
] | null | null | null | from abc import abstractmethod, ABC
class ABSClassifier(ABC):
@abstractmethod
def train(self, X_train, y_train, X_val=None, y_val=None):
pass
@abstractmethod
def predict(self, X):
pass
| 18.333333 | 62 | 0.663636 | 29 | 220 | 4.896552 | 0.517241 | 0.239437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 220 | 11 | 63 | 20 | 0.860606 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
02ddcdd1aebe365b91caeb3d21bf2eeeb7c0ad2f | 174 | py | Python | min_number.py | tpaul93/LearningPython | b537ebbb4c14910a90245ef5956ab2b5af122084 | [
"MIT"
] | null | null | null | min_number.py | tpaul93/LearningPython | b537ebbb4c14910a90245ef5956ab2b5af122084 | [
"MIT"
] | null | null | null | min_number.py | tpaul93/LearningPython | b537ebbb4c14910a90245ef5956ab2b5af122084 | [
"MIT"
] | null | null | null | def min_number(num_list):
min_num = None
for num in num_list:
if min_num is None or min_num > num:
min_num = num
return min_num
| 19.333333 | 44 | 0.563218 | 28 | 174 | 3.214286 | 0.428571 | 0.333333 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.390805 | 174 | 8 | 45 | 21.75 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02f6706a83d53aa25257f2f4d7aa07828505aa38 | 141 | py | Python | sol_validator/apps.py | kushtrimmh/sol_validator | 904e6a89cb8a5b332bf03602903fc9f3ee724e82 | [
"BSD-2-Clause"
] | null | null | null | sol_validator/apps.py | kushtrimmh/sol_validator | 904e6a89cb8a5b332bf03602903fc9f3ee724e82 | [
"BSD-2-Clause"
] | null | null | null | sol_validator/apps.py | kushtrimmh/sol_validator | 904e6a89cb8a5b332bf03602903fc9f3ee724e82 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class SolValidatorConfig(AppConfig):
name = 'sol_validator'
| 17.625 | 39 | 0.808511 | 16 | 141 | 6.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 7 | 40 | 20.142857 | 0.892562 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f30be977831e8d7d5d52cff5dcb1ef91e7ff4c2b | 6,606 | py | Python | seed_services_cli/tests/test_auth.py | praekeltfoundation/seed-services-cli | 943fca5e70be086d4f29fd580103d7647a81f99a | [
"BSD-3-Clause"
] | null | null | null | seed_services_cli/tests/test_auth.py | praekeltfoundation/seed-services-cli | 943fca5e70be086d4f29fd580103d7647a81f99a | [
"BSD-3-Clause"
] | null | null | null | seed_services_cli/tests/test_auth.py | praekeltfoundation/seed-services-cli | 943fca5e70be086d4f29fd580103d7647a81f99a | [
"BSD-3-Clause"
] | null | null | null | """ Tests for seed_services_cli.identity_store """
from unittest import TestCase
from click.testing import CliRunner
from seed_services_cli.main import cli
import responses
import json
class TestSendCommand(TestCase):
def setUp(self):
self.runner = CliRunner()
def tearDown(self):
pass
d... | 34.768421 | 74 | 0.54284 | 666 | 6,606 | 5.267267 | 0.156156 | 0.048461 | 0.055587 | 0.066705 | 0.754846 | 0.737172 | 0.72862 | 0.719213 | 0.647377 | 0.579247 | 0 | 0.035779 | 0.331517 | 6,606 | 189 | 75 | 34.952381 | 0.758605 | 0.014532 | 0 | 0.57764 | 0 | 0 | 0.219058 | 0.034637 | 0 | 0 | 0 | 0 | 0.136646 | 1 | 0.074534 | false | 0.074534 | 0.031056 | 0.012422 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f31d784af40847e1252eed057778d97c47adecaf | 122 | py | Python | mix-printlist.py | Wikinaut/auto3mix | 220ebafcd5ca231918da5eb878b4187be960f10f | [
"Unlicense"
] | 2 | 2020-04-06T13:56:59.000Z | 2021-01-21T22:49:24.000Z | mix-printlist.py | Wikinaut/auto3mix | 220ebafcd5ca231918da5eb878b4187be960f10f | [
"Unlicense"
] | null | null | null | mix-printlist.py | Wikinaut/auto3mix | 220ebafcd5ca231918da5eb878b4187be960f10f | [
"Unlicense"
] | 1 | 2020-04-06T13:57:48.000Z | 2020-04-06T13:57:48.000Z | from glob import glob
from pydub import AudioSegment
i = 0
for name in sorted(glob("*.mp3")):
i = i+1
print name
| 15.25 | 34 | 0.663934 | 21 | 122 | 3.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.237705 | 122 | 7 | 35 | 17.428571 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f3237c5bfd14d351a17d41d6ba9c263015e28fed | 808 | py | Python | djangoplicity/contacts/migrations/0009_auto_20201222_2252.py | djangoplicity/djangoplicity-contacts | e873b0d6dad3e04adfb567380df092460984b25c | [
"BSD-3-Clause"
] | null | null | null | djangoplicity/contacts/migrations/0009_auto_20201222_2252.py | djangoplicity/djangoplicity-contacts | e873b0d6dad3e04adfb567380df092460984b25c | [
"BSD-3-Clause"
] | 4 | 2021-01-07T05:30:10.000Z | 2021-12-08T16:23:09.000Z | djangoplicity/contacts/migrations/0009_auto_20201222_2252.py | djangoplicity/djangoplicity-contacts | e873b0d6dad3e04adfb567380df092460984b25c | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2021-01-07 00:36
# IMPORTANT: This file was renamed on purpose to keep the same naming as release/python3, TODO: Check conflicts
from __future__ import unicode_literals
import django.core.files.storage
from django.db import migrations, models
import djangoplicit... | 33.666667 | 220 | 0.719059 | 99 | 808 | 5.717172 | 0.717172 | 0.035336 | 0.053004 | 0.077739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052711 | 0.178218 | 808 | 23 | 221 | 35.130435 | 0.799699 | 0.221535 | 0 | 0 | 1 | 0 | 0.1392 | 0.1024 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b8237cffc6518198ff69b80625832c608685ab1f | 43 | py | Python | src/nd2/_sdk/__init__.py | VolkerH/nd2 | 3fb449d28c10b975cd6773be8aa5802b3cb976f6 | [
"BSD-3-Clause"
] | 6 | 2021-09-29T14:10:27.000Z | 2022-03-26T13:34:47.000Z | src/nd2/_sdk/__init__.py | VolkerH/nd2 | 3fb449d28c10b975cd6773be8aa5802b3cb976f6 | [
"BSD-3-Clause"
] | 33 | 2021-09-26T03:19:52.000Z | 2022-03-14T22:39:47.000Z | src/nd2/_sdk/__init__.py | VolkerH/nd2 | 3fb449d28c10b975cd6773be8aa5802b3cb976f6 | [
"BSD-3-Clause"
] | 2 | 2021-11-10T10:19:43.000Z | 2022-03-17T13:30:46.000Z | from . import latest
__all__ = ["latest"]
| 10.75 | 20 | 0.674419 | 5 | 43 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 21 | 14.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b823e0670c4053630a8c6d56b1aa8294c629879c | 25 | py | Python | data/studio21_generated/interview/1752/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1752/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1752/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def get_pins(observed):
| 12.5 | 23 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 2 | 24 | 12.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b83efa9f1db180af9059814e2bbda91481094f8b | 57 | py | Python | mocks/xmodule/__init__.py | appsembler/course-cccess-groups | d9c59dc55a3d021196c50e1080d3a251b4751780 | [
"MIT"
] | 4 | 2020-03-09T15:47:17.000Z | 2021-09-08T09:17:42.000Z | mocks/xmodule/__init__.py | appsembler/course-cccess-groups | d9c59dc55a3d021196c50e1080d3a251b4751780 | [
"MIT"
] | 51 | 2019-11-26T14:09:33.000Z | 2022-03-09T08:27:59.000Z | mocks/xmodule/__init__.py | appsembler/course-cccess-groups | d9c59dc55a3d021196c50e1080d3a251b4751780 | [
"MIT"
] | 3 | 2020-04-12T22:33:24.000Z | 2021-09-30T20:28:03.000Z | """
Mocks for the `xmodule` module so tests can run.
"""
| 14.25 | 48 | 0.649123 | 9 | 57 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 3 | 49 | 19 | 0.804348 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8493cecc9ea7ce4c2f1d305cd603358f9a1a571 | 232 | py | Python | gcm/conf.py | ruckit-dev/django-gcm | 9a98fbc60de544c7dc40c458ecc6684da5301370 | [
"BSD-2-Clause"
] | 59 | 2015-01-14T18:39:18.000Z | 2020-11-13T07:25:53.000Z | gcm/conf.py | ruckit-dev/django-gcm | 9a98fbc60de544c7dc40c458ecc6684da5301370 | [
"BSD-2-Clause"
] | 38 | 2015-01-24T10:42:45.000Z | 2018-03-30T05:51:34.000Z | gcm/conf.py | ruckit-dev/django-gcm | 9a98fbc60de544c7dc40c458ecc6684da5301370 | [
"BSD-2-Clause"
] | 26 | 2015-01-24T10:34:59.000Z | 2019-01-04T10:42:12.000Z | from django.conf import settings
GCM_DEVICE_MODEL = getattr(settings, 'GCM_DEVICE_MODEL', 'gcm.models.Device')
GCM_APIKEY = getattr(settings, 'GCM_APIKEY', None)
GCM_MAX_RECIPIENTS = getattr(settings, 'GCM_MAX_RECIPIENTS', 1000)
| 29 | 77 | 0.793103 | 32 | 232 | 5.4375 | 0.46875 | 0.252874 | 0.310345 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.094828 | 232 | 7 | 78 | 33.142857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.262931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b880b35d65928e2a0e5efaa66ca90fcfd10bcaca | 537 | py | Python | eurofx/test_eurofx.py | supercoderz/pyeurofx | 3f579bb6e4836dadb187df8c74a9d186ae7e39e7 | [
"MIT"
] | 2 | 2018-07-14T11:58:35.000Z | 2018-11-19T22:47:58.000Z | eurofx/test_eurofx.py | supercoderz/pyeurofx | 3f579bb6e4836dadb187df8c74a9d186ae7e39e7 | [
"MIT"
] | null | null | null | eurofx/test_eurofx.py | supercoderz/pyeurofx | 3f579bb6e4836dadb187df8c74a9d186ae7e39e7 | [
"MIT"
] | 2 | 2017-01-03T11:50:45.000Z | 2019-11-01T14:33:40.000Z | from .eurofx import *
from .eurofx_pandas import *
def test_get_daily():
#just call this function which covers all
get_daily_data()
def test_get_historical():
#just call this function which covers all
get_historical_data()
def test_get_daily_df():
#just call this function which covers all
get_daily_data_df()... | 22.375 | 42 | 0.783985 | 85 | 537 | 4.564706 | 0.235294 | 0.108247 | 0.154639 | 0.206186 | 0.664948 | 0.634021 | 0.510309 | 0.510309 | 0.510309 | 0.5 | 0 | 0 | 0.145251 | 537 | 24 | 43 | 22.375 | 0.845316 | 0.297952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 1 | 0 | 0 | 4 |
b89dd3bd00c8c35a1ddfe08b8b97032f14abaf5b | 4,753 | py | Python | sp2d/models/sp2d_simda.py | aagusti/sp2d | 51122cdbb9f85bee91d08c3dd29fb1f7d1ae3d90 | [
"MIT"
] | null | null | null | sp2d/models/sp2d_simda.py | aagusti/sp2d | 51122cdbb9f85bee91d08c3dd29fb1f7d1ae3d90 | [
"MIT"
] | null | null | null | sp2d/models/sp2d_simda.py | aagusti/sp2d | 51122cdbb9f85bee91d08c3dd29fb1f7d1ae3d90 | [
"MIT"
] | null | null | null | from ..models import SipkdBase, SipkdDBSession
from datetime import datetime
from sqlalchemy import (
Column,
Integer,
BigInteger,
SmallInteger,
Text,
DateTime,
Date,
String,
ForeignKey,
text,
UniqueConstraint,
Numeric,
ForeignKeyConstraint,
Primar... | 39.941176 | 109 | 0.676836 | 569 | 4,753 | 5.360281 | 0.156415 | 0.20459 | 0.220328 | 0.272787 | 0.670164 | 0.634426 | 0.560328 | 0.545246 | 0.505902 | 0.505902 | 0 | 0.016913 | 0.203871 | 4,753 | 118 | 110 | 40.279661 | 0.789112 | 0 | 0 | 0.398148 | 0 | 0 | 0.06753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.824074 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b229ca91836555f8ba2fa27d11ad07160aa7a7aa | 121 | py | Python | src/__init__.py | joeypauls/sandbox-editor | b8d4ff7fc94e7777dd3305673a20b78f3db8f952 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | joeypauls/sandbox-editor | b8d4ff7fc94e7777dd3305673a20b78f3db8f952 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | joeypauls/sandbox-editor | b8d4ff7fc94e7777dd3305673a20b78f3db8f952 | [
"BSD-3-Clause"
] | null | null | null | import os
here = os.path.abspath(os.path.dirname(__file__))
os.chdir(here)
def hello_world():
return "Hello World"
| 15.125 | 49 | 0.719008 | 19 | 121 | 4.315789 | 0.631579 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 121 | 7 | 50 | 17.285714 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b260375841d00f1aa1872bd196f9dd9117c8105e | 16,177 | py | Python | network/network_models.py | oshopgiri/depth_sensing_navigation | 80f4f82ebf77ea391f3ca9845eb45539f22df028 | [
"MIT"
] | null | null | null | network/network_models.py | oshopgiri/depth_sensing_navigation | 80f4f82ebf77ea391f3ca9845eb45539f22df028 | [
"MIT"
] | null | null | null | network/network_models.py | oshopgiri/depth_sensing_navigation | 80f4f82ebf77ea391f3ca9845eb45539f22df028 | [
"MIT"
] | null | null | null | # Author: Aqeel Anwar(ICSRL)
# Created: 4/14/2020, 7:15 AM
# Email: aqeel.anwar@gatech.edu
import tensorflow as tf
import numpy as np
from network.loss_functions import huber_loss, mse_loss
from network.network import *
from numpy import linalg as LA
class initialize_network_DeepQLearning():
def __init__(self, cf... | 45.441011 | 119 | 0.572912 | 2,011 | 16,177 | 4.411238 | 0.105917 | 0.028407 | 0.038891 | 0.029309 | 0.790328 | 0.766204 | 0.741517 | 0.722016 | 0.698117 | 0.652012 | 0 | 0.016659 | 0.302405 | 16,177 | 355 | 120 | 45.569014 | 0.769428 | 0.081226 | 0 | 0.626016 | 0 | 0 | 0.018809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085366 | false | 0 | 0.020325 | 0.00813 | 0.150407 | 0.01626 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b26b10cd196ec2fcfed1232182c377221b62edeb | 1,868 | py | Python | galaxychop/dataset/__init__.py | vcristiani/galaxy-chop | 6a854ee8701001ab0f15d6b0112401c123d0c6b2 | [
"MIT"
] | 6 | 2020-09-25T19:31:52.000Z | 2021-10-09T19:47:46.000Z | galaxychop/dataset/__init__.py | vcristiani/galaxy-chop | 6a854ee8701001ab0f15d6b0112401c123d0c6b2 | [
"MIT"
] | 98 | 2020-10-05T20:52:22.000Z | 2022-02-11T15:28:43.000Z | galaxychop/dataset/__init__.py | vcristiani/galaxy-chop | 6a854ee8701001ab0f15d6b0112401c123d0c6b2 | [
"MIT"
] | 1 | 2022-01-17T23:07:33.000Z | 2022-01-17T23:07:33.000Z | # This file is part of
# the galxy-chop project (https://github.com/vcristiani/galaxy-chop)
# Copyright (c) 2020, Valeria Cristiani
# License: MIT
# Full Text: https://github.com/vcristiani/galaxy-chop/blob/master/LICENSE.txt
"""Load tutorial files Module."""
# #####################################################
# ... | 20.304348 | 79 | 0.519807 | 210 | 1,868 | 4.442857 | 0.27619 | 0.085745 | 0.144695 | 0.18328 | 0.735263 | 0.735263 | 0.576635 | 0.244373 | 0.209003 | 0.209003 | 0 | 0.048812 | 0.166488 | 1,868 | 91 | 80 | 20.527473 | 0.550417 | 0.320128 | 0 | 0.290323 | 0 | 0 | 0.161128 | 0.083585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0.096774 | 0 | 0.677419 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b2804185fe9d840edc2c55a2884879b1f3d717bd | 169 | py | Python | Python/Numpy/Easy/Zeros and Ones/zerosonee.py | navjindervirdee/hackerrank | d0d0f77f770e4b092440a15f2740f63b65deb60b | [
"MIT"
] | 2 | 2017-10-12T13:28:42.000Z | 2020-07-28T11:25:05.000Z | Python/Numpy/Easy/Zeros and Ones/zerosonee.py | navjindervirdee/hackerrank | d0d0f77f770e4b092440a15f2740f63b65deb60b | [
"MIT"
] | null | null | null | Python/Numpy/Easy/Zeros and Ones/zerosonee.py | navjindervirdee/hackerrank | d0d0f77f770e4b092440a15f2740f63b65deb60b | [
"MIT"
] | 5 | 2018-02-05T21:53:18.000Z | 2021-10-03T06:27:45.000Z | import numpy as np
shape = tuple(map(int,input().strip().split()))
zeros = np.zeros(shape,dtype=np.int32)
ones = np.ones(shape,dtype=np.int32)
print(zeros)
print(ones)
| 21.125 | 47 | 0.715976 | 29 | 169 | 4.172414 | 0.551724 | 0.165289 | 0.198347 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.094675 | 169 | 7 | 48 | 24.142857 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b289c5b3bcd8430b11427dd9fa1d7f3ff593af41 | 28 | py | Python | custom_components/wort_des_tages/__init__.py | Ludy87/astra_germany_wort_des_tages | c5da8b57bfe3cd4638d304c8cea4af1dbb19d0fc | [
"MIT"
] | null | null | null | custom_components/wort_des_tages/__init__.py | Ludy87/astra_germany_wort_des_tages | c5da8b57bfe3cd4638d304c8cea4af1dbb19d0fc | [
"MIT"
] | null | null | null | custom_components/wort_des_tages/__init__.py | Ludy87/astra_germany_wort_des_tages | c5da8b57bfe3cd4638d304c8cea4af1dbb19d0fc | [
"MIT"
] | null | null | null | """Wort des Tages Sensor.""" | 28 | 28 | 0.642857 | 4 | 28 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.72 | 0.785714 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b2a6d9e0f643a91987b8343b7bbd608814ec17df | 34,825 | py | Python | Features/Analyse_IR_Command.py | Fionnoch/TV-Relay-PyQt5 | 657d4cfe5626364db68d6ca530ebef4ed4381a15 | [
"MIT"
] | null | null | null | Features/Analyse_IR_Command.py | Fionnoch/TV-Relay-PyQt5 | 657d4cfe5626364db68d6ca530ebef4ed4381a15 | [
"MIT"
] | null | null | null | Features/Analyse_IR_Command.py | Fionnoch/TV-Relay-PyQt5 | 657d4cfe5626364db68d6ca530ebef4ed4381a15 | [
"MIT"
] | null | null | null | import numpy as np
#these are commands taken from noting on off times however this needs to be automated
up1 = [0.0042328250128775835, 0.004402360995300114, 0.0006506040226668119, 0.0015164930373430252, 0.0007461849600076675, 0.0015520340530201793, 0.0005174840334802866, 0.001726362039335072, 0.0004908168921247125, ... | 316.590909 | 1,556 | 0.851256 | 3,189 | 34,825 | 9.286924 | 0.456883 | 0.006618 | 0.003714 | 0.003039 | 0.011041 | 0.008914 | 0.005166 | 0.003984 | 0.003984 | 0.002499 | 0 | 0.855845 | 0.054817 | 34,825 | 109 | 1,557 | 319.495413 | 0.0439 | 0.005197 | 0 | 0.070588 | 0 | 0 | 0.00511 | 0.000837 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011765 | 0 | 0.011765 | 0.164706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2432502210df61b5853a6fa0dbcb3736e094f35 | 736 | py | Python | tests/test_project/test_app/migrations/0004_auto_20210829_1154.py | domandinho/SmartSecurity | d8e92f8412aafdc513b6b7a25b54b1dca9afe52b | [
"MIT"
] | null | null | null | tests/test_project/test_app/migrations/0004_auto_20210829_1154.py | domandinho/SmartSecurity | d8e92f8412aafdc513b6b7a25b54b1dca9afe52b | [
"MIT"
] | null | null | null | tests/test_project/test_app/migrations/0004_auto_20210829_1154.py | domandinho/SmartSecurity | d8e92f8412aafdc513b6b7a25b54b1dca9afe52b | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-08-29 11:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("test_app", "0003_alter_testbroker_options"),
]
operations = [
migrations.AlterModelOptions(
name="testbroker",
options={
... | 25.37931 | 83 | 0.521739 | 57 | 736 | 6.578947 | 0.578947 | 0.256 | 0.202667 | 0.2 | 0.245333 | 0.202667 | 0 | 0 | 0 | 0 | 0 | 0.040773 | 0.366848 | 736 | 28 | 84 | 26.285714 | 0.763949 | 0.061141 | 0 | 0.272727 | 1 | 0 | 0.28447 | 0.103048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a243378cc1154ec25933b7cb6a9b0ab6c1b2ccc7 | 89 | py | Python | setup.py | emay2022/fraplib | 9c580ea6c9405bcf2dbf50cdbf66e39bfbad0b06 | [
"BSD-3-Clause"
] | null | null | null | setup.py | emay2022/fraplib | 9c580ea6c9405bcf2dbf50cdbf66e39bfbad0b06 | [
"BSD-3-Clause"
] | null | null | null | setup.py | emay2022/fraplib | 9c580ea6c9405bcf2dbf50cdbf66e39bfbad0b06 | [
"BSD-3-Clause"
] | null | null | null | import setuptools
setuptools.setup(use_scm_version={"write_to": "fraplib/_version.py"})
| 22.25 | 69 | 0.797753 | 12 | 89 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 89 | 3 | 70 | 29.666667 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a27faed7306f5f792049b1b67e3247ff5b63d922 | 107 | py | Python | 9461.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 9461.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 9461.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | # 9461.py
P=[1,1,1,2,2]
for _ in range(95):P+=[P[-1]+P[-5]]
exec("print(P[int(input())-1]);"*int(input())) | 26.75 | 46 | 0.53271 | 26 | 107 | 2.192308 | 0.576923 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0.065421 | 107 | 4 | 46 | 26.75 | 0.42 | 0.065421 | 0 | 0 | 0 | 0 | 0.255102 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a28a3a7828d5e8b9e81681c7ccefa015c66dcaab | 25 | py | Python | lib/grpc/_grpcio_metadata.py | kylevigil/SportsFeed | 661bc9197974e69eb5b42c845940317a0569a03c | [
"Apache-2.0"
] | null | null | null | lib/grpc/_grpcio_metadata.py | kylevigil/SportsFeed | 661bc9197974e69eb5b42c845940317a0569a03c | [
"Apache-2.0"
] | null | null | null | lib/grpc/_grpcio_metadata.py | kylevigil/SportsFeed | 661bc9197974e69eb5b42c845940317a0569a03c | [
"Apache-2.0"
] | null | null | null | __version__ = """1.6.3""" | 25 | 25 | 0.56 | 4 | 25 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.08 | 25 | 1 | 25 | 25 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2a55846f481474539515cd90a8f4660cc1c4ac7 | 617 | py | Python | wasm/tests/test_exec_mode.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 11,058 | 2018-05-29T07:40:06.000Z | 2022-03-31T11:38:42.000Z | wasm/tests/test_exec_mode.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 2,105 | 2018-06-01T10:07:16.000Z | 2022-03-31T14:56:42.000Z | wasm/tests/test_exec_mode.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 914 | 2018-07-27T09:36:14.000Z | 2022-03-31T19:56:34.000Z | def test_eval_mode(wdriver):
assert wdriver.execute_script("return window.rp.pyEval('1+1')") == 2
def test_exec_mode(wdriver):
assert wdriver.execute_script("return window.rp.pyExec('1+1')") is None
def test_exec_single_mode(wdriver):
assert wdriver.execute_script("return window.rp.pyExecSingle('1+1')")... | 28.045455 | 78 | 0.614263 | 79 | 617 | 4.632911 | 0.367089 | 0.153005 | 0.218579 | 0.196721 | 0.516393 | 0.418033 | 0.418033 | 0.418033 | 0.418033 | 0 | 0 | 0.029536 | 0.231767 | 617 | 21 | 79 | 29.380952 | 0.742616 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.183824 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2aa997c4ccfdf190f0e8e359c313949f01f6f09 | 92 | py | Python | ex002.py | GuilhermeAntony14/Estudando-Python | b020f6d2625e7fcc42d30658bcbd881b093434dd | [
"MIT"
] | null | null | null | ex002.py | GuilhermeAntony14/Estudando-Python | b020f6d2625e7fcc42d30658bcbd881b093434dd | [
"MIT"
] | null | null | null | ex002.py | GuilhermeAntony14/Estudando-Python | b020f6d2625e7fcc42d30658bcbd881b093434dd | [
"MIT"
] | null | null | null | nome = str(input('Qual seu nome: '))
print(f'E um prazer te conhecer \033[32m{nome}\033[m!') | 46 | 55 | 0.673913 | 18 | 92 | 3.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0.119565 | 92 | 2 | 55 | 46 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a2ee914020a34aca9de78c09ec58237b0df94c11 | 46 | py | Python | PyClassEx/modulfructe/fructe3.py | mhcrnl/PmwTkEx | 6ef8ed8743bbb74f30e33e33d7894d9d1afedd87 | [
"Apache-2.0"
] | null | null | null | PyClassEx/modulfructe/fructe3.py | mhcrnl/PmwTkEx | 6ef8ed8743bbb74f30e33e33d7894d9d1afedd87 | [
"Apache-2.0"
] | null | null | null | PyClassEx/modulfructe/fructe3.py | mhcrnl/PmwTkEx | 6ef8ed8743bbb74f30e33e33d7894d9d1afedd87 | [
"Apache-2.0"
] | null | null | null |
import fructe2 as f
b = f.Fructe2()
b.mar()
| 7.666667 | 19 | 0.630435 | 9 | 46 | 3.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.217391 | 46 | 5 | 20 | 9.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a2f2761d2efb468fd6eeab9af77f7ac57033e3fd | 88 | py | Python | egs/wsj/s5/utils/convert_lexicon.py | chizhang0814/kaldi | b9798677e07975f3fbdddf635947047012314ad0 | [
"Apache-2.0"
] | null | null | null | egs/wsj/s5/utils/convert_lexicon.py | chizhang0814/kaldi | b9798677e07975f3fbdddf635947047012314ad0 | [
"Apache-2.0"
] | null | null | null | egs/wsj/s5/utils/convert_lexicon.py | chizhang0814/kaldi | b9798677e07975f3fbdddf635947047012314ad0 | [
"Apache-2.0"
] | null | null | null | import os
old_lexicon = '/data3/voxforge/s5/data/local/dict/lexicon.txt'
map_file = ''
| 17.6 | 62 | 0.738636 | 14 | 88 | 4.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.102273 | 88 | 4 | 63 | 22 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0.522727 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0c0d1fb1ad6f4350bbf089622f58d07b811d6e6f | 15 | py | Python | 2/22.py | Seaoftrees/Session2019 | 86d61f190979ea9be205a3bbde1deac85de26997 | [
"MIT"
] | null | null | null | 2/22.py | Seaoftrees/Session2019 | 86d61f190979ea9be205a3bbde1deac85de26997 | [
"MIT"
] | null | null | null | 2/22.py | Seaoftrees/Session2019 | 86d61f190979ea9be205a3bbde1deac85de26997 | [
"MIT"
] | null | null | null | a = 5
print(a)
| 5 | 8 | 0.533333 | 4 | 15 | 2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.266667 | 15 | 2 | 9 | 7.5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0c0e12f5c99cc6bffd1e6cfb23cf8ad80b8b88f0 | 124 | py | Python | 2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/1._Functions/5._Underscores_in_Python/underscores.py | sanjarcode/python3_notes | b844515a021c2b75a4066b6d4cad239fdd13e3a7 | [
"MIT"
] | null | null | null | 2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/1._Functions/5._Underscores_in_Python/underscores.py | sanjarcode/python3_notes | b844515a021c2b75a4066b6d4cad239fdd13e3a7 | [
"MIT"
] | null | null | null | 2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/1._Functions/5._Underscores_in_Python/underscores.py | sanjarcode/python3_notes | b844515a021c2b75a4066b6d4cad239fdd13e3a7 | [
"MIT"
] | null | null | null | personal_details = ('Sanjar', 22, 'India')
print(personal_details)
name, _, country = personal_details
print(name, country)
| 24.8 | 42 | 0.758065 | 15 | 124 | 6 | 0.533333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.104839 | 124 | 4 | 43 | 31 | 0.792793 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0c2278b3f4c129ec051af6fcb12ae396c19d4500 | 58 | py | Python | neural_lambda_calculus/__init__.py | brandontrabucco/neural_lambda_calculus | f796961730a84f21a427297ae903e7ed6e71a4c4 | [
"MIT"
] | null | null | null | neural_lambda_calculus/__init__.py | brandontrabucco/neural_lambda_calculus | f796961730a84f21a427297ae903e7ed6e71a4c4 | [
"MIT"
] | null | null | null | neural_lambda_calculus/__init__.py | brandontrabucco/neural_lambda_calculus | f796961730a84f21a427297ae903e7ed6e71a4c4 | [
"MIT"
] | null | null | null | """Author: Brandon Trabucco, Kavi Gupta, Copyright 2019""" | 58 | 58 | 0.741379 | 7 | 58 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.103448 | 58 | 1 | 58 | 58 | 0.75 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c3081ff7bca1e7d585a05ac34483bec39073bce | 208 | py | Python | gistio/urls.py | Teino1978-Corp/gistio | 405f95bf16c2be4b9d9f6e209d49f873823ea5ca | [
"BSD-3-Clause"
] | 1 | 2019-05-07T15:13:11.000Z | 2019-05-07T15:13:11.000Z | gistio/urls.py | Teino1978-Corp/gistio | 405f95bf16c2be4b9d9f6e209d49f873823ea5ca | [
"BSD-3-Clause"
] | null | null | null | gistio/urls.py | Teino1978-Corp/gistio | 405f95bf16c2be4b9d9f6e209d49f873823ea5ca | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
url(r'^', include('gists.urls')),
# url(r'^', include('githubauth.urls')),
url(r'^', include('publicsite.urls')),
)
| 26 | 51 | 0.629808 | 25 | 208 | 5.24 | 0.52 | 0.091603 | 0.251908 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 208 | 7 | 52 | 29.714286 | 0.735955 | 0.182692 | 0 | 0 | 0 | 0 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c463a141c39e1036e59e5cd02b57e251f9f9f1b | 215 | py | Python | ex11.py | Nandarlynnn/python-exercises | 8f5e529b45b5d6174f6859561b49c3dafb86d221 | [
"MIT"
] | null | null | null | ex11.py | Nandarlynnn/python-exercises | 8f5e529b45b5d6174f6859561b49c3dafb86d221 | [
"MIT"
] | null | null | null | ex11.py | Nandarlynnn/python-exercises | 8f5e529b45b5d6174f6859561b49c3dafb86d221 | [
"MIT"
] | null | null | null | print ("how old are you?.",)
age=raw_input()
print("How tall are you?.",)
height=raw_input()
print("How much do you weight?.",)
weight=raw_input()
print("So you're %r old,%r tall and %r heavy."%(age,height,weight))
| 26.875 | 67 | 0.674419 | 39 | 215 | 3.641026 | 0.461538 | 0.169014 | 0.274648 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 215 | 7 | 68 | 30.714286 | 0.747368 | 0 | 0 | 0 | 0 | 0 | 0.451163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a74331741c2daf4341f13c1f6a978c11752b08c3 | 203 | py | Python | apps/posts/admin.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | null | null | null | apps/posts/admin.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | 48 | 2021-10-12T21:41:39.000Z | 2021-12-08T19:40:25.000Z | apps/posts/admin.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | 1 | 2022-01-11T04:07:43.000Z | 2022-01-11T04:07:43.000Z | from django.contrib import admin
from .models import Like, Post
from .models import Comment
# Register your models here.
admin.site.register(Post)
admin.site.register(Comment)
admin.site.register(Like) | 22.555556 | 32 | 0.802956 | 30 | 203 | 5.433333 | 0.433333 | 0.165644 | 0.312883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108374 | 203 | 9 | 33 | 22.555556 | 0.900552 | 0.128079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
a751315aab70d74732e74401579640ecbb2031e8 | 360 | py | Python | yunionclient/api/federatedclusterrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 3 | 2021-09-22T11:34:08.000Z | 2022-03-13T04:55:17.000Z | yunionclient/api/federatedclusterrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 13 | 2019-06-06T08:25:41.000Z | 2021-07-16T07:26:10.000Z | yunionclient/api/federatedclusterrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 7 | 2019-03-31T05:43:36.000Z | 2021-03-04T09:59:05.000Z | from yunionclient.common import base
class Federatedclusterrolebinding(base.ResourceBase):
pass
class FederatedclusterrolebindingManager(base.StandaloneManager):
resource_class = Federatedclusterrolebinding
keyword = 'federatedclusterrolebinding'
keyword_plural = 'federatedclusterrolebindings'
_c... | 27.692308 | 65 | 0.794444 | 26 | 360 | 10.884615 | 0.730769 | 0.226148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130556 | 360 | 12 | 66 | 30 | 0.904153 | 0 | 0 | 0 | 0 | 0 | 0.200557 | 0.153203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.875 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a756ee785eec3e83d4eb737191d8fd35a1a37b54 | 214 | py | Python | treex/nn/flatten.py | ptigwe/treex | c46687376ccc50c8fea6cb8617e22e4b4dd1924a | [
"MIT"
] | null | null | null | treex/nn/flatten.py | ptigwe/treex | c46687376ccc50c8fea6cb8617e22e4b4dd1924a | [
"MIT"
] | null | null | null | treex/nn/flatten.py | ptigwe/treex | c46687376ccc50c8fea6cb8617e22e4b4dd1924a | [
"MIT"
] | null | null | null | import einops
import jax.numpy as jnp
from treex.module import Module
class Flatten(Module):
def __call__(self, x: jnp.ndarray) -> jnp.ndarray:
return einops.rearrange(x, "batch ... -> batch (...)")
| 21.4 | 62 | 0.672897 | 29 | 214 | 4.827586 | 0.655172 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 214 | 9 | 63 | 23.777778 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
a79214147c4900ea5accdb8115154b307a9101a1 | 9,906 | py | Python | tests/test_model_building.py | wahab2604/ESPEI | 70a4185ce87a125e926f88e7ef93c02276fd6e90 | [
"MIT"
] | 39 | 2017-11-03T03:07:46.000Z | 2022-03-17T02:41:59.000Z | tests/test_model_building.py | richardotis/ESPEI | 70a4185ce87a125e926f88e7ef93c02276fd6e90 | [
"MIT"
] | 122 | 2017-06-23T16:34:13.000Z | 2022-02-21T18:26:01.000Z | tests/test_model_building.py | richardotis/ESPEI | 70a4185ce87a125e926f88e7ef93c02276fd6e90 | [
"MIT"
] | 21 | 2017-06-18T02:36:38.000Z | 2022-03-29T00:17:21.000Z | """
Tests for building models for parameter selection
"""
from collections import OrderedDict
import sympy
from pycalphad import variables as v
from espei.parameter_selection.model_building import build_feature_sets, build_candidate_models
from espei.sublattice_tools import generate_symmetric_group, sorted_interacti... | 55.966102 | 208 | 0.519887 | 1,971 | 9,906 | 2.521563 | 0.063927 | 0.115493 | 0.070624 | 0.217304 | 0.772233 | 0.74004 | 0.715895 | 0.678873 | 0.675654 | 0.624145 | 0 | 0.025761 | 0.200586 | 9,906 | 176 | 209 | 56.284091 | 0.601844 | 0.0957 | 0 | 0.371429 | 0 | 0 | 0.064045 | 0 | 0 | 0 | 0 | 0 | 0.121429 | 1 | 0.057143 | false | 0 | 0.035714 | 0 | 0.092857 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a793d30af0730653e95a962efbfe175eb6c5aed2 | 142 | py | Python | torch_scope/__main__.py | LiyuanLucasLiu/PyScope | d6366e604f9a7763279310149b154ea1cc22f4c1 | [
"Apache-2.0"
] | 62 | 2018-09-11T01:04:38.000Z | 2022-03-19T13:00:38.000Z | torch_scope/__main__.py | jainaayush05/Torch-Scope | bbc8b6e2562cbc6305ea6d937bcd6f96542755f6 | [
"Apache-2.0"
] | 3 | 2019-03-16T16:25:52.000Z | 2021-05-10T14:02:13.000Z | torch_scope/__main__.py | jainaayush05/Torch-Scope | bbc8b6e2562cbc6305ea6d937bcd6f96542755f6 | [
"Apache-2.0"
] | 9 | 2018-10-04T00:30:17.000Z | 2020-12-28T05:54:36.000Z | #!/usr/bin/env python
import logging
import os
import sys
import argparse
from torch_scope import run
if __name__ == "__main__":
run()
| 11.833333 | 27 | 0.732394 | 21 | 142 | 4.52381 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 142 | 11 | 28 | 12.909091 | 0.818966 | 0.140845 | 0 | 0 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7c7b453410bb1602137c476d542cc616ada50fc | 91 | py | Python | LectioEx/apps.py | danielrhj123/LectioBadges | b266f1fe65f53e6f41fa53ee15cce0235fc26f1b | [
"Apache-2.0"
] | null | null | null | LectioEx/apps.py | danielrhj123/LectioBadges | b266f1fe65f53e6f41fa53ee15cce0235fc26f1b | [
"Apache-2.0"
] | null | null | null | LectioEx/apps.py | danielrhj123/LectioBadges | b266f1fe65f53e6f41fa53ee15cce0235fc26f1b | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LectioexConfig(AppConfig):
name = 'LectioEx'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7cae359630b219619c556f9bbeed8a262622b88 | 256 | py | Python | backend/project/posts/utils/PostAlbumUtil.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | backend/project/posts/utils/PostAlbumUtil.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | backend/project/posts/utils/PostAlbumUtil.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | from project.posts.models import PostAlbum
def create(post, photos):
for photo in photos:
PostAlbum.objects.create(post=post, photo=photo, photo_original=photo)
def get_post_album(post):
return PostAlbum.objects.filter(post=post) | 28.444444 | 79 | 0.734375 | 35 | 256 | 5.285714 | 0.542857 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 256 | 9 | 80 | 28.444444 | 0.872642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a7cc8cbafb3b6554e6da16e394dcc09278a0a24e | 14,288 | py | Python | mofa/scheduler/tests/test_data.py | BoxInABoxICT/BoxPlugin | ad351978faa37ab867a86d2f4023a2b3e5a2ce19 | [
"Apache-2.0"
] | null | null | null | mofa/scheduler/tests/test_data.py | BoxInABoxICT/BoxPlugin | ad351978faa37ab867a86d2f4023a2b3e5a2ce19 | [
"Apache-2.0"
] | null | null | null | mofa/scheduler/tests/test_data.py | BoxInABoxICT/BoxPlugin | ad351978faa37ab867a86d2f4023a2b3e5a2ce19 | [
"Apache-2.0"
] | null | null | null | # This program has been developed by students from the bachelor Computer Science at Utrecht University within the
# Software and Game project course
# ©Copyright Utrecht University Department of Information and Computing Sciences.
"""Contains test data."""
test_get_assignments_data = \
{
"courses": [
... | 37.208333 | 113 | 0.369611 | 843 | 14,288 | 6.207592 | 0.26809 | 0.050449 | 0.114657 | 0.119243 | 0.749857 | 0.742977 | 0.740684 | 0.726925 | 0.688706 | 0.688706 | 0 | 0.070219 | 0.491671 | 14,288 | 383 | 114 | 37.305483 | 0.650145 | 0.017147 | 0 | 0.589674 | 0 | 0.002717 | 0.323691 | 0.013609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ac0c8729aa498249703102ea0f30adabcd30e835 | 54 | py | Python | anonymizer/__init__.py | jjhuang/django-anonymizer | 2d25bb6e8b5e4230c58031c4b6d10cc536669b3e | [
"MIT"
] | 13 | 2016-05-24T07:40:17.000Z | 2021-09-07T20:38:18.000Z | anonymizer/__init__.py | jjhuang/django-anonymizer | 2d25bb6e8b5e4230c58031c4b6d10cc536669b3e | [
"MIT"
] | 32 | 2015-02-02T23:39:32.000Z | 2021-01-14T06:29:05.000Z | anonymizer/__init__.py | jjhuang/django-anonymizer | 2d25bb6e8b5e4230c58031c4b6d10cc536669b3e | [
"MIT"
] | 14 | 2015-03-22T15:22:24.000Z | 2020-01-09T19:03:01.000Z | # flake8: noqa
from anonymizer.base import Anonymizer
| 18 | 38 | 0.814815 | 7 | 54 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.12963 | 54 | 2 | 39 | 27 | 0.914894 | 0.222222 | 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 | 0 | 0 | 0 | 4 |
ac15f226c90d4ebb8e381060da094ff5c3be1e8d | 678 | py | Python | game_object_factory.py | cxong/Slappa | bb601734db07ee1f1e1d3763d2c5f6146248fd76 | [
"MIT"
] | 7 | 2015-02-24T22:24:45.000Z | 2021-05-15T16:39:27.000Z | game_object_factory.py | cxong/Slappa | bb601734db07ee1f1e1d3763d2c5f6146248fd76 | [
"MIT"
] | null | null | null | game_object_factory.py | cxong/Slappa | bb601734db07ee1f1e1d3763d2c5f6146248fd76 | [
"MIT"
] | 1 | 2016-06-22T11:50:22.000Z | 2016-06-22T11:50:22.000Z | from group import *
from image import *
from sound import *
from sprite import *
from text import *
class GameObjectFactory(object):
def __init__(self, game):
self.game = game
def audio(self, key):
return Sound(self.game, key)
def group(self):
return self.game.world.add(Group())
... | 27.12 | 71 | 0.629794 | 106 | 678 | 3.990566 | 0.235849 | 0.189125 | 0.132388 | 0.179669 | 0.406619 | 0.3026 | 0.3026 | 0.20331 | 0.20331 | 0.20331 | 0 | 0.007634 | 0.227139 | 678 | 25 | 72 | 27.12 | 0.799618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.277778 | 0.277778 | 0.944444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ac19ff3ff344feb5dbc15a2c9076538f3416b5bb | 248 | py | Python | doppel/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null | doppel/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null | doppel/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null | __all__ = [
'PackageAPI',
'PackageCollection'
]
from doppel.PackageAPI import PackageAPI
from doppel.PackageCollection import PackageCollection
from doppel.DoppelTestError import DoppelTestError
from doppel.reporters import SimpleReporter
| 24.8 | 54 | 0.826613 | 23 | 248 | 8.73913 | 0.391304 | 0.199005 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 248 | 9 | 55 | 27.555556 | 0.926267 | 0 | 0 | 0 | 0 | 0 | 0.108871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ac62cf229bd1d4301ba72c65982f715066b302c5 | 79 | py | Python | setup.py | symonk/zentinel | 6ec390dc8947e81a867b5fdbcf0993cd3471a9f4 | [
"Apache-2.0"
] | null | null | null | setup.py | symonk/zentinel | 6ec390dc8947e81a867b5fdbcf0993cd3471a9f4 | [
"Apache-2.0"
] | 31 | 2021-08-03T03:24:27.000Z | 2022-03-28T03:21:52.000Z | setup.py | symonk/zentinel | 6ec390dc8947e81a867b5fdbcf0993cd3471a9f4 | [
"Apache-2.0"
] | null | null | null | import setuptools
setuptools.setup() # still required for editable installs.
| 19.75 | 59 | 0.797468 | 9 | 79 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 3 | 60 | 26.333333 | 0.926471 | 0.468354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ac6ad863be46a739ea8270a4b77f8c43b55f6302 | 621 | py | Python | inferelator_prior/motifs/__init__.py | cskokgibbs/srrTomat0 | 9cfdf620bc6d8741587e59e017046c3e7e169fd7 | [
"MIT"
] | 4 | 2020-10-26T14:19:04.000Z | 2022-02-16T21:36:28.000Z | inferelator_prior/motifs/__init__.py | flatironinstitute/srrTomat0 | 9255d5a52bc4425346f578841004955c72b4ba76 | [
"MIT"
] | 3 | 2022-02-01T04:38:26.000Z | 2022-03-24T14:37:17.000Z | inferelator_prior/motifs/__init__.py | flatironinstitute/srrTomat0 | 9255d5a52bc4425346f578841004955c72b4ba76 | [
"MIT"
] | 1 | 2021-09-23T01:09:17.000Z | 2021-09-23T01:09:17.000Z | from inferelator_prior.motifs._motif import (Motif, motifs_to_dataframe, chunk_motifs, select_motifs, truncate_motifs,
fuzzy_merge_motifs, shuffle_motifs,
INFO_COL, MOTIF_COL, ENTROPY_COL, LEN_COL, OCC_COL, MOTIF_NAME_COL,
... | 69 | 118 | 0.621578 | 68 | 621 | 5.176471 | 0.455882 | 0.090909 | 0.170455 | 0.221591 | 0.264205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338164 | 621 | 8 | 119 | 77.625 | 0.856448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ac808334f93c0b8f4faf9c689f174cfb852454e7 | 4,906 | py | Python | Laelia/apps/base/migrations/0007_auto_20201001_1747.py | arantesdv/LaeliaAppProject | 93fca5393cb8406694903d9adde02067480c792e | [
"MIT"
] | null | null | null | Laelia/apps/base/migrations/0007_auto_20201001_1747.py | arantesdv/LaeliaAppProject | 93fca5393cb8406694903d9adde02067480c792e | [
"MIT"
] | null | null | null | Laelia/apps/base/migrations/0007_auto_20201001_1747.py | arantesdv/LaeliaAppProject | 93fca5393cb8406694903d9adde02067480c792e | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-10-01 17:47
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('base', '0006_auto_20201001_1731'),
]
operations = [
migrations.CreateModel(
name='City',
... | 44.198198 | 133 | 0.578679 | 494 | 4,906 | 5.566802 | 0.17004 | 0.072 | 0.087273 | 0.104727 | 0.730909 | 0.730909 | 0.713455 | 0.611273 | 0.552364 | 0.552364 | 0 | 0.019586 | 0.2819 | 4,906 | 110 | 134 | 44.6 | 0.760999 | 0.009172 | 0 | 0.730769 | 1 | 0 | 0.153735 | 0.004733 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.048077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ac8bf56ac51206c7a84e0866931cdf513a3b552d | 563 | py | Python | problems/image_text_to_class/__init__.py | aasseman/mi-prometheus | c655c88cc6aec4d0724c19ea95209f1c2dd6770d | [
"Apache-2.0"
] | null | null | null | problems/image_text_to_class/__init__.py | aasseman/mi-prometheus | c655c88cc6aec4d0724c19ea95209f1c2dd6770d | [
"Apache-2.0"
] | null | null | null | problems/image_text_to_class/__init__.py | aasseman/mi-prometheus | c655c88cc6aec4d0724c19ea95209f1c2dd6770d | [
"Apache-2.0"
] | null | null | null | from .clevr import CLEVR
from .clevr_dataset import CLEVRDataset
from .generate_feature_maps import GenerateFeatureMaps
from .image_text_to_class_problem import ImageTextTuple, SceneDescriptionTuple, ObjectRepresentation, \
ImageTextToClassProblem
from .sort_of_clevr import SortOfCLEVR
from .shape_color_query impor... | 29.631579 | 103 | 0.786856 | 48 | 563 | 8.916667 | 0.541667 | 0.042056 | 0.257009 | 0.364486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143872 | 563 | 18 | 104 | 31.277778 | 0.887967 | 0 | 0 | 0 | 1 | 0 | 0.248668 | 0.078153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.352941 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ce16fbb00f62e84f4f5aca7b25c9bfee0eab6d55 | 113 | py | Python | DeepLearning/Python/Chapter 2/Ch02-02-perceptron.py | BlueWay-KU/Study | a86405cdc3011eaed1b980b562b75df1e9ce90a8 | [
"MIT"
] | null | null | null | DeepLearning/Python/Chapter 2/Ch02-02-perceptron.py | BlueWay-KU/Study | a86405cdc3011eaed1b980b562b75df1e9ce90a8 | [
"MIT"
] | null | null | null | DeepLearning/Python/Chapter 2/Ch02-02-perceptron.py | BlueWay-KU/Study | a86405cdc3011eaed1b980b562b75df1e9ce90a8 | [
"MIT"
] | null | null | null | import numpy as np
x = np.array([0, 1])
w = np.array([0.5, 0.5])
b = -0.7
w * b
np.sum(w*x)
np.sum(w*x) + b | 16.142857 | 25 | 0.504425 | 30 | 113 | 1.9 | 0.433333 | 0.105263 | 0.280702 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.238938 | 113 | 7 | 26 | 16.142857 | 0.569767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce27c499b433c15c668c2ace26e7f7faefe6633e | 89 | py | Python | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/bookone/apps.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 297 | 2019-01-25T08:44:08.000Z | 2022-03-29T18:46:08.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/bookone/apps.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 22 | 2019-05-06T14:21:04.000Z | 2022-02-21T10:05:25.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/bookone/apps.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 412 | 2019-02-12T20:44:43.000Z | 2022-03-30T04:23:25.000Z | from django.apps import AppConfig
class BookoneConfig(AppConfig):
name = 'bookone'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ce360663122039f12cbec525f04adceb270da9d5 | 546 | py | Python | svhn_32x32_download.py | vrishabh22/OCR-Minor-Project | ea717f2b6aa1618742b6697dd7f8dc40cb3450c2 | [
"MIT"
] | null | null | null | svhn_32x32_download.py | vrishabh22/OCR-Minor-Project | ea717f2b6aa1618742b6697dd7f8dc40cb3450c2 | [
"MIT"
] | null | null | null | svhn_32x32_download.py | vrishabh22/OCR-Minor-Project | ea717f2b6aa1618742b6697dd7f8dc40cb3450c2 | [
"MIT"
] | null | null | null | import urllib
print("Downloading Test Folder")
urllib.urlretrieve("http://ufldl.stanford.edu/housenumbers/test_32x32.mat", "data/test_32x32.mat")
print("Test Folder Images Download Done")
print("Downloading Train Folder")
urllib.urlretrieve("http://ufldl.stanford.edu/housenumbers/train_32x32.mat", "data/train_32x32.m... | 42 | 100 | 0.794872 | 74 | 546 | 5.783784 | 0.27027 | 0.11215 | 0.161215 | 0.189252 | 0.57243 | 0.57243 | 0.385514 | 0.385514 | 0 | 0 | 0 | 0.046875 | 0.062271 | 546 | 13 | 101 | 42 | 0.789063 | 0 | 0 | 0 | 0 | 0 | 0.711152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0.6 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ce407be83429722c411e95e51697c641146a6ffa | 341 | py | Python | hooks/webkitpy/common/checkout/scm/__init__.py | nizovn/luna-sysmgr | 48b7e2546e81d6ad1604353f2e5ab797a7d1667c | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | hooks/webkitpy/common/checkout/scm/__init__.py | nizovn/luna-sysmgr | 48b7e2546e81d6ad1604353f2e5ab797a7d1667c | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | hooks/webkitpy/common/checkout/scm/__init__.py | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | # Required for Python to search this directory for module files
# We only export public API here.
from .commitmessage import CommitMessage
from .detection import find_checkout_root, default_scm, detect_scm_system
from .git import Git, AmbiguousCommitError
from .scm import SCM, AuthenticationError, CheckoutNeedsUpdate
... | 37.888889 | 73 | 0.832845 | 46 | 341 | 6.065217 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 341 | 8 | 74 | 42.625 | 0.939394 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
022a770977389b7ec27848553cbc49bab53d1500 | 174 | py | Python | nestedtensor/version.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | null | null | null | nestedtensor/version.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | null | null | null | nestedtensor/version.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.1.4+5b45731'
git_version = '5b457313bfb6578b43d76282b321657bf85ee1b3'
from nestedtensor import _C
if hasattr(_C, 'CUDA_VERSION'):
cuda = _C.CUDA_VERSION
| 29 | 56 | 0.787356 | 21 | 174 | 6.047619 | 0.666667 | 0.07874 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24026 | 0.114943 | 174 | 5 | 57 | 34.8 | 0.584416 | 0 | 0 | 0 | 0 | 0 | 0.373563 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
65f095568508eb3d1e1246c7aecfc59075f5d3b8 | 72 | py | Python | test/test_find_the_difference.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | test/test_find_the_difference.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | test/test_find_the_difference.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | solution = FindTheDifference()
assert X == solution.findTheDifference( ) | 36 | 41 | 0.791667 | 6 | 72 | 9.5 | 0.666667 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 41 | 36 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
65f5bce50e98aea9183af893c3ec3e7b75d3d5a4 | 20 | py | Python | stock/quant/__init__.py | shenzhongqiang/cnstock_py | 2bb557657a646acb9d20d3ce78e15cf68390f8ea | [
"MIT"
] | 2 | 2016-10-31T04:05:11.000Z | 2017-04-17T08:46:53.000Z | stock/quant/__init__.py | shenzhongqiang/cnstock_py | 2bb557657a646acb9d20d3ce78e15cf68390f8ea | [
"MIT"
] | null | null | null | stock/quant/__init__.py | shenzhongqiang/cnstock_py | 2bb557657a646acb9d20d3ce78e15cf68390f8ea | [
"MIT"
] | null | null | null | __all__ = ['covar']
| 10 | 19 | 0.6 | 2 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a0650eab0fc64033085b16aad8e3094c165d5c2 | 76 | py | Python | Seman4/Dia1/04-programas.py | GuidoTorres/codigo8 | 7fdff4f677f048de7d7877b96ec3a688d3dde163 | [
"MIT"
] | null | null | null | Seman4/Dia1/04-programas.py | GuidoTorres/codigo8 | 7fdff4f677f048de7d7877b96ec3a688d3dde163 | [
"MIT"
] | 40 | 2021-03-10T16:58:17.000Z | 2022-03-26T01:55:17.000Z | Seman4/Dia1/04-programas.py | GuidoTorres/codigo8 | 7fdff4f677f048de7d7877b96ec3a688d3dde163 | [
"MIT"
] | null | null | null | #Añadir un modulo a nuestro programa
import modulo
modulo.saludar("Guido") | 15.2 | 36 | 0.789474 | 11 | 76 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 5 | 37 | 15.2 | 0.909091 | 0.460526 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5a17699849990e9a2eb1334957d27180b197290a | 89 | py | Python | regform/apps.py | elishaking/django-form | 97f25aa2e54238d2432ce60a77e248da06af3745 | [
"MIT"
] | null | null | null | regform/apps.py | elishaking/django-form | 97f25aa2e54238d2432ce60a77e248da06af3745 | [
"MIT"
] | 1 | 2020-01-28T14:18:41.000Z | 2020-01-28T14:18:41.000Z | regform/apps.py | elishaking/django-form | 97f25aa2e54238d2432ce60a77e248da06af3745 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RegformConfig(AppConfig):
name = 'regform'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5a2e54cfc025b9dad0981d3f6cc37e639122523a | 39 | py | Python | discord/const.py | BenitzCoding/Fusion.py | ed57645f4bcb7f961a7738c27aceecb920266404 | [
"MIT"
] | 8 | 2021-10-15T01:05:49.000Z | 2022-01-02T11:07:05.000Z | discord/const.py | BenitzCoding/Fusion.py | ed57645f4bcb7f961a7738c27aceecb920266404 | [
"MIT"
] | 3 | 2021-10-10T16:48:05.000Z | 2021-10-10T16:48:48.000Z | discord/const.py | BenitzCoding/Fusion.py | ed57645f4bcb7f961a7738c27aceecb920266404 | [
"MIT"
] | 1 | 2021-12-09T03:15:09.000Z | 2021-12-09T03:15:09.000Z | BASE_API = "https://discord.com/api/v8" | 39 | 39 | 0.717949 | 7 | 39 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.051282 | 39 | 1 | 39 | 39 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a2e85c7ff6e36b86f97ca35fbab87f972af553d | 115 | py | Python | exercise/test1.py | D2MAC-dev/self_education | b4c8011db3995d8947c40416ef76a023162c09c3 | [
"Apache-2.0"
] | null | null | null | exercise/test1.py | D2MAC-dev/self_education | b4c8011db3995d8947c40416ef76a023162c09c3 | [
"Apache-2.0"
] | null | null | null | exercise/test1.py | D2MAC-dev/self_education | b4c8011db3995d8947c40416ef76a023162c09c3 | [
"Apache-2.0"
] | null | null | null | day = "день"
night = "ночь"
uran_sightings = '{0} {1} {0} {1} {1} {1} {0}'.format(day, night)
print(uran_sightings) | 28.75 | 65 | 0.608696 | 19 | 115 | 3.578947 | 0.526316 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.13913 | 115 | 4 | 66 | 28.75 | 0.616162 | 0 | 0 | 0 | 0 | 0.25 | 0.301724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a3082e3117b50d8f1a06e806849f145b76c2f1b | 1,986 | py | Python | tests/test_time_hours.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | tests/test_time_hours.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | tests/test_time_hours.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
import unittest
import units.time.hours
class TestHoursMethods(unittest.TestCase):
def test_convert_known_hours_to_seconds(self):
self.assertAlmostEqual(4... | 45.136364 | 81 | 0.77996 | 321 | 1,986 | 4.65109 | 0.242991 | 0.112525 | 0.178165 | 0.1929 | 0.573342 | 0.346283 | 0.111855 | 0.111855 | 0.045546 | 0 | 0 | 0.103448 | 0.08006 | 1,986 | 43 | 82 | 46.186047 | 0.713738 | 0.075025 | 0 | 0 | 1 | 0 | 0.004369 | 0 | 0 | 0 | 0 | 0 | 0.62069 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a64f00ef803f46300b15c1b73472a1fe3eabc0b | 72 | py | Python | imgreco/__init__.py | Pakirisu/ArknightsAutoHelper | 8b136c82794cfe9f364788d9c92f1e4c5b38c6cb | [
"MIT"
] | 1 | 2020-01-15T01:05:28.000Z | 2020-01-15T01:05:28.000Z | imgreco/__init__.py | ZhouZiHao-Moon/ArknightsAutoHelper | 3135b54d69f2255f99c13d42dc936065701c3129 | [
"MIT"
] | null | null | null | imgreco/__init__.py | ZhouZiHao-Moon/ArknightsAutoHelper | 3135b54d69f2255f99c13d42dc936065701c3129 | [
"MIT"
] | null | null | null | from . import common, before_operation, end_operation, item, main, task
| 36 | 71 | 0.791667 | 10 | 72 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 1 | 72 | 72 | 0.873016 | 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 | 0 | 0 | 0 | 4 |
5a71e514f2914d17a8066d51ab4fa1a534ade856 | 17 | py | Python | network_crawler/__main__.py | luigi-riefolo/network_crawler | 376fb5860c573416ac71a0dfe5437011858398b6 | [
"MIT"
] | null | null | null | network_crawler/__main__.py | luigi-riefolo/network_crawler | 376fb5860c573416ac71a0dfe5437011858398b6 | [
"MIT"
] | null | null | null | network_crawler/__main__.py | luigi-riefolo/network_crawler | 376fb5860c573416ac71a0dfe5437011858398b6 | [
"MIT"
] | null | null | null | """Main stub."""
| 8.5 | 16 | 0.470588 | 2 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 17 | 1 | 17 | 17 | 0.533333 | 0.588235 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a781142b8937e0d4c1fceb3ccfcc1ea2a2155a5 | 120 | py | Python | src/optimizations/models.py | etianen/django-optimizations | c9614c3eeb1cb3482eb2db84d3951356d7fb44a3 | [
"BSD-3-Clause"
] | 12 | 2015-05-06T21:34:11.000Z | 2021-07-31T04:49:25.000Z | src/optimizations/models.py | etianen/django-optimizations | c9614c3eeb1cb3482eb2db84d3951356d7fb44a3 | [
"BSD-3-Clause"
] | 3 | 2015-02-11T16:23:13.000Z | 2018-04-17T09:07:36.000Z | src/optimizations/models.py | etianen/django-optimizations | c9614c3eeb1cb3482eb2db84d3951356d7fb44a3 | [
"BSD-3-Clause"
] | 4 | 2015-02-11T10:21:31.000Z | 2019-07-24T20:29:28.000Z | """Models used by django-optimizations."""
# Nothing to see here. This module needs to exist for the testing framework. | 40 | 76 | 0.758333 | 18 | 120 | 5.055556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 3 | 76 | 40 | 0.892157 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a7f0664983deedb1089c92f3f76f1064998c012 | 92 | py | Python | src/notifi/apps.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | null | null | null | src/notifi/apps.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | 7 | 2021-03-19T10:46:09.000Z | 2022-03-12T00:28:55.000Z | src/notifi/apps.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class NotifiConfig(AppConfig):
name = 'notifi'
| 15.333333 | 34 | 0.706522 | 10 | 92 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 92 | 5 | 35 | 18.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ce5702741d1e40427dbd5cad5a4dff6a13549e5f | 146 | py | Python | alicebot/plugins/guild_basic/config.py | Erisu0014/yuniBot | b6d6a35abb63a2de57375dee6a1cd6258b3a7a95 | [
"Apache-2.0"
] | null | null | null | alicebot/plugins/guild_basic/config.py | Erisu0014/yuniBot | b6d6a35abb63a2de57375dee6a1cd6258b3a7a95 | [
"Apache-2.0"
] | null | null | null | alicebot/plugins/guild_basic/config.py | Erisu0014/yuniBot | b6d6a35abb63a2de57375dee6a1cd6258b3a7a95 | [
"Apache-2.0"
] | 1 | 2022-02-11T12:46:43.000Z | 2022-02-11T12:46:43.000Z | from pydantic import BaseSettings
class Config(BaseSettings):
bot_id: str
bot_guild_id: str
class Config:
extra = "ignore"
| 14.6 | 33 | 0.678082 | 18 | 146 | 5.333333 | 0.666667 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 146 | 9 | 34 | 16.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.