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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c93f42ebd795abda098ecdcef4ecf9b438057683 | 209 | py | Python | src/__main__.py | a-overin/my-chess-bot | b2b79ea7cccb8a0fccd2b25ce467660da7f70f99 | [
"Apache-2.0"
] | null | null | null | src/__main__.py | a-overin/my-chess-bot | b2b79ea7cccb8a0fccd2b25ce467660da7f70f99 | [
"Apache-2.0"
] | null | null | null | src/__main__.py | a-overin/my-chess-bot | b2b79ea7cccb8a0fccd2b25ce467660da7f70f99 | [
"Apache-2.0"
] | null | null | null | import logging
from .main import main
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
main()
| 26.125 | 86 | 0.598086 | 24 | 209 | 4.875 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248804 | 209 | 7 | 87 | 29.857143 | 0.745223 | 0 | 0 | 0 | 0 | 0 | 0.287081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c97bc46f16f94e20b5e659d547aa8616ace24232 | 513 | py | Python | characterPictureGrid.py | NoxiousRed/PythonPractice | 4c81518347fa7237b0fc46ef7ed46fd96f0ff624 | [
"Unlicense"
] | null | null | null | characterPictureGrid.py | NoxiousRed/PythonPractice | 4c81518347fa7237b0fc46ef7ed46fd96f0ff624 | [
"Unlicense"
] | null | null | null | characterPictureGrid.py | NoxiousRed/PythonPractice | 4c81518347fa7237b0fc46ef7ed46fd96f0ff624 | [
"Unlicense"
] | null | null | null | grid = [['.', '.', '.', '.', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['O', 'O', 'O', 'O', 'O', '.'],
['.', 'O', 'O', 'O', 'O', 'O'],
['O', 'O', 'O', 'O', 'O', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
... | 32.0625 | 39 | 0.230019 | 52 | 513 | 2.269231 | 0.25 | 0.440678 | 0.635593 | 0.813559 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0 | 0.002809 | 0.306043 | 513 | 16 | 40 | 32.0625 | 0.328652 | 0 | 0 | 0.4 | 0 | 0 | 0.105058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.066667 | 0.133333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a30e0b4a55d01fcd580ed91b60eb0241747d5a1d | 136 | py | Python | src/wormhole/server/__main__.py | LeastAuthority/magic-wormhole | 2fadadc4dba78f167cfc1295bbea7ee778d22dd5 | [
"MIT"
] | 3 | 2017-07-20T11:26:02.000Z | 2021-09-01T22:36:26.000Z | src/wormhole/server/__main__.py | Ayomiga/magic-wormhole | a836f5e3b8a0e1d88e3a0bba4305993a1fb63cf5 | [
"MIT"
] | null | null | null | src/wormhole/server/__main__.py | Ayomiga/magic-wormhole | a836f5e3b8a0e1d88e3a0bba4305993a1fb63cf5 | [
"MIT"
] | 1 | 2021-07-13T17:35:02.000Z | 2021-07-13T17:35:02.000Z | if __name__ != "__main__":
raise ImportError('this module should not be imported')
from wormhole.server import cli
cli.server()
| 15.111111 | 59 | 0.727941 | 18 | 136 | 5.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 136 | 8 | 60 | 17 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.308824 | 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 |
a3435efaba5a28b56ae0ce95f95e172912a91df6 | 18 | py | Python | test.py | bbb11808/- | 82affda874fd2ccfc8ee894622493999e67d52e5 | [
"MIT"
] | null | null | null | test.py | bbb11808/- | 82affda874fd2ccfc8ee894622493999e67d52e5 | [
"MIT"
] | null | null | null | test.py | bbb11808/- | 82affda874fd2ccfc8ee894622493999e67d52e5 | [
"MIT"
] | null | null | null | a="hello"
print(a) | 9 | 9 | 0.666667 | 4 | 18 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 18 | 2 | 10 | 9 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
a367bf0ccc884381c32df7527df8c933f76a6eb8 | 5,281 | py | Python | DailyProgrammer/DP20151216B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20151216B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20151216B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2015-12-16] Challenge #245 [Intermediate] Ggggggg gggg Ggggg-ggggg!
https://www.reddit.com/r/dailyprogrammer/comments/3x3hqa/20151216_challenge_245_intermediate_ggggggg_gggg/
We have discovered a new species of aliens! They look like
[this](https://www.redditstatic.com/about/assets/reddit-alien.png) and are tryi... | 56.784946 | 120 | 0.766521 | 872 | 5,281 | 4.625 | 0.373853 | 0.01339 | 0.017853 | 0.020828 | 0.08728 | 0.054054 | 0.054054 | 0.043144 | 0.043144 | 0.035705 | 0 | 0.008002 | 0.171748 | 5,281 | 92 | 121 | 57.402174 | 0.914037 | 0.986366 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a3874e2d30644970ecdbc080d6c0716ad6c9bd2e | 1,822 | py | Python | test/test_camera_capture.py | kontramind/zivid-python | b18582c0cdef261d42fb737c7eee71e350048569 | [
"BSD-3-Clause"
] | null | null | null | test/test_camera_capture.py | kontramind/zivid-python | b18582c0cdef261d42fb737c7eee71e350048569 | [
"BSD-3-Clause"
] | null | null | null | test/test_camera_capture.py | kontramind/zivid-python | b18582c0cdef261d42fb737c7eee71e350048569 | [
"BSD-3-Clause"
] | null | null | null | import pytest
def test_list_one_settings(file_camera):
import zivid
settings_collection = [zivid.Settings()]
assert isinstance(settings_collection, list)
with file_camera.capture(settings_collection) as hdr_frame:
assert hdr_frame
assert isinstance(hdr_frame, zivid.frame.Frame)
def ... | 28.030769 | 69 | 0.732162 | 226 | 1,822 | 5.637168 | 0.150442 | 0.125589 | 0.133438 | 0.098901 | 0.899529 | 0.872841 | 0.872841 | 0.687598 | 0.644427 | 0.607535 | 0 | 0.005369 | 0.182217 | 1,822 | 64 | 70 | 28.46875 | 0.849664 | 0 | 0 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 1 | 0.139535 | false | 0 | 0.162791 | 0 | 0.302326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a38984cc559500c57547a93b0a88c4ac7c6dd1a9 | 18 | py | Python | terminfo/d/__init__.py | darkelf44/PyUtils | 4072ff31d2b89dd604ef0e09eb90b7f3b5cf23df | [
"MIT"
] | null | null | null | terminfo/d/__init__.py | darkelf44/PyUtils | 4072ff31d2b89dd604ef0e09eb90b7f3b5cf23df | [
"MIT"
] | null | null | null | terminfo/d/__init__.py | darkelf44/PyUtils | 4072ff31d2b89dd604ef0e09eb90b7f3b5cf23df | [
"MIT"
] | null | null | null | __all__ = ['dumb'] | 18 | 18 | 0.611111 | 2 | 18 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 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 |
6e67f3563bc246ee87b689d7cc05f4e62cccd4a8 | 1,654 | py | Python | unit_06/table6.py | janusnic/21v-pyqt | 8ee3828e1c6e6259367d6cedbd63b9057cf52c24 | [
"MIT"
] | null | null | null | unit_06/table6.py | janusnic/21v-pyqt | 8ee3828e1c6e6259367d6cedbd63b9057cf52c24 | [
"MIT"
] | null | null | null | unit_06/table6.py | janusnic/21v-pyqt | 8ee3828e1c6e6259367d6cedbd63b9057cf52c24 | [
"MIT"
] | 2 | 2019-11-14T15:04:22.000Z | 2021-10-31T07:34:46.000Z | import sqlite3
import sys
try:
db = sqlite3.connect("myshop.db")
cursor = db.cursor()
cursor.executescript("""
DROP TABLE IF EXISTS Customer,
create table Customer(CustomerID integer, FirstName text, LastName text, Street text, Town text, PostCode text, TelephoneNumber text, primary key... | 36.755556 | 168 | 0.602177 | 205 | 1,654 | 4.858537 | 0.478049 | 0.080321 | 0.144578 | 0.192771 | 0.159639 | 0.099398 | 0.070281 | 0 | 0 | 0 | 0 | 0.102419 | 0.250302 | 1,654 | 44 | 169 | 37.590909 | 0.700806 | 0 | 0 | 0.058824 | 0 | 0.264706 | 0.69268 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.058824 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6e6fdc8fbae376b0d284a5cb491e88776d4101d7 | 486 | py | Python | nrcan_etl/src/energuide/validator.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 7 | 2017-12-15T03:58:29.000Z | 2018-04-23T22:48:53.000Z | nrcan_etl/src/energuide/validator.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 137 | 2018-01-24T16:44:57.000Z | 2018-06-25T14:02:10.000Z | nrcan_etl/src/energuide/validator.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 4 | 2018-02-15T12:40:52.000Z | 2018-07-03T14:22:51.000Z | import typing
import cerberus
from energuide import element
class DwellingValidator(cerberus.Validator):
def _validate_type_xml(self, value: typing.Any) -> bool: # pylint: disable=no-self-use
return isinstance(value, element.Element)
def _normalize_coerce_parse_xml(self, value: typing.Any) -> eleme... | 34.714286 | 111 | 0.740741 | 64 | 486 | 5.5 | 0.53125 | 0.119318 | 0.068182 | 0.102273 | 0.244318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162551 | 486 | 13 | 112 | 37.384615 | 0.864865 | 0.113169 | 0 | 0 | 0 | 0 | 0.07243 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
6ea971ef7c7fcc920d4ee15376c538af97c5264c | 348 | py | Python | pytpp/attributes/server_agent_ssh_device_placement_work.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | 4 | 2022-02-04T23:58:55.000Z | 2022-02-15T18:53:08.000Z | pytpp/attributes/server_agent_ssh_device_placement_work.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | pytpp/attributes/server_agent_ssh_device_placement_work.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | from pytpp.attributes._helper import IterableMeta
from pytpp.attributes.server_agent_base_device_placement_work import ServerAgentBaseDevicePlacementWorkAttributes
class ServerAgentSSHDevicePlacementWorkAttributes(ServerAgentBaseDevicePlacementWorkAttributes, metaclass=IterableMeta):
__config_class__ = "Server Agent... | 49.714286 | 120 | 0.902299 | 30 | 348 | 10.1 | 0.6 | 0.059406 | 0.125413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063218 | 348 | 6 | 121 | 58 | 0.929448 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6eb25f449f27b03e2ba17b8a8c9532964274d1ea | 217 | py | Python | system_supports/urls.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | system_supports/urls.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | system_supports/urls.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('submit-feedback/', views.create_feedback, name='create-feedback'),
path('feedback-list/', views.feedback_list, name='feedback_list'),
]
| 24.111111 | 76 | 0.723502 | 27 | 217 | 5.703704 | 0.444444 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 217 | 8 | 77 | 27.125 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.267281 | 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 |
6ebc2b253e9c79b7d8cf3b80695e6e4d8b9b0aca | 286 | py | Python | test.py | arieroos/za_identity_number | d9f80a1d4e74b2cf6a293af183cb7d232c31f1fc | [
"MIT"
] | 1 | 2020-09-25T20:07:35.000Z | 2020-09-25T20:07:35.000Z | test.py | arieroos/za_identity_number | d9f80a1d4e74b2cf6a293af183cb7d232c31f1fc | [
"MIT"
] | null | null | null | test.py | arieroos/za_identity_number | d9f80a1d4e74b2cf6a293af183cb7d232c31f1fc | [
"MIT"
] | null | null | null | from za_id_number.za_id_number import SouthAfricanIdentityValidate
validate_id = SouthAfricanIdentityValidate("9001245289086")
if __name__ == "__main__":
print(validate_id.identity())
print(validate_id.gender())
print(validate_id.age())
print(validate_id.birthdate())
| 28.6 | 66 | 0.776224 | 32 | 286 | 6.40625 | 0.5 | 0.243902 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051383 | 0.115385 | 286 | 9 | 67 | 31.777778 | 0.758893 | 0 | 0 | 0 | 0 | 0 | 0.073427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6ec9e6b42fbe8ff4d671474c3d6258e27c2649da | 58 | py | Python | pvanalytics/fitting/__init__.py | kanderso-nrel/pvanalytics | 27ea3fdddaf0e885cce8b56438256b7e51e9bdea | [
"MIT",
"BSD-3-Clause"
] | 49 | 2020-02-19T19:18:27.000Z | 2022-03-26T00:12:48.000Z | pvanalytics/fitting/__init__.py | kanderso-nrel/pvanalytics | 27ea3fdddaf0e885cce8b56438256b7e51e9bdea | [
"MIT",
"BSD-3-Clause"
] | 96 | 2020-02-20T15:02:11.000Z | 2022-03-22T22:51:15.000Z | pvanalytics/fitting/__init__.py | kanderso-nrel/pvanalytics | 27ea3fdddaf0e885cce8b56438256b7e51e9bdea | [
"MIT",
"BSD-3-Clause"
] | 20 | 2020-02-18T21:40:13.000Z | 2022-02-22T15:50:23.000Z | from pvanalytics.fitting import temperature # noqa: F401
| 29 | 57 | 0.810345 | 7 | 58 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.137931 | 58 | 1 | 58 | 58 | 0.88 | 0.172414 | 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 |
6eed0a5735f39593c38f33f71a5dc4362744de6e | 65 | py | Python | tests/__init__.py | gmagno/powerline_pulseaudio_volume_segment | 53f69eee0475bb44f64cb01427e7f7007d09692b | [
"MIT"
] | 1 | 2021-09-15T15:13:38.000Z | 2021-09-15T15:13:38.000Z | tests/__init__.py | gmagno/powerline_pulseaudio_volume_segment | 53f69eee0475bb44f64cb01427e7f7007d09692b | [
"MIT"
] | null | null | null | tests/__init__.py | gmagno/powerline_pulseaudio_volume_segment | 53f69eee0475bb44f64cb01427e7f7007d09692b | [
"MIT"
] | null | null | null | """Unit test package for powerline_pulseaudio_volume_segment."""
| 32.5 | 64 | 0.815385 | 8 | 65 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.833333 | 0.892308 | 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 |
42bb6e2df6724dca6d7f58bcdf9550ab7870babe | 92 | py | Python | apps/budget/apps.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | apps/budget/apps.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | apps/budget/apps.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BudgetConfig(AppConfig):
name = 'apps.budget'
| 15.333333 | 33 | 0.75 | 11 | 92 | 6.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 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 |
42c856cc24b8b029b51abd4b7a1198cc08704e69 | 22 | py | Python | bmcs_beam/version.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | 1 | 2021-05-07T11:10:27.000Z | 2021-05-07T11:10:27.000Z | bmcs_beam/version.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null | bmcs_beam/version.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null | __version__='0.0.12a'
| 11 | 21 | 0.727273 | 4 | 22 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.045455 | 22 | 1 | 22 | 22 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 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 |
42cdc57f14b641226e99389ab1dab048107feebe | 68 | py | Python | bab-3/Fungsi.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | bab-3/Fungsi.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | bab-3/Fungsi.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | '''
done
'''
def Jumlah(a, b):
return a + b
print(Jumlah(2, 8)) | 9.714286 | 19 | 0.529412 | 12 | 68 | 3 | 0.75 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.235294 | 68 | 7 | 19 | 9.714286 | 0.653846 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
42ed91e0a11253da716f52adf1bf2e9a412f8169 | 63 | py | Python | start.py | SaladRaider/dominion-ai | b1b7bc8c4af36534262d9b1194d59013452d40dd | [
"MIT"
] | null | null | null | start.py | SaladRaider/dominion-ai | b1b7bc8c4af36534262d9b1194d59013452d40dd | [
"MIT"
] | null | null | null | start.py | SaladRaider/dominion-ai | b1b7bc8c4af36534262d9b1194d59013452d40dd | [
"MIT"
] | null | null | null | if __name__ == "__main__":
print("END OF DOMINION AI :)");
| 21 | 35 | 0.603175 | 8 | 63 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 2 | 36 | 31.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6e0bd349be9638af02233a09bf270796fdcc99af | 134 | py | Python | redis/python_redis_publisher.py | MiracleWong/PythonBasic | cb8ec59dc646842b41966ea4ea4b1ee66a342eee | [
"MIT"
] | null | null | null | redis/python_redis_publisher.py | MiracleWong/PythonBasic | cb8ec59dc646842b41966ea4ea4b1ee66a342eee | [
"MIT"
] | null | null | null | redis/python_redis_publisher.py | MiracleWong/PythonBasic | cb8ec59dc646842b41966ea4ea4b1ee66a342eee | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
# -*- coding:utf-8 -*-
# 订阅
from RedisHelper import RedisHelper
obj = RedisHelper()
obj.publish('nihao')#发布
| 14.888889 | 35 | 0.686567 | 18 | 134 | 5.111111 | 0.833333 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.126866 | 134 | 8 | 36 | 16.75 | 0.777778 | 0.358209 | 0 | 0 | 0 | 0 | 0.060976 | 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 |
6e14744124f3d57a361d4e89ba995105fc147ab5 | 737 | py | Python | disturbance/migrations/0152_auto_20200910_1632.py | thakurpriya1990/disturbance | 47f9ce5ae5f1b02d97ace11f1041e96daf7e4556 | [
"Apache-2.0"
] | 1 | 2020-06-30T04:47:42.000Z | 2020-06-30T04:47:42.000Z | disturbance/migrations/0152_auto_20200910_1632.py | thakurpriya1990/disturbance | 47f9ce5ae5f1b02d97ace11f1041e96daf7e4556 | [
"Apache-2.0"
] | 16 | 2020-03-11T08:25:46.000Z | 2022-03-02T08:14:40.000Z | disturbance/migrations/0152_auto_20200910_1632.py | thakurpriya1990/disturbance | 47f9ce5ae5f1b02d97ace11f1041e96daf7e4556 | [
"Apache-2.0"
] | 9 | 2020-01-30T17:37:38.000Z | 2021-09-30T02:22:24.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2020-09-10 08:32
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('disturbance', '0151_auto_20200910_1405'),
]
operations = [
migrations.RemoveField(
... | 23.774194 | 51 | 0.588874 | 63 | 737 | 6.68254 | 0.603175 | 0.209026 | 0.185273 | 0.213777 | 0.370546 | 0.370546 | 0 | 0 | 0 | 0 | 0 | 0.064453 | 0.305292 | 737 | 30 | 52 | 24.566667 | 0.757813 | 0.092266 | 0 | 0.434783 | 1 | 0 | 0.21021 | 0.034535 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.217391 | 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 |
6e4194873f5519ead3ffd42abe63c6bca7dcaaeb | 191 | py | Python | friends_weekend/flights/serializers.py | jondelmil/friends-weekend | c0a9c34df7eccb740a2965a201d8798f3a93ecef | [
"MIT"
] | null | null | null | friends_weekend/flights/serializers.py | jondelmil/friends-weekend | c0a9c34df7eccb740a2965a201d8798f3a93ecef | [
"MIT"
] | null | null | null | friends_weekend/flights/serializers.py | jondelmil/friends-weekend | c0a9c34df7eccb740a2965a201d8798f3a93ecef | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Flight
class FlightSerializer(serializers.ModelSerializer):
class Meta:
model = Flight
fields = ('number', )
| 19.1 | 52 | 0.712042 | 19 | 191 | 7.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219895 | 191 | 9 | 53 | 21.222222 | 0.90604 | 0 | 0 | 0 | 0 | 0 | 0.031414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
285a44bd0fd9123df72d36eb23f1d966f0fb06f0 | 222 | py | Python | db/conditions/hash_condition.py | hiscaler/data-access-object-for-python | 1234b315c4aedaad6577f7928ee6edc5c99801e5 | [
"BSD-2-Clause"
] | null | null | null | db/conditions/hash_condition.py | hiscaler/data-access-object-for-python | 1234b315c4aedaad6577f7928ee6edc5c99801e5 | [
"BSD-2-Clause"
] | null | null | null | db/conditions/hash_condition.py | hiscaler/data-access-object-for-python | 1234b315c4aedaad6577f7928ee6edc5c99801e5 | [
"BSD-2-Clause"
] | null | null | null | # encoding=utf-8
from .condition import Condition
class HashCondition(Condition):
def __init__(self, hash):
self.hash = hash
def from_definition(self, operator, operands):
return self(operands)
| 18.5 | 50 | 0.693694 | 26 | 222 | 5.730769 | 0.615385 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.216216 | 222 | 11 | 51 | 20.181818 | 0.850575 | 0.063063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
285ed746cd19343f421185a2f2f8dc2408efd02c | 5,923 | py | Python | dimorphite_dl_pka/dimorphite_dl_site_substructures_smarts.py | AstraZeneca/peptide-tools | f6c68916bbd92b4ff5d83919a3e25520d6c916bd | [
"Apache-2.0"
] | 1 | 2021-12-20T15:11:31.000Z | 2021-12-20T15:11:31.000Z | dimorphite_dl_pka/dimorphite_dl_site_substructures_smarts.py | AstraZeneca/peptide-tools | f6c68916bbd92b4ff5d83919a3e25520d6c916bd | [
"Apache-2.0"
] | null | null | null | dimorphite_dl_pka/dimorphite_dl_site_substructures_smarts.py | AstraZeneca/peptide-tools | f6c68916bbd92b4ff5d83919a3e25520d6c916bd | [
"Apache-2.0"
] | null | null | null | ###
### NOTICE: this file did not exit in the original Dimorphite_DL release.
### The is newly created based on "sites_substructures.smarts" file
### - made a readable Python module from it. Andrey Frolov, 2020-09-15
### - added last column with acid-base classification. Andrey Frolov, 2020-09-11
### - added TATA sub... | 69.682353 | 156 | 0.67145 | 1,168 | 5,923 | 3.360445 | 0.251712 | 0.010701 | 0.012994 | 0.016306 | 0.184713 | 0.159236 | 0.104459 | 0.086879 | 0.055287 | 0.046624 | 0 | 0.290994 | 0.100118 | 5,923 | 84 | 157 | 70.511905 | 0.445403 | 0.068209 | 0 | 0 | 0 | 0.725806 | 0.995447 | 0.346931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
953f8a62901cd856d1d06afb481865f00dfed5f6 | 1,397 | py | Python | cohesity_management_sdk/models/combine_method_enum.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 18 | 2019-09-24T17:35:53.000Z | 2022-03-25T08:08:47.000Z | cohesity_management_sdk/models/combine_method_enum.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 18 | 2019-03-29T19:32:29.000Z | 2022-01-03T23:16:45.000Z | cohesity_management_sdk/models/combine_method_enum.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 16 | 2019-02-27T06:54:12.000Z | 2021-11-16T18:10:24.000Z | # -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
class CombineMethodEnum(object):
"""Implementation of the 'CombineMethod' enum.
Specifies how to combine the children of this node.
The combining strategy for child devices. Some of these strategies imply
constraint on the number of child devices... | 22.901639 | 76 | 0.635648 | 154 | 1,397 | 5.766234 | 0.402597 | 0.099099 | 0.23536 | 0.28491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014866 | 0.277738 | 1,397 | 60 | 77 | 23.283333 | 0.865213 | 0.701503 | 0 | 0 | 0 | 0 | 0.223729 | 0 | 0 | 0 | 0 | 0.183333 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9557df9c8f97f994c232628337dbf33acde116b1 | 106 | py | Python | HackerRank/Algorithm/warmup/SimpleArraySum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null | HackerRank/Algorithm/warmup/SimpleArraySum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null | HackerRank/Algorithm/warmup/SimpleArraySum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null |
n = int(raw_input())
arr = (raw_input()).split()
#print arr
sum=0
for x in arr:
sum+=int(x)
print sum | 13.25 | 27 | 0.622642 | 21 | 106 | 3.047619 | 0.571429 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.188679 | 106 | 8 | 28 | 13.25 | 0.732558 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9559aaa5d60af46e102a4a930d13af206440044e | 168 | py | Python | root_module/parameters_module/set_tar_params.py | giktech/AssistedLearning | 3e9d4af23c42cf40338cf56ab7f45373e77a86cb | [
"Apache-2.0"
] | null | null | null | root_module/parameters_module/set_tar_params.py | giktech/AssistedLearning | 3e9d4af23c42cf40338cf56ab7f45373e77a86cb | [
"Apache-2.0"
] | null | null | null | root_module/parameters_module/set_tar_params.py | giktech/AssistedLearning | 3e9d4af23c42cf40338cf56ab7f45373e77a86cb | [
"Apache-2.0"
] | null | null | null | from root_module.parameters_module import GlobalParams
class TargetNetworkParams(GlobalParams):
def __init__(self, mode):
GlobalParams.__init__(self, mode) | 33.6 | 54 | 0.791667 | 18 | 168 | 6.833333 | 0.666667 | 0.130081 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 168 | 5 | 55 | 33.6 | 0.848276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
955d474ac0f9ff7768f272a1b719756174570896 | 65 | py | Python | Pkg_demo.py | Antara0795/Demo-Project | 59a352ec03b8c5a6b32e9a5208b8ea34e9d82383 | [
"MIT"
] | null | null | null | Pkg_demo.py | Antara0795/Demo-Project | 59a352ec03b8c5a6b32e9a5208b8ea34e9d82383 | [
"MIT"
] | null | null | null | Pkg_demo.py | Antara0795/Demo-Project | 59a352ec03b8c5a6b32e9a5208b8ea34e9d82383 | [
"MIT"
] | null | null | null | from src.sample.simple import add_one
o = add_one(10)
print(o)
| 10.833333 | 37 | 0.738462 | 13 | 65 | 3.538462 | 0.769231 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.153846 | 65 | 5 | 38 | 13 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
957e4389b83ade56024add778a608fc30b446310 | 343 | py | Python | python/test.py | chovy1/serialbox | b71c9749855d2d9bbb60da7ff779013640fede30 | [
"BSD-2-Clause"
] | 6 | 2016-01-26T14:07:23.000Z | 2019-09-18T13:03:09.000Z | python/test.py | chovy1/serialbox | b71c9749855d2d9bbb60da7ff779013640fede30 | [
"BSD-2-Clause"
] | 5 | 2015-12-30T10:52:20.000Z | 2017-03-27T14:29:17.000Z | python/test.py | chovy1/serialbox | b71c9749855d2d9bbb60da7ff779013640fede30 | [
"BSD-2-Clause"
] | 8 | 2015-12-17T08:52:26.000Z | 2019-10-23T23:47:12.000Z | #!/usr/bin/env python
#This file is released under terms of BSD license`
#See LICENSE.txt for more information
import unittest
class Test(unittest.TestCase):
def test_load_serializer(self):
from serialbox import Serializer
def test_load_visualizer(self):
from serialbox import Visualizer
if __name__ == '__main... | 21.4375 | 50 | 0.778426 | 48 | 343 | 5.3125 | 0.6875 | 0.054902 | 0.086275 | 0.180392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 343 | 16 | 51 | 21.4375 | 0.867347 | 0.306122 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
958a4e23d47865607366ed1b6c90166c4af90cf6 | 11,365 | py | Python | lib/services/vautoscaling/test/test_v2_api.py | NaverCloudPlatform/ncloud-sdk-python | 5976dfabd205c615fcf57ac2f0ab67313ee6953c | [
"MIT"
] | 12 | 2018-11-20T04:30:49.000Z | 2021-11-09T12:34:26.000Z | lib/services/vautoscaling/test/test_v2_api.py | NaverCloudPlatform/ncloud-sdk-python | 5976dfabd205c615fcf57ac2f0ab67313ee6953c | [
"MIT"
] | 1 | 2019-01-24T15:56:15.000Z | 2019-05-31T07:56:55.000Z | lib/services/vautoscaling/test/test_v2_api.py | NaverCloudPlatform/ncloud-sdk-python | 5976dfabd205c615fcf57ac2f0ab67313ee6953c | [
"MIT"
] | 6 | 2018-06-29T03:45:50.000Z | 2022-03-18T01:51:45.000Z | # coding: utf-8
"""
vautoscaling
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import ncloud_vautoscaling
from ncloud_vautoscaling.api.v2_api import V2Api # noqa: E501
from ncloud_vautoscaling.rest import ApiException
cl... | 41.028881 | 115 | 0.694325 | 1,292 | 11,365 | 5.704334 | 0.082817 | 0.065672 | 0.065129 | 0.044776 | 0.789959 | 0.704613 | 0.639484 | 0.530258 | 0.496744 | 0.372999 | 0 | 0.004038 | 0.237396 | 11,365 | 276 | 116 | 41.177536 | 0.846314 | 0.798856 | 0 | 0.389831 | 1 | 0 | 0.017866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.40678 | false | 0.389831 | 0.084746 | 0 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
95919a4f63dfbf588d5619f85c20e0884440e2c0 | 311 | py | Python | apps/links/serializers.py | mkdir700/Marilyn | 49d735f61914b0e57410ec2d73d583c422bccaa5 | [
"MIT"
] | null | null | null | apps/links/serializers.py | mkdir700/Marilyn | 49d735f61914b0e57410ec2d73d583c422bccaa5 | [
"MIT"
] | 4 | 2021-04-08T20:57:24.000Z | 2021-09-22T19:12:13.000Z | apps/links/serializers.py | mkdir700/Marilyn | 49d735f61914b0e57410ec2d73d583c422bccaa5 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import LinksModel
from common.utils import DeleteMultipleSerializer
class LinksSerializer(serializers.ModelSerializer):
class Meta:
model = LinksModel
fields = '__all__'
class DeleteLinksSerializer(DeleteMultipleSerializer):
pass
| 20.733333 | 54 | 0.78135 | 28 | 311 | 8.5 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173633 | 311 | 14 | 55 | 22.214286 | 0.92607 | 0 | 0 | 0 | 0 | 0 | 0.022508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9592dee22aea2e538d001162408e10b0e07e51cf | 55 | py | Python | {{cookiecutter.github_project_name}}/python/module/{{cookiecutter.python_package_name}}/__init__.py | k-dominik/cpp_cookiecutter | 03e89ca4408eeb527f7c295fcd7359b4835dc61e | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.github_project_name}}/python/module/{{cookiecutter.python_package_name}}/__init__.py | k-dominik/cpp_cookiecutter | 03e89ca4408eeb527f7c295fcd7359b4835dc61e | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.github_project_name}}/python/module/{{cookiecutter.python_package_name}}/__init__.py | k-dominik/cpp_cookiecutter | 03e89ca4408eeb527f7c295fcd7359b4835dc61e | [
"BSD-3-Clause"
] | null | null | null | from . _{{cookiecutter.python_package_name}} import *
| 18.333333 | 53 | 0.763636 | 6 | 55 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 55 | 2 | 54 | 27.5 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | 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 |
95c6455ce759a9b8676f3de84a575c1bde96669f | 37 | py | Python | mkimage/mkimage/__init__.py | matkozak/KozakAndKaksonen2022 | 5441acf218619f2b03d90633613cccc373c6fe8a | [
"CC0-1.0"
] | null | null | null | mkimage/mkimage/__init__.py | matkozak/KozakAndKaksonen2022 | 5441acf218619f2b03d90633613cccc373c6fe8a | [
"CC0-1.0"
] | null | null | null | mkimage/mkimage/__init__.py | matkozak/KozakAndKaksonen2022 | 5441acf218619f2b03d90633613cccc373c6fe8a | [
"CC0-1.0"
] | null | null | null | # __init__.py
"""
Docstring TBD
"""
| 6.166667 | 13 | 0.594595 | 4 | 37 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 5 | 14 | 7.4 | 0.6 | 0.702703 | 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 |
2503e51522ac01ffe531e855e150430af866fa06 | 152 | py | Python | app_loader/apps.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | null | null | null | app_loader/apps.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | 5 | 2016-01-07T14:57:39.000Z | 2016-09-14T22:17:41.000Z | app_loader/apps.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | 1 | 2020-01-15T12:28:37.000Z | 2020-01-15T12:28:37.000Z |
from django.apps import AppConfig
class Config(AppConfig):
name = 'app_loader'
verbose_name = "python-app-loader"
apps = ['app_loader']
| 15.2 | 38 | 0.684211 | 19 | 152 | 5.315789 | 0.631579 | 0.267327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203947 | 152 | 9 | 39 | 16.888889 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
251ca60e004b03bfcf46ae23c8a002f8ad7a76cf | 351 | py | Python | src/inlet/inlet.py | vkhaydarov/PlantEye | bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69 | [
"MIT"
] | null | null | null | src/inlet/inlet.py | vkhaydarov/PlantEye | bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69 | [
"MIT"
] | null | null | null | src/inlet/inlet.py | vkhaydarov/PlantEye | bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.configuration.config_provider import ConfigProvider
class Inlet(ABC):
@abstractmethod
def import_configuration(self, config_provider: ConfigProvider):
pass
@abstractmethod
def apply_configuration(self):
pass
@abstractmethod
def ret... | 20.647059 | 68 | 0.723647 | 36 | 351 | 6.916667 | 0.472222 | 0.204819 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219373 | 351 | 16 | 69 | 21.9375 | 0.908759 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
253b37632244e4ad230435a2106aed1f387959c6 | 92 | py | Python | deep_surfel/deep_surfel/lib/__init__.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 48 | 2021-04-26T15:10:23.000Z | 2022-03-30T02:50:20.000Z | deep_surfel/deep_surfel/lib/__init__.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T06:45:24.000Z | 2021-07-21T06:45:24.000Z | deep_surfel/deep_surfel/lib/__init__.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 6 | 2021-06-09T17:31:37.000Z | 2022-03-21T04:56:38.000Z | from .ops import stack, split
from .dsio import export_mesh, save, load, save_sdf, load_sdf
| 30.666667 | 61 | 0.782609 | 16 | 92 | 4.3125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 2 | 62 | 46 | 0.873418 | 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 |
2542968501ab89ca120372bcbcf515b82c0d37a0 | 519 | py | Python | fit1d/models/polynom_model.py | michael-amat/fit1d | 0cd42874e3eba4353c564809c317510b626dee25 | [
"BSD-2-Clause"
] | null | null | null | fit1d/models/polynom_model.py | michael-amat/fit1d | 0cd42874e3eba4353c564809c317510b626dee25 | [
"BSD-2-Clause"
] | null | null | null | fit1d/models/polynom_model.py | michael-amat/fit1d | 0cd42874e3eba4353c564809c317510b626dee25 | [
"BSD-2-Clause"
] | 9 | 2019-02-24T12:51:28.000Z | 2019-03-22T09:25:45.000Z | from typing import List
from fit1d.common.model import Model
class PolynomModel(Model):
def __init__(self, model_parameters: List[float]=[]):
if not model_parameters:
raise ValueError('model_parameters cannot be empty')
self._model_parameters["coefficients"] = model_parameters
def... | 30.529412 | 65 | 0.714836 | 64 | 519 | 5.421875 | 0.40625 | 0.259366 | 0.164265 | 0.178674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00241 | 0.200385 | 519 | 16 | 66 | 32.4375 | 0.833735 | 0 | 0 | 0 | 0 | 0 | 0.1079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
256866fbb52f1fe1f2f788350918ab044b120311 | 99 | py | Python | 6_kyu/Bugs_with_late_binding_closure.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Bugs_with_late_binding_closure.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Bugs_with_late_binding_closure.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | def create_multiplications(n):
f = lambda i: lambda x: i*x
return [f(i) for i in range(n)]
| 24.75 | 35 | 0.636364 | 19 | 99 | 3.263158 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232323 | 99 | 3 | 36 | 33 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
c250938bf2ea7af1bd46f37ec38510ce2cd1aff5 | 97 | py | Python | core/observatory/apps.py | IvanRch/bsuphys | 105715cde8fc8e9a42019ed4b650fe00b94fa132 | [
"Apache-2.0"
] | 1 | 2022-01-04T07:04:46.000Z | 2022-01-04T07:04:46.000Z | core/observatory/apps.py | IvanRch/bsuphys | 105715cde8fc8e9a42019ed4b650fe00b94fa132 | [
"Apache-2.0"
] | 1 | 2020-02-17T19:06:03.000Z | 2020-02-17T19:06:03.000Z | core/observatory/apps.py | IvanRch/bsuphys | 105715cde8fc8e9a42019ed4b650fe00b94fa132 | [
"Apache-2.0"
] | 1 | 2021-07-08T13:21:04.000Z | 2021-07-08T13:21:04.000Z | from django.apps import AppConfig
class ObservatoryConfig(AppConfig):
name = 'observatory'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
c257e4b8fa7851c7dbb2dc1069ac2733af543480 | 23,872 | py | Python | pysnmp-with-texts/A3COM-SWITCHING-SYSTEMS-ROUTEPOLICY-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/A3COM-SWITCHING-SYSTEMS-ROUTEPOLICY-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/A3COM-SWITCHING-SYSTEMS-ROUTEPOLICY-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module A3COM-SWITCHING-SYSTEMS-ROUTEPOLICY-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-SWITCHING-SYSTEMS-ROUTEPOLICY-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:08:29 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwan... | 277.581395 | 2,094 | 0.79277 | 3,206 | 23,872 | 5.901435 | 0.155022 | 0.026638 | 0.046617 | 0.005285 | 0.439271 | 0.322886 | 0.279387 | 0.266385 | 0.246142 | 0.228964 | 0 | 0.042704 | 0.11813 | 23,872 | 85 | 2,095 | 280.847059 | 0.856023 | 0.015583 | 0 | 0 | 0 | 0.25974 | 0.61547 | 0.08135 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.116883 | 0 | 0.155844 | 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 |
c291a07c2f55f9a4c11db7e9e15bcd150e6c7b6f | 92 | py | Python | cacheops/signals.py | ErwinJunge/django-cacheops | 36e85815a6ff9543a0d7afac515818b778eee86a | [
"BSD-3-Clause"
] | 3 | 2015-11-19T15:57:12.000Z | 2019-12-16T09:18:57.000Z | cacheops/signals.py | ErwinJunge/django-cacheops | 36e85815a6ff9543a0d7afac515818b778eee86a | [
"BSD-3-Clause"
] | 1 | 2016-08-03T15:36:18.000Z | 2016-08-03T15:36:18.000Z | cacheops/signals.py | ErwinJunge/django-cacheops | 36e85815a6ff9543a0d7afac515818b778eee86a | [
"BSD-3-Clause"
] | 1 | 2015-11-19T15:57:13.000Z | 2015-11-19T15:57:13.000Z | import django.dispatch
cache_read = django.dispatch.Signal(providing_args=["func", "hit"])
| 23 | 67 | 0.771739 | 12 | 92 | 5.75 | 0.833333 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 3 | 68 | 30.666667 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c29ba036840d85ceb142fbdb63c18fc630709a36 | 205 | py | Python | food_items/serializers.py | Toffooo/prac | bef060e395b0d53e936e142cdf2fa910bd5516dd | [
"MIT"
] | null | null | null | food_items/serializers.py | Toffooo/prac | bef060e395b0d53e936e142cdf2fa910bd5516dd | [
"MIT"
] | 1 | 2021-06-24T14:34:46.000Z | 2021-06-24T14:43:58.000Z | food_items/serializers.py | Toffooo/prac | bef060e395b0d53e936e142cdf2fa910bd5516dd | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import FoodItem
class FoodModelSerializer(serializers.ModelSerializer):
class Meta:
model = FoodItem
fields = ("name", "calorie")
| 20.5 | 55 | 0.721951 | 20 | 205 | 7.35 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204878 | 205 | 9 | 56 | 22.777778 | 0.90184 | 0 | 0 | 0 | 0 | 0 | 0.053659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c2ab8c968a13b9906ca98384319c426df90828be | 198 | py | Python | sgi/academico/apps.py | jorgevilaca82/SGI | c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a | [
"MIT"
] | null | null | null | sgi/academico/apps.py | jorgevilaca82/SGI | c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a | [
"MIT"
] | 8 | 2019-12-07T13:13:34.000Z | 2021-09-02T03:07:25.000Z | sgi/academico/apps.py | jorgevilaca82/SGI | c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AcademicoConfig(AppConfig):
name = "sgi.academico"
def ready(self):
from . import signals
from . import di # dependency injection
| 19.8 | 48 | 0.676768 | 22 | 198 | 6.090909 | 0.772727 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252525 | 198 | 9 | 49 | 22 | 0.905405 | 0.10101 | 0 | 0 | 0 | 0 | 0.073864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 |
c2bb80ce274d9b3e753c6d4662f70395d920d1c9 | 4,208 | py | Python | backend/pages/factories.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 2 | 2021-01-28T08:23:15.000Z | 2021-03-09T06:06:58.000Z | backend/pages/factories.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 9 | 2020-01-02T15:31:04.000Z | 2021-12-09T01:59:26.000Z | backend/pages/factories.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 1 | 2021-03-09T06:11:16.000Z | 2021-03-09T06:11:16.000Z | import factory
import factory.fuzzy
from faker import Faker
from users.factories import StudentFactory
from . import models
fake = Faker(locale='ru_RU') # TODO: need to add other locale?
class AboutUsPageFactory(factory.DjangoModelFactory):
class Meta:
model = models.AboutUsPage
django_get_or_... | 40.461538 | 73 | 0.739306 | 555 | 4,208 | 5.34955 | 0.171171 | 0.080162 | 0.195352 | 0.253958 | 0.767262 | 0.767262 | 0.629842 | 0.561132 | 0.538228 | 0.450657 | 0 | 0.00682 | 0.163736 | 4,208 | 103 | 74 | 40.854369 | 0.836885 | 0.007367 | 0 | 0.417722 | 0 | 0 | 0.00479 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 1 | 0 | false | 0 | 0.063291 | 0 | 0.64557 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6c047a40740efa59c4e6ee8abd4b30edfb386000 | 206 | py | Python | src/erpbrasil/febraban/cnab/lotes/cobranca.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 1 | 2020-08-27T18:43:01.000Z | 2020-08-27T18:43:01.000Z | src/erpbrasil/febraban/cnab/lotes/cobranca.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 1 | 2020-01-13T22:41:53.000Z | 2020-01-13T22:41:53.000Z | src/erpbrasil/febraban/cnab/lotes/cobranca.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 4 | 2019-09-06T12:25:25.000Z | 2021-05-17T11:41:45.000Z |
from erpbrasil.febraban.cnab.tipos import Lote
class LoteCobranca(Lote):
HeaderCls = LoteCobranca.banco.registros.HeaderLoteCobranca
TrailerCls = LoteCobranca.banco.registros.TrailerLoteCobranca
| 25.75 | 65 | 0.820388 | 20 | 206 | 8.45 | 0.75 | 0.201183 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11165 | 206 | 7 | 66 | 29.428571 | 0.923497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
6c48f80cf4ace191ef6d461e506453b18c1b4456 | 180 | py | Python | tests/utils.py | Neoteroi/BlackSheep-SQLAlchemy | 83575392f3bc8e1bcfad0ddfb2a0a0dee54f183e | [
"MIT"
] | 4 | 2021-05-20T01:49:04.000Z | 2022-02-21T08:13:39.000Z | tests/utils.py | Neoteroi/BlackSheep-SQLAlchemy | 83575392f3bc8e1bcfad0ddfb2a0a0dee54f183e | [
"MIT"
] | 1 | 2021-05-22T11:55:53.000Z | 2021-05-22T11:55:53.000Z | tests/utils.py | Neoteroi/BlackSheep-SQLAlchemy | 83575392f3bc8e1bcfad0ddfb2a0a0dee54f183e | [
"MIT"
] | null | null | null | import os
def get_sleep_time():
# when starting a server process,
# a longer sleep time is necessary on Windows
if os.name == "nt":
return 1.5
return 0.5
| 18 | 49 | 0.627778 | 29 | 180 | 3.827586 | 0.793103 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.294444 | 180 | 9 | 50 | 20 | 0.84252 | 0.416667 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6c4b4319db4d194aa29ed594504902e13c0d9dee | 142 | py | Python | example/my_open_house/apps.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 36 | 2020-03-29T22:23:14.000Z | 2021-09-28T18:44:49.000Z | example/my_open_house/apps.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 19 | 2020-03-30T07:09:21.000Z | 2021-09-28T18:15:11.000Z | example/my_open_house/apps.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 14 | 2020-03-30T07:04:37.000Z | 2021-11-23T00:49:22.000Z | from django.apps import AppConfig
class MyOpenHouseConfig(AppConfig):
name = "example.my_open_house"
verbose_name = "My Open House"
| 20.285714 | 35 | 0.753521 | 18 | 142 | 5.777778 | 0.722222 | 0.115385 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 36 | 23.666667 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 0.147887 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
6c6fce66a6b2b6af85dc9f21cedf49e08b93de29 | 313 | py | Python | runinfer.py | anonymous-summa/MLT-ABSum | c0c566aea60745a25834b14aa42520509c55a5ea | [
"Apache-2.0"
] | null | null | null | runinfer.py | anonymous-summa/MLT-ABSum | c0c566aea60745a25834b14aa42520509c55a5ea | [
"Apache-2.0"
] | null | null | null | runinfer.py | anonymous-summa/MLT-ABSum | c0c566aea60745a25834b14aa42520509c55a5ea | [
"Apache-2.0"
] | null | null | null | import os
op = "train"
os.system(
f"""
python -u inference.py --left 30000 --right 40000 --cuda cpu --op {op} &
python -u inference.py --left 40000 --right 50000 --cuda cpu --op {op} &
python -u inference.py --left 50000 --right 60000 --cuda cpu --op {op} &
wait
""")
| 20.866667 | 80 | 0.549521 | 44 | 313 | 3.909091 | 0.431818 | 0.122093 | 0.27907 | 0.313953 | 0.511628 | 0.383721 | 0.383721 | 0.383721 | 0.383721 | 0 | 0 | 0.134529 | 0.28754 | 313 | 14 | 81 | 22.357143 | 0.636771 | 0 | 0 | 0 | 0 | 0.333333 | 0.858065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6659ae386cd8fe7fb43c1e1e40cc226134868c3a | 196 | py | Python | server/vcr-server/vcr_server/views.py | brianorwhatever/aries-vcr | 96bb31a2f96406dfa2832dbd7790c46b60981e13 | [
"Apache-2.0"
] | 38 | 2019-01-07T02:49:55.000Z | 2020-01-27T17:26:09.000Z | server/vcr-server/vcr_server/views.py | brianorwhatever/aries-vcr | 96bb31a2f96406dfa2832dbd7790c46b60981e13 | [
"Apache-2.0"
] | 364 | 2019-01-07T20:22:15.000Z | 2020-03-10T21:59:23.000Z | server/vcr-server/vcr_server/views.py | brianorwhatever/aries-vcr | 96bb31a2f96406dfa2832dbd7790c46b60981e13 | [
"Apache-2.0"
] | 34 | 2019-01-04T19:16:04.000Z | 2020-02-20T19:24:25.000Z | from django.http import HttpResponse
from api.v2.models.Issuer import Issuer
def health(request):
"""
Health check for OpenShift
"""
return HttpResponse(Issuer.objects.count())
| 17.818182 | 47 | 0.714286 | 24 | 196 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.188776 | 196 | 10 | 48 | 19.6 | 0.874214 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
668eb43d64038e70b2a9dd56841daf3795ebb583 | 164 | py | Python | plenum/server/stats_consumer.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 148 | 2017-07-11T19:05:25.000Z | 2022-03-16T21:31:20.000Z | plenum/server/stats_consumer.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 561 | 2017-06-29T17:59:56.000Z | 2022-03-09T15:47:14.000Z | plenum/server/stats_consumer.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 378 | 2017-06-29T17:45:27.000Z | 2022-03-26T07:27:59.000Z | from typing import Dict, Any
class StatsConsumer:
def __init__(self):
pass
def sendStats(self, event: str, stats: Dict[str, Any]):
pass
| 14.909091 | 59 | 0.628049 | 21 | 164 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280488 | 164 | 10 | 60 | 16.4 | 0.838983 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
66e50b0125f4fa9ab87b88a7c52c44e1396d788e | 417 | py | Python | systemconfig/forms/smsconfig_form.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | systemconfig/forms/smsconfig_form.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | 10 | 2020-03-24T17:09:56.000Z | 2021-12-13T20:00:15.000Z | systemconfig/forms/smsconfig_form.py | PyFlux/PyFlux-Django-Html | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | from django import forms
class SmsConfigForm(forms.Form):
firm_id = forms.CharField(label='Firm', required="", max_length=254)
sms_count = forms.CharField(label='Total Sms', required="required", max_length=254)
api_key = forms.CharField(label='API Key', required="required", max_length=254)
status = fo... | 46.333333 | 111 | 0.717026 | 54 | 417 | 5.425926 | 0.5 | 0.143345 | 0.194539 | 0.204778 | 0.191126 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029891 | 0.117506 | 417 | 8 | 112 | 52.125 | 0.766304 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dd0a565b6f0305df995a05fbd2150fe5062b44bc | 103 | py | Python | capsul/study_config/__init__.py | denisri/capsul | ea1b41f08ab1acc95e50d90916c1e282807874ca | [
"CECILL-B"
] | 5 | 2018-10-31T10:16:53.000Z | 2022-03-11T08:11:32.000Z | capsul/study_config/__init__.py | denisri/capsul | ea1b41f08ab1acc95e50d90916c1e282807874ca | [
"CECILL-B"
] | 78 | 2018-10-30T17:04:38.000Z | 2022-03-17T17:39:41.000Z | capsul/study_config/__init__.py | denisri/capsul | ea1b41f08ab1acc95e50d90916c1e282807874ca | [
"CECILL-B"
] | 11 | 2019-01-21T10:05:08.000Z | 2022-02-22T17:02:22.000Z | # -*- coding: utf-8 -*-
'''
Configuration of Capsul and external software operated through capsul.
'''
| 20.6 | 70 | 0.68932 | 12 | 103 | 5.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.15534 | 103 | 4 | 71 | 25.75 | 0.804598 | 0.902913 | 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 |
dd378321d3f14275a43f4f61169158101e90444c | 215 | py | Python | build.py | brettlangdon/sysaudit | 93f368c8832089ec38783e4a9fbcc2b1e6189670 | [
"MIT"
] | 5 | 2021-02-12T19:52:51.000Z | 2021-05-19T14:42:32.000Z | build.py | brettlangdon/sysaudit | 93f368c8832089ec38783e4a9fbcc2b1e6189670 | [
"MIT"
] | 1 | 2021-02-14T14:51:33.000Z | 2021-03-20T12:05:56.000Z | build.py | brettlangdon/sysaudit | 93f368c8832089ec38783e4a9fbcc2b1e6189670 | [
"MIT"
] | 1 | 2021-03-20T03:58:59.000Z | 2021-03-20T03:58:59.000Z | def build(setup_kwargs):
try:
from Cython.Build import cythonize
setup_kwargs["ext_modules"] = cythonize("sysaudit/_csysaudit.pyx")
except ImportError:
pass
return setup_kwargs
| 21.5 | 74 | 0.674419 | 24 | 215 | 5.833333 | 0.75 | 0.235714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246512 | 215 | 9 | 75 | 23.888889 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 0.106977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
dd7d731fbf5cb4438d7429e51d9a3513b48490b7 | 56 | py | Python | run.py | skeptycal/flask-template | a1881a5bdf01d8400df2aa9621aec097ca847c75 | [
"MIT"
] | 1 | 2015-02-19T15:18:15.000Z | 2015-02-19T15:18:15.000Z | run.py | Impactstory/flask-template | a1881a5bdf01d8400df2aa9621aec097ca847c75 | [
"MIT"
] | 1 | 2021-03-20T04:39:56.000Z | 2021-03-20T04:39:56.000Z | run.py | skeptycal/flask-template | a1881a5bdf01d8400df2aa9621aec097ca847c75 | [
"MIT"
] | 1 | 2018-12-23T17:16:53.000Z | 2018-12-23T17:16:53.000Z | from impactstoryanalytics import app
app.run(debug=True) | 28 | 36 | 0.857143 | 8 | 56 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 2 | 37 | 28 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
06b5aabb92f9f393069a51ebcfcfac69e91d4517 | 132 | py | Python | farms2face/userlogs/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/userlogs/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/userlogs/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | 2 | 2018-06-19T12:12:08.000Z | 2018-06-25T18:45:36.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class UserlogsConfig(AppConfig):
name = 'userlogs'
| 16.5 | 39 | 0.795455 | 15 | 132 | 6.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 40 | 18.857143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 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 |
06c3327c0a126ae7c584b31dbedd552745d99a24 | 23 | py | Python | python/apps/tools/src/tools/utils/__init__.py | matihost/monorepo | 6822e48b3389f7977b9ba14827028275f1492c14 | [
"MIT"
] | 2 | 2020-11-13T06:58:49.000Z | 2022-03-10T12:41:33.000Z | python/apps/tools/src/tools/utils/__init__.py | matihost/monorepo | 6822e48b3389f7977b9ba14827028275f1492c14 | [
"MIT"
] | null | null | null | python/apps/tools/src/tools/utils/__init__.py | matihost/monorepo | 6822e48b3389f7977b9ba14827028275f1492c14 | [
"MIT"
] | 2 | 2019-02-15T11:55:42.000Z | 2020-11-13T06:59:20.000Z | """Utility methods."""
| 11.5 | 22 | 0.608696 | 2 | 23 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.666667 | 0.695652 | 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 |
06d4251b22b74c6b3778123d475ecc9e11853e04 | 180 | py | Python | hello.py | AidaBegaidarova/scsa | 056579251cb9cc1ea29d0ddbbfa1ba12b93cf055 | [
"Unlicense"
] | null | null | null | hello.py | AidaBegaidarova/scsa | 056579251cb9cc1ea29d0ddbbfa1ba12b93cf055 | [
"Unlicense"
] | null | null | null | hello.py | AidaBegaidarova/scsa | 056579251cb9cc1ea29d0ddbbfa1ba12b93cf055 | [
"Unlicense"
] | 1 | 2021-11-04T06:39:30.000Z | 2021-11-04T06:39:30.000Z | def app(environ, start_response):
start_response("200 OK", [("Content-Type", "text/plain")])
return [(item + '\n').encode() for item in environ['QUERY_STRING'].split('&')]
| 45 | 82 | 0.644444 | 24 | 180 | 4.708333 | 0.833333 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.127778 | 180 | 3 | 83 | 60 | 0.700637 | 0 | 0 | 0 | 0 | 0 | 0.238889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
06fdf17b8336a688e9f9ec84a8dd625f7384872c | 30 | py | Python | Exercicios1a10/ex001.py | ItamarHavenstein/Python | fe536302aea00a4a898e0f54f5b9fa6aba3301cb | [
"MIT"
] | null | null | null | Exercicios1a10/ex001.py | ItamarHavenstein/Python | fe536302aea00a4a898e0f54f5b9fa6aba3301cb | [
"MIT"
] | null | null | null | Exercicios1a10/ex001.py | ItamarHavenstein/Python | fe536302aea00a4a898e0f54f5b9fa6aba3301cb | [
"MIT"
] | null | null | null | msg = 'Olá mundo!'
print(msg)
| 10 | 18 | 0.633333 | 5 | 30 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 19 | 15 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
6609e658144e3794b303deaae6bf18fef1172df7 | 130 | py | Python | src/Setup/tester.py | shadowcypher/VINLookup | 3f7a6a2b689d3896a8897f464302be17a69d9893 | [
"MIT"
] | 2 | 2018-10-24T04:56:18.000Z | 2018-11-09T05:07:01.000Z | src/Setup/tester.py | hbg/VINLookup | 3f7a6a2b689d3896a8897f464302be17a69d9893 | [
"MIT"
] | null | null | null | src/Setup/tester.py | hbg/VINLookup | 3f7a6a2b689d3896a8897f464302be17a69d9893 | [
"MIT"
] | null | null | null | import random
class tester:
testLicenses = []
testStates = []
def randomLicenseandState():
combo = [testLicenses, testStates] | 21.666667 | 36 | 0.738462 | 11 | 130 | 8.727273 | 0.818182 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 6 | 36 | 21.666667 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 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 |
662102057681fe97611b15f6ee9d4d8b406c5dc6 | 1,020 | py | Python | koku/reporting/migrations/0119_auto_20200707_1934.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | 2 | 2022-01-12T03:42:39.000Z | 2022-01-12T03:42:40.000Z | koku/reporting/migrations/0119_auto_20200707_1934.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | null | null | null | koku/reporting/migrations/0119_auto_20200707_1934.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | 1 | 2021-07-21T09:33:59.000Z | 2021-07-21T09:33:59.000Z | # Generated by Django 2.2.12 on 2020-07-07 19:34
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("reporting", "0118_auto_20200630_1819")]
operations = [
migrations.AddField(
model_name="ocpawstagssummary", name="cluste... | 37.777778 | 118 | 0.67451 | 113 | 1,020 | 5.929204 | 0.362832 | 0.134328 | 0.171642 | 0.201493 | 0.714925 | 0.714925 | 0.714925 | 0.623881 | 0.623881 | 0.567164 | 0 | 0.055693 | 0.207843 | 1,020 | 26 | 119 | 39.230769 | 0.773515 | 0.045098 | 0 | 0.47619 | 1 | 0 | 0.188272 | 0.023663 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
664909991044123efffc6a3a0a774bf3811f233b | 84 | py | Python | youtube_uploader/__init__.py | codingvibe/youtube-uploader | 2103da977321e03887bb0749bb39dbe577a81564 | [
"MIT"
] | null | null | null | youtube_uploader/__init__.py | codingvibe/youtube-uploader | 2103da977321e03887bb0749bb39dbe577a81564 | [
"MIT"
] | null | null | null | youtube_uploader/__init__.py | codingvibe/youtube-uploader | 2103da977321e03887bb0749bb39dbe577a81564 | [
"MIT"
] | null | null | null | from youtube_uploader.youtube_uploader import upload_video
__all__ = "upload_video" | 28 | 58 | 0.869048 | 11 | 84 | 5.909091 | 0.636364 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 84 | 3 | 59 | 28 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
665192728b11d3ee25f46b6f1164f4bdad38d576 | 81 | py | Python | hello.py | aca5ym/cs3240-labdemo | 104d55f8482979a53911ef76ab4c68435819a5fd | [
"MIT"
] | null | null | null | hello.py | aca5ym/cs3240-labdemo | 104d55f8482979a53911ef76ab4c68435819a5fd | [
"MIT"
] | null | null | null | hello.py | aca5ym/cs3240-labdemo | 104d55f8482979a53911ef76ab4c68435819a5fd | [
"MIT"
] | null | null | null | __author__ = 'Andrew Anderson aca5ym'
print("hello everybody have a great day!")
| 27 | 42 | 0.765432 | 11 | 81 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.135802 | 81 | 2 | 43 | 40.5 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.679012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b0ad5131c0e52958927dc14c1e47c623cac4fcf6 | 382 | py | Python | webex_bot/formatting.py | sandorzm/webex_bot | 7a12c80cf210441feff5f2dbf12f38a78df4f83c | [
"MIT"
] | 10 | 2021-03-30T09:34:14.000Z | 2022-03-15T19:36:25.000Z | webex_bot/formatting.py | sandorzm/webex_bot | 7a12c80cf210441feff5f2dbf12f38a78df4f83c | [
"MIT"
] | 15 | 2021-03-19T20:35:19.000Z | 2022-03-15T00:04:32.000Z | webex_bot/formatting.py | sandorzm/webex_bot | 7a12c80cf210441feff5f2dbf12f38a78df4f83c | [
"MIT"
] | 11 | 2021-05-17T12:52:10.000Z | 2022-03-14T00:03:51.000Z | def quote_info(text):
return f"<blockquote class=info>{text}</blockquote>"
def quote_warning(text):
return f"<blockquote class=warning>{text}</blockquote>"
def quote_danger(text):
return f"<blockquote class=danger>{text}</blockquote>"
def code(text):
return f"<code>{text}</code>"
def html_link(l... | 20.105263 | 59 | 0.680628 | 55 | 382 | 4.618182 | 0.290909 | 0.137795 | 0.173228 | 0.248032 | 0.307087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138743 | 382 | 18 | 60 | 21.222222 | 0.772036 | 0 | 0 | 0 | 0 | 0 | 0.473822 | 0.32199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b0af20ee0ddb790cfc02d1fd367bf1941ab68115 | 69 | py | Python | yf_api/__init__.py | bherbruck/yf-api-python | 3bbf6b28a28883b34611f18085e6277491347d87 | [
"MIT"
] | null | null | null | yf_api/__init__.py | bherbruck/yf-api-python | 3bbf6b28a28883b34611f18085e6277491347d87 | [
"MIT"
] | null | null | null | yf_api/__init__.py | bherbruck/yf-api-python | 3bbf6b28a28883b34611f18085e6277491347d87 | [
"MIT"
] | null | null | null | from .main import get_quotes
from .models import Interval, TimeRange
| 23 | 39 | 0.826087 | 10 | 69 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 2 | 40 | 34.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b0b50a7d5acaba063e59b6855a227b883d2aac46 | 255 | py | Python | pngToNumpy.py | zhongweidee/PNG-to-Python | 4b249ec5889ecf15a2d92ecfc9123f02e6381826 | [
"Apache-2.0"
] | null | null | null | pngToNumpy.py | zhongweidee/PNG-to-Python | 4b249ec5889ecf15a2d92ecfc9123f02e6381826 | [
"Apache-2.0"
] | null | null | null | pngToNumpy.py | zhongweidee/PNG-to-Python | 4b249ec5889ecf15a2d92ecfc9123f02e6381826 | [
"Apache-2.0"
] | null | null | null | from PIL import Image
import numpy as np
#im_frame = Image.open(r'test-images\0\test1.png')
im_frame = Image.open(r'test-images\1\test3.png')
#im_frame = Image.open(r'training-images\0\im9963.png')
np_frame = np.array(im_frame.getdata())
print(np_frame)
| 28.333333 | 55 | 0.752941 | 48 | 255 | 3.875 | 0.479167 | 0.150538 | 0.193548 | 0.258065 | 0.413978 | 0.413978 | 0.290323 | 0 | 0 | 0 | 0 | 0.038627 | 0.086275 | 255 | 8 | 56 | 31.875 | 0.759657 | 0.403922 | 0 | 0 | 0 | 0 | 0.153333 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b0f80c6feeccf2cdcc4c75693b4980a91089d3f4 | 196 | py | Python | primitives_ubc/pca/__init__.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | null | null | null | primitives_ubc/pca/__init__.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | 4 | 2020-07-19T00:45:29.000Z | 2020-12-10T18:25:41.000Z | primitives_ubc/pca/__init__.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | 1 | 2021-04-30T18:13:49.000Z | 2021-04-30T18:13:49.000Z | from .pca import PrincipalComponentAnalysisPrimitive
__all__ = ['PrincipalComponentAnalysisPrimitive']
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__) # type: ignore
| 28 | 58 | 0.831633 | 18 | 196 | 8.055556 | 0.611111 | 0.137931 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 196 | 6 | 59 | 32.666667 | 0.828571 | 0.061224 | 0 | 0 | 0 | 0 | 0.192308 | 0.192308 | 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 |
b0f94ba2ac4f93d1cfbb4715b9ed182f9438968b | 137 | py | Python | ACM-Solution/CCONSTANT.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/CCONSTANT.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | ACM-Solution/CCONSTANT.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | try:
while 1:
x=input()
try:
if(x[1]=='x'):print(int(x,16))
elif(x[0]=='0'):print(int(x,8))
else: print(x)
except:0
| 13.7 | 34 | 0.49635 | 27 | 137 | 2.518519 | 0.518519 | 0.058824 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.226277 | 137 | 9 | 35 | 15.222222 | 0.566038 | 0 | 0 | 0.25 | 0 | 0 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b00933062ea03c0734df7b95c795aa1506c72eab | 47 | py | Python | zetanize/__init__.py | fakegit/zetanize | b72d37ea08038cc6347d2d4395c93e51c9323e08 | [
"MIT"
] | 78 | 2018-10-27T08:52:13.000Z | 2021-11-22T06:58:42.000Z | zetanize/__init__.py | imbi7py/zetanize | b72d37ea08038cc6347d2d4395c93e51c9323e08 | [
"MIT"
] | null | null | null | zetanize/__init__.py | imbi7py/zetanize | b72d37ea08038cc6347d2d4395c93e51c9323e08 | [
"MIT"
] | 17 | 2018-10-29T07:28:22.000Z | 2021-08-05T20:40:16.000Z | from zetanize import zetanize
name = "zetanize" | 23.5 | 29 | 0.808511 | 6 | 47 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 30 | 23.5 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
b0282b74da3ae2b7258dc5a1888e173c68fba018 | 242 | py | Python | graviti/dataframe/sql/__init__.py | Lee-000/graviti-python-sdk | 46b19a4a74949a957da3e72261b1403bbeeac01a | [
"MIT"
] | 12 | 2022-01-26T06:51:02.000Z | 2022-03-22T21:28:35.000Z | graviti/dataframe/sql/__init__.py | Lee-000/graviti-python-sdk | 46b19a4a74949a957da3e72261b1403bbeeac01a | [
"MIT"
] | 51 | 2022-02-22T07:19:34.000Z | 2022-03-31T11:39:51.000Z | graviti/dataframe/sql/__init__.py | Lee-000/graviti-python-sdk | 46b19a4a74949a957da3e72261b1403bbeeac01a | [
"MIT"
] | 5 | 2022-01-26T06:51:49.000Z | 2022-03-08T03:41:11.000Z | #!/usr/bin/env python3
#
# Copyright 2022 Graviti. Licensed under MIT License.
#
"""search module."""
from graviti.dataframe.sql.array import DataFrame
from graviti.dataframe.sql.scalar import RowSeries
__all__ = ["RowSeries", "DataFrame"]
| 22 | 53 | 0.756198 | 30 | 242 | 5.966667 | 0.7 | 0.122905 | 0.223464 | 0.256983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0.115702 | 242 | 10 | 54 | 24.2 | 0.813084 | 0.363636 | 0 | 0 | 0 | 0 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
b02a3e3f5a68ded86750db338c3f806879cf61d0 | 185 | py | Python | bci_framework/framework/editor/__init__.py | UN-GCPDS/bci-framework | 2bf8e2912a51d909604d680c96cac159b26e566f | [
"BSD-2-Clause"
] | 2 | 2020-05-28T14:01:47.000Z | 2022-01-14T15:40:34.000Z | bci_framework/framework/editor/__init__.py | UN-GCPDS/bci-framework | 2bf8e2912a51d909604d680c96cac159b26e566f | [
"BSD-2-Clause"
] | null | null | null | bci_framework/framework/editor/__init__.py | UN-GCPDS/bci-framework | 2bf8e2912a51d909604d680c96cac159b26e566f | [
"BSD-2-Clause"
] | null | null | null | """
======
Editor
======
BCI-Framework includes a custom QTextEdit with syntax highlighting and
autocomplete.
"""
from .editor import BCIEditor
# from .completer import Autocompleter
| 15.416667 | 70 | 0.735135 | 20 | 185 | 6.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140541 | 185 | 11 | 71 | 16.818182 | 0.855346 | 0.778378 | 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 | 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 |
b02a736cd128962a57c41aaec4d2c45e26ae3db5 | 234 | py | Python | python/methods/sum_columns.py | treilly94/spark-library | 68093b4cc3ce124960a5fb87adcf6933be82c453 | [
"MIT"
] | 1 | 2018-08-22T13:15:21.000Z | 2018-08-22T13:15:21.000Z | python/methods/sum_columns.py | treilly94/spark-library | 68093b4cc3ce124960a5fb87adcf6933be82c453 | [
"MIT"
] | 5 | 2018-08-03T11:37:43.000Z | 2018-08-14T08:26:00.000Z | python/methods/sum_columns.py | treilly94/spark-library | 68093b4cc3ce124960a5fb87adcf6933be82c453 | [
"MIT"
] | 2 | 2018-08-23T09:39:01.000Z | 2018-09-06T13:59:42.000Z | from pyspark.sql import DataFrame
def sum_columns(df, col1, col2, new_col):
# Get the Scala API
api = df._sc._jvm.com.example.api.SumColumnsAPI
return DataFrame(api.sumColumns(df._jdf, col1, col2, new_col), df.sql_ctx)
| 26 | 78 | 0.726496 | 38 | 234 | 4.289474 | 0.684211 | 0.09816 | 0.134969 | 0.171779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.162393 | 234 | 8 | 79 | 29.25 | 0.811224 | 0.07265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b063c919f18f83b570a0120847a533108e3ba4b9 | 31 | py | Python | homeassistant/components/aftership/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/aftership/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/aftership/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The aftership component."""
| 15.5 | 30 | 0.677419 | 3 | 31 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0.774194 | 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 |
c65e0c8a1dd55f503a62552a62ba4093bf43e4a5 | 226 | py | Python | optims/__init__.py | SachinKumar105/Implicit-Competitive-Regularization | e33be3f86b5e7c434482feeb027a7d8aaf922052 | [
"Apache-2.0"
] | 107 | 2019-10-15T15:55:20.000Z | 2021-12-27T02:02:50.000Z | optims/__init__.py | SachinKumar105/Implicit-Competitive-Regularization | e33be3f86b5e7c434482feeb027a7d8aaf922052 | [
"Apache-2.0"
] | 11 | 2019-10-16T09:41:23.000Z | 2020-12-16T08:44:38.000Z | optims/__init__.py | SachinKumar105/Implicit-Competitive-Regularization | e33be3f86b5e7c434482feeb027a7d8aaf922052 | [
"Apache-2.0"
] | 26 | 2019-10-15T03:38:41.000Z | 2021-03-25T11:52:08.000Z | from .cgd import BCGD, BCGD2
from .icr import ICR
from .adam import Adam, RAdam
from .acgd import ACGD
from .ocgd import OCGD
# from .testOptim import testBCGD
from .lcgd import LCGD
from .scgd import SCGD
from .scg import SCG | 25.111111 | 33 | 0.778761 | 38 | 226 | 4.631579 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.168142 | 226 | 9 | 34 | 25.111111 | 0.930851 | 0.137168 | 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 |
c66bc3612034523b2420828cd040392f08686ca9 | 218 | py | Python | _package/xms/extractor/__init__.py | Aquaveo/xmsextractor | 7b8ebc5e444bbdd3d8c44a2d5f849fa0430ad97e | [
"BSD-2-Clause"
] | null | null | null | _package/xms/extractor/__init__.py | Aquaveo/xmsextractor | 7b8ebc5e444bbdd3d8c44a2d5f849fa0430ad97e | [
"BSD-2-Clause"
] | 4 | 2018-09-19T20:10:43.000Z | 2019-11-01T22:09:37.000Z | _package/xms/extractor/__init__.py | Aquaveo/xmsextractor | 7b8ebc5e444bbdd3d8c44a2d5f849fa0430ad97e | [
"BSD-2-Clause"
] | null | null | null | """Initialize the module."""
from .ugrid_2d_data_extractor import UGrid2dDataExtractor # NOQA: F401
from .ugrid_2d_polyline_data_extractor import UGrid2dPolylineDataExtractor # NOQA: F401
__version__ = '5.0.1'
| 36.333333 | 89 | 0.788991 | 26 | 218 | 6.192308 | 0.692308 | 0.111801 | 0.136646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068421 | 0.12844 | 218 | 5 | 90 | 43.6 | 0.778947 | 0.206422 | 0 | 0 | 0 | 0 | 0.031056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c67b7c04aa91906545ca87e15443083bc74e450b | 1,120 | py | Python | solutions/crosalot/01.py | crosalot/openteam | 6b761d8472d9ba5fb8be769376365c9ddd6bbc78 | [
"MIT"
] | null | null | null | solutions/crosalot/01.py | crosalot/openteam | 6b761d8472d9ba5fb8be769376365c9ddd6bbc78 | [
"MIT"
] | null | null | null | solutions/crosalot/01.py | crosalot/openteam | 6b761d8472d9ba5fb8be769376365c9ddd6bbc78 | [
"MIT"
] | null | null | null | import unittest
def fizz_buzz(value):
output = ""
if value % 3 == 0:
output += "Fizz"
if value % 5 == 0:
output += "Buzz"
return output or value
class Test(unittest.TestCase):
def test1(self):
def i(index):
return index - 1
output = [fizz_buzz(value)... | 28 | 62 | 0.572321 | 147 | 1,120 | 4.292517 | 0.285714 | 0.380349 | 0.532488 | 0.557845 | 0.247227 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055288 | 0.257143 | 1,120 | 39 | 63 | 28.717949 | 0.703125 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0.516129 | 1 | 0.096774 | false | 0 | 0.032258 | 0.032258 | 0.225806 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c686391e607b4c0e6603b3816c8219fd246c2a90 | 97 | py | Python | app/app/calc.py | udi9596/recipe-app-api | c4f43d76d4b1b318a5c559553d177cdc82dbc8c0 | [
"MIT"
] | null | null | null | app/app/calc.py | udi9596/recipe-app-api | c4f43d76d4b1b318a5c559553d177cdc82dbc8c0 | [
"MIT"
] | null | null | null | app/app/calc.py | udi9596/recipe-app-api | c4f43d76d4b1b318a5c559553d177cdc82dbc8c0 | [
"MIT"
] | null | null | null | def add(x, y):
""" Add two number """
return x+y
def subtract(x,y):
return abs(x-y)
| 13.857143 | 26 | 0.536082 | 18 | 97 | 2.888889 | 0.5 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278351 | 97 | 6 | 27 | 16.166667 | 0.742857 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
c6b16b2d55612cad15607d7323d0bd66038bf60f | 692 | py | Python | tools/pythonhelper/build/exe.linux_x86_64-3.6/projecthandler/additiondisplay.py | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | 4 | 2018-02-05T03:40:10.000Z | 2021-06-18T16:22:13.000Z | tools/pythonhelper/build/exe.linux_x86_64-3.6/projecthandler/additiondisplay.py | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | null | null | null | tools/pythonhelper/build/exe.linux_x86_64-3.6/projecthandler/additiondisplay.py | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | null | null | null | from os import path
from json import load
class AdditionDisplay:
_projectlocation = None;
_additionsfile = None;
_existingadditions = None;
_currentAdditionsLabel = None;
#_current
def __init__(self, projectlocation):
self._projectlocation = projectlocation;
... | 26.615385 | 77 | 0.556358 | 51 | 692 | 7.254902 | 0.45098 | 0.256757 | 0.227027 | 0.259459 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352601 | 692 | 25 | 78 | 27.68 | 0.825893 | 0 | 0 | 0 | 0 | 0 | 0.074581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c6c35dc1701336231827c4ccc2eb7be6238c2d18 | 727 | py | Python | src/mongo_lib.py | GoyalYatin/Python-Robot-Libraries | f1c96b0252370702c048abc095d7722bbfbb85a1 | [
"MIT"
] | 1 | 2019-02-23T22:08:32.000Z | 2019-02-23T22:08:32.000Z | src/mongo_lib.py | GoyalYatin/Python-Robot-Libraries | f1c96b0252370702c048abc095d7722bbfbb85a1 | [
"MIT"
] | null | null | null | src/mongo_lib.py | GoyalYatin/Python-Robot-Libraries | f1c96b0252370702c048abc095d7722bbfbb85a1 | [
"MIT"
] | null | null | null | from pymongo import MongoClient
import config as cons
def fetch_record_by_column(collection_name, column_name, column_value):
"""
Get record from DB for given column_name and value
"""
db = init_db()
collection = db[collection_name]
document = list(collection.find({column_name: column_value}))... | 20.771429 | 74 | 0.689133 | 91 | 727 | 5.285714 | 0.472527 | 0.087318 | 0.066528 | 0.087318 | 0.070686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217332 | 727 | 34 | 75 | 21.382353 | 0.845343 | 0.177442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.285714 | false | 0.071429 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c6ca5491170fe1f35a0f2f7fcc423824c03f72c4 | 206 | py | Python | causal_rl/gnn.py | vluzko/causal_rl | 92ee221bdf1932fa83955441baabb5e28b78ab9d | [
"MIT"
] | 2 | 2021-04-02T12:06:13.000Z | 2022-02-09T06:57:26.000Z | causal_rl/gnn.py | vluzko/causal_rl | 92ee221bdf1932fa83955441baabb5e28b78ab9d | [
"MIT"
] | 11 | 2020-12-28T14:51:31.000Z | 2021-03-29T19:53:24.000Z | causal_rl/gnn.py | vluzko/causal_rl | 92ee221bdf1932fa83955441baabb5e28b78ab9d | [
"MIT"
] | null | null | null | import torch
from torch import nn, functional as F
class GNN(nn.Module):
def forward(self, state: torch.Tensor, edges: torch.Tensor) -> torch.Tensor:
import pdb
pdb.set_trace()
| 12.875 | 80 | 0.65534 | 29 | 206 | 4.62069 | 0.655172 | 0.246269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247573 | 206 | 15 | 81 | 13.733333 | 0.864516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c6d01193160159ae39dc49189f3a342db4870ce1 | 63 | py | Python | pylearn2/sandbox/nlp/datasets/__init__.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 2,045 | 2015-01-01T14:07:52.000Z | 2022-03-08T08:56:41.000Z | pylearn2/sandbox/nlp/datasets/__init__.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 305 | 2015-01-02T13:18:24.000Z | 2021-08-20T18:03:28.000Z | pylearn2/sandbox/nlp/datasets/__init__.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 976 | 2015-01-01T17:08:51.000Z | 2022-03-25T19:53:17.000Z | """
Sandbox datasets for natural language processing (NLP)
"""
| 15.75 | 54 | 0.730159 | 7 | 63 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 55 | 21 | 0.851852 | 0.857143 | 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 |
c6dcc3b23b2ca4a52ff7fb43d914a30fb01c0d54 | 200 | py | Python | karez/connector/extras/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | karez/connector/extras/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | karez/connector/extras/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | from . import opcua, eaton_telemetry, virtgen_telemetry
PLUGINS = dict(
opcua=opcua.Connector,
eaton_telemetry=eaton_telemetry.Connector,
virtgen_telemetry=virtgen_telemetry.Connector,
)
| 25 | 55 | 0.795 | 22 | 200 | 6.954545 | 0.409091 | 0.27451 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 7 | 56 | 28.571429 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
c6f0199cbf6b85d1269fb19fcd2c6220f6f3fc64 | 93 | py | Python | config/__init__.py | zyxwvu321/Classifer_SSL_Longtail | e6c09414c49e695b0f4221a3c6245ae3929a1788 | [
"MIT"
] | null | null | null | config/__init__.py | zyxwvu321/Classifer_SSL_Longtail | e6c09414c49e695b0f4221a3c6245ae3929a1788 | [
"MIT"
] | null | null | null | config/__init__.py | zyxwvu321/Classifer_SSL_Longtail | e6c09414c49e695b0f4221a3c6245ae3929a1788 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
default config for SkinClassifier
"""
from .defaults import _C as cfg
| 13.285714 | 33 | 0.72043 | 13 | 93 | 5.076923 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.172043 | 93 | 6 | 34 | 15.5 | 0.844156 | 0.537634 | 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 |
c6fcf46f5afc8e8cf9f4db01530abd42d6362857 | 1,558 | py | Python | tests/test_shadow_root.py | alialdakheel/splinter | b4c48dc0af9ef98d7d9268f42f4d31a51e65fd68 | [
"BSD-3-Clause"
] | null | null | null | tests/test_shadow_root.py | alialdakheel/splinter | b4c48dc0af9ef98d7d9268f42f4d31a51e65fd68 | [
"BSD-3-Clause"
] | null | null | null | tests/test_shadow_root.py | alialdakheel/splinter | b4c48dc0af9ef98d7d9268f42f4d31a51e65fd68 | [
"BSD-3-Clause"
] | null | null | null | from .fake_webapp import EXAMPLE_APP
import pytest
from splinter.driver.webdriver import ShadowRootElement
supported_browsers = ['chrome', 'chrome_fullscreen']
@pytest.mark.parametrize('browser_name', supported_browsers)
def test_shadow_root(browser_name, get_new_browser):
"""The shadow_root property will ret... | 33.869565 | 73 | 0.789474 | 208 | 1,558 | 5.5 | 0.221154 | 0.174825 | 0.068182 | 0.076923 | 0.754371 | 0.733392 | 0.733392 | 0.733392 | 0.663462 | 0.663462 | 0 | 0 | 0.121951 | 1,558 | 45 | 74 | 34.622222 | 0.836257 | 0.105905 | 0 | 0.62963 | 0 | 0 | 0.136529 | 0.017429 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 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 |
05bef326ff3fcad4c16a161510f9b775f8c1587a | 93 | py | Python | Python/8kyu/0002squaringAnArgument/sa.py | AndrewMichaelPierce/Codewars | 6e2fa0870753428f5d957331bad07c64f8869281 | [
"MIT"
] | null | null | null | Python/8kyu/0002squaringAnArgument/sa.py | AndrewMichaelPierce/Codewars | 6e2fa0870753428f5d957331bad07c64f8869281 | [
"MIT"
] | null | null | null | Python/8kyu/0002squaringAnArgument/sa.py | AndrewMichaelPierce/Codewars | 6e2fa0870753428f5d957331bad07c64f8869281 | [
"MIT"
] | null | null | null |
def main():
def square(n):
return n * n
if __name__ == '__main__':
main()
| 10.333333 | 26 | 0.505376 | 12 | 93 | 3.25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344086 | 93 | 8 | 27 | 11.625 | 0.639344 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
05d0e8342183388c33118f7454777ea10ee1f079 | 563 | py | Python | day1/test_fuel_req.py | capsulecorplab/adventofcode2019 | a1a27f37dde23662bdca6950680d159a42035c36 | [
"MIT"
] | null | null | null | day1/test_fuel_req.py | capsulecorplab/adventofcode2019 | a1a27f37dde23662bdca6950680d159a42035c36 | [
"MIT"
] | null | null | null | day1/test_fuel_req.py | capsulecorplab/adventofcode2019 | a1a27f37dde23662bdca6950680d159a42035c36 | [
"MIT"
] | null | null | null | ################################################################################
# Filename:
# test_fuel.py
#
# Prerequisites:
# * Python3
#
# Requirements:
# * pytest
#
# CLI usage:
# $ cd day1/
# $ pytest -v test_fuel.py
################################################################################
import pytest
f... | 16.558824 | 80 | 0.470693 | 61 | 563 | 4.081967 | 0.491803 | 0.192771 | 0.176707 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062893 | 0.152753 | 563 | 33 | 81 | 17.060606 | 0.45912 | 0.207815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
05fea2a59d108a00b7d2f33deaac9c8b3084f919 | 26 | py | Python | tests/__init__.py | JPM-git/netdisco | f48ab179086d7ec5b1e39b4752b9d9f759010ab9 | [
"Apache-2.0"
] | 234 | 2016-04-18T23:47:08.000Z | 2021-04-15T09:18:11.000Z | tests/__init__.py | JPM-git/netdisco | f48ab179086d7ec5b1e39b4752b9d9f759010ab9 | [
"Apache-2.0"
] | 175 | 2016-04-13T11:25:29.000Z | 2019-05-27T03:20:00.000Z | tests/__init__.py | JPM-git/netdisco | f48ab179086d7ec5b1e39b4752b9d9f759010ab9 | [
"Apache-2.0"
] | 185 | 2016-04-13T11:32:11.000Z | 2021-03-31T14:26:39.000Z | """Tests for NetDisco."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 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 |
af14f32a9c395e1e79a3d19ad352126f585ede48 | 284 | py | Python | code/layers/__init__.py | rgflowopen/rg-flow | f1ebb56e3e51bb26ecc2f10fe61eb34cae18398b | [
"MIT"
] | 1 | 2020-10-05T21:33:45.000Z | 2020-10-05T21:33:45.000Z | code/layers/__init__.py | SpencerRaw/RG-Flow | bcb321c43ed539c80faf70b301f7db890aaa006f | [
"MIT"
] | 1 | 2021-11-20T13:20:30.000Z | 2021-11-20T13:20:30.000Z | code/layers/__init__.py | rgflowopen/rg-flow | f1ebb56e3e51bb26ecc2f10fe61eb34cae18398b | [
"MIT"
] | null | null | null | from .arflow import ARFlow, ARFlowReshape
from .flow import Flow
from .hierarchy import HierarchyBijector
from .masked_resnet import MaskedResNet
from .mera import MERA
from .resnet import ResNet, ResNetReshape
from .rnvp import RNVP
from .scale import Scale
from .swish import Swish
| 28.4 | 41 | 0.827465 | 39 | 284 | 6 | 0.384615 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 284 | 9 | 42 | 31.555556 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
af1979f88ad2be8048f3f30d4b4f66528a49dbe6 | 309 | py | Python | iotbx/command_line/unique_with_biomt.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | iotbx/command_line/unique_with_biomt.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | iotbx/command_line/unique_with_biomt.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
# LIBTBX_SET_DISPATCHER_NAME iotbx.unique_with_biomt
# LIBTBX_SET_DISPATCHER_NAME phenix.unique_with_biomt
from iotbx.programs import unique_with_biomt
from iotbx.cli_parser import run_program
result = run_program(unique_with_biomt.Program)
| 30.9 | 64 | 0.877023 | 45 | 309 | 5.511111 | 0.488889 | 0.16129 | 0.241935 | 0.185484 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084142 | 309 | 9 | 65 | 34.333333 | 0.876325 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
af214d4612adab73ac0b068f33fdd8adcb19cd6b | 148 | py | Python | formatter.py | uniaim-event-team/pullre-kun | 60ee86c399d34254c82974a5debcdcb7d332f2a1 | [
"MIT"
] | 3 | 2020-03-24T08:06:37.000Z | 2020-03-29T08:53:55.000Z | formatter.py | uniaim-event-team/pullre-kun | 60ee86c399d34254c82974a5debcdcb7d332f2a1 | [
"MIT"
] | 7 | 2020-03-23T12:36:01.000Z | 2020-04-11T08:14:06.000Z | formatter.py | uniaim-event-team/pullre-kun | 60ee86c399d34254c82974a5debcdcb7d332f2a1 | [
"MIT"
] | null | null | null | def safe_strftime(d, format_str='%Y-%m-%d %H:%M:%S') -> str:
try:
return d.strftime(format_str)
except Exception:
return ''
| 24.666667 | 60 | 0.574324 | 22 | 148 | 3.727273 | 0.636364 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 148 | 5 | 61 | 29.6 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 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 |
af3578fe3958d5cc91396ec37d14bde0a641a553 | 524 | py | Python | xsconnect/peripheralboards/StickIt_MPU_9150_V1.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | null | null | null | xsconnect/peripheralboards/StickIt_MPU_9150_V1.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | 1 | 2017-01-26T12:09:44.000Z | 2021-03-07T14:13:14.000Z | xsconnect/peripheralboards/StickIt_MPU_9150_V1.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | 1 | 2021-08-16T07:31:24.000Z | 2021-08-16T07:31:24.000Z | brd = {
'name': ('StickIt! MPU-9150 V1'),
'port': {
'pmod': {
'default' : {
'scl': 'd1',
'clkin': 'd2',
'sda': 'd3',
'int': 'd5',
'fsync': 'd7'
}
},
'wing': {
... | 21.833333 | 38 | 0.204198 | 31 | 524 | 3.451613 | 0.677419 | 0.186916 | 0.186916 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.610687 | 524 | 23 | 39 | 22.782609 | 0.45098 | 0 | 0 | 0.26087 | 0 | 0 | 0.215569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
af3ec5c44937576007eedbd9017e748c784c67f8 | 91 | py | Python | yakumans/apps.py | riichi/kcc3 | 7762cd273b1f1d78caafd2a85ed169c4a9403293 | [
"MIT"
] | 2 | 2019-09-22T00:11:54.000Z | 2019-09-22T10:55:31.000Z | yakumans/apps.py | m4tx/kcc3 | 2cc9674d13483ee59fe7cb83e8b9c9e8b213ba47 | [
"MIT"
] | 5 | 2021-04-08T20:11:53.000Z | 2022-01-19T12:02:31.000Z | yakumans/apps.py | riichi/kcc3 | 7762cd273b1f1d78caafd2a85ed169c4a9403293 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class YakumansConfig(AppConfig):
name = 'yakumans'
| 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 |
af7bc0bf76a659c3da82c0e8a293c948be0fdf61 | 72 | py | Python | Codewars/8kyu/makeuppercase/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/makeuppercase/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/makeuppercase/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.assert_equals(make_upper_case('hello'), 'HELLO')
| 18 | 53 | 0.708333 | 12 | 72 | 4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.097222 | 72 | 3 | 54 | 24 | 0.692308 | 0.194444 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
afaac089ed00ee7b6d723a74b330ceff85ed082e | 211 | py | Python | code_samples/GPUs/check_tensorflow_installation.py | modi975/tensorflow-workshop | 55679d7e8819da6a974768ce2fdba358b71726b2 | [
"Apache-2.0"
] | 1 | 2022-03-07T03:38:53.000Z | 2022-03-07T03:38:53.000Z | code_samples/GPUs/check_tensorflow_installation.py | modi975/tensorflow-workshop | 55679d7e8819da6a974768ce2fdba358b71726b2 | [
"Apache-2.0"
] | null | null | null | code_samples/GPUs/check_tensorflow_installation.py | modi975/tensorflow-workshop | 55679d7e8819da6a974768ce2fdba358b71726b2 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
if tf.test.is_built_with_cuda():
print("The installed version of TensorFlow includes GPU support.")
else:
print("The installed version of TensorFlow does not include GPU support.")
| 26.375 | 76 | 0.777251 | 32 | 211 | 5.03125 | 0.6875 | 0.099379 | 0.21118 | 0.298137 | 0.447205 | 0.447205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146919 | 211 | 7 | 77 | 30.142857 | 0.894444 | 0 | 0 | 0 | 0 | 0 | 0.580952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb78dbd18178445115c3509d3c6aeb40ed906933 | 14,137 | py | Python | lzhh_server/agent/background.py | qianqians/abelkhan_demo_mj | d1f15fd2d3fdb1d08b1c9b73b36a20590716dd91 | [
"MIT"
] | 12 | 2017-12-15T06:50:16.000Z | 2020-02-02T12:22:09.000Z | lzhh_server/agent/background.py | qianqians/abelkhan_demo_mj | d1f15fd2d3fdb1d08b1c9b73b36a20590716dd91 | [
"MIT"
] | null | null | null | lzhh_server/agent/background.py | qianqians/abelkhan_demo_mj | d1f15fd2d3fdb1d08b1c9b73b36a20590716dd91 | [
"MIT"
] | 4 | 2018-01-16T01:26:22.000Z | 2019-04-30T13:42:38.000Z | # -*- coding: UTF-8 -*-
# search
# create at 2016/3/1
# autor: qianqians
from flask import *
from websearchapp import *
import traceback
import pymongo
import globalv
import time
collection_agent = None
collection_objects = None
llid = []
llid.append(1)
def create_sessionid(ip):
#获取unix时间戳
id = str(int(time.t... | 34.230024 | 206 | 0.580746 | 1,787 | 14,137 | 4.359261 | 0.086738 | 0.074968 | 0.035045 | 0.054557 | 0.764185 | 0.73697 | 0.713607 | 0.686393 | 0.65751 | 0.600385 | 0 | 0.019591 | 0.26703 | 14,137 | 412 | 207 | 34.313107 | 0.732195 | 0.007922 | 0 | 0.632588 | 0 | 0 | 0.166595 | 0.019906 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047923 | null | null | 0.067093 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb7e554b7a2aeee13dfbf600af3e0c1923afaeb9 | 164 | py | Python | tests/snippets/builtin_format.py | EdwardSam4/RustPython | 7ec6a7ffd1afbfe71322cbace161483b6877d4a5 | [
"MIT"
] | null | null | null | tests/snippets/builtin_format.py | EdwardSam4/RustPython | 7ec6a7ffd1afbfe71322cbace161483b6877d4a5 | [
"MIT"
] | null | null | null | tests/snippets/builtin_format.py | EdwardSam4/RustPython | 7ec6a7ffd1afbfe71322cbace161483b6877d4a5 | [
"MIT"
] | 1 | 2020-12-04T23:52:08.000Z | 2020-12-04T23:52:08.000Z | assert format(5, "b") == "101"
try:
format(2, 3)
except TypeError:
pass
else:
assert False, "TypeError not raised when format is called with a number"
| 18.222222 | 76 | 0.664634 | 25 | 164 | 4.36 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0.22561 | 164 | 8 | 77 | 20.5 | 0.811024 | 0 | 0 | 0 | 0 | 0 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | true | 0.142857 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bba4e35da6cb87366ef5a0186ade4f45af4b1e70 | 142 | py | Python | pyartcd/prepare_release.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 45 | 2017-05-09T15:49:06.000Z | 2021-11-07T19:48:35.000Z | pyartcd/prepare_release.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 1,313 | 2017-01-19T13:40:43.000Z | 2022-03-30T14:25:44.000Z | pyartcd/prepare_release.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 165 | 2017-01-17T22:19:04.000Z | 2022-03-02T12:15:13.000Z | #!/usr/bin/env python
import sys
from pyartcd.pipelines.prepare_release import main
if __name__ == "__main__":
exit(main(sys.argv[1:]))
| 17.75 | 50 | 0.725352 | 21 | 142 | 4.47619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.133803 | 142 | 7 | 51 | 20.285714 | 0.756098 | 0.140845 | 0 | 0 | 0 | 0 | 0.066116 | 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 |
bbb6f7441dc6c67c1b688ff046c1a24d6cb4ac40 | 328 | py | Python | stemfest_api/services/models.py | kburk1997/stemfest-api | 7edb47aad08e12bfb1e1231e59c2d4bd9b5a8465 | [
"MIT"
] | null | null | null | stemfest_api/services/models.py | kburk1997/stemfest-api | 7edb47aad08e12bfb1e1231e59c2d4bd9b5a8465 | [
"MIT"
] | null | null | null | stemfest_api/services/models.py | kburk1997/stemfest-api | 7edb47aad08e12bfb1e1231e59c2d4bd9b5a8465 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Activity(models.Model):
name=models.CharField(max_length=30)
presenter=models.CharField(max_length=100)
grades=models.CharField(max_length=10)
description=models.TextField()
def __str__(self):
return s... | 25.230769 | 44 | 0.789634 | 45 | 328 | 5.488889 | 0.644444 | 0.182186 | 0.218623 | 0.291498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024221 | 0.118902 | 328 | 13 | 45 | 25.230769 | 0.83045 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0.111111 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
a53fb36e03865c0dc12c6bdfcf688dcdc0d9e495 | 147 | py | Python | setup.py | valentinschabschneider/kaminuhren-owncloud-to-excel | a5c2c6af9bc5757d080ecdeccb3dbe72f982e966 | [
"MIT"
] | null | null | null | setup.py | valentinschabschneider/kaminuhren-owncloud-to-excel | a5c2c6af9bc5757d080ecdeccb3dbe72f982e966 | [
"MIT"
] | null | null | null | setup.py | valentinschabschneider/kaminuhren-owncloud-to-excel | a5c2c6af9bc5757d080ecdeccb3dbe72f982e966 | [
"MIT"
] | null | null | null | from distutils.core import setup
import py2exe
setup(
console=["main.py"],
options={"py2exe": {"bundle_files": 1, "compressed": True}},
)
| 18.375 | 64 | 0.666667 | 18 | 147 | 5.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.156463 | 147 | 7 | 65 | 21 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a546b4d6207e6b0566f9a61bf1ae9cb3690ad032 | 639 | py | Python | app/sitemap.py | adamzerella/blog.adamzerella | 3ae0543731579b2838d467fcda5a7421d84e7d23 | [
"MIT"
] | null | null | null | app/sitemap.py | adamzerella/blog.adamzerella | 3ae0543731579b2838d467fcda5a7421d84e7d23 | [
"MIT"
] | 13 | 2018-04-11T09:46:22.000Z | 2018-04-25T05:31:39.000Z | app/sitemap.py | adamzerella/blog.adamzerella | 3ae0543731579b2838d467fcda5a7421d84e7d23 | [
"MIT"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from .models import Blog
class BlogSitemap(Sitemap):
changefreq = "weekly"
priority = 0.5
def items(self):
return Blog.objects.filter(status=1)
def lastmod(self, obj):
return obj.modified_date
def location(self, item):
return "/... | 20.612903 | 44 | 0.547731 | 67 | 639 | 5.208955 | 0.537313 | 0.097421 | 0.131805 | 0.17765 | 0.43553 | 0.292264 | 0.292264 | 0.292264 | 0.292264 | 0.292264 | 0 | 0.011655 | 0.328639 | 639 | 30 | 45 | 21.3 | 0.801865 | 0.029734 | 0 | 0.347826 | 0 | 0 | 0.063005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.217391 | 0.782609 | 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 |
a554c793e554cdbdc30418377c757eb8b780e402 | 95 | py | Python | Problem Set 6/pset6/hello/hello.py | RAPTOR-XR/CS50-All-Problem-Sets | 04559ee77192a57c7003780c00b28eec24563a5c | [
"MIT"
] | null | null | null | Problem Set 6/pset6/hello/hello.py | RAPTOR-XR/CS50-All-Problem-Sets | 04559ee77192a57c7003780c00b28eec24563a5c | [
"MIT"
] | null | null | null | Problem Set 6/pset6/hello/hello.py | RAPTOR-XR/CS50-All-Problem-Sets | 04559ee77192a57c7003780c00b28eec24563a5c | [
"MIT"
] | null | null | null | from cs50 import get_string
hello = get_string("What is your name? ")
print("hello, " + hello) | 23.75 | 41 | 0.715789 | 15 | 95 | 4.4 | 0.733333 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.157895 | 95 | 4 | 42 | 23.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a56b9f3a739790d25661a5301cc18f73fba0fb27 | 164 | py | Python | udemy/duce/__init__.py | imvijayps/UdemyBot | d9366c47010ee918c3e47b65a334a45b0ce60f21 | [
"MIT"
] | 119 | 2021-07-29T15:16:01.000Z | 2022-03-16T01:39:17.000Z | udemy/duce/__init__.py | imvijayps/UdemyBot | d9366c47010ee918c3e47b65a334a45b0ce60f21 | [
"MIT"
] | 5 | 2021-09-07T08:48:44.000Z | 2022-02-01T04:05:19.000Z | udemy/duce/__init__.py | imvijayps/UdemyBot | d9366c47010ee918c3e47b65a334a45b0ce60f21 | [
"MIT"
] | 59 | 2021-07-29T15:55:16.000Z | 2022-03-15T20:23:06.000Z | # UdemyBot - A Simple Udemy Free Courses Scrapper
# Copyright (C) 2021-Present Gautam Kumar <https://github.com/gautamajay52>
from udemy.duce.duce import Scrapper | 32.8 | 75 | 0.780488 | 23 | 164 | 5.565217 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.128049 | 164 | 5 | 76 | 32.8 | 0.853147 | 0.737805 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.