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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e91920c745cb914ba73c8cc33e7aec3fae9b7a7e | 2,655 | py | Python | assignment1.py | grace1912-cmis/grace1912-cmis-cs2 | b38e59543de1c1d2571f098a699569dfc5fc38b8 | [
"CC0-1.0"
] | null | null | null | assignment1.py | grace1912-cmis/grace1912-cmis-cs2 | b38e59543de1c1d2571f098a699569dfc5fc38b8 | [
"CC0-1.0"
] | null | null | null | assignment1.py | grace1912-cmis/grace1912-cmis-cs2 | b38e59543de1c1d2571f098a699569dfc5fc38b8 | [
"CC0-1.0"
] | null | null | null | #Created a variable defining my name.
myName ="Inhye Kim"
print myName
#Created a variable defining my age.
ageInYears = 16.9
print ageInYears
#Created a variable defining my height in meters.
heightInMeters = 1.66
print heightInMeters
#Created a variable defining the length of a square.
lengthOfSquare = 8
print lengt... | 50.09434 | 399 | 0.767985 | 349 | 2,655 | 5.842407 | 0.297994 | 0.062776 | 0.125552 | 0.164787 | 0.289848 | 0.14615 | 0.117705 | 0.084355 | 0.049044 | 0 | 0 | 0.020806 | 0.149153 | 2,655 | 52 | 400 | 51.057692 | 0.881806 | 0.387947 | 0 | 0 | 0 | 0 | 0.209215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.484848 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e922f9f14c7ada1ab87f0bbfb768d37210b464fc | 1,361 | py | Python | provenance/workflows/data_models.py | apdavison/prov-api | 01655ec6bef4ebfd8587a5b491942670c8f6f616 | [
"Apache-2.0"
] | null | null | null | provenance/workflows/data_models.py | apdavison/prov-api | 01655ec6bef4ebfd8587a5b491942670c8f6f616 | [
"Apache-2.0"
] | null | null | null | provenance/workflows/data_models.py | apdavison/prov-api | 01655ec6bef4ebfd8587a5b491942670c8f6f616 | [
"Apache-2.0"
] | null | null | null | """
docstring goes here
"""
"""
Copyright 2021 CNRS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | 34.025 | 118 | 0.743571 | 185 | 1,361 | 5.437838 | 0.562162 | 0.059642 | 0.079523 | 0.031809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007306 | 0.195445 | 1,361 | 39 | 119 | 34.897436 | 0.911416 | 0.01396 | 0 | 0 | 0 | 0 | 0.236702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e93bc4938fb67ab0b1656cb8f146fc0798928ca1 | 1,717 | py | Python | gym/envs/doom/doom_basic.py | guilhermeprokisch/openAIGymTest | fe2c15ba30620ae59172ff2d089857fac7cc86d6 | [
"MIT"
] | 1 | 2018-08-12T06:02:11.000Z | 2018-08-12T06:02:11.000Z | gym/envs/doom/doom_basic.py | guilhermeprokisch/openAIGymTest | fe2c15ba30620ae59172ff2d089857fac7cc86d6 | [
"MIT"
] | null | null | null | gym/envs/doom/doom_basic.py | guilhermeprokisch/openAIGymTest | fe2c15ba30620ae59172ff2d089857fac7cc86d6 | [
"MIT"
] | 1 | 2018-08-23T01:14:19.000Z | 2018-08-23T01:14:19.000Z | import logging
from gym.envs.doom import doom_env
logger = logging.getLogger(__name__)
class DoomBasicEnv(doom_env.DoomEnv):
"""
------------ Training Mission 1 - Basic ------------
This map is rectangular with gray walls, ceiling and floor.
You are spawned in the center of the longer wall, and a red
... | 35.770833 | 91 | 0.549796 | 223 | 1,717 | 4.152466 | 0.560538 | 0.043197 | 0.045356 | 0.032397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038161 | 0.32848 | 1,717 | 47 | 92 | 36.531915 | 0.764961 | 0.803145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3a67fb1c762a9b4b550b773f0e4f7753f2de4ad4 | 161 | py | Python | tornadmin/__init__.py | bhch/tornadmin | 63793ebe2a084dd307ef3c8e62ccd8bda583c629 | [
"BSD-3-Clause"
] | null | null | null | tornadmin/__init__.py | bhch/tornadmin | 63793ebe2a084dd307ef3c8e62ccd8bda583c629 | [
"BSD-3-Clause"
] | 24 | 2021-09-27T11:20:44.000Z | 2022-01-09T18:19:34.000Z | tornadmin/__init__.py | bhch/tornadmin | 63793ebe2a084dd307ef3c8e62ccd8bda583c629 | [
"BSD-3-Clause"
] | null | null | null | from tornadmin.routes import AdminRouter
from tornadmin.sites import BaseAdminSite
__version__ = "1.0.dev"
__all__ = [
'AdminRouter', 'BaseAdminSite',
]
| 14.636364 | 41 | 0.745342 | 17 | 161 | 6.588235 | 0.705882 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.15528 | 161 | 10 | 42 | 16.1 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a751d44f622180cf101ab0e3bfe5146853bf32f | 230 | py | Python | po_pattern/Lib/site-packages/hamcrest/__init__.py | tomekwszelaki/page-object-pattern-python | eb0ff7a1329b88149d743f2bc4a827c984e72dc3 | [
"MIT"
] | 9,953 | 2019-04-03T23:41:04.000Z | 2022-03-31T11:54:44.000Z | stackoverflow/venv/lib/python3.6/site-packages/hamcrest/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 44 | 2019-05-27T10:59:29.000Z | 2022-03-31T14:14:29.000Z | stackoverflow/venv/lib/python3.6/site-packages/hamcrest/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 2,803 | 2019-04-06T13:15:33.000Z | 2022-03-31T07:42:01.000Z | from __future__ import absolute_import
from hamcrest.core import *
from hamcrest.library import *
__version__ = "1.9.0"
__author__ = "Chris Rose"
__copyright__ = "Copyright 2015 hamcrest.org"
__license__ = "BSD, see License.txt"
| 25.555556 | 45 | 0.778261 | 30 | 230 | 5.266667 | 0.7 | 0.126582 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035 | 0.130435 | 230 | 8 | 46 | 28.75 | 0.755 | 0 | 0 | 0 | 0 | 0 | 0.269565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a77d9df8e5c631fba7d38e92567e86cc3f91c5f | 183 | py | Python | corn/sdau/pc/corn/data/corn/images/rename_file.py | oyjxer/corn-classify | 89a7e9189460f13abdd3c670336cdd22d680013d | [
"MIT"
] | null | null | null | corn/sdau/pc/corn/data/corn/images/rename_file.py | oyjxer/corn-classify | 89a7e9189460f13abdd3c670336cdd22d680013d | [
"MIT"
] | null | null | null | corn/sdau/pc/corn/data/corn/images/rename_file.py | oyjxer/corn-classify | 89a7e9189460f13abdd3c670336cdd22d680013d | [
"MIT"
] | null | null | null | import os
dirs = ['class_one', 'class_two']
for dir in dirs:
i = -1;
for file in os.listdir(dir):
i = i + 1
os.rename(os.path.join(dir, file), os.path.join(dir, '%03d.jpg' %i))
| 22.875 | 70 | 0.617486 | 36 | 183 | 3.083333 | 0.5 | 0.036036 | 0.18018 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.180328 | 183 | 7 | 71 | 26.142857 | 0.713333 | 0 | 0 | 0 | 0 | 0 | 0.142077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 3 |
3a9a7b056ca90686420632c03f40a1d2cc9f2ce2 | 259 | py | Python | necst_visualizer/__init__.py | nanten2/necst-visualizer | a7e08c4dcd8fd4384ab93eceb4ff5a383154a71a | [
"MIT"
] | 1 | 2022-01-12T07:06:36.000Z | 2022-01-12T07:06:36.000Z | necst_visualizer/__init__.py | nanten2/necst-visual-validator | a7e08c4dcd8fd4384ab93eceb4ff5a383154a71a | [
"MIT"
] | null | null | null | necst_visualizer/__init__.py | nanten2/necst-visual-validator | a7e08c4dcd8fd4384ab93eceb4ff5a383154a71a | [
"MIT"
] | null | null | null | try:
from importlib_metadata import version
except ImportError:
from importlib.metadata import version # Python 3.8+
try:
__version__ = version("necst_visualizer")
except:
__version__ = None
from .scan_check import ScanCheck, VisualizeScan
| 21.583333 | 57 | 0.760618 | 30 | 259 | 6.2 | 0.6 | 0.139785 | 0.225806 | 0.290323 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.177606 | 259 | 11 | 58 | 23.545455 | 0.86385 | 0.042471 | 0 | 0.222222 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 3 |
3ab1d0044bd9524acfbfd4c2955b350abfa7d494 | 304 | py | Python | colors.py | luisrowley/Kairos | b4922229c4a49a4c28664939280d2c8aebfdc367 | [
"MIT"
] | 1 | 2022-01-11T12:51:26.000Z | 2022-01-11T12:51:26.000Z | colors.py | luisrowley/Kairos | b4922229c4a49a4c28664939280d2c8aebfdc367 | [
"MIT"
] | null | null | null | colors.py | luisrowley/Kairos | b4922229c4a49a4c28664939280d2c8aebfdc367 | [
"MIT"
] | null | null | null | """
ASCII color codes collection
"""
class Colors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[1;36;40m'
OKGREEN = '\033[92m'
BGREEN = '\033[1;32;40m'
WARNING = '\033[93m'
FAIL = '\033[1;31;40m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
| 20.266667 | 28 | 0.529605 | 42 | 304 | 3.833333 | 0.690476 | 0.074534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.263158 | 304 | 14 | 29 | 21.714286 | 0.46875 | 0.092105 | 0 | 0 | 0 | 0 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3abdf02cead217ab62f1d745008574bf8be28235 | 67 | py | Python | pyzbar/pyzbar_error.py | isman7/pyzbar | 833b375c0e84077943b7100cc9dc22a7bd48754b | [
"MIT"
] | 476 | 2016-12-15T02:01:56.000Z | 2022-03-30T08:45:29.000Z | pyzbar/pyzbar_error.py | isman7/pyzbar | 833b375c0e84077943b7100cc9dc22a7bd48754b | [
"MIT"
] | 114 | 2016-11-08T09:17:05.000Z | 2022-03-27T13:43:26.000Z | pyzbar/pyzbar_error.py | isman7/pyzbar | 833b375c0e84077943b7100cc9dc22a7bd48754b | [
"MIT"
] | 123 | 2017-09-18T02:40:57.000Z | 2022-03-16T12:51:59.000Z | __all__ = ["PyZbarError"]
class PyZbarError(Exception):
pass
| 11.166667 | 29 | 0.701493 | 6 | 67 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 5 | 30 | 13.4 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3af785f16dd239ecc1138a21b73fe59fbb9c7bc7 | 624 | py | Python | discord_ui/slash/__init__.py | PolyTree18/discord-ui | 00d1c5edb094eabd33c319a7f2488393fe8f4e16 | [
"MIT"
] | null | null | null | discord_ui/slash/__init__.py | PolyTree18/discord-ui | 00d1c5edb094eabd33c319a7f2488393fe8f4e16 | [
"MIT"
] | null | null | null | discord_ui/slash/__init__.py | PolyTree18/discord-ui | 00d1c5edb094eabd33c319a7f2488393fe8f4e16 | [
"MIT"
] | null | null | null | """
discord_ui.slash
~~~~~~~~~~~~~~~~~~~
The slash module for this libary
- - -
Here is everything about slashcommmands.
You shouldn't need to import this module unless you really now what you're doing.
The only thing you might wanna import is `.ext`, but you can import that from `discord_ui.ext`.
Everything else ... | 29.714286 | 148 | 0.75 | 86 | 624 | 5.406977 | 0.639535 | 0.077419 | 0.060215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 624 | 21 | 148 | 29.714286 | 0.861111 | 0.717949 | 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 | 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 | 3 |
aaeeceaf94e29fcf5214aca369f7c9cedbe631e6 | 751 | py | Python | crescent/resources/firehose/delivery_stream/cloudwatch_logging_options.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | 1 | 2020-03-26T19:20:03.000Z | 2020-03-26T19:20:03.000Z | crescent/resources/firehose/delivery_stream/cloudwatch_logging_options.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | null | null | null | crescent/resources/firehose/delivery_stream/cloudwatch_logging_options.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | null | null | null | from crescent.core import Model
from crescent.functions import AnyFn
from .constants import Conditions
from typing import Union
class CloudWatchLoggingOptions(Model):
def __init__(self):
super(CloudWatchLoggingOptions, self).__init__(conditions={
self.Enabled.__name__: Conditions.CLOUDWATCH_LO... | 35.761905 | 80 | 0.75233 | 90 | 751 | 5.822222 | 0.355556 | 0.062977 | 0.085878 | 0.103053 | 0.200382 | 0.200382 | 0.148855 | 0.148855 | 0.148855 | 0 | 0 | 0 | 0.16245 | 751 | 20 | 81 | 37.55 | 0.833068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.266667 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
aaf9f273dd3e232d3cfbd9103d96a89f97694339 | 3,086 | py | Python | structs.py | LHGames-2017/upgraded_broccoli | 6a1082a6d3f0682a0627fa83ffd349bf0a1c2ae5 | [
"MIT"
] | null | null | null | structs.py | LHGames-2017/upgraded_broccoli | 6a1082a6d3f0682a0627fa83ffd349bf0a1c2ae5 | [
"MIT"
] | null | null | null | structs.py | LHGames-2017/upgraded_broccoli | 6a1082a6d3f0682a0627fa83ffd349bf0a1c2ae5 | [
"MIT"
] | null | null | null | import json
from enum import Enum
class TileContent(Enum):
Empty = 0
Wall = 1
House = 2
Lava = 3
Resource = 4
Shop = 5
Player = 6
class ActionTypes(Enum):
DefaultAction = 0
MoveAction = 1
AttackAction = 2
CollectAction = 3
UpgradeAction = 4
StealAction = 5
Pur... | 22.525547 | 92 | 0.634154 | 359 | 3,086 | 5.267409 | 0.272981 | 0.023797 | 0.066631 | 0.046536 | 0.232681 | 0.173453 | 0.124802 | 0.108937 | 0.108937 | 0.047594 | 0 | 0.019929 | 0.268308 | 3,086 | 136 | 93 | 22.691176 | 0.817538 | 0.019443 | 0 | 0.06383 | 0 | 0 | 0.035738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212766 | false | 0 | 0.021277 | 0.138298 | 0.755319 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
c90632a797a23bace1020a17f3bec728110b1423 | 482 | py | Python | slrd/exceptions/common_exceptions.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | 2 | 2017-12-02T20:59:45.000Z | 2019-01-20T02:12:20.000Z | slrd/exceptions/common_exceptions.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | 4 | 2017-11-23T13:57:11.000Z | 2018-02-04T17:05:38.000Z | slrd/exceptions/common_exceptions.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
# vi: set ft=python sw=4 :
"""SLRD exceptions that are shared between all packages.
Classes:
- SLRDIllegalArgumentError
"""
from slrd.exceptions import SLRDRuntimeException, SLRDImplementationError
class SLRDIllegalArgumentError(SLRDImplementationError):
"""Illegal argument was passed... | 28.352941 | 77 | 0.771784 | 47 | 482 | 7.914894 | 0.851064 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.13278 | 482 | 16 | 78 | 30.125 | 0.885167 | 0.539419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c9069be555c48c4a8b1900d0f5def832d39ff4f4 | 2,323 | py | Python | editor/tests/test_matrix.py | Andrey0811/simple_editor | c7cb0a797fee12af8b7b3282d8ab76fcafc0428d | [
"MIT"
] | 2 | 2020-04-18T22:20:15.000Z | 2020-04-18T22:23:05.000Z | editor/tests/test_matrix.py | Andrey0811/simple_editor | c7cb0a797fee12af8b7b3282d8ab76fcafc0428d | [
"MIT"
] | null | null | null | editor/tests/test_matrix.py | Andrey0811/simple_editor | c7cb0a797fee12af8b7b3282d8ab76fcafc0428d | [
"MIT"
] | null | null | null | import unittest
from src.geometry import matrix as m
class Matrix_Test(unittest.TestCase):
e = m.Matrix(4, 4)
e[(0, 0)] = 1
e[(1, 1)] = 1
e[(2, 2)] = 1
a = m.Matrix(3, 4)
a[(0, 0)] = 1
a[(0, 1)] = 2
a[(0, 2)] = 3
a[(1, 0)] = 4
a[(1, 1)] = 5
b = m.Matrix(2, 3)
b[(0, 0)... | 24.452632 | 61 | 0.560913 | 361 | 2,323 | 3.409972 | 0.152355 | 0.090983 | 0.168968 | 0.170593 | 0.428107 | 0.350122 | 0.190089 | 0.095857 | 0.069862 | 0 | 0 | 0.050475 | 0.275075 | 2,323 | 94 | 62 | 24.712766 | 0.680523 | 0.036591 | 0 | 0.101449 | 0 | 0 | 0.003579 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.231884 | false | 0.072464 | 0.028986 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c91fd3fd8ee2b1cdff0f013b7d3ff9e6a4dcbc0b | 6,438 | py | Python | seafileapi/groups.py | guthypeter/python-seafile-api | 65cb625b30b6f0e959029a8a53a5a8e75b04219b | [
"Apache-2.0"
] | 2 | 2020-10-21T14:53:03.000Z | 2021-03-01T22:47:05.000Z | seafileapi/groups.py | guthypeter/python-seafile-api | 65cb625b30b6f0e959029a8a53a5a8e75b04219b | [
"Apache-2.0"
] | 1 | 2020-10-30T09:12:33.000Z | 2020-10-30T09:12:33.000Z | seafileapi/groups.py | guthypeter/python-seafile-api | 65cb625b30b6f0e959029a8a53a5a8e75b04219b | [
"Apache-2.0"
] | 5 | 2018-10-01T11:31:10.000Z | 2020-10-26T10:04:48.000Z | class Groups:
"""
"""
GROUPS_URL = '/api/v2.1/groups/{}/'
def __init__(self, client):
self.client = client
def get_group(self, group_id, with_repos=0):
"""
:param group_id:
:return:
"""
res = self.client.get(self.GROUPS_URL.format(group_id)).json()... | 26.603306 | 113 | 0.572227 | 781 | 6,438 | 4.4379 | 0.097311 | 0.08944 | 0.048759 | 0.03895 | 0.57588 | 0.509521 | 0.450952 | 0.373918 | 0.325159 | 0.267744 | 0 | 0.00255 | 0.269183 | 6,438 | 241 | 114 | 26.713693 | 0.734113 | 0.038521 | 0 | 0.378151 | 0 | 0 | 0.119072 | 0.030114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277311 | false | 0 | 0 | 0.10084 | 0.579832 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
c92203849504fdbf8f1c15e8836439b7c9c9cb19 | 1,819 | py | Python | ProtoToBQ/variable.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | null | null | null | ProtoToBQ/variable.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | 1 | 2021-03-02T09:06:08.000Z | 2021-03-02T09:06:08.000Z | ProtoToBQ/variable.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | null | null | null | from fields import *
import re
class Variable:
"""
Representation of a variable.
"""
def __init__(self, name: str, type: str):
self.name = name
self.type = type
self.getters = []
def push_getter(self, field: Field):
self.getters.append(field)
def pop_gette... | 24.581081 | 124 | 0.583837 | 237 | 1,819 | 4.320675 | 0.270042 | 0.046875 | 0.102539 | 0.064453 | 0.236328 | 0.185547 | 0.134766 | 0.134766 | 0.103516 | 0.103516 | 0 | 0.005247 | 0.26663 | 1,819 | 74 | 125 | 24.581081 | 0.762369 | 0.035184 | 0 | 0.173913 | 0 | 0 | 0.129275 | 0.078841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282609 | false | 0 | 0.043478 | 0.130435 | 0.673913 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
c92dbeb43534dbd1fbdf843c5f26c83eb2863c03 | 523 | py | Python | myproject/myapp/migrations/0014_auto_20201230_2313.py | mokshdoshi007/python | 5d8eb685f3859b1a6a0c2fee150ef313ae34dfbe | [
"MIT"
] | null | null | null | myproject/myapp/migrations/0014_auto_20201230_2313.py | mokshdoshi007/python | 5d8eb685f3859b1a6a0c2fee150ef313ae34dfbe | [
"MIT"
] | null | null | null | myproject/myapp/migrations/0014_auto_20201230_2313.py | mokshdoshi007/python | 5d8eb685f3859b1a6a0c2fee150ef313ae34dfbe | [
"MIT"
] | null | null | null | # Generated by Django 3.1.1 on 2020-12-30 17:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('myapp', '0013_auto_20201230_2309'),
]
operations = [
migrations.RenameField(
model_name='users',
old_name='fav... | 21.791667 | 48 | 0.527725 | 50 | 523 | 5.34 | 0.68 | 0.157303 | 0.194757 | 0.224719 | 0.314607 | 0.314607 | 0.314607 | 0 | 0 | 0 | 0 | 0.093093 | 0.363289 | 523 | 23 | 49 | 22.73913 | 0.708709 | 0.086042 | 0 | 0.352941 | 1 | 0 | 0.143488 | 0.050773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9529effbb87d76602d1b551286a9c5d8185cb20 | 226 | py | Python | bot/common/utilities.py | alessandroste/az-serverless-bot | d2dc646606312ee793d171177a4c37a8cc5b76ef | [
"MIT"
] | null | null | null | bot/common/utilities.py | alessandroste/az-serverless-bot | d2dc646606312ee793d171177a4c37a8cc5b76ef | [
"MIT"
] | null | null | null | bot/common/utilities.py | alessandroste/az-serverless-bot | d2dc646606312ee793d171177a4c37a8cc5b76ef | [
"MIT"
] | null | null | null | from typing import List
def split_groups(input_data: List, group_size: int):
return [
input_data[i * group_size:(i + 1) * group_size]
for i in range((len(input_data) + group_size - 1) // group_size)
] | 28.25 | 72 | 0.646018 | 35 | 226 | 3.914286 | 0.542857 | 0.328467 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.238938 | 226 | 8 | 73 | 28.25 | 0.784884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 3 |
c959dc66071d7f15644ba3647b669723521f5361 | 5,212 | py | Python | release/stubs.min/Wms/RemotingImplementation/PrintJobs/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/PrintJobs/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/PrintJobs/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingImplementation.PrintJobs calls itself PrintJobs
# from Wms.RemotingImplementation,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no important
from System.Collections.Generic import *
from ..__init__ import *
# no functions
# classes... | 33.197452 | 176 | 0.73561 | 486 | 5,212 | 7.763374 | 0.234568 | 0.042407 | 0.055129 | 0.076332 | 0.449775 | 0.415319 | 0.363371 | 0.363371 | 0.363371 | 0.363371 | 0 | 0.002239 | 0.142939 | 5,212 | 156 | 177 | 33.410256 | 0.8424 | 0.412701 | 0 | 0.545455 | 0 | 0 | 0.03304 | 0.010132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.022727 | 0 | 0.613636 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c981e0763678258fb65b27b5666f1a6941bce12c | 171 | py | Python | lib/__init__.py | pawelsawicki/imap-s3-backup.py | 271f0ee88c1f99808281e30f86e342cefc73ad1b | [
"0BSD"
] | 2 | 2019-02-14T05:10:47.000Z | 2021-04-12T07:26:35.000Z | lib/__init__.py | pjsawicki/imap-s3-backup.py | 271f0ee88c1f99808281e30f86e342cefc73ad1b | [
"0BSD"
] | null | null | null | lib/__init__.py | pjsawicki/imap-s3-backup.py | 271f0ee88c1f99808281e30f86e342cefc73ad1b | [
"0BSD"
] | 1 | 2016-12-04T11:43:49.000Z | 2016-12-04T11:43:49.000Z | # -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
#
# $Id: __new_file__.py 282 2006-08-03 19:37:08Z cn=Sawicki Pawel,ou=People,o=Onoclea $
#
# $License$
#
pass
# EOF
| 14.25 | 86 | 0.614035 | 33 | 171 | 3.030303 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.181287 | 171 | 11 | 87 | 15.545455 | 0.564286 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a30e7190a0dc09dfc7732cd4b2cc4b15daba7e35 | 466 | py | Python | files.py | ThadeuJose/Python-WEBPtoPNGConverter | 64e73138d53846e9068f97e48d65aca7dfb77f6c | [
"MIT"
] | null | null | null | files.py | ThadeuJose/Python-WEBPtoPNGConverter | 64e73138d53846e9068f97e48d65aca7dfb77f6c | [
"MIT"
] | null | null | null | files.py | ThadeuJose/Python-WEBPtoPNGConverter | 64e73138d53846e9068f97e48d65aca7dfb77f6c | [
"MIT"
] | null | null | null | from os import listdir
from os.path import isfile, join
from pathlib import Path
EXTENSION = "png"
INPUT_EXTENSION = "webp"
OUTPUT_EXTENSION = "png"
def get_all_files(path):
return [f for f in listdir(path) if isfile(join(path, f))]
def create_path(folder, filename, extension):
return join(folder, filename +... | 24.526316 | 62 | 0.736052 | 68 | 466 | 4.926471 | 0.426471 | 0.053731 | 0.137313 | 0.155224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 466 | 19 | 63 | 24.526316 | 0.850254 | 0 | 0 | 0 | 0 | 0 | 0.023555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.214286 | 0.285714 | 0.785714 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a320f4a6b4e9be942f691f37986701b08c675104 | 12 | py | Python | rmidi/dataset/config.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | 5 | 2019-11-30T11:12:14.000Z | 2021-08-15T00:47:23.000Z | rmidi/dataset/config.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | 3 | 2020-03-14T04:45:38.000Z | 2020-05-31T15:07:13.000Z | rmidi/dataset/config.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | null | null | null |
PATH = None | 6 | 11 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 12 | 2 | 11 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a32fa3819f90924edb2c88b79c2ac05c00ba4862 | 176 | py | Python | elstruct/elstruct/writer/_nwchem6/_par.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | null | null | null | elstruct/elstruct/writer/_nwchem6/_par.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | 1 | 2022-02-15T19:35:14.000Z | 2022-02-15T19:35:14.000Z | elstruct/elstruct/writer/_nwchem6/_par.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | 13 | 2020-06-24T05:21:11.000Z | 2021-05-05T19:58:30.000Z | """ NWCHEM6 writer module parameters
"""
import elstruct.par
REF_DCT = {
elstruct.par.Reference.RHF: 'rhf',
elstruct.par.Reference.UHF: 'uhf'
}
OPTION_EVAL_DCT = {}
| 14.666667 | 38 | 0.681818 | 22 | 176 | 5.318182 | 0.636364 | 0.282051 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.170455 | 176 | 11 | 39 | 16 | 0.794521 | 0.181818 | 0 | 0 | 0 | 0 | 0.044118 | 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 | 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 | 3 |
a334ed83dfca45d5885930aa6643691230d487e3 | 246 | py | Python | app.py | Nathan-Binkley/MotorMile | 84a9637ac6020397dc4601a44cce13f1e0b2c8bc | [
"MIT"
] | null | null | null | app.py | Nathan-Binkley/MotorMile | 84a9637ac6020397dc4601a44cce13f1e0b2c8bc | [
"MIT"
] | null | null | null | app.py | Nathan-Binkley/MotorMile | 84a9637ac6020397dc4601a44cce13f1e0b2c8bc | [
"MIT"
] | null | null | null | import flask
from flask import request, render_template, redirect
import json
import data_get
app = flask.Flask(__name__)
@app.route("/")
def main():
return render_template("index.html", audi=data_get.get_audi_local())
app.run(debug=True) | 18.923077 | 72 | 0.760163 | 37 | 246 | 4.783784 | 0.621622 | 0.158192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117886 | 246 | 13 | 73 | 18.923077 | 0.815668 | 0 | 0 | 0 | 0 | 0 | 0.044534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
a336248802194ccb43339ea82028df3bda9324db | 998 | py | Python | yolov4_pytorch/model/module/pooling.py | Lornatang/YOLOv4-PyTorch | 048cb8c23a4dacadffd3db53f25aa7f4660087cf | [
"Apache-2.0"
] | 19 | 2020-07-28T06:29:43.000Z | 2022-03-28T13:24:13.000Z | yolov4_pytorch/model/module/pooling.py | hyaihjq/YOLOv4-PyTorch | 048cb8c23a4dacadffd3db53f25aa7f4660087cf | [
"Apache-2.0"
] | 2 | 2020-10-17T13:26:31.000Z | 2022-03-24T02:34:36.000Z | yolov4_pytorch/model/module/pooling.py | Lornatang/YOLOv4-PyTorch | 048cb8c23a4dacadffd3db53f25aa7f4660087cf | [
"Apache-2.0"
] | 6 | 2020-09-08T23:50:19.000Z | 2022-03-20T04:50:46.000Z | # Copyright 2020 Lorna Authors. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 39.92 | 80 | 0.671343 | 136 | 998 | 4.852941 | 0.647059 | 0.090909 | 0.039394 | 0.048485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012151 | 0.175351 | 998 | 24 | 81 | 41.583333 | 0.789793 | 0.676353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a349c50ad49291f6af0ebdffc9cb15862f6dd147 | 189 | py | Python | library/test/test_compiler/sbs_code_tests/05_funcall_kw_pos.py | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 278 | 2021-08-31T00:46:51.000Z | 2022-02-13T19:43:28.000Z | library/test/test_compiler/sbs_code_tests/05_funcall_kw_pos.py | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 9 | 2021-11-05T22:28:43.000Z | 2021-11-23T08:39:04.000Z | library/test/test_compiler/sbs_code_tests/05_funcall_kw_pos.py | tekknolagi/skybison | bea8fc2af0a70e7203b4c19f36c14a745512a335 | [
"CNRI-Python-GPL-Compatible"
] | 12 | 2021-08-31T07:49:54.000Z | 2021-10-08T01:09:01.000Z | # Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com)
fun(var, 10, a=a, kw=2)
# EXPECTED:
[
...,
LOAD_CONST(('a', 'kw')),
CALL_FUNCTION_KW(4),
...,
]
| 18.9 | 76 | 0.560847 | 27 | 189 | 3.814815 | 0.814815 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.201058 | 189 | 9 | 77 | 21 | 0.655629 | 0.444444 | 0 | 0.285714 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a35a50967bfe91ca8cd44714163997a89e04142b | 12,231 | py | Python | software/goagent-3.2.3/local/goagent-gtk.py | foolcage/backup | 8d0457e3a042ed1777422109711998c971c8ad84 | [
"Apache-2.0"
] | 1,463 | 2015-04-07T09:41:28.000Z | 2022-03-30T02:05:19.000Z | local/goagent-gtk.py | Palsoso/GoAgent-Always-Available | 86c2fee6474890ff26b5a66b74a1306f7f31988b | [
"WTFPL",
"Apache-2.0"
] | 73 | 2015-04-08T05:08:52.000Z | 2019-06-05T06:38:21.000Z | local/goagent-gtk.py | Palsoso/GoAgent-Always-Available | 86c2fee6474890ff26b5a66b74a1306f7f31988b | [
"WTFPL",
"Apache-2.0"
] | 698 | 2015-04-28T12:02:00.000Z | 2022-03-19T23:53:55.000Z | #!/usr/bin/env python2
# coding:utf-8
# Contributor:
# Phus Lu <phus.lu@gmail.com>
__version__ = '1.6'
GOAGENT_LOGO_DATA = """\
iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAYAAACo29JGAAAABHNCSVQICAgIfAhkiAAADVdJREFU
aIHtmnuMXPV1xz/ndx8z4/UT8bKTEscOBa1FAt2kSYvAECxegTZRu6uGJDQJld0ofShNpJZSOlnU
KFWhSUorWlMpoaIq6q4gECAN... | 41.886986 | 180 | 0.754885 | 1,126 | 12,231 | 8.060391 | 0.396092 | 0.009255 | 0.011569 | 0.013883 | 0.080212 | 0.05487 | 0.046056 | 0.036139 | 0.036139 | 0.036139 | 0 | 0.079672 | 0.153381 | 12,231 | 291 | 181 | 42.030928 | 0.796813 | 0.016761 | 0 | 0.127049 | 0 | 0.004098 | 0.465923 | 0.402263 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.065574 | null | null | 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 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a35e30474148e25a3c3ce641648d923ee4e82873 | 432 | py | Python | students/K33422/laboratory_works/Moruga_Elina/lr_3 school/school_app/serializer_grades.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | students/K33422/laboratory_works/Moruga_Elina/lr_3 school/school_app/serializer_grades.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | students/K33422/laboratory_works/Moruga_Elina/lr_3 school/school_app/serializer_grades.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Grades
class GradesSerializer(serializers.ModelSerializer):
class Meta:
model = Grades
fields = '__all__'
def create(self, validated_data):
grades = Grades(**validated_data)
grades.save()
return grades
class Gr... | 25.411765 | 54 | 0.680556 | 42 | 432 | 6.738095 | 0.52381 | 0.077739 | 0.219081 | 0.24735 | 0.388693 | 0.388693 | 0.388693 | 0.388693 | 0 | 0 | 0 | 0 | 0.247685 | 432 | 17 | 55 | 25.411765 | 0.870769 | 0 | 0 | 0.285714 | 0 | 0 | 0.032333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a36fa7c9cc8c57e8829c65cb707b43197d6037a8 | 2,012 | py | Python | pacote-desafios-pythonicos-master/14_mimic.py | pathilink/WTTD | d29150d13a83969c3e7d93c5e7e7c6d6d521aa70 | [
"MIT"
] | null | null | null | pacote-desafios-pythonicos-master/14_mimic.py | pathilink/WTTD | d29150d13a83969c3e7d93c5e7e7c6d6d521aa70 | [
"MIT"
] | null | null | null | pacote-desafios-pythonicos-master/14_mimic.py | pathilink/WTTD | d29150d13a83969c3e7d93c5e7e7c6d6d521aa70 | [
"MIT"
] | null | null | null | """
14. mimic
Neste desafio você vai fazer um gerador de lero-lero.
É um programa que lê um arquivo, armazena a relação entre as palavras e
então gera um novo texto respeitando essas relações para imitar um
escritor de verdade.
Para isso você precisa:
A. Abrir o arquivo especificado via linha de comando.
B. Ler o ... | 28.338028 | 86 | 0.74503 | 333 | 2,012 | 4.453453 | 0.435435 | 0.043156 | 0.047202 | 0.057316 | 0.064059 | 0.051922 | 0.035064 | 0 | 0 | 0 | 0 | 0.006146 | 0.191352 | 2,012 | 70 | 87 | 28.742857 | 0.905347 | 0.82505 | 0 | 0.142857 | 0 | 0 | 0.139394 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.5 | 0.214286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a38c3528df0bf40d41416d1d3920d17802e73e01 | 371 | py | Python | src/charts/models.py | ootsutsukee/Adv-Pro-Python2-ass2 | a1d5479a620a81396b2c2bd0b0de0c1e1ebab971 | [
"MIT"
] | null | null | null | src/charts/models.py | ootsutsukee/Adv-Pro-Python2-ass2 | a1d5479a620a81396b2c2bd0b0de0c1e1ebab971 | [
"MIT"
] | null | null | null | src/charts/models.py | ootsutsukee/Adv-Pro-Python2-ass2 | a1d5479a620a81396b2c2bd0b0de0c1e1ebab971 | [
"MIT"
] | null | null | null | from django.db import models
import requests
class AccountInfo(models.Model):
account_name = models.CharField(max_length=50, null=False, blank=False)
account_summ = models.IntegerField()
def __str__(self):
return f'{self.account_name} - {self.account_summ}'
def delete_everything(s... | 26.5 | 76 | 0.692722 | 45 | 371 | 5.488889 | 0.644444 | 0.089069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006734 | 0.199461 | 371 | 13 | 77 | 28.538462 | 0.824916 | 0 | 0 | 0 | 0 | 0 | 0.114525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a3a387a2256d90e63fddaee118f983337cc2e6c6 | 205 | py | Python | twirp/ctxkeys.py | batchar2/twirpy | e5940a2a038926844098def09748953287071747 | [
"Unlicense"
] | 51 | 2020-05-23T22:31:53.000Z | 2022-03-08T19:14:04.000Z | twirp/ctxkeys.py | batchar2/twirpy | e5940a2a038926844098def09748953287071747 | [
"Unlicense"
] | 20 | 2020-05-15T10:20:38.000Z | 2022-02-06T23:21:56.000Z | twirp/ctxkeys.py | batchar2/twirpy | e5940a2a038926844098def09748953287071747 | [
"Unlicense"
] | 10 | 2020-05-29T09:55:49.000Z | 2021-10-16T00:14:04.000Z | SERVICE_NAME = 'service_name'
METHOD_NAME = 'method_name'
RAW_HEADERS = 'raw_headers'
RAW_REQUEST_PATH = 'raw_request_path'
RESPONSE_STATUS = 'response_status'
ORIGINAL_EXCEPTION = 'original_exception'
| 20.5 | 41 | 0.809756 | 26 | 205 | 5.846154 | 0.423077 | 0.144737 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102439 | 205 | 9 | 42 | 22.777778 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.404878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
6e9175c367cef82370ded6e0b82ee25ac6b91a1e | 15,885 | py | Python | dde/predictor_test.py | KEHANG/DataDrivenEstimator | 9b77f9f1f6b04ca843ce45a75fb8525918c18c0d | [
"MIT"
] | 2 | 2018-08-01T14:37:11.000Z | 2020-04-24T16:40:25.000Z | dde/predictor_test.py | tingweidaniel/DataDrivenEstimator | 9b77f9f1f6b04ca843ce45a75fb8525918c18c0d | [
"MIT"
] | 3 | 2018-06-13T22:06:43.000Z | 2021-02-22T22:36:23.000Z | dde/predictor_test.py | tingweidaniel/DataDrivenEstimator | 9b77f9f1f6b04ca843ce45a75fb8525918c18c0d | [
"MIT"
] | 12 | 2018-06-04T17:47:19.000Z | 2021-02-23T04:29:45.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
import shutil
import unittest
import numpy as np
from keras.layers.core import Dense
from rmgpy.molecule import Molecule
import dde
from dde.predictor import Predictor
from dde.layers import MoleculeConv
class TestPredictor(unittest.TestCase):
def setUp(s... | 45.385714 | 110 | 0.575637 | 2,024 | 15,885 | 4.283597 | 0.097826 | 0.068512 | 0.055363 | 0.040369 | 0.773933 | 0.740715 | 0.702768 | 0.677739 | 0.625606 | 0.619723 | 0 | 0.041453 | 0.301416 | 15,885 | 349 | 111 | 45.515759 | 0.73984 | 0.013094 | 0 | 0.512545 | 0 | 0 | 0.100762 | 0.010307 | 0 | 0 | 0 | 0 | 0.265233 | 1 | 0.039427 | false | 0 | 0.032258 | 0 | 0.075269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e9ad22cd619848bf2416d48597b998b2655db15 | 230 | py | Python | learners/utils.py | ctallec/pytorch-a3c | f00a5686d10e2230977d9f33b0d02cbac76af57a | [
"MIT"
] | 1 | 2020-05-19T02:20:51.000Z | 2020-05-19T02:20:51.000Z | learners/utils.py | ctallec/pytorch-a3c | f00a5686d10e2230977d9f33b0d02cbac76af57a | [
"MIT"
] | null | null | null | learners/utils.py | ctallec/pytorch-a3c | f00a5686d10e2230977d9f33b0d02cbac76af57a | [
"MIT"
] | 1 | 2020-05-19T02:02:30.000Z | 2020-05-19T02:02:30.000Z | def ensure_shared_grads(model, shared_model):
for param, shared_param in zip(model.parameters(), shared_model.parameters()):
if shared_param.grad is not None:
return
shared_param._grad = param.grad
| 38.333333 | 82 | 0.695652 | 31 | 230 | 4.903226 | 0.516129 | 0.217105 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 230 | 5 | 83 | 46 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 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 | 0 | 0 | 3 |
6e9f77754c8aa164576ff22d97f4b5489de5e226 | 445 | py | Python | tools/perf/benchmarks/image_decoding.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | tools/perf/benchmarks/image_decoding.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/perf/benchmarks/image_decoding.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-23T15:29:58.000Z | 2021-01-23T15:29:58.000Z | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry import test
from measurements import image_decoding
import page_sets
class ImageDecodingToughImageCases(test.Test):
test = image_decoding... | 29.666667 | 72 | 0.811236 | 63 | 445 | 5.619048 | 0.730159 | 0.073446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010554 | 0.148315 | 445 | 14 | 73 | 31.785714 | 0.923483 | 0.462921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6ea58945cb3980cea35c059d1759715cb7165a2c | 222 | py | Python | backend/api/products/urls.py | fouadsan/drf-react-e-commerce | 5383fbb2c15f7dda66e814cc2ac9ea0e9e7db3d7 | [
"MIT"
] | null | null | null | backend/api/products/urls.py | fouadsan/drf-react-e-commerce | 5383fbb2c15f7dda66e814cc2ac9ea0e9e7db3d7 | [
"MIT"
] | null | null | null | backend/api/products/urls.py | fouadsan/drf-react-e-commerce | 5383fbb2c15f7dda66e814cc2ac9ea0e9e7db3d7 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import ProductList, ProductDetalil
urlpatterns = [
path('', ProductList.as_view(), name="products"),
path('<str:pk>/', ProductDetalil.as_view(), name="product-detail"),
]
| 24.666667 | 71 | 0.702703 | 26 | 222 | 5.923077 | 0.653846 | 0.077922 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130631 | 222 | 8 | 72 | 27.75 | 0.797927 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ed4f2cdf2b2f38ff3f61564458186370c858dc3 | 673 | py | Python | POM/social_networks.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | POM/social_networks.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | POM/social_networks.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | import time
class SocialVk(object):
def __init__(self, driver):
self.driver = driver
def auth_user_vk(self):
self.driver.get("https://vk.com/")
self.driver.find_element_by_id("index_email").send_keys("+79852635831")
self.driver.find_element_by_id("index_pass").send_keys("Testn... | 32.047619 | 101 | 0.679049 | 96 | 673 | 4.416667 | 0.458333 | 0.188679 | 0.165094 | 0.247642 | 0.339623 | 0.339623 | 0.212264 | 0 | 0 | 0 | 0 | 0.032727 | 0.182764 | 673 | 20 | 102 | 33.65 | 0.738182 | 0 | 0 | 0 | 0 | 0 | 0.182764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.066667 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
42b4cd1deb2298385e70861678c6d91790958531 | 730 | py | Python | cars/admin.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | cars/admin.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | cars/admin.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import CarBrand, CarModel, CarModification, CarSpecifications, PersonalCar
class CarBrandAdmin(admin.ModelAdmin):
pass
admin.site.register(CarBrand, CarBrandAdmin)
class CarModelAdmin(admin.ModelAdmin):
pass
adm... | 18.717949 | 88 | 0.763014 | 67 | 730 | 8.313433 | 0.343284 | 0.13465 | 0.170557 | 0.21544 | 0.32316 | 0.32316 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 730 | 39 | 89 | 18.717949 | 0.913115 | 0.035616 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.294118 | 0.117647 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
42c9551f9b391139c7aa246eabd305436aa1fde2 | 208 | py | Python | tests/test.py | zhuweix/sequence_analysis | c10eb494011687c7c7a3d4956ce37814dbfa0a95 | [
"MIT"
] | null | null | null | tests/test.py | zhuweix/sequence_analysis | c10eb494011687c7c7a3d4956ce37814dbfa0a95 | [
"MIT"
] | null | null | null | tests/test.py | zhuweix/sequence_analysis | c10eb494011687c7c7a3d4956ce37814dbfa0a95 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import context
import seqanalyzer.sequence_lib as seqlib
def test_seqlib():
print(seqlib.rc_seq('actg'))
def main():
test_seqlib()
if __name__ == '__main__':
main() | 12.235294 | 41 | 0.649038 | 27 | 208 | 4.555556 | 0.703704 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.197115 | 208 | 17 | 42 | 12.235294 | 0.730539 | 0.100962 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42ead072257a1debdc63c121dec9de7ad9a907d2 | 212 | py | Python | website/trafficlights/views/admin.py | matthewrkitson/traffic-lights | 4a469fe9e2b78d140f79e411f57f73a10161608c | [
"MIT"
] | 1 | 2017-07-24T08:21:38.000Z | 2017-07-24T08:21:38.000Z | website/trafficlights/views/admin.py | matthewrkitson/traffic-lights | 4a469fe9e2b78d140f79e411f57f73a10161608c | [
"MIT"
] | 1 | 2017-08-26T22:48:40.000Z | 2017-08-26T22:49:31.000Z | website/trafficlights/views/admin.py | matthewrkitson/traffic-lights | 4a469fe9e2b78d140f79e411f57f73a10161608c | [
"MIT"
] | null | null | null | from trafficlights import app, poweroff
from flask import render_template, request
@app.route('/admin')
def admin():
if 'poweroff' in request.args:
poweroff()
return render_template('admin.html')
| 21.2 | 42 | 0.721698 | 27 | 212 | 5.592593 | 0.62963 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 212 | 9 | 43 | 23.555556 | 0.857955 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 3 |
42fcf099be8d946a7c39192f7b8698d45d1c2931 | 2,657 | py | Python | src/admins/models.py | IkramKhan-DevOps/pw-kiu-cafe | 7e29940f6fdde546cd276802183128c9ad7cb7b1 | [
"MIT"
] | null | null | null | src/admins/models.py | IkramKhan-DevOps/pw-kiu-cafe | 7e29940f6fdde546cd276802183128c9ad7cb7b1 | [
"MIT"
] | null | null | null | src/admins/models.py | IkramKhan-DevOps/pw-kiu-cafe | 7e29940f6fdde546cd276802183128c9ad7cb7b1 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
from django_resized import ResizedImageField
class Product(models.Model):
name = models.CharField(max_length=255)
desc = models.TextField(null=True, blank=True, default='Description not provided yet')
image = ResizedImageField(
upload_to... | 32.402439 | 118 | 0.694392 | 339 | 2,657 | 5.20944 | 0.312684 | 0.06795 | 0.030578 | 0.04077 | 0.554926 | 0.519819 | 0.345413 | 0.345413 | 0.345413 | 0.345413 | 0 | 0.011085 | 0.185171 | 2,657 | 81 | 119 | 32.802469 | 0.804619 | 0 | 0 | 0.413793 | 0 | 0 | 0.124577 | 0.025216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.051724 | 0.206897 | 0.896552 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
6e0865383568afc5ec039694110f0b53c60d6ca5 | 328 | py | Python | ool/oppositions/apps.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | ool/oppositions/apps.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | ool/oppositions/apps.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class OppositionsConfig(AppConfig):
name = "ool.oppositions"
verbose_name = _("Oppositions")
def ready(self):
try:
import ool.oppositions.signals # noqa F401
except ImportError:
... | 23.428571 | 55 | 0.670732 | 35 | 328 | 6.171429 | 0.742857 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.259146 | 328 | 13 | 56 | 25.230769 | 0.876543 | 0.027439 | 0 | 0 | 0 | 0 | 0.082019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
6e11047f1563f2c628a6e847adcb6771b8f21bc7 | 122 | py | Python | tests/samples/generator_expression.py | spamegg1/snoop | 2d169d003de4382717f45592f5799983c26a8573 | [
"MIT"
] | 751 | 2019-07-03T13:40:38.000Z | 2022-03-30T02:28:00.000Z | tests/samples/generator_expression.py | spamegg1/snoop | 2d169d003de4382717f45592f5799983c26a8573 | [
"MIT"
] | 42 | 2019-07-04T19:30:36.000Z | 2022-03-26T09:19:19.000Z | tests/samples/generator_expression.py | spamegg1/snoop | 2d169d003de4382717f45592f5799983c26a8573 | [
"MIT"
] | 30 | 2019-07-14T15:55:27.000Z | 2022-03-19T16:38:12.000Z | import snoop
@snoop(depth=2)
def main():
return list(x * 2 for x in [1, 2])
if __name__ == '__main__':
main()
| 11.090909 | 38 | 0.581967 | 20 | 122 | 3.15 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.254098 | 122 | 10 | 39 | 12.2 | 0.648352 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0.166667 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 3 |
6e160a18bdba775e1af0c7017fea9848874d0faa | 208 | py | Python | user_tweet.py | julienbnr/twitter-bot | 13418490bff2abdfdce768f6757e258175fe653a | [
"MIT"
] | null | null | null | user_tweet.py | julienbnr/twitter-bot | 13418490bff2abdfdce768f6757e258175fe653a | [
"MIT"
] | null | null | null | user_tweet.py | julienbnr/twitter-bot | 13418490bff2abdfdce768f6757e258175fe653a | [
"MIT"
] | null | null | null | class UserTweet:
def __init__(self, user_name, last_tweet, keywords, url):
self.user_name = user_name
self.last_tweet = last_tweet
self.keywords = keywords
self.url = url
| 26 | 61 | 0.649038 | 27 | 208 | 4.62963 | 0.407407 | 0.192 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274038 | 208 | 7 | 62 | 29.714286 | 0.827815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 3 |
6e26910b72c543087737e60ec1e45a98df0fa784 | 137 | py | Python | byondcom/__init__.py | frawhst/gooncogs | 2301ba28b58c4d039c5064a9a014503e224578a4 | [
"MIT"
] | 2 | 2021-10-06T08:05:01.000Z | 2021-10-06T15:25:40.000Z | byondcom/__init__.py | frawhst/gooncogs | 2301ba28b58c4d039c5064a9a014503e224578a4 | [
"MIT"
] | null | null | null | byondcom/__init__.py | frawhst/gooncogs | 2301ba28b58c4d039c5064a9a014503e224578a4 | [
"MIT"
] | 5 | 2021-09-11T23:44:44.000Z | 2022-03-26T09:54:13.000Z | from redbot.core.bot import Red
from .byondcom import ByondCom
async def setup(bot: Red):
cog = ByondCom(bot)
bot.add_cog(cog)
| 17.125 | 31 | 0.715328 | 22 | 137 | 4.409091 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189781 | 137 | 7 | 32 | 19.571429 | 0.873874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 | 3 |
6e2c6197b4d1aeec56144f076d1a89e637644993 | 553 | py | Python | setup.py | eisin/call-forward-switcher-jp | f4e74c48360aafe787e24d2dddba7d94c74caa05 | [
"Apache-2.0"
] | null | null | null | setup.py | eisin/call-forward-switcher-jp | f4e74c48360aafe787e24d2dddba7d94c74caa05 | [
"Apache-2.0"
] | null | null | null | setup.py | eisin/call-forward-switcher-jp | f4e74c48360aafe787e24d2dddba7d94c74caa05 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='call_forward_switcher_jp',
version='0.7',
description='Call forward switcher for JP career',
author='eisin',
author_email='eisin@noreply.github.com',
url='https://github.com/eisin/call-forward-switcher-jp',... | 26.333333 | 106 | 0.661844 | 70 | 553 | 5.028571 | 0.585714 | 0.1875 | 0.323864 | 0.298295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013304 | 0.184448 | 553 | 20 | 107 | 27.65 | 0.767184 | 0.075949 | 0 | 0 | 0 | 0 | 0.51277 | 0.251473 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0625 | 0 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
280defa331901b67e69ccfa5cdc74753cbc4b82c | 3,143 | py | Python | uma/api/tests/test_war.py | Rexians/uma | 9964afa37b26949916d0a2ba752f806220b26d6c | [
"MIT"
] | 3 | 2022-02-27T16:23:34.000Z | 2022-03-21T18:20:38.000Z | uma/api/tests/test_war.py | Rexians/uma | 9964afa37b26949916d0a2ba752f806220b26d6c | [
"MIT"
] | null | null | null | uma/api/tests/test_war.py | Rexians/uma | 9964afa37b26949916d0a2ba752f806220b26d6c | [
"MIT"
] | 3 | 2022-01-12T16:35:10.000Z | 2022-03-21T18:20:10.000Z | import unittest
import requests
class TestWar(unittest.TestCase):
def test_expert(self):
"""
Test Expert difficulty (Tier 2)
"""
URL = "http://127.0.0.1:8000/war/2"
war_info = requests.get(URL).json()
self.assertEqual(war_info['tier'], 2)
self.assertEq... | 34.538462 | 117 | 0.589882 | 399 | 3,143 | 4.491228 | 0.197995 | 0.140625 | 0.301339 | 0.368304 | 0.683036 | 0.481027 | 0.40067 | 0.290179 | 0.209821 | 0.209821 | 0 | 0.056198 | 0.230035 | 3,143 | 91 | 118 | 34.538462 | 0.684298 | 0.063633 | 0 | 0.113208 | 0 | 0 | 0.260606 | 0 | 0 | 0 | 0 | 0 | 0.566038 | 1 | 0.113208 | false | 0 | 0.037736 | 0 | 0.169811 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
285814283671c900d434eb192530ff2b11076fb7 | 69 | py | Python | code/marscudasim/martian_cuda_rocketry.py | GandalfSaxe/letomes | 5f73a4066fcf69260cb538c105acf898b22e756d | [
"MIT"
] | null | null | null | code/marscudasim/martian_cuda_rocketry.py | GandalfSaxe/letomes | 5f73a4066fcf69260cb538c105acf898b22e756d | [
"MIT"
] | null | null | null | code/marscudasim/martian_cuda_rocketry.py | GandalfSaxe/letomes | 5f73a4066fcf69260cb538c105acf898b22e756d | [
"MIT"
] | null | null | null | from ctypes import *
cudasim = cdll.LoadLibrary("./libcudasim.so")
| 13.8 | 45 | 0.724638 | 8 | 69 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 4 | 46 | 17.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
285ed535341077474ca547e02200090011be2d29 | 3,466 | py | Python | test/test_upgrade_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | test/test_upgrade_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | test/test_upgrade_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Copyright 2016 SmartBear Software
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable l... | 20.269006 | 75 | 0.617715 | 401 | 3,466 | 5.002494 | 0.301746 | 0.129611 | 0.087737 | 0.119641 | 0.52343 | 0.405783 | 0.25324 | 0.084746 | 0 | 0 | 0 | 0.003812 | 0.318811 | 3,466 | 171 | 76 | 20.269006 | 0.845828 | 0.392383 | 0 | 0.369565 | 0 | 0 | 0.005112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0.369565 | 0.152174 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
286245abc68f5e9a43297fbcd7ff886e0f126a69 | 590 | py | Python | app/models.py | AayushKucheria/digital-health | 6fd1be0e5a1490e29a96e94631e6b92e4b8b834e | [
"MIT"
] | 1 | 2020-07-24T05:39:49.000Z | 2020-07-24T05:39:49.000Z | app/models.py | AayushKucheria/digital-health | 6fd1be0e5a1490e29a96e94631e6b92e4b8b834e | [
"MIT"
] | 1 | 2020-08-15T14:36:05.000Z | 2020-08-15T14:36:05.000Z | app/models.py | AayushKucheria/digital-health | 6fd1be0e5a1490e29a96e94631e6b92e4b8b834e | [
"MIT"
] | 1 | 2020-09-07T09:37:38.000Z | 2020-09-07T09:37:38.000Z | from sqlalchemy import Column, Integer, String
import app.database as database
# import database
# SQL Alchemy Models
class Patient(database.Base):
__tablename__ = "patients"
id = Column(Integer, primary_key=True, index=True)
name = Column(String)
age = Column(String)
sex = Column(String)
class... | 24.583333 | 54 | 0.716949 | 72 | 590 | 5.666667 | 0.416667 | 0.223039 | 0.147059 | 0.215686 | 0.284314 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 590 | 23 | 55 | 25.652174 | 0.85 | 0.10678 | 0 | 0 | 0 | 0 | 0.028681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2869ea9d7048f3b4d74927afd2ee4d1fee6b33bf | 210 | py | Python | cord/utils/str_constants.py | EveryZooM/cord-client-python | 84915dece3de45ae2be55255b709f1894dbab1f8 | [
"Apache-2.0"
] | null | null | null | cord/utils/str_constants.py | EveryZooM/cord-client-python | 84915dece3de45ae2be55255b709f1894dbab1f8 | [
"Apache-2.0"
] | null | null | null | cord/utils/str_constants.py | EveryZooM/cord-client-python | 84915dece3de45ae2be55255b709f1894dbab1f8 | [
"Apache-2.0"
] | 1 | 2021-01-11T22:12:47.000Z | 2021-01-11T22:12:47.000Z | OBJECTS = "objects"
CLASSIFICATIONS = "classifications"
OBJECT_HASH = "objectHash"
CLASSIFICATION_HASH = "classificationHash"
OBJECT_ANSWERS = "object_answers"
CLASSIFICATION_ANSWERS = "classification_answers"
| 30 | 49 | 0.828571 | 18 | 210 | 9.333333 | 0.444444 | 0.154762 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 210 | 6 | 50 | 35 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.409524 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
287783f19c80c602ad7c618cc469bb6789226f7c | 98 | py | Python | basics/chA_FILES_AND_EXCEPTIONS/1_file_reader.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | basics/chA_FILES_AND_EXCEPTIONS/1_file_reader.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | basics/chA_FILES_AND_EXCEPTIONS/1_file_reader.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | with open('pi_digits.txt') as file_object:
contents = file_object.read()
print(contents.rstrip()) | 32.666667 | 42 | 0.765306 | 15 | 98 | 4.8 | 0.8 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 3 | 43 | 32.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
287f7429e98e8856ddfae296ee044ee9514e12a6 | 3,654 | py | Python | src_old/architecture.py | gregpr07/NeuralNetwork | 89a1f4a08e0592f5cb1584026c4965ccf5abe1d2 | [
"Apache-2.0"
] | 2 | 2021-01-04T12:46:59.000Z | 2021-01-12T11:23:13.000Z | src_old/architecture.py | gregpr07/NeuralNetwork | 89a1f4a08e0592f5cb1584026c4965ccf5abe1d2 | [
"Apache-2.0"
] | 1 | 2020-12-23T08:27:30.000Z | 2020-12-31T10:32:25.000Z | src_old/architecture.py | gregpr07/NeuralNetwork | 89a1f4a08e0592f5cb1584026c4965ccf5abe1d2 | [
"Apache-2.0"
] | 1 | 2021-03-05T09:04:46.000Z | 2021-03-05T09:04:46.000Z | import numpy as np
from .kernel import kernels
class Neuron():
def __init__(self, bias, index, kernel):
self.value = 0
self.kernel = kernel
self.index = index
self.bias = bias
self.biasDerivative = 0
self.neuronDerivative = 0
def __repr__(self):
return ... | 31.230769 | 128 | 0.643952 | 441 | 3,654 | 5.247166 | 0.287982 | 0.025929 | 0.019015 | 0.02204 | 0.105445 | 0.063094 | 0.025929 | 0 | 0 | 0 | 0 | 0.002933 | 0.253421 | 3,654 | 116 | 129 | 31.5 | 0.845308 | 0.118774 | 0 | 0.089744 | 0 | 0.025641 | 0.049191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320513 | false | 0.012821 | 0.025641 | 0.115385 | 0.512821 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
28947a5cb628be8d4e2b41552589ed1fbaf8175d | 126 | py | Python | UseVarAll.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | 1 | 2019-11-12T13:38:54.000Z | 2019-11-12T13:38:54.000Z | UseVarAll.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | UseVarAll.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | def output():
print("out")
def input():
print("input")
def test():
print("test"*2)
__all__ = ['output','input'] | 12.6 | 28 | 0.555556 | 16 | 126 | 4.125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.206349 | 126 | 10 | 28 | 12.6 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.428571 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 3 |
289c94ce019672691c5abd3dc4a603126cf9b0d7 | 130 | py | Python | src/debruijnextend/__init__.py | Dreycey/DebruijnExtend | f2447446600ce2693b29c00dcd02e991ad9a278a | [
"MIT"
] | null | null | null | src/debruijnextend/__init__.py | Dreycey/DebruijnExtend | f2447446600ce2693b29c00dcd02e991ad9a278a | [
"MIT"
] | 1 | 2022-01-25T19:48:09.000Z | 2022-01-25T19:48:09.000Z | src/debruijnextend/__init__.py | Dreycey/DebruijnExtend | f2447446600ce2693b29c00dcd02e991ad9a278a | [
"MIT"
] | null | null | null | from src.debruijnextend.csvtohash import ProteinHash
# __init__.py
# Version of the DebruijnExtend package
__version__ = "1.0.0" | 21.666667 | 52 | 0.8 | 17 | 130 | 5.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.123077 | 130 | 6 | 53 | 21.666667 | 0.815789 | 0.376923 | 0 | 0 | 0 | 0 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
28a25d61f7276ded5f89bb2322bf408dea58ac59 | 274 | py | Python | [P-02]/p02q03.py | ViniciusLoures/BCC701 | fce5468ea4903fee819c405bd625261216eaeffc | [
"MIT"
] | null | null | null | [P-02]/p02q03.py | ViniciusLoures/BCC701 | fce5468ea4903fee819c405bd625261216eaeffc | [
"MIT"
] | null | null | null | [P-02]/p02q03.py | ViniciusLoures/BCC701 | fce5468ea4903fee819c405bd625261216eaeffc | [
"MIT"
] | null | null | null | l = float(input('Forneça o comprimerto do fio: '))
p = float(input('Forneça a força peso: '))
m = float(input('Forneça a massa: '))
g = p / m
t = 2 * 3.14 * ((l / g)**0.5)
print('A aceleração da gravidade é {:.3f}'.format(g))
print('O período do pêndulo é {:.3f}'.format(t)) | 39.142857 | 53 | 0.613139 | 50 | 274 | 3.36 | 0.6 | 0.178571 | 0.303571 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.167883 | 274 | 7 | 54 | 39.142857 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95385d9dcc81b35498476ed483004b05d94bcaa2 | 620 | py | Python | storage.py | Remmoze/Komsborfair-telegram-bot | ab5675b3496a4ab59be55fe3ccfa72b6b854df20 | [
"MIT"
] | null | null | null | storage.py | Remmoze/Komsborfair-telegram-bot | ab5675b3496a4ab59be55fe3ccfa72b6b854df20 | [
"MIT"
] | null | null | null | storage.py | Remmoze/Komsborfair-telegram-bot | ab5675b3496a4ab59be55fe3ccfa72b6b854df20 | [
"MIT"
] | null | null | null | import os
from product import Product
class Storage:
def __init__(self):
self.cache = {}
def get_or_create_pending_product(self, user_id):
user_id = str(user_id)
if(user_id in self.cache):
return self.cache[user_id]
return self.create_new_pending_product(user_id)
... | 22.962963 | 55 | 0.651613 | 88 | 620 | 4.181818 | 0.261364 | 0.228261 | 0.141304 | 0.105978 | 0.252717 | 0.211957 | 0.211957 | 0.211957 | 0.211957 | 0.211957 | 0 | 0 | 0.266129 | 620 | 26 | 56 | 23.846154 | 0.808791 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
953aa961fada871e68643a5d58ff979745af10b9 | 602 | py | Python | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/bidspace/pareto/ParetoFrontier.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | 1 | 2022-02-17T19:14:46.000Z | 2022-02-17T19:14:46.000Z | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/bidspace/pareto/ParetoFrontier.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/bidspace/pareto/ParetoFrontier.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | from typing import List, Set
from geniusweb.profile.Profile import Profile
from abc import ABC, abstractmethod
from geniusweb.issuevalue.Bid import Bid
class ParetoFrontier (ABC):
'''
The pareto frontier is the set of {@link Bid}s for which there is no other
bid that is similar or better for the involved profiles.
... | 25.083333 | 75 | 0.724252 | 88 | 602 | 4.954545 | 0.477273 | 0.09633 | 0.077982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 602 | 23 | 76 | 26.173913 | 0.889796 | 0.44186 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
955fb772b8d1bdae06da044374d77f5fc7191646 | 8,574 | py | Python | python/example_code/sns/test/test_sns_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 5,166 | 2016-09-02T08:48:38.000Z | 2022-03-31T19:12:43.000Z | python/example_code/sns/test/test_sns_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 1,186 | 2016-09-28T23:05:19.000Z | 2022-03-31T18:07:47.000Z | python/example_code/sns/test/test_sns_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 4,003 | 2016-08-29T19:51:40.000Z | 2022-03-31T16:40:02.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Unit tests for sns_basics.py
"""
import json
import boto3
from botocore.exceptions import ClientError
import pytest
from sns_basics import SnsWrapper
TOPIC_ARN = 'arn:aws:sns:REGION:123456789012:topic/test... | 37.938053 | 80 | 0.718801 | 1,113 | 8,574 | 5.234501 | 0.103324 | 0.111226 | 0.050463 | 0.064882 | 0.78287 | 0.760556 | 0.72863 | 0.686062 | 0.658428 | 0.632681 | 0 | 0.005526 | 0.176814 | 8,574 | 225 | 81 | 38.106667 | 0.819921 | 0.015395 | 0 | 0.619318 | 0 | 0 | 0.082059 | 0.014941 | 0 | 0 | 0 | 0 | 0.096591 | 1 | 0.056818 | false | 0 | 0.028409 | 0 | 0.085227 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
959f70f0e3ea508a9908e3406216291ecfb3f8cf | 145 | py | Python | proffesional_scan.py | Spnetic-5/barcode_scanner | d85560abe4086dafe7c7749b1a9dd1751eca197a | [
"MIT"
] | null | null | null | proffesional_scan.py | Spnetic-5/barcode_scanner | d85560abe4086dafe7c7749b1a9dd1751eca197a | [
"MIT"
] | null | null | null | proffesional_scan.py | Spnetic-5/barcode_scanner | d85560abe4086dafe7c7749b1a9dd1751eca197a | [
"MIT"
] | null | null | null | from PIL import Image
from pyzbar.pyzbar import decode
image_path = "barcode.jpg"
img = Image.open(image_path)
decode = decode(img)
print(decode) | 24.166667 | 32 | 0.786207 | 23 | 145 | 4.869565 | 0.521739 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 145 | 6 | 33 | 24.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
95a267f4060a56f1a640b1e6d76b5da9ceb66a1a | 250 | py | Python | app/app/views.py | LondonAppDeveloper/c2-hello-world-api | b97b0ae0bd51bb4d3d468d5ca1c10c624f2f270d | [
"MIT"
] | 1 | 2019-02-12T11:19:31.000Z | 2019-02-12T11:19:31.000Z | app/app/views.py | LondonAppDeveloper/c2-hello-world-api | b97b0ae0bd51bb4d3d468d5ca1c10c624f2f270d | [
"MIT"
] | null | null | null | app/app/views.py | LondonAppDeveloper/c2-hello-world-api | b97b0ae0bd51bb4d3d468d5ca1c10c624f2f270d | [
"MIT"
] | null | null | null | import sys
from rest_framework.response import Response
from rest_framework.decorators import api_view
@api_view()
def hello_world(request):
""" Hello World API View."""
return Response({'message': 'Hello World!', 'version': sys.version})
| 22.727273 | 72 | 0.74 | 33 | 250 | 5.454545 | 0.484848 | 0.116667 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 250 | 10 | 73 | 25 | 0.837209 | 0.084 | 0 | 0 | 0 | 0 | 0.117117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
95bbf4d4f89947f1cda672e5a040057499d88d2e | 621 | py | Python | lib/common/pslist.py | mkorman90/VolatilityBot | b31ef29e42fa820d2e1afc99e9e7c318174bb591 | [
"MIT"
] | 259 | 2016-10-05T20:55:47.000Z | 2022-03-04T09:56:06.000Z | lib/common/pslist.py | mkorman90/VolatilityBot | b31ef29e42fa820d2e1afc99e9e7c318174bb591 | [
"MIT"
] | 4 | 2016-11-02T03:38:11.000Z | 2021-06-15T05:31:56.000Z | lib/common/pslist.py | mkorman90/VolatilityBot | b31ef29e42fa820d2e1afc99e9e7c318174bb591 | [
"MIT"
] | 62 | 2016-10-06T18:13:53.000Z | 2021-06-14T16:32:33.000Z | #! /usr/bin/python
import json
from conf.config import VOLATILITY_PATH, VOLATILITYBOT_HOME
from lib.core.memory_utils import execute_volatility_command
def load_golden_image(machine_instance):
with open(VOLATILITYBOT_HOME + '/GoldenImage/' + machine_instance.machine_name + '/pslist.json') as data_file:
... | 27 | 114 | 0.768116 | 79 | 621 | 5.78481 | 0.56962 | 0.098468 | 0.105033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154589 | 621 | 22 | 115 | 28.227273 | 0.870476 | 0.251208 | 0 | 0 | 0 | 0 | 0.070615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
95c1c1674390bc818c95f03a1f30b5c874390f3e | 173 | py | Python | version.py | wq/wq.create | f263137dffe3eec78fcec5b2ed65753103397e50 | [
"MIT"
] | null | null | null | version.py | wq/wq.create | f263137dffe3eec78fcec5b2ed65753103397e50 | [
"MIT"
] | 1 | 2021-05-03T08:42:00.000Z | 2021-05-06T15:20:24.000Z | version.py | wq/wq.create | f263137dffe3eec78fcec5b2ed65753103397e50 | [
"MIT"
] | null | null | null | from pkg_resources import get_distribution, DistributionNotFound
try:
VERSION = get_distribution("wq.create").version
except DistributionNotFound:
VERSION = "0.0.0"
| 28.833333 | 64 | 0.786127 | 20 | 173 | 6.65 | 0.65 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.127168 | 173 | 5 | 65 | 34.6 | 0.860927 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95c69a902ff2121ba5512f3f40fd222e85cc8b2f | 291 | py | Python | Validation/HGCalValidation/python/HFNoseRecHitValidation_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/HGCalValidation/python/HFNoseRecHitValidation_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/HGCalValidation/python/HFNoseRecHitValidation_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Validation.HGCalValidation.hgcalRecHitValidationEE_cfi import *
hfnoseRecHitValidation = hgcalRecHitValidationEE.clone(
DetectorName = cms.string("HGCalHFNoseSensitive"),
RecHitSource = cms.InputTag("HGCalRecHit","HGCHFNoseRecHits"))
| 32.333333 | 68 | 0.817869 | 24 | 291 | 9.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09622 | 291 | 8 | 69 | 36.375 | 0.901141 | 0 | 0 | 0 | 0 | 0 | 0.162069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 3 |
95d2f29028d2874225130cc163456500971e68cc | 158 | py | Python | tests/Context_class.py | vamsi245/py-common-services-lib | 25ffec624c05e9a34d6ab13f685d72cb086cedcc | [
"MIT"
] | null | null | null | tests/Context_class.py | vamsi245/py-common-services-lib | 25ffec624c05e9a34d6ab13f685d72cb086cedcc | [
"MIT"
] | null | null | null | tests/Context_class.py | vamsi245/py-common-services-lib | 25ffec624c05e9a34d6ab13f685d72cb086cedcc | [
"MIT"
] | null | null | null | class context_class_object:
log_stream_name= "logstream"
log_group_name = "/aws/lambda/ship-003-inbound-int"
aws_request_id= "12345-12345-12345"
| 26.333333 | 55 | 0.746835 | 23 | 158 | 4.782609 | 0.73913 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0.139241 | 158 | 5 | 56 | 31.6 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.367089 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
95d61d70b04aa42f800b91c9605ecb596566f6e8 | 128 | py | Python | parking/instance/config.py | ghoulmann/bcc-parking | 760afa759707b890b28404d048021c955faaa8c4 | [
"MIT"
] | 1 | 2018-06-04T12:50:21.000Z | 2018-06-04T12:50:21.000Z | parking/instance/config.py | ghoulmann/bcc-parking | 760afa759707b890b28404d048021c955faaa8c4 | [
"MIT"
] | null | null | null | parking/instance/config.py | ghoulmann/bcc-parking | 760afa759707b890b28404d048021c955faaa8c4 | [
"MIT"
] | null | null | null | # instance/config.py
import os
SECRET_KEY = os.urandom(24)
SQLALCHEMY_DATABASE_URI = 'mysql://parking:admin@localhost/parking'
| 21.333333 | 67 | 0.789063 | 18 | 128 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.085938 | 128 | 5 | 68 | 25.6 | 0.820513 | 0.140625 | 0 | 0 | 0 | 0 | 0.361111 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
251bbee93ef6c3aa87b6cd185a21f9721b41bc06 | 1,018 | py | Python | tests/unit/executors/encoders/nlp/test_transformer.py | Zenahr/jina | 54ef571e90e05d1f1651597c05196d58f73662fb | [
"Apache-2.0"
] | null | null | null | tests/unit/executors/encoders/nlp/test_transformer.py | Zenahr/jina | 54ef571e90e05d1f1651597c05196d58f73662fb | [
"Apache-2.0"
] | null | null | null | tests/unit/executors/encoders/nlp/test_transformer.py | Zenahr/jina | 54ef571e90e05d1f1651597c05196d58f73662fb | [
"Apache-2.0"
] | null | null | null | import unittest
from jina.executors.encoders.nlp.transformer import TransformerTFEncoder, TransformerTorchEncoder
from tests.unit.executors.encoders.nlp import NlpTestCase
class PytorchTestCase(NlpTestCase):
def _get_encoder(self, metas):
return TransformerTorchEncoder(
pretrained_model_name_... | 27.513514 | 97 | 0.713163 | 104 | 1,018 | 6.673077 | 0.346154 | 0.080692 | 0.097983 | 0.138329 | 0.648415 | 0.648415 | 0.648415 | 0.648415 | 0.648415 | 0.648415 | 0 | 0 | 0.207269 | 1,018 | 36 | 98 | 28.277778 | 0.859975 | 0 | 0 | 0.64 | 0 | 0 | 0.072692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.12 | 0.16 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 3 |
c2574ec2333be228b75d02c397273fb7bf04fc46 | 140 | py | Python | activities_photos/apps.py | uestc-msc/uestcmsc_webapp_backend | fce859899346598f5a263b6fabb74deec816bc8c | [
"MIT"
] | 1 | 2021-01-04T01:56:26.000Z | 2021-01-04T01:56:26.000Z | activities_photos/apps.py | uestc-msc/uestcmsc_webapp_backend | fce859899346598f5a263b6fabb74deec816bc8c | [
"MIT"
] | null | null | null | activities_photos/apps.py | uestc-msc/uestcmsc_webapp_backend | fce859899346598f5a263b6fabb74deec816bc8c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ActivitiesPhotosConfig(AppConfig):
name = 'activities_photos'
verbose_name = '沙龙照片'
| 20 | 41 | 0.728571 | 14 | 140 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 140 | 6 | 42 | 23.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
c25c6b44a04f503621389c23f9ed03294beb5902 | 3,460 | py | Python | BiblioAlly/parse.py | gambit4348/BiblioAlly | c04ac378770a3cdcbba863799383103049df22f3 | [
"MIT"
] | null | null | null | BiblioAlly/parse.py | gambit4348/BiblioAlly | c04ac378770a3cdcbba863799383103049df22f3 | [
"MIT"
] | null | null | null | BiblioAlly/parse.py | gambit4348/BiblioAlly | c04ac378770a3cdcbba863799383103049df22f3 | [
"MIT"
] | null | null | null | # Here we create BibBase supporting infrastructure:
# 1. An Arpeggio Grammar is declared so we can parse a BibTeX file
# 2. An Arpeggio Visitor class is declared so the AST from the BibTeX file can be conveniently interpreted
# 3. BibTeX translators are declared so each kind of BibTeX file (with the specifics of Web... | 34.6 | 112 | 0.615029 | 398 | 3,460 | 5.309045 | 0.321608 | 0.030289 | 0.060577 | 0.010412 | 0.050166 | 0.050166 | 0.022717 | 0.022717 | 0.022717 | 0 | 0 | 0.005536 | 0.269075 | 3,460 | 99 | 113 | 34.949495 | 0.829972 | 0.20289 | 0 | 0.028571 | 0 | 0 | 0.028759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.028571 | 0.242857 | 0.542857 | 0.014286 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
c2e7f4b448c9c99373f9738036a0e5a1ce3c73a1 | 3,529 | py | Python | src/spark/internal/parse/values_common.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | 1 | 2015-05-21T20:00:12.000Z | 2015-05-21T20:00:12.000Z | src/spark/internal/parse/values_common.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | null | null | null | src/spark/internal/parse/values_common.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | null | null | null | #*****************************************************************************#
#* Copyright (c) 2004-2008, SRI International. *#
#* All rights reserved. *#
#* ... | 42.011905 | 80 | 0.497875 | 336 | 3,529 | 5.175595 | 0.491071 | 0.024152 | 0.058654 | 0.062105 | 0.150086 | 0.109258 | 0.109258 | 0.078206 | 0.078206 | 0.078206 | 0 | 0.004389 | 0.289884 | 3,529 | 83 | 81 | 42.518072 | 0.689545 | 0.68603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.037037 | 0.259259 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c2f4ffb4909267df713810cda34ff41f775e4cca | 2,601 | py | Python | game.py | munakoiso/alpha-zero | 49d0dee93955fa4fb3c91e1291b889bea24cb30f | [
"MIT"
] | 76 | 2018-05-03T21:10:09.000Z | 2022-02-15T23:43:30.000Z | game.py | munakoiso/alpha-zero | 49d0dee93955fa4fb3c91e1291b889bea24cb30f | [
"MIT"
] | 2 | 2018-09-22T03:01:12.000Z | 2019-01-13T12:08:32.000Z | game.py | munakoiso/alpha-zero | 49d0dee93955fa4fb3c91e1291b889bea24cb30f | [
"MIT"
] | 26 | 2018-09-03T12:45:02.000Z | 2021-12-06T07:25:01.000Z | # MIT License
#
# Copyright (c) 2018 Blanyal D'Souza
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, mer... | 33.779221 | 80 | 0.637063 | 356 | 2,601 | 4.617978 | 0.457865 | 0.053528 | 0.021898 | 0.023723 | 0.019465 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004715 | 0.266052 | 2,601 | 76 | 81 | 34.223684 | 0.856469 | 0.766628 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.461538 | 0 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6c0c2ba4706096acaae3a728aa1f55b53a06eb03 | 290 | py | Python | 02_crawling/bithumb_crawling/bithumb/bithumb/items.py | hmkim312/project | 06fe34546cf55ec2844d220f8bf64329dcb853f3 | [
"MIT"
] | null | null | null | 02_crawling/bithumb_crawling/bithumb/bithumb/items.py | hmkim312/project | 06fe34546cf55ec2844d220f8bf64329dcb853f3 | [
"MIT"
] | null | null | null | 02_crawling/bithumb_crawling/bithumb/bithumb/items.py | hmkim312/project | 06fe34546cf55ec2844d220f8bf64329dcb853f3 | [
"MIT"
] | 1 | 2021-06-03T05:33:14.000Z | 2021-06-03T05:33:14.000Z | import scrapy
class BithumbItem(scrapy.Item):
date = scrapy.Field()
coin_names = scrapy.Field()
coin_codes = scrapy.Field()
coin_prices = scrapy.Field()
price_changes = scrapy.Field()
transaction_volumes = scrapy.Field()
market_capitalizations = scrapy.Field()
| 26.363636 | 43 | 0.703448 | 33 | 290 | 6 | 0.515152 | 0.388889 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186207 | 290 | 10 | 44 | 29 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6c3270062ab6b0259830f7e90373ebc16235aade | 119 | py | Python | get_digits.py | RexSun-q/PythonFishC | d84b88a06c7916d9bca1a1cdef131d2a3ba6925e | [
"MIT"
] | null | null | null | get_digits.py | RexSun-q/PythonFishC | d84b88a06c7916d9bca1a1cdef131d2a3ba6925e | [
"MIT"
] | null | null | null | get_digits.py | RexSun-q/PythonFishC | d84b88a06c7916d9bca1a1cdef131d2a3ba6925e | [
"MIT"
] | null | null | null | res = []
def digit(x):
if x :
res.insert(0,x % 10)
digit(x//10)
return res
print(digit(1985))
| 13.222222 | 28 | 0.495798 | 19 | 119 | 3.105263 | 0.578947 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 0.336134 | 119 | 8 | 29 | 14.875 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c390e8db66798a2a9691fd3dfb0ce742bf12acc | 1,399 | py | Python | s11_exception/build_in_exception.py | chiehandlu/pythonlearn | 53ba8f0f8edc7df7b09b0f233d52d7145d380ec0 | [
"Apache-2.0"
] | 14 | 2017-06-27T06:20:57.000Z | 2020-03-31T11:05:16.000Z | s11_exception/build_in_exception.py | chiehandlu/pythonlearn | 53ba8f0f8edc7df7b09b0f233d52d7145d380ec0 | [
"Apache-2.0"
] | null | null | null | s11_exception/build_in_exception.py | chiehandlu/pythonlearn | 53ba8f0f8edc7df7b09b0f233d52d7145d380ec0 | [
"Apache-2.0"
] | 11 | 2017-07-19T07:09:11.000Z | 2020-12-03T19:16:35.000Z | # some build-in exception types
"""
Exceptions
|
--------------------------------------------
| |
Build-in Exceptions User defined Exceptions
"""
# AttributeEr... | 19.430556 | 69 | 0.518942 | 148 | 1,399 | 4.905405 | 0.351351 | 0.096419 | 0.134986 | 0.173554 | 0.447658 | 0.447658 | 0.447658 | 0.404959 | 0.404959 | 0.404959 | 0 | 0.015121 | 0.290922 | 1,399 | 72 | 70 | 19.430556 | 0.716734 | 0.878485 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c6155c40c9543998c5d0479418990f6f94cb2c4 | 85 | py | Python | epytope/test/__init__.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/test/__init__.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/test/__init__.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | __author__ = 'schubert'
# TODO: Combine the individual test to a complete test suite | 28.333333 | 60 | 0.776471 | 12 | 85 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 3 | 60 | 28.333333 | 0.873239 | 0.682353 | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c6d8e02ecbba029d6f96acc844479caff2bcb06 | 349 | py | Python | division.py | tirthbodawala/babaria-demo | ebd4c95cbd2d56082727e3db0a167b46b58eeeb5 | [
"MIT"
] | null | null | null | division.py | tirthbodawala/babaria-demo | ebd4c95cbd2d56082727e3db0a167b46b58eeeb5 | [
"MIT"
] | null | null | null | division.py | tirthbodawala/babaria-demo | ebd4c95cbd2d56082727e3db0a167b46b58eeeb5 | [
"MIT"
] | null | null | null | # this code does literally nothing useful. Just divides
# 5 by 2
print('\n\n---- DIVIDING 5/2 -----')
print('Answer: %.2f' %(5/2))
print('-----------------------\n\n')
"""
This is a multiline comment, but has some really important data to it.
--> Never run the above code with python2 as it will not give correct answer... | 29.083333 | 76 | 0.630372 | 57 | 349 | 3.859649 | 0.701754 | 0.081818 | 0.063636 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027491 | 0.166189 | 349 | 11 | 77 | 31.727273 | 0.728522 | 0.234957 | 0 | 0 | 0 | 0 | 0.611111 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6c6e96638e7458368028d2ca59add2dd54fe7868 | 478 | py | Python | lib/JumpScale/baselib/jpackages/templates/actions/install.post.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | lib/JumpScale/baselib/jpackages/templates/actions/install.post.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | lib/JumpScale/baselib/jpackages/templates/actions/install.post.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | def main(j,jp):
#copying of files is not done in this step
# the order is:
# first do prepare
# then the system automatically copies (if not in debug) starting from the files section of the jpackage
# then do this tasklet (postinstall)
#shortcut to some usefull install tools
#do=j.syste... | 31.866667 | 108 | 0.692469 | 71 | 478 | 4.661972 | 0.661972 | 0.063444 | 0.054381 | 0.066465 | 0.114804 | 0.114804 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253138 | 478 | 15 | 109 | 31.866667 | 0.927171 | 0.813808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6c7be2ee6a718687971efc06ccfde6502fb6a61c | 30 | py | Python | editorconfig/version.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 70 | 2015-01-12T09:55:18.000Z | 2022-03-29T06:15:49.000Z | editorconfig/version.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 26 | 2015-09-15T06:46:51.000Z | 2022-03-28T08:56:35.000Z | editorconfig/version.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 28 | 2015-04-05T18:07:16.000Z | 2022-03-28T08:08:00.000Z | VERSION = (0, 12, 3, "final")
| 15 | 29 | 0.533333 | 5 | 30 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.2 | 30 | 1 | 30 | 30 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
66689071a7dc2be5cbaebc57c8bf7e10f82fea85 | 1,506 | py | Python | src/robot/utils/idgenerator.py | gdw2/robot-framework | f25068edf1502e76ba8664d4b5ed1aebe0ee2434 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/robot/utils/idgenerator.py | gdw2/robot-framework | f25068edf1502e76ba8664d4b5ed1aebe0ee2434 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/robot/utils/idgenerator.py | gdw2/robot-framework | f25068edf1502e76ba8664d4b5ed1aebe0ee2434 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2008-2010 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 28.961538 | 75 | 0.665339 | 216 | 1,506 | 4.402778 | 0.449074 | 0.063091 | 0.046267 | 0.047319 | 0.136698 | 0.136698 | 0.136698 | 0.069401 | 0 | 0 | 0 | 0.01458 | 0.225764 | 1,506 | 51 | 76 | 29.529412 | 0.801029 | 0.383134 | 0 | 0.083333 | 0 | 0 | 0.017505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.041667 | 0.208333 | 0.708333 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
66a21464a23fc5e32700a8fee9dde81f5cf85d20 | 1,897 | py | Python | src/salt/base/ext/_modules/cloud.py | autopi-io/autopi-core | db50b2d8073af2d0f50a7c83b7cb370491749e2d | [
"Apache-2.0"
] | 133 | 2018-01-26T18:17:52.000Z | 2022-03-18T03:27:43.000Z | src/salt/base/ext/_modules/cloud.py | autopi-io/autopi-core | db50b2d8073af2d0f50a7c83b7cb370491749e2d | [
"Apache-2.0"
] | 1 | 2020-01-10T09:09:56.000Z | 2020-01-10T09:09:56.000Z | src/salt/base/ext/_modules/cloud.py | autopi-io/autopi-core | db50b2d8073af2d0f50a7c83b7cb370491749e2d | [
"Apache-2.0"
] | 28 | 2018-09-14T04:38:29.000Z | 2022-02-20T00:14:18.000Z | import logging
from messaging import EventDrivenMessageClient, msg_pack as _msg_pack
log = logging.getLogger(__name__)
client = EventDrivenMessageClient("cloud")
def __init__(opts):
client.init(opts)
def help():
"""
Shows this help information.
"""
return __salt__["sys.doc"]("cloud.*")
... | 22.317647 | 84 | 0.628888 | 221 | 1,897 | 5.235294 | 0.411765 | 0.104581 | 0.088159 | 0.069144 | 0.105445 | 0.105445 | 0.058773 | 0 | 0 | 0 | 0 | 0.000682 | 0.227201 | 1,897 | 84 | 85 | 22.583333 | 0.78854 | 0.510807 | 0 | 0 | 0 | 0 | 0.065531 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 1 | 0.368421 | false | 0 | 0.105263 | 0 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
66b3bf3edb04749c406243f1568d9c0a58cac939 | 10,378 | py | Python | src/constal.py | evandroabukamel/open-sky | 4df11736cbecaf651d88c61f92d4657aa359c465 | [
"MIT"
] | 1 | 2019-10-20T21:32:20.000Z | 2019-10-20T21:32:20.000Z | src/constal.py | evandroabukamel/open-sky | 4df11736cbecaf651d88c61f92d4657aa359c465 | [
"MIT"
] | null | null | null | src/constal.py | evandroabukamel/open-sky | 4df11736cbecaf651d88c61f92d4657aa359c465 | [
"MIT"
] | null | null | null | con = [[] for i in range(88)]
con[0] = [ 15, 63, 68, 82, 154, 163, 165, 182, 215, 226, 269, 271, 335, 337, 390, 417, 458, 469, 477, 603, 604, 8762, 8961, 8965, 8976, 9003]
con[1] = [3765, 3780, 3781, 3789, 3871, 3947, 4104, 4118, 4273]
con[2] = [5261, 5303, 5336, 5470, 5730, 5782, 6020, 6021, 61... | 115.311111 | 250 | 0.621892 | 1,747 | 10,378 | 3.694333 | 0.940469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.737169 | 0.192715 | 10,378 | 89 | 251 | 116.606742 | 0.033182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
66dd32163876a3e854efae80d9126c1c1462c39f | 153 | py | Python | AutoWordle.py | godoggyo/AutoWordle | 5ece0ed86415e2b842e0f5790eead43e74735597 | [
"Apache-2.0"
] | null | null | null | AutoWordle.py | godoggyo/AutoWordle | 5ece0ed86415e2b842e0f5790eead43e74735597 | [
"Apache-2.0"
] | null | null | null | AutoWordle.py | godoggyo/AutoWordle | 5ece0ed86415e2b842e0f5790eead43e74735597 | [
"Apache-2.0"
] | null | null | null | import _gamefunc as ws
class AutoWordle():
word = None
def __init__(self) -> None:
ws.establishWordPool
word = ws.selectWord() | 17 | 31 | 0.627451 | 17 | 153 | 5.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281046 | 153 | 9 | 32 | 17 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
66f0d0c0ea43720fbb070301b0b56cf7eb0bc265 | 185 | py | Python | lambdata_james/__init__.py | DavidVollendroff/lambdata_jamesluttringer2019 | bd714536a8734e39a7cdc48d121f0c36353707a6 | [
"MIT"
] | null | null | null | lambdata_james/__init__.py | DavidVollendroff/lambdata_jamesluttringer2019 | bd714536a8734e39a7cdc48d121f0c36353707a6 | [
"MIT"
] | null | null | null | lambdata_james/__init__.py | DavidVollendroff/lambdata_jamesluttringer2019 | bd714536a8734e39a7cdc48d121f0c36353707a6 | [
"MIT"
] | null | null | null | '''
Lambdata is a collection of data science helper functions
'''
import pandas as pd
import numpy as np
#sample df
ones = pd.DataFrame(np.ones(10))
zeros = pd.DataFrame(np.zeros(50))
| 18.5 | 57 | 0.735135 | 31 | 185 | 4.387097 | 0.709677 | 0.161765 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.151351 | 185 | 9 | 58 | 20.555556 | 0.840764 | 0.362162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dd1580c4cd485278bb379ec250788ce368252f02 | 900 | py | Python | credsweeper/file_handler/string_content_provider.py | cuspymd/CredSweeper | 376e7faff41d8b58f0d9e2a82955ad0929ee8290 | [
"MIT"
] | 17 | 2021-10-22T00:29:46.000Z | 2022-03-21T03:05:56.000Z | credsweeper/file_handler/string_content_provider.py | cuspymd/CredSweeper | 376e7faff41d8b58f0d9e2a82955ad0929ee8290 | [
"MIT"
] | 29 | 2021-11-05T21:10:51.000Z | 2022-03-30T10:41:08.000Z | credsweeper/file_handler/string_content_provider.py | cuspymd/CredSweeper | 376e7faff41d8b58f0d9e2a82955ad0929ee8290 | [
"MIT"
] | 16 | 2021-11-05T20:39:54.000Z | 2022-03-11T00:57:32.000Z | from typing import List, Optional
from credsweeper.file_handler.analysis_target import AnalysisTarget
from credsweeper.file_handler.content_provider import ContentProvider
class StringContentProvider(ContentProvider):
"""Allow to scan array of lines.
Parameters:
lines: lines to be processed
... | 32.142857 | 109 | 0.697778 | 119 | 900 | 5.142857 | 0.478992 | 0.078431 | 0.062092 | 0.084967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001437 | 0.226667 | 900 | 27 | 110 | 33.333333 | 0.877874 | 0.29 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dd15a1e0643426d6a3c52a8ddcc147abbc418aed | 707 | py | Python | templates/template.py | 1m38/OnlineJudgeHelper | 3bef0883c017665fe200c95b05a108b6290ad092 | [
"MIT"
] | null | null | null | templates/template.py | 1m38/OnlineJudgeHelper | 3bef0883c017665fe200c95b05a108b6290ad092 | [
"MIT"
] | 6 | 2017-05-01T04:59:18.000Z | 2019-05-25T10:41:02.000Z | templates/template.py | 1m38/OnlineJudgeHelper | 3bef0883c017665fe200c95b05a108b6290ad092 | [
"MIT"
] | null | null | null | # coding: utf-8
import sys
import math
import array
import bisect
import collections
from collections import Counter, defaultdict
import fractions
import heapq
import re
sys.setrecursionlimit(1000000)
def array2d(dim1, dim2, init=None):
return [[init for _ in range(dim2)] for _ in range(dim1)]
def argsort(l, ... | 17.243902 | 69 | 0.673267 | 106 | 707 | 4.396226 | 0.537736 | 0.021459 | 0.042918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.17256 | 707 | 40 | 70 | 17.675 | 0.774359 | 0.018388 | 0 | 0 | 0 | 0 | 0.018786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.346154 | 0.115385 | 0.653846 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
dd16bd33d0eeba996c1f141147c24945f93ae36d | 187 | py | Python | python_console_package/models/module_functions.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null | python_console_package/models/module_functions.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null | python_console_package/models/module_functions.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null |
def multiply(numbers):
result = numbers[0]
for number in numbers:
result *= number
return result
def print_module():
print("Called function of python module") | 15.583333 | 45 | 0.652406 | 23 | 187 | 5.26087 | 0.652174 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.262032 | 187 | 12 | 45 | 15.583333 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.171123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd301bf48aa550c5d3e1cca3e6d516ab261286dc | 1,245 | py | Python | ispyb/model/interface.py | rjgildea/ispyb-api | 24e76c79ef06c7cc8edc35066aa1021dee20d67a | [
"Apache-2.0"
] | null | null | null | ispyb/model/interface.py | rjgildea/ispyb-api | 24e76c79ef06c7cc8edc35066aa1021dee20d67a | [
"Apache-2.0"
] | null | null | null | ispyb/model/interface.py | rjgildea/ispyb-api | 24e76c79ef06c7cc8edc35066aa1021dee20d67a | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function
import ispyb.model.datacollection
import ispyb.model.processingprogram
import ispyb.model.processingjob
class ObjectModelMixIn:
"""Object model accessor functions for Connector classes."""
def get_data_collection(self, dcid):
"""Return... | 41.5 | 83 | 0.756627 | 135 | 1,245 | 6.851852 | 0.333333 | 0.075676 | 0.090811 | 0.138378 | 0.225946 | 0.185946 | 0.185946 | 0.134054 | 0.134054 | 0 | 0 | 0 | 0.174297 | 1,245 | 29 | 84 | 42.931034 | 0.899805 | 0.364659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.307692 | 0 | 1 | 0.076923 | 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 | 0 | 1 | 0 | 0 | 3 |
dd378c2def3f9de21f522008ee7447b57c1693b3 | 692 | py | Python | app.py | rramoss/api-postal-py | 088a3ce84307adc76037a17a8f91d38498e9dc55 | [
"MIT"
] | null | null | null | app.py | rramoss/api-postal-py | 088a3ce84307adc76037a17a8f91d38498e9dc55 | [
"MIT"
] | 1 | 2021-06-02T00:40:23.000Z | 2021-06-02T00:40:23.000Z | app.py | rramoss/api-postal-py | 088a3ce84307adc76037a17a8f91d38498e9dc55 | [
"MIT"
] | null | null | null | #Import library
from flask import Flask
from flask_restful import Api
from flaskext.mysql import MySQL
from dotenv import load_dotenv
import os
#name app flask app
app = Flask(__name__)
api = Api(app)
#cache flask
app.config["CACHE_TYPE"] = "null"
#env dot load data
#load_dotenv()
#mysql config
app.config['MYSQL_DAT... | 23.066667 | 63 | 0.773121 | 104 | 692 | 4.942308 | 0.355769 | 0.087549 | 0.108949 | 0.171206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 692 | 29 | 64 | 23.862069 | 0.829032 | 0.166185 | 0 | 0 | 0 | 0 | 0.260563 | 0.040493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
dd5cb9ed8ca97749850a36a401845bcb2b5bcaab | 9,974 | py | Python | src/genie/libs/parser/iosxr/tests/ShowOspfv3VrfAllInclusiveDatabaseRouter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowOspfv3VrfAllInclusiveDatabaseRouter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowOspfv3VrfAllInclusiveDatabaseRouter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
'vrf': {
'default': {
'address_family': {
'ipv6': {
'instance': {
'mpls1': {
'areas': {
'0.0.0.0': {
'database': {
... | 72.275362 | 113 | 0.136054 | 342 | 9,974 | 3.74269 | 0.201754 | 0.05625 | 0.05625 | 0.09375 | 0.819531 | 0.753906 | 0.678906 | 0.635156 | 0.625781 | 0.591406 | 0 | 0.109667 | 0.807098 | 9,974 | 137 | 114 | 72.80292 | 0.555613 | 0 | 0 | 0.562044 | 0 | 0 | 0.137658 | 0.012633 | 0 | 0 | 0.001704 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 3 |
dd69e297ae314c586c805c1c7016311defde1e18 | 631 | py | Python | MachineLearningScroesSystem/Core/Main.py | Palenoff/MLScoresSystem | 7f20e1b6a5541921ef3508b5936ddb0bb1b659de | [
"MIT"
] | null | null | null | MachineLearningScroesSystem/Core/Main.py | Palenoff/MLScoresSystem | 7f20e1b6a5541921ef3508b5936ddb0bb1b659de | [
"MIT"
] | null | null | null | MachineLearningScroesSystem/Core/Main.py | Palenoff/MLScoresSystem | 7f20e1b6a5541921ef3508b5936ddb0bb1b659de | [
"MIT"
] | null | null | null | import BitSetConvertor.BitSetConvertor as bsc
import CrossValidation as cv
def GetAttributes(filename):
return bsc.GetAttributes(filename)
def GetData(filename, attributes):
return bsc.GetData(filename,attributes)
def CrossValidation(estimator, data, rowstart, rowfinish, attributes, CV, CVparams):
... | 42.066667 | 91 | 0.74168 | 71 | 631 | 6.577465 | 0.450704 | 0.14561 | 0.107066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150555 | 631 | 15 | 92 | 42.066667 | 0.871269 | 0 | 0 | 0 | 0 | 0 | 0.059871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
dd79484c2a4d67ef69b5cdf88890439253429a03 | 16,391 | py | Python | test/multirate_test_systems.py | cmikida2/leap | 94f07be2350a035faccd038010a332700c6e590a | [
"MIT"
] | 1 | 2018-07-03T02:37:34.000Z | 2018-07-03T02:37:34.000Z | test/multirate_test_systems.py | cmikida2/leap | 94f07be2350a035faccd038010a332700c6e590a | [
"MIT"
] | 8 | 2019-11-27T03:22:02.000Z | 2021-08-31T22:08:36.000Z | test/multirate_test_systems.py | cmikida2/leap | 94f07be2350a035faccd038010a332700c6e590a | [
"MIT"
] | 4 | 2019-11-26T18:25:04.000Z | 2020-11-03T00:58:31.000Z | __copyright__ = """
Copyright (C) 2009 Andreas Stock
Copyright (C) 2014 Andreas Kloeckner
Copyright (C) 2014 Matt Wala
"""
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 23.928467 | 85 | 0.533036 | 2,617 | 16,391 | 3.22736 | 0.101643 | 0.082287 | 0.071987 | 0.080985 | 0.659957 | 0.626924 | 0.604783 | 0.585247 | 0.528653 | 0.49775 | 0 | 0.087473 | 0.317186 | 16,391 | 684 | 86 | 23.96345 | 0.664671 | 0.125313 | 0 | 0.647059 | 0 | 0 | 0.083081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.327366 | false | 0 | 0.005115 | 0.28133 | 0.670077 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
dd7b01bae5e7455d58b931d011cd6f2d9c7f27cf | 708 | py | Python | WidgetsUnlimited/operations/inventory.py | AlanHorowitz/open-ended-capstone | 80590af5b09c2245f124cec20ed7594d62cff30e | [
"MIT"
] | null | null | null | WidgetsUnlimited/operations/inventory.py | AlanHorowitz/open-ended-capstone | 80590af5b09c2245f124cec20ed7594d62cff30e | [
"MIT"
] | null | null | null | WidgetsUnlimited/operations/inventory.py | AlanHorowitz/open-ended-capstone | 80590af5b09c2245f124cec20ed7594d62cff30e | [
"MIT"
] | null | null | null | from model.metadata import Table
from typing import List
from .generator import DataGenerator
from .base import BaseSystem
class InventorySystem(BaseSystem):
def __init__(self) -> None:
super().__init__()
def add_tables(self, tables: List[Table]) -> None:
# create all the postgres tables
... | 23.6 | 76 | 0.637006 | 96 | 708 | 4.604167 | 0.520833 | 0.063348 | 0.031674 | 0.090498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286723 | 708 | 29 | 77 | 24.413793 | 0.875248 | 0.248588 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.294118 | 0.235294 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
dd83d3f6f3bf203b205e5fd0440dc3b430055e67 | 102 | py | Python | Python_Codes_for_BJ/stage07 문자열 사용하기/크로아티아 알파벳.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage07 문자열 사용하기/크로아티아 알파벳.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage07 문자열 사용하기/크로아티아 알파벳.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | C=["c=","c-","dz=","d-","lj","nj","s=","z="]
s=input()
for i in C:
s = s.replace(i,"_")
print(len(s)) | 20.4 | 44 | 0.441176 | 22 | 102 | 2 | 0.636364 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 5 | 45 | 20.4 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd92fc58839f771e44e9842e123fa64572e5354c | 44,988 | py | Python | python files/color.py | blastentwice/CK3-Family-Tree-Exporter-To-Gramps-Fast-JSON-Version | 7761fbb55e1f9173b1d4371b5f4fc4a1a4e7f5f9 | [
"MIT"
] | 5 | 2021-05-07T18:15:09.000Z | 2022-02-03T19:48:13.000Z | python files/color.py | blastentwice/CK3-Family-Tree-Exporter-To-Gramps-Fast-JSON-Version | 7761fbb55e1f9173b1d4371b5f4fc4a1a4e7f5f9 | [
"MIT"
] | 1 | 2022-01-19T20:26:28.000Z | 2022-02-03T19:47:48.000Z | python files/color.py | blastentwice/CK3-Family-Tree-Exporter-To-Gramps-Fast-JSON-Version | 7761fbb55e1f9173b1d4371b5f4fc4a1a4e7f5f9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
import numpy as np
from PIL import Image,ImageOps,ImageDraw
import re
import sys
import json
import pickle
from collections import OrderedDict
import os
from collections.abc import Iterable
import time
import logging
logger=logging.getLogger(__name__)
# In[ ]:
def t... | 37.521268 | 159 | 0.512692 | 5,225 | 44,988 | 4.399426 | 0.075215 | 0.017358 | 0.012616 | 0.011006 | 0.76826 | 0.744464 | 0.704529 | 0.669291 | 0.6314 | 0.619307 | 0 | 0.061377 | 0.335801 | 44,988 | 1,198 | 160 | 37.552588 | 0.707908 | 0.019405 | 0 | 0.660914 | 0 | 0 | 0.036084 | 0.009124 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02132 | false | 0.001015 | 0.011168 | 0 | 0.057868 | 0.005076 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd9da14d51701206799dfaf98aa004fd0e389a26 | 24 | py | Python | core/__init__.py | bahadley/dtest-controller | 905621d76bd0613f69a233ccba86cce8efb3179c | [
"MIT"
] | null | null | null | core/__init__.py | bahadley/dtest-controller | 905621d76bd0613f69a233ccba86cce8efb3179c | [
"MIT"
] | null | null | null | core/__init__.py | bahadley/dtest-controller | 905621d76bd0613f69a233ccba86cce8efb3179c | [
"MIT"
] | null | null | null | __all__ = ["Scheduler"]
| 12 | 23 | 0.666667 | 2 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06c688fa5ca961346550c911d30cca61dfc7c931 | 234 | py | Python | pacote-download/pythonProject/exercicios_python_guanabara/ex017.py | oliveirajonathas/python_estudos | 28921672d7e5d0866030c45b077a28998905f752 | [
"MIT"
] | null | null | null | pacote-download/pythonProject/exercicios_python_guanabara/ex017.py | oliveirajonathas/python_estudos | 28921672d7e5d0866030c45b077a28998905f752 | [
"MIT"
] | null | null | null | pacote-download/pythonProject/exercicios_python_guanabara/ex017.py | oliveirajonathas/python_estudos | 28921672d7e5d0866030c45b077a28998905f752 | [
"MIT"
] | null | null | null | import math
cateto_o = float(input('Informe a medida do cateto oposto: '))
cateto_a = float(input('Informe a medida do cateto adjacente: '))
hipotenusa = math.hypot(cateto_o, cateto_a)
print('A Hipotenusa é: {}'.format(hipotenusa))
| 29.25 | 65 | 0.739316 | 35 | 234 | 4.828571 | 0.485714 | 0.08284 | 0.201183 | 0.213018 | 0.378698 | 0.378698 | 0.378698 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 234 | 7 | 66 | 33.428571 | 0.828431 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
06c7873378b989d88d24a033ec274346d506c6eb | 26 | py | Python | wotan/version.py | ksetdekov/wotan | 9e24b66baff6e4db9df7d3b24fe191c5f37b78b5 | [
"MIT"
] | 118 | 2019-06-05T02:02:03.000Z | 2022-03-30T15:02:02.000Z | wotan/version.py | ksetdekov/wotan | 9e24b66baff6e4db9df7d3b24fe191c5f37b78b5 | [
"MIT"
] | 63 | 2019-03-20T15:06:10.000Z | 2021-11-07T19:30:30.000Z | wotan/version.py | ksetdekov/wotan | 9e24b66baff6e4db9df7d3b24fe191c5f37b78b5 | [
"MIT"
] | 21 | 2019-06-05T05:37:30.000Z | 2022-03-15T07:35:25.000Z | WOTAN_VERSIONING = "1.10"
| 13 | 25 | 0.730769 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 26 | 1 | 26 | 26 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06d2246f6bab4592b8c0a2b6aac476b786da5f52 | 2,987 | py | Python | src/lomadeepy/lomadee.py | gustavopinho/api-lomadee-v3 | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | 1 | 2020-11-04T22:59:43.000Z | 2020-11-04T22:59:43.000Z | src/lomadeepy/lomadee.py | gustavopinho/api-lomadee-v3 | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | 1 | 2021-06-02T00:32:43.000Z | 2021-06-02T00:32:43.000Z | src/lomadeepy/lomadee.py | gustavopinho/lomadeepy | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import requests
class Lomadee():
sandbox_url = "http://sandbox-api.lomadee.com/{0}/{1}/{2}"
production_url = "https://api.lomadee.com/{0}/{1}/{2}"
def __init__(self, app_token, source_id, sandbox=False, version='v3'):
self.app_token = app_token
self.source_id = sou... | 28.721154 | 82 | 0.62002 | 351 | 2,987 | 5.14245 | 0.145299 | 0.088643 | 0.100831 | 0.162881 | 0.500277 | 0.485319 | 0.362327 | 0.296399 | 0.199446 | 0.14072 | 0 | 0.005677 | 0.233344 | 2,987 | 103 | 83 | 29 | 0.782533 | 0.00703 | 0 | 0.319444 | 0 | 0 | 0.107287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.013889 | 0.013889 | 0.625 | 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 | 0 | 1 | 0 | 0 | 3 |
06f421e46486f4c2e60039fa070657fe6dbec638 | 19,072 | py | Python | store/databaseModel.py | CRAWLZSTAGE/infra | d0f4d60a63cabf424f76dfbeba33dd64b48c7c98 | [
"MIT"
] | null | null | null | store/databaseModel.py | CRAWLZSTAGE/infra | d0f4d60a63cabf424f76dfbeba33dd64b48c7c98 | [
"MIT"
] | null | null | null | store/databaseModel.py | CRAWLZSTAGE/infra | d0f4d60a63cabf424f76dfbeba33dd64b48c7c98 | [
"MIT"
] | null | null | null | import os, sys
import pika
import json
import time
import traceback
from peewee import *
from playhouse.postgres_ext import *
# DEBUG = int(os.environ.get('DEBUG'))
MQTT_HOST = os.environ.get('MQTT_HOST')
MQTT_USER = os.environ.get('MQTT_USER')
MQTT_PASSWORD = os.environ.get('MQTT_PASSWORD')
DB_HOST = os.environ.get... | 64 | 204 | 0.734794 | 2,232 | 19,072 | 6.035842 | 0.070789 | 0.134724 | 0.081799 | 0.046318 | 0.768186 | 0.705834 | 0.703385 | 0.66976 | 0.657957 | 0.635986 | 0 | 0 | 0.129195 | 19,072 | 297 | 205 | 64.215488 | 0.811175 | 0.043362 | 0 | 0.449541 | 0 | 0 | 0.178026 | 0.086859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027523 | false | 0.013761 | 0.041284 | 0 | 0.385321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6613104f66a96148f044a191804aaf72e48939ba | 130 | py | Python | backend/fakebox/common/message_types.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | backend/fakebox/common/message_types.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | backend/fakebox/common/message_types.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | from enum import Enum
class MessageTypes(Enum):
SUCCESSFUL_LOGIN = 1
SUCCESSFUL_VIP_LOGIN = 2
VIP_PRESSES_START = 3
| 16.25 | 28 | 0.730769 | 18 | 130 | 5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.223077 | 130 | 7 | 29 | 18.571429 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
b07bfd008df57edaec8207f0342e1e85456cf827 | 194 | py | Python | sptygenre/__init__.py | sublinus/sptygenre | 94716353df98ee75d5a546e76f7259f30b6f70dd | [
"MIT"
] | 1 | 2018-02-02T14:17:19.000Z | 2018-02-02T14:17:19.000Z | sptygenre/__init__.py | sublinus/sptygenre | 94716353df98ee75d5a546e76f7259f30b6f70dd | [
"MIT"
] | 2 | 2018-01-18T17:50:20.000Z | 2018-01-18T20:53:44.000Z | sptygenre/__init__.py | sublinus/sptygenre | 94716353df98ee75d5a546e76f7259f30b6f70dd | [
"MIT"
] | null | null | null | import platform
import sys
if not (2, 7) <= sys.version_info:
sys.exit(
'ERROR: sptgenre requires Python 2.7, but found {}.'.format(platform.python_version()))
__version__ = 'dev'
| 21.555556 | 95 | 0.675258 | 27 | 194 | 4.62963 | 0.666667 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.185567 | 194 | 8 | 96 | 24.25 | 0.765823 | 0 | 0 | 0 | 0 | 0 | 0.273196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.