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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7043eb70782aecb7db8f43471d9b16ef6e5f60ef | 134 | py | Python | farms2face/myaccount/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/myaccount/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/myaccount/apps.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | 2 | 2018-06-19T12:12:08.000Z | 2018-06-25T18:45:36.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class MyaccountConfig(AppConfig):
name = 'myaccount'
| 16.75 | 39 | 0.798507 | 15 | 134 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 7 | 40 | 19.142857 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
707438135523fee2a6341e83bcc4d2537f6331c6 | 2,071 | py | Python | softuniada_2019/03_nexus.py | elenaborisova/Softuniada-Hackathon | 0816cb560fe76791f1f419e1de7cb6d50de7ea4a | [
"MIT"
] | null | null | null | softuniada_2019/03_nexus.py | elenaborisova/Softuniada-Hackathon | 0816cb560fe76791f1f419e1de7cb6d50de7ea4a | [
"MIT"
] | null | null | null | softuniada_2019/03_nexus.py | elenaborisova/Softuniada-Hackathon | 0816cb560fe76791f1f419e1de7cb6d50de7ea4a | [
"MIT"
] | null | null | null | first_sequence = list(map(int, input().split()))
second_sequence = list(map(int, input().split()))
line = input()
while not line == 'nexus':
first_pair, second_pair = line.split('|')
first_list_index1, second_list_index1 = list(map(int, first_pair.split(':')))
first_list_index2, second_list_index2 = list(... | 47.068182 | 108 | 0.712699 | 262 | 2,071 | 5.175573 | 0.10687 | 0.119469 | 0.132743 | 0.129794 | 0.831858 | 0.806785 | 0.719764 | 0.693215 | 0.693215 | 0.693215 | 0 | 0.024111 | 0.198938 | 2,071 | 43 | 109 | 48.162791 | 0.793249 | 0 | 0 | 0.333333 | 0 | 0 | 0.005794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7097760e8f09cfb36bd25131fb63ba696142934f | 76 | py | Python | traffic/data/faa/__init__.py | Wirden/traffic | c3cafc4298536538a6c8e73c6ec1bde1c8050021 | [
"MIT"
] | 1 | 2020-01-30T08:21:07.000Z | 2020-01-30T08:21:07.000Z | traffic/data/faa/__init__.py | Wirden/traffic | c3cafc4298536538a6c8e73c6ec1bde1c8050021 | [
"MIT"
] | null | null | null | traffic/data/faa/__init__.py | Wirden/traffic | c3cafc4298536538a6c8e73c6ec1bde1c8050021 | [
"MIT"
] | null | null | null | from .airspace_boundaries import get_airspaces
airspaces = get_airspaces()
| 19 | 46 | 0.842105 | 9 | 76 | 6.777778 | 0.666667 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 47 | 25.333333 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
561e3f7af3ae865049cb29f91be4d296c6a5866c | 261 | py | Python | model/__init__.py | PKULiuHui/LiveBlogSum | b6a22521ee454e649981d70ddca6c89a1bac5a4c | [
"MIT"
] | null | null | null | model/__init__.py | PKULiuHui/LiveBlogSum | b6a22521ee454e649981d70ddca6c89a1bac5a4c | [
"MIT"
] | null | null | null | model/__init__.py | PKULiuHui/LiveBlogSum | b6a22521ee454e649981d70ddca6c89a1bac5a4c | [
"MIT"
] | null | null | null | from .Model1 import Model1
from .Model2 import Model2
from .Model3 import Model3
from .Model4 import Model4
from .Model5 import Model5
from .myLoss1 import myLoss1
from .myLoss2 import myLoss2
from .myLoss3 import myLoss3
from .hinge_loss_1 import hinge_loss_1
| 26.1 | 38 | 0.827586 | 40 | 261 | 5.3 | 0.325 | 0.084906 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 261 | 9 | 39 | 29 | 0.862222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
562149f21e351bc18393376dcf0fdafabd22a9f5 | 1,185 | py | Python | homepage/views.py | noelsj007/ecommerceweb | e00edfe9110d2cc54deebd97043e0aa152c8afd4 | [
"Unlicense"
] | null | null | null | homepage/views.py | noelsj007/ecommerceweb | e00edfe9110d2cc54deebd97043e0aa152c8afd4 | [
"Unlicense"
] | null | null | null | homepage/views.py | noelsj007/ecommerceweb | e00edfe9110d2cc54deebd97043e0aa152c8afd4 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render, redirect
from homepage.models import Item
from django.views.generic import ListView, DetailView
# Create your views here.
def index(request):
items = Item()
items = Item.objects.all()
return render(request, 'index.html', {'items': items})
"""
def show(request):
ite... | 26.333333 | 66 | 0.674262 | 146 | 1,185 | 5.452055 | 0.342466 | 0.135678 | 0.214824 | 0.130653 | 0.190955 | 0.190955 | 0.190955 | 0.190955 | 0.190955 | 0.190955 | 0 | 0 | 0.178059 | 1,185 | 44 | 67 | 26.931818 | 0.817248 | 0.019409 | 0 | 0 | 0 | 0 | 0.12009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.130435 | 0.173913 | 0.73913 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
563d807af7df946a5f37b79ec14f9cdbfbdd6811 | 733 | py | Python | plugins/carbon_black_response/komand_carbon_black_response/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/carbon_black_response/komand_carbon_black_response/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/carbon_black_response/komand_carbon_black_response/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .add_feed.action import AddFeed
from .add_watchlist.action import AddWatchlist
from .blacklist_hash.action import BlacklistHash
from .delete_feed.action import DeleteFeed
from .delete_watchlist.action import DeleteWatchlist
from .get_binary.action import GetBinary
from .isol... | 43.117647 | 52 | 0.86221 | 97 | 733 | 6.360825 | 0.463918 | 0.291734 | 0.051864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094134 | 733 | 16 | 53 | 45.8125 | 0.929217 | 0.050477 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5656f1ca37828c8652b5310811ebc0c2daf0b84b | 83 | py | Python | api/telegram/__init__.py | wkpn/wkpnbot | 09bd9c6b9afd9aaf129be2d3121e9bf26fbe7712 | [
"MIT"
] | 1 | 2021-07-14T21:34:08.000Z | 2021-07-14T21:34:08.000Z | api/telegram/__init__.py | wkpn/wkpnbot | 09bd9c6b9afd9aaf129be2d3121e9bf26fbe7712 | [
"MIT"
] | null | null | null | api/telegram/__init__.py | wkpn/wkpnbot | 09bd9c6b9afd9aaf129be2d3121e9bf26fbe7712 | [
"MIT"
] | null | null | null | from .config import SECRET
from .dispatcher import dp
__all__ = ["dp", "SECRET"]
| 13.833333 | 26 | 0.710843 | 11 | 83 | 5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 27 | 16.6 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5658492547147552ff1738eebe65c987fdf5f3f0 | 320 | py | Python | preprocessing/classes/base/Preprocessor.py | canary-for-cognition/multimodal-dl-framework | 54ebd3c6dcdfc48ed619316321d9f0e7a5f0fc9c | [
"MIT"
] | 2 | 2021-08-31T08:58:30.000Z | 2021-09-02T14:32:30.000Z | preprocessing/classes/base/Preprocessor.py | canary-for-cognition/multimodal-nn-framework | 7733376b05840e2b3dead438dd3981db9694b6ae | [
"MIT"
] | 5 | 2020-09-22T04:29:25.000Z | 2020-12-20T16:16:47.000Z | preprocessing/classes/base/Preprocessor.py | canary-for-cognition/multimodal-nn-framework | 7733376b05840e2b3dead438dd3981db9694b6ae | [
"MIT"
] | 1 | 2021-02-09T18:40:55.000Z | 2021-02-09T18:40:55.000Z | from preprocessing.classes.base.PipelineComponent import PipelineComponent
from preprocessing.classes.utils.Params import Params
class Preprocessor(PipelineComponent):
def __init__(self, preprocessor_type: str):
super().__init__()
self._params = Params.load_preprocessor_params(preprocessor_type)
| 32 | 74 | 0.796875 | 33 | 320 | 7.333333 | 0.515152 | 0.140496 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128125 | 320 | 9 | 75 | 35.555556 | 0.867384 | 0 | 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 | 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 | 1 | 0 | 0 | 4 |
568e25dd53481a19a523ccc54df2ae674435e43d | 54 | py | Python | xicsrt/objects/__init__.py | PrincetonUniversity/xicsrt | 15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd | [
"MIT"
] | 1 | 2021-07-21T17:07:31.000Z | 2021-07-21T17:07:31.000Z | xicsrt/objects/__init__.py | PrincetonUniversity/xicsrt | 15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd | [
"MIT"
] | null | null | null | xicsrt/objects/__init__.py | PrincetonUniversity/xicsrt | 15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd | [
"MIT"
] | null | null | null | """
Contains various base objects used in XICSRT.
"""
| 13.5 | 45 | 0.703704 | 7 | 54 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 54 | 3 | 46 | 18 | 0.844444 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b1cbef1ada6c7e1ad0a31094bfa6fe6aac5e750 | 204 | py | Python | webfriend/rpc/console.py | PerformLine/webfriend | 579f226f94b937f8685454235d1653a9ee542c36 | [
"BSD-2-Clause"
] | 32 | 2017-05-31T01:52:17.000Z | 2021-12-15T18:06:09.000Z | webfriend/rpc/console.py | PerformLine/webfriend | 579f226f94b937f8685454235d1653a9ee542c36 | [
"BSD-2-Clause"
] | 4 | 2017-06-14T03:53:19.000Z | 2022-01-17T14:29:08.000Z | webfriend/rpc/console.py | PerformLine/webfriend | 579f226f94b937f8685454235d1653a9ee542c36 | [
"BSD-2-Clause"
] | 2 | 2020-07-20T20:12:48.000Z | 2022-03-23T08:35:59.000Z | from __future__ import absolute_import
from webfriend.rpc import Base
class Console(Base):
"""
See: https://chromedevtools.github.io/devtools-protocol/tot/Console
"""
domain = 'Console'
| 20.4 | 71 | 0.715686 | 24 | 204 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171569 | 204 | 9 | 72 | 22.666667 | 0.83432 | 0.328431 | 0 | 0 | 0 | 0 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3b434071a3ea8f257ef858a2024c3e3afb402eb4 | 101 | py | Python | autoanalysis/tests/SlideCrop/TIFFImageCropperTest.py | QBI-Microscopy/BatchCrop | 115e2a1d1f3dff3f5e7d4243c10fd609a66fe9c9 | [
"MIT"
] | null | null | null | autoanalysis/tests/SlideCrop/TIFFImageCropperTest.py | QBI-Microscopy/BatchCrop | 115e2a1d1f3dff3f5e7d4243c10fd609a66fe9c9 | [
"MIT"
] | 4 | 2021-03-31T18:44:21.000Z | 2022-03-11T23:17:58.000Z | autoanalysis/tests/SlideCrop/TIFFImageCropperTest.py | QBI-Microscopy/BatchCrop | 115e2a1d1f3dff3f5e7d4243c10fd609a66fe9c9 | [
"MIT"
] | null | null | null | class TIFFImageCropperTest(object):
"""
Test Suite for TIFFImageCropper.
"""
pass | 20.2 | 37 | 0.623762 | 8 | 101 | 7.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277228 | 101 | 5 | 38 | 20.2 | 0.863014 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3b6105d10f702a4614f3ee2b58a1b75ede1dd748 | 3,785 | py | Python | paper/plots.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 79 | 2021-06-02T06:59:08.000Z | 2022-03-10T20:27:02.000Z | paper/plots.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 11 | 2021-06-07T17:39:34.000Z | 2022-01-10T14:00:21.000Z | paper/plots.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 10 | 2021-06-08T01:04:03.000Z | 2022-03-31T23:41:23.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jan 27 08:53:20 2021
@author: ospra
"""
#%%
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(rc={'text.usetex' : True}, style='white')
# sns.set_style("white")
#%% Load values
algorithms = ['pgbm_gpu','lightgbm_cpu','ngboost_cpu']
filename = '... | 41.593407 | 156 | 0.660502 | 532 | 3,785 | 4.577068 | 0.272556 | 0.039425 | 0.019713 | 0.041068 | 0.731828 | 0.731828 | 0.731828 | 0.731828 | 0.697331 | 0.697331 | 0 | 0.023157 | 0.132893 | 3,785 | 91 | 157 | 41.593407 | 0.718769 | 0.137913 | 0 | 0.611111 | 0 | 0 | 0.189714 | 0.036341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b77dfd2d799c5784e522da6bcb6b4a76038b5e3 | 1,484 | py | Python | tests/fixtures.py | Sigmanificient/DPY-Anti-Spam | d77239097d419d84eea3f1b215c9c6c8cfd55c46 | [
"MIT"
] | 39 | 2020-09-18T12:31:55.000Z | 2021-11-15T05:04:46.000Z | tests/fixtures.py | Sigmanificient/DPY-Anti-Spam | d77239097d419d84eea3f1b215c9c6c8cfd55c46 | [
"MIT"
] | 72 | 2020-09-16T12:38:56.000Z | 2021-11-14T16:46:24.000Z | tests/fixtures.py | Sigmanificient/DPY-Anti-Spam | d77239097d419d84eea3f1b215c9c6c8cfd55c46 | [
"MIT"
] | 18 | 2020-10-07T17:32:10.000Z | 2021-11-14T11:57:39.000Z | import pytest
from discord.ext import commands # noqa
from antispam import AntiSpamHandler, PluginCache
from antispam.core import Core
from antispam.caches import MemoryCache
from antispam.libs.dpy import DPY
from antispam.plugins import AntiMassMention, AntiSpamTracker, Stats, AdminLogs
from tests.mocks import Mocke... | 22.149254 | 79 | 0.789757 | 187 | 1,484 | 6.053476 | 0.299465 | 0.19523 | 0.141343 | 0.194346 | 0.161661 | 0.161661 | 0.068905 | 0 | 0 | 0 | 0 | 0.000772 | 0.126685 | 1,484 | 66 | 80 | 22.484848 | 0.872685 | 0.068733 | 0 | 0.25 | 0 | 0 | 0.005857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.025 | 0.2 | 0.175 | 0.725 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8e68bd80959c021e0854ab42d33a1af2f30c50d0 | 86 | py | Python | html4vision/__init__.py | connellybarnes/HTML4Vision | cab1a444e3d10443c0851e622d200c028e0cd8c9 | [
"MIT"
] | null | null | null | html4vision/__init__.py | connellybarnes/HTML4Vision | cab1a444e3d10443c0851e622d200c028e0cd8c9 | [
"MIT"
] | null | null | null | html4vision/__init__.py | connellybarnes/HTML4Vision | cab1a444e3d10443c0851e622d200c028e0cd8c9 | [
"MIT"
] | null | null | null | __version__ = '0.4.2'
from .table import Col, imagetable
from .tile import imagetile
| 17.2 | 34 | 0.755814 | 13 | 86 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.151163 | 86 | 4 | 35 | 21.5 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e80d7b3448f9af91f4295df7a2db7b131f02c50 | 169 | py | Python | pipeline/src/tables/__init__.py | sawyerwatts/StopSpotDataPipeline | 6537d0d1779d9ffa6a3096c02f4081d659c12a0e | [
"MIT"
] | 3 | 2020-02-19T05:25:56.000Z | 2020-02-22T21:31:34.000Z | pipeline/src/tables/__init__.py | sawyerwatts/StopSpotDataPipeline | 6537d0d1779d9ffa6a3096c02f4081d659c12a0e | [
"MIT"
] | 69 | 2020-02-20T20:30:03.000Z | 2020-05-29T01:20:05.000Z | pipeline/src/tables/__init__.py | wolakdav/TeamBeeCapstoneProject | 6957416273fda85a12e86408ae635d7491fb1035 | [
"MIT"
] | 4 | 2020-06-05T03:47:49.000Z | 2020-12-21T01:17:02.000Z | from .table import Table
from .ctran_data import CTran_Data
from .flagged_data import Flagged_Data
from .flags import Flags
from .service_periods import Service_Periods
| 28.166667 | 44 | 0.852071 | 26 | 169 | 5.307692 | 0.346154 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118343 | 169 | 5 | 45 | 33.8 | 0.926175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8e974a836eab917192cdfbf122f9c7e0ef45dd1c | 75 | py | Python | server/__init__.py | ashwinvis/analysis-scripts | 73f8a10b4a00d550869fb41ade52e4cf8e113884 | [
"MIT"
] | 1 | 2020-04-10T10:45:25.000Z | 2020-04-10T10:45:25.000Z | server/__init__.py | ashwinvis/analysis-scripts | 73f8a10b4a00d550869fb41ade52e4cf8e113884 | [
"MIT"
] | 4 | 2020-04-04T15:35:41.000Z | 2020-04-05T17:31:28.000Z | server/__init__.py | ashwinvis/analysis-scripts | 73f8a10b4a00d550869fb41ade52e4cf8e113884 | [
"MIT"
] | 3 | 2020-04-26T05:28:08.000Z | 2020-05-02T15:01:11.000Z | from flask import Flask
app = Flask(__name__)
from server import routes
| 10.714286 | 25 | 0.773333 | 11 | 75 | 4.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 6 | 26 | 12.5 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8ea2c63440ce0c906acc005a9ab3bce57f476cf3 | 115 | py | Python | openaps/init.py | ijustlovemath/openaps | 9eebfbfea4e8c731f1dd7d92e773a5549f3e4de3 | [
"MIT"
] | 525 | 2015-04-13T00:31:14.000Z | 2022-03-20T21:15:34.000Z | openaps/init.py | ijustlovemath/openaps | 9eebfbfea4e8c731f1dd7d92e773a5549f3e4de3 | [
"MIT"
] | 117 | 2015-04-27T02:35:52.000Z | 2021-03-22T09:48:07.000Z | openaps/init.py | ijustlovemath/openaps | 9eebfbfea4e8c731f1dd7d92e773a5549f3e4de3 | [
"MIT"
] | 220 | 2015-04-27T02:32:24.000Z | 2022-03-04T08:39:08.000Z |
import os
def init (args):
shell_cmd = ['git-openaps-init' ] + args.args
os.execvp(shell_cmd[0], shell_cmd)
| 14.375 | 47 | 0.669565 | 19 | 115 | 3.894737 | 0.578947 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.173913 | 115 | 7 | 48 | 16.428571 | 0.768421 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ed529f001108192eecb75a5a609fd8a516d07ae | 29 | py | Python | _/0349_09_Code/034.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_09_Code/034.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_09_Code/034.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | return HttpResponse(u'')
| 14.5 | 28 | 0.655172 | 3 | 29 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 1 | 29 | 29 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ee044fa77ce6989b445128c254318c882da45ad | 254 | py | Python | cogs/utils/formatting.py | OrangutanGaming/OG_SelfBot | 295af329290df34f521c6acf3e7797d6f0a3ee0e | [
"MIT"
] | null | null | null | cogs/utils/formatting.py | OrangutanGaming/OG_SelfBot | 295af329290df34f521c6acf3e7797d6f0a3ee0e | [
"MIT"
] | null | null | null | cogs/utils/formatting.py | OrangutanGaming/OG_SelfBot | 295af329290df34f521c6acf3e7797d6f0a3ee0e | [
"MIT"
] | null | null | null | def quote(msg: str):
return msg.replace("`", "")
def cleanup_code(content):
if content.startswith("```") and content.endswith("```"):
output = content[3:-3].rstrip("\n").lstrip("\n")
return output
return content.strip("` \n") | 31.75 | 61 | 0.586614 | 31 | 254 | 4.774194 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.188976 | 254 | 8 | 62 | 31.75 | 0.708738 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8ef4b5d9d18f14d42ba9afdb03a8f71b0a3bc6d6 | 250 | py | Python | Django/movie_store_spa/movie_store_spa/urls.py | paolomococci/movie-store | c396fbb8a10b8efa5932cb491e909681ec1bdebf | [
"Apache-2.0"
] | null | null | null | Django/movie_store_spa/movie_store_spa/urls.py | paolomococci/movie-store | c396fbb8a10b8efa5932cb491e909681ec1bdebf | [
"Apache-2.0"
] | null | null | null | Django/movie_store_spa/movie_store_spa/urls.py | paolomococci/movie-store | c396fbb8a10b8efa5932cb491e909681ec1bdebf | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url
from django.contrib import admin
#from django.urls import include, path
#from django.conf.urls import url, include
urlpatterns = [
#path(r'^polls/', include('polls.urls')),
url(r'^admin/', admin.site.urls)
]
| 25 | 45 | 0.716 | 37 | 250 | 4.837838 | 0.378378 | 0.223464 | 0.156425 | 0.201117 | 0.301676 | 0.301676 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 250 | 9 | 46 | 27.777778 | 0.832558 | 0.472 | 0 | 0 | 0 | 0 | 0.054264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d91d8d4165cb0280a35bfede8f2eacceacd91967 | 9,462 | py | Python | src/data_filling.py | shibaji7/deep_network_for_SymH_prediction | 5fe8ae5a5d77b019d3fa9daee2f23633e59111f6 | [
"MIT"
] | null | null | null | src/data_filling.py | shibaji7/deep_network_for_SymH_prediction | 5fe8ae5a5d77b019d3fa9daee2f23633e59111f6 | [
"MIT"
] | null | null | null | src/data_filling.py | shibaji7/deep_network_for_SymH_prediction | 5fe8ae5a5d77b019d3fa9daee2f23633e59111f6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""data_filling.py: data filling is dedicated for interpolateing NaN values, by solar cycle, Kp and UT binning method."""
__author__ = "Chakraborty, S."
__copyright__ = "Copyright 2019, Space@VT"
__credits__ = []
__license__ = "MIT"
__version__ = "1.0."
__maintainer__ = "Chakraborty, S."
__email... | 44.009302 | 136 | 0.504967 | 1,286 | 9,462 | 3.533437 | 0.18196 | 0.013204 | 0.005942 | 0.006162 | 0.743398 | 0.708847 | 0.679357 | 0.673195 | 0.634463 | 0.632262 | 0 | 0.064801 | 0.244874 | 9,462 | 214 | 137 | 44.214953 | 0.571169 | 0.125026 | 0 | 0.555556 | 0 | 0 | 0.122742 | 0.010481 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.074074 | 0.04321 | null | null | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d928fc8ba6704ee57b33d3c2b56828e59b469d62 | 495 | py | Python | models/__init__.py | vinthony/depth-distillation | fd53bceda4f317a5ed3832a2932a1eeb7eeb456b | [
"MIT"
] | 44 | 2020-07-17T03:29:47.000Z | 2022-03-14T14:38:12.000Z | models/__init__.py | vinthony/depth-distillation | fd53bceda4f317a5ed3832a2932a1eeb7eeb456b | [
"MIT"
] | 3 | 2020-07-23T16:06:45.000Z | 2022-03-18T12:42:16.000Z | models/__init__.py | vinthony/depth-distillation | fd53bceda4f317a5ed3832a2932a1eeb7eeb456b | [
"MIT"
] | 9 | 2020-11-25T12:39:53.000Z | 2021-11-27T08:32:42.000Z | from models.resnext.resnext101_regular import ResNeXt101
from models.vgg import VGGNet
from models.fcn import ResNextDecoderAtt
def resskspp():
return ResNextDecoderAtt(pretrained_net=ResNeXt101(), type='res')
def vggskspp():
return ResNextDecoderAtt(pretrained_net=VGGNet(),type='vgg')
if __name__ == '__main... | 35.357143 | 142 | 0.767677 | 62 | 495 | 5.758065 | 0.532258 | 0.084034 | 0.184874 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.127273 | 495 | 14 | 143 | 35.357143 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.3 | 0.2 | 0.7 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d9304e5bd411af11b1e5c891d5566e432f5cadd0 | 4,024 | py | Python | grad_cam/example.py | Zoe0123/Transfer-Learning-BiT-ViT | a074875584c7e272d18d7ff17c1617455c3e4a4a | [
"Apache-2.0"
] | 1 | 2021-04-21T16:04:18.000Z | 2021-04-21T16:04:18.000Z | grad_cam/example.py | Zoe0123/Vision-Transformer-Chest-X-Ray-Classification | cf6db4cff6a3b989fb0f7fa234c193c5b725908b | [
"Apache-2.0"
] | null | null | null | grad_cam/example.py | Zoe0123/Vision-Transformer-Chest-X-Ray-Classification | cf6db4cff6a3b989fb0f7fa234c193c5b725908b | [
"Apache-2.0"
] | null | null | null | import torchvision
import matplotlib.pyplot as plt
from PIL import Image
from torchvision import transforms
from grad_cam import grad_cam
import torch
from coronahack import ResNetV2, StdConv2d, PreActBottleneck
def main():
corona_bit_example()
corona_vit_example()
# boxer_example()
# tiger_cat_exampl... | 32.715447 | 79 | 0.688618 | 550 | 4,024 | 4.76 | 0.176364 | 0.058824 | 0.032086 | 0.045455 | 0.753629 | 0.749045 | 0.749045 | 0.708938 | 0.663102 | 0.640183 | 0 | 0.043584 | 0.184642 | 4,024 | 123 | 80 | 32.715447 | 0.754343 | 0.013419 | 0 | 0.657407 | 0 | 0 | 0.08848 | 0.067809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.064815 | 0 | 0.12037 | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d93571f5d58750d29b62866cb36f02ba6174ac7b | 863 | py | Python | tools/leetcode.082.Remove Duplicates from Sorted List II/leetcode.082.Remove Duplicates from Sorted List II.submission5.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.082.Remove Duplicates from Sorted List II/leetcode.082.Remove Duplicates from Sorted List II.submission5.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.082.Remove Duplicates from Sorted List II/leetcode.082.Remove Duplicates from Sorted List II.submission5.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | # Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
# @param {ListNode} head
# @return {ListNode}
def deleteDuplicates(self, head):
if not head or not head.next: return head
dummy = ListNode(0x7... | 863 | 863 | 0.421784 | 95 | 863 | 3.789474 | 0.368421 | 0.044444 | 0.038889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.501738 | 863 | 1 | 863 | 863 | 0.832558 | 0.975666 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014472 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d940a00dd8a757f225f2d672417c736f3dff1248 | 434 | py | Python | backend/films/serializers/films.py | aaronjonesii/v1.4_WebApp | df4aea085b614946c047c16a337adb363f85e0ec | [
"MIT"
] | null | null | null | backend/films/serializers/films.py | aaronjonesii/v1.4_WebApp | df4aea085b614946c047c16a337adb363f85e0ec | [
"MIT"
] | null | null | null | backend/films/serializers/films.py | aaronjonesii/v1.4_WebApp | df4aea085b614946c047c16a337adb363f85e0ec | [
"MIT"
] | null | null | null | from rest_framework import serializers
from ..models import Anime, Movie, Show
class AnimeSerializer(serializers.ModelSerializer):
class Meta:
model = Anime
fields = '__all__'
class MovieSerializer(serializers.ModelSerializer):
class Meta:
model = Movie
fields = '__all__'
c... | 20.666667 | 51 | 0.684332 | 41 | 434 | 6.926829 | 0.439024 | 0.274648 | 0.327465 | 0.369718 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24424 | 434 | 20 | 52 | 21.7 | 0.865854 | 0 | 0 | 0.428571 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d9460f004054ed4be4b47d513df55c2bb18a9b58 | 50 | py | Python | app/utils/__init__.py | i-gulyaev/receipt-bot | 262bc64c305443e23183eb65c337097f03db6c90 | [
"MIT"
] | null | null | null | app/utils/__init__.py | i-gulyaev/receipt-bot | 262bc64c305443e23183eb65c337097f03db6c90 | [
"MIT"
] | null | null | null | app/utils/__init__.py | i-gulyaev/receipt-bot | 262bc64c305443e23183eb65c337097f03db6c90 | [
"MIT"
] | null | null | null | from .receipt_parser import parse_receipt # noqa
| 25 | 49 | 0.82 | 7 | 50 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.906977 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d956a1e74c3d1ca47ca4e0fe9f520191d40b645e | 107 | py | Python | main.py | GabrielaMoreira/correios.postmon.com.br | 3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a | [
"MIT"
] | 43 | 2017-05-06T18:46:08.000Z | 2021-07-16T00:54:55.000Z | main.py | GabrielaMoreira/correios.postmon.com.br | 3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a | [
"MIT"
] | 10 | 2017-05-05T17:16:08.000Z | 2020-08-16T02:16:33.000Z | main.py | GabrielaMoreira/correios.postmon.com.br | 3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a | [
"MIT"
] | 10 | 2018-02-06T18:04:28.000Z | 2021-04-07T00:31:35.000Z | # coding: utf-8
from __future__ import absolute_import
import application
app = application.create_app()
| 15.285714 | 38 | 0.803738 | 14 | 107 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.130841 | 107 | 6 | 39 | 17.833333 | 0.849462 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d95dd4d78f796acddb1ecb0ae55a7653643141e3 | 446 | py | Python | python/controls/datepicker/datepicker_allow_text_input.py | pglet/pglet-samples | ab47e797a4daccfa4779daa3d1fd1cc27d92e7f9 | [
"MIT"
] | null | null | null | python/controls/datepicker/datepicker_allow_text_input.py | pglet/pglet-samples | ab47e797a4daccfa4779daa3d1fd1cc27d92e7f9 | [
"MIT"
] | null | null | null | python/controls/datepicker/datepicker_allow_text_input.py | pglet/pglet-samples | ab47e797a4daccfa4779daa3d1fd1cc27d92e7f9 | [
"MIT"
] | null | null | null | from datetime import datetime
import pglet
from pglet import DatePicker
with pglet.page("datepicker-allow-text-input") as page:
now = datetime.now()
page.add(
DatePicker(width=150, label="Allow text input", allow_text_input=True),
DatePicker(label="Allow text input with placeholder", placeholder='Select dat... | 49.555556 | 124 | 0.757848 | 62 | 446 | 5.354839 | 0.370968 | 0.162651 | 0.253012 | 0.162651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.11435 | 446 | 9 | 125 | 49.555556 | 0.827848 | 0 | 0 | 0 | 0 | 0 | 0.225951 | 0.060403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d96f4bb9102f803da75530ed8987b2c1aa8917ba | 791 | py | Python | torchgeometry/__init__.py | tina300399/torchgeometry | 48d8026f0a5f3d4ac5567b7b2738390892b3cc8d | [
"Apache-2.0"
] | null | null | null | torchgeometry/__init__.py | tina300399/torchgeometry | 48d8026f0a5f3d4ac5567b7b2738390892b3cc8d | [
"Apache-2.0"
] | null | null | null | torchgeometry/__init__.py | tina300399/torchgeometry | 48d8026f0a5f3d4ac5567b7b2738390892b3cc8d | [
"Apache-2.0"
] | 1 | 2019-10-04T05:05:28.000Z | 2019-10-04T05:05:28.000Z | # Make sure that torchgeometry is running on Python 3.6.0 or later
# (to avoid running into this bug: https://bugs.python.org/issue29246)
import sys
if sys.version_info < (3, 6, 0):
raise RuntimeError("Pytorch Geometry requires Python 3.6.0 or later")
from .version import __version__
from torchgeometry import cor... | 34.391304 | 73 | 0.804046 | 111 | 791 | 5.648649 | 0.477477 | 0.162679 | 0.220096 | 0.028708 | 0.051037 | 0.051037 | 0 | 0 | 0 | 0 | 0 | 0.020378 | 0.131479 | 791 | 22 | 74 | 35.954545 | 0.892285 | 0.233881 | 0 | 0 | 0 | 0 | 0.078073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d996ec0270af20c228d2b9f1c17de80a0ace3288 | 169 | py | Python | lib/__init__.py | telematrix/metallic-ngons | c7b64d1890a73bd070220df18f83bb917323e251 | [
"MIT"
] | 1 | 2022-03-31T05:59:59.000Z | 2022-03-31T05:59:59.000Z | lib/__init__.py | telematrix/metallic-ngons | c7b64d1890a73bd070220df18f83bb917323e251 | [
"MIT"
] | null | null | null | lib/__init__.py | telematrix/metallic-ngons | c7b64d1890a73bd070220df18f83bb917323e251 | [
"MIT"
] | null | null | null | from mpmath import mp
from .argparser import args
DPS = args.dps
DPS_BUFFER = args.buffer + int(mp.log10(DPS))
# set mpmath decimal precision
mp.dps = DPS + DPS_BUFFER
| 21.125 | 45 | 0.751479 | 28 | 169 | 4.464286 | 0.464286 | 0.144 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.159763 | 169 | 7 | 46 | 24.142857 | 0.866197 | 0.16568 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d997c0ae0816643642fb3891623a6726e634bf15 | 245 | py | Python | exp7/rpctime_s.py | sekharkaredla/cnlab | 8e1ef9a904dea5260f6b6cf968508a2847f9f15c | [
"MIT"
] | null | null | null | exp7/rpctime_s.py | sekharkaredla/cnlab | 8e1ef9a904dea5260f6b6cf968508a2847f9f15c | [
"MIT"
] | null | null | null | exp7/rpctime_s.py | sekharkaredla/cnlab | 8e1ef9a904dea5260f6b6cf968508a2847f9f15c | [
"MIT"
] | 2 | 2018-04-16T13:25:12.000Z | 2018-04-16T14:49:38.000Z | import xmlrpclib
import time
from SimpleXMLRPCServer import SimpleXMLRPCServer
def get_date():
return time.strftime("%H %M %S")
server=SimpleXMLRPCServer(('localhost',8888))
server.register_function(get_date,"get_date")
server.serve_forever() | 27.222222 | 49 | 0.808163 | 31 | 245 | 6.225806 | 0.645161 | 0.108808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.077551 | 245 | 9 | 50 | 27.222222 | 0.836283 | 0 | 0 | 0 | 0 | 0 | 0.101626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
79461baec98140d266b1fe3450d3334ba0d903e2 | 661 | py | Python | evaluador_consola.py | RicardoGomezT/Normalizacion_JSON_con_PySpark | 129e9fa1b4f32af1da3aff47741623cafa669ed4 | [
"MIT"
] | null | null | null | evaluador_consola.py | RicardoGomezT/Normalizacion_JSON_con_PySpark | 129e9fa1b4f32af1da3aff47741623cafa669ed4 | [
"MIT"
] | null | null | null | evaluador_consola.py | RicardoGomezT/Normalizacion_JSON_con_PySpark | 129e9fa1b4f32af1da3aff47741623cafa669ed4 | [
"MIT"
] | null | null | null | {"consumidor":{"app_consumer":{"id":"BUN-09348","session_id":"07e3ged1520","transaction_id":"12345"},"device_consumer":{"id":"device-111","user_agent":"Mozilla/5.0(iPhone)","locale":"CO","ip":"200.122.xxx.254","terminal_id":"372343"}},"operacion":{"type":"CONSULTA","operation_date":"2019-08-13T20:00:54.832Z","source_re... | 661 | 661 | 0.686838 | 82 | 661 | 5.341463 | 0.743902 | 0.045662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092424 | 0.001513 | 661 | 1 | 661 | 661 | 0.571212 | 0 | 0 | 0 | 0 | 0 | 0.728097 | 0.086103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7970e57515f3cf6411ae3c42da7455c12cb4d903 | 120 | py | Python | serial-adapter/bootstrap/__main__.py | vychodnar/serial-zwave | 8c6903ba836777bb9cc6811dde88820d997fafc7 | [
"MIT"
] | null | null | null | serial-adapter/bootstrap/__main__.py | vychodnar/serial-zwave | 8c6903ba836777bb9cc6811dde88820d997fafc7 | [
"MIT"
] | null | null | null | serial-adapter/bootstrap/__main__.py | vychodnar/serial-zwave | 8c6903ba836777bb9cc6811dde88820d997fafc7 | [
"MIT"
] | null | null | null | """bootstrap.__main__: executed when bootstrap directory is called as script."""
from .bootstrap import main
main()
| 15 | 80 | 0.75 | 15 | 120 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 7 | 81 | 17.142857 | 0.843137 | 0.616667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
799f23507cc4e15bd9e32cece257f552d479c407 | 201 | py | Python | test/settings.py | DiegoTolenClappform/Clappform-Python-Connector | 64d5f903cfa39f19c5c97ef1b54f457f661af588 | [
"MIT"
] | null | null | null | test/settings.py | DiegoTolenClappform/Clappform-Python-Connector | 64d5f903cfa39f19c5c97ef1b54f457f661af588 | [
"MIT"
] | null | null | null | test/settings.py | DiegoTolenClappform/Clappform-Python-Connector | 64d5f903cfa39f19c5c97ef1b54f457f661af588 | [
"MIT"
] | null | null | null |
class settings:
def init():
global baseURL
global password
global username
global usertestingpassword
global usertestingemail
global twilliotemplate | 22.333333 | 34 | 0.641791 | 16 | 201 | 8.0625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338308 | 201 | 9 | 35 | 22.333333 | 0.969925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
79def08545f1277b7101364ffad835ad8ec65ee2 | 1,918 | py | Python | src/core/models/addresscomponents.py | deshk04/addressparser | 03c33859bb585a6cf767e0f4d3dfd23cabd2d78b | [
"MIT"
] | null | null | null | src/core/models/addresscomponents.py | deshk04/addressparser | 03c33859bb585a6cf767e0f4d3dfd23cabd2d78b | [
"MIT"
] | null | null | null | src/core/models/addresscomponents.py | deshk04/addressparser | 03c33859bb585a6cf767e0f4d3dfd23cabd2d78b | [
"MIT"
] | null | null | null | """
Author:
Create date:
Description: modules for django orm
Version Date Description(of Changes)
1.0 Created
"""
from django.db import models
class AddressComponents():
pobox_type = models.TextField(blank=True, null=True)
pobox_number = models.... | 40.808511 | 91 | 0.70073 | 249 | 1,918 | 5.236948 | 0.26506 | 0.165644 | 0.239264 | 0.312883 | 0.730828 | 0.730828 | 0.706288 | 0.363497 | 0.233129 | 0.092025 | 0 | 0.007673 | 0.184567 | 1,918 | 46 | 92 | 41.695652 | 0.826087 | 0.094891 | 0 | 0 | 0 | 0 | 0.001183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.965517 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8db2f4dca4c9cc1ba3784cdcd87dab2273eea68c | 1,554 | py | Python | DailyProgrammer/DP20131203A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20131203A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20131203A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[12/03/13] Challenge #143 [Easy] Braille
https://www.reddit.com/r/dailyprogrammer/comments/1s061q/120313_challenge_143_easy_braille/
# [](#EasyIcon) *(Easy)*: Braille
[Braille](http://en.wikipedia.org/wiki/Braille) is a writing system based on a series of raised / lowered bumps on a
material, for the purpose of b... | 40.894737 | 119 | 0.72973 | 256 | 1,554 | 4.375 | 0.515625 | 0.033929 | 0.042857 | 0.046429 | 0.123214 | 0.1125 | 0.080357 | 0.016071 | 0.016071 | 0 | 0 | 0.024087 | 0.171815 | 1,554 | 37 | 120 | 42 | 0.846154 | 0.953668 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8dde0e645df54edaaeadd0701fcdff7660b8f5ec | 221 | py | Python | shares_count/admin.py | vlinhart/django_shares_count | ad95a95422eb3a289409b5e801094344cbf623b7 | [
"MIT"
] | 2 | 2016-03-13T14:53:01.000Z | 2016-07-19T04:14:11.000Z | shares_count/admin.py | vlinhart/django_shares_count | ad95a95422eb3a289409b5e801094344cbf623b7 | [
"MIT"
] | null | null | null | shares_count/admin.py | vlinhart/django_shares_count | ad95a95422eb3a289409b5e801094344cbf623b7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from shares_count.models import Share
class ShareAdmin(admin.ModelAdmin):
list_display = ('created', 'modified', 'shares', 'content_object')
admin.site.register(Share, ShareAdmin)
| 22.1 | 70 | 0.769231 | 27 | 221 | 6.185185 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 221 | 9 | 71 | 24.555556 | 0.85641 | 0 | 0 | 0 | 0 | 0 | 0.158371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8de83f3d86e8d444330ac8088b4dfef21fe6b32e | 228 | py | Python | tests/test_downloaded.py | ConnectionMaster/robotpy-build | 9571a84fdd6268be5e945b31ea8929d84355071a | [
"BSD-3-Clause"
] | null | null | null | tests/test_downloaded.py | ConnectionMaster/robotpy-build | 9571a84fdd6268be5e945b31ea8929d84355071a | [
"BSD-3-Clause"
] | null | null | null | tests/test_downloaded.py | ConnectionMaster/robotpy-build | 9571a84fdd6268be5e945b31ea8929d84355071a | [
"BSD-3-Clause"
] | null | null | null | # just ensures the module built correctly, nothing fancy
import rpytest.dl
def test_downloaded_fn():
assert rpytest.dl.downloaded_fn(3) == 0x42 + 3
def test_extra_content():
assert rpytest.dl.extra_content() == True
| 20.727273 | 56 | 0.741228 | 33 | 228 | 4.939394 | 0.636364 | 0.165644 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026178 | 0.162281 | 228 | 10 | 57 | 22.8 | 0.827225 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5c26f0f896be21a0739a64c8735387c4508e7b4a | 91 | py | Python | example/identity/apps.py | EngFarisAlsmawi/django-admin-search-builder | 6cb03f4f4b27aeabda9493d170841783881aaa88 | [
"Apache-2.0"
] | 24 | 2020-05-28T14:46:59.000Z | 2022-03-25T09:21:45.000Z | example/identity/apps.py | EngFarisAlsmawi/django-admin-search-builder | 6cb03f4f4b27aeabda9493d170841783881aaa88 | [
"Apache-2.0"
] | 2 | 2020-09-14T11:44:21.000Z | 2021-10-21T07:23:29.000Z | example/identity/apps.py | EngFarisAlsmawi/django-admin-search-builder | 6cb03f4f4b27aeabda9493d170841783881aaa88 | [
"Apache-2.0"
] | 3 | 2020-06-02T09:13:01.000Z | 2022-03-25T09:21:51.000Z | from django.apps import AppConfig
class IdentityConfig(AppConfig):
name = 'identity'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30b32ebb14596491d699613dd4f860d45147f4e9 | 24 | py | Python | readthedocs/docsitalia/views/__init__.py | danse/docs.italia.it | 38a9e4c7ef5bf360c464d1b034548609ddf9e046 | [
"MIT"
] | null | null | null | readthedocs/docsitalia/views/__init__.py | danse/docs.italia.it | 38a9e4c7ef5bf360c464d1b034548609ddf9e046 | [
"MIT"
] | null | null | null | readthedocs/docsitalia/views/__init__.py | danse/docs.italia.it | 38a9e4c7ef5bf360c464d1b034548609ddf9e046 | [
"MIT"
] | null | null | null | """Docs Italia Views"""
| 12 | 23 | 0.625 | 3 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.714286 | 0.708333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30e5a17a4643ca27ca604c71e32c816268548f31 | 89 | py | Python | apps/recache/apps.py | techlib/czechelib-stats | ca132e326af0924740a525710474870b1fb5fd37 | [
"MIT"
] | 1 | 2019-12-12T15:38:42.000Z | 2019-12-12T15:38:42.000Z | apps/recache/apps.py | techlib/czechelib-stats | ca132e326af0924740a525710474870b1fb5fd37 | [
"MIT"
] | null | null | null | apps/recache/apps.py | techlib/czechelib-stats | ca132e326af0924740a525710474870b1fb5fd37 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RecacheConfig(AppConfig):
name = 'recache'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb543ee1c2aeb74ecb4856ee68f9b2ac29ea2249 | 26 | py | Python | src/mqtt2gpio/__init__.py | paulomach/mqtt2gpio | 95f57ecfb6561eaa9a5a9d50157814f182a09320 | [
"MIT"
] | null | null | null | src/mqtt2gpio/__init__.py | paulomach/mqtt2gpio | 95f57ecfb6561eaa9a5a9d50157814f182a09320 | [
"MIT"
] | null | null | null | src/mqtt2gpio/__init__.py | paulomach/mqtt2gpio | 95f57ecfb6561eaa9a5a9d50157814f182a09320 | [
"MIT"
] | null | null | null | """MQTT to GPIO relay."""
| 13 | 25 | 0.576923 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.681818 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb880bf08e15c8c303d64a079950395580118878 | 167 | py | Python | office365/graph/onedrive/folder.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/onedrive/folder.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/onedrive/folder.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | from office365.runtime.client_value_object import ClientValueObject
class Folder(ClientValueObject):
def __init__(self):
super(Folder, self).__init__()
| 20.875 | 67 | 0.766467 | 18 | 167 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.149701 | 167 | 7 | 68 | 23.857143 | 0.809859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ebd4759455b0a6207c3c378f93a86af19852c668 | 158 | py | Python | Playground/exercises.py | jonasluz/mia-cg | 12fb27336663fe71bad39996045196b098e26cbe | [
"Unlicense"
] | null | null | null | Playground/exercises.py | jonasluz/mia-cg | 12fb27336663fe71bad39996045196b098e26cbe | [
"Unlicense"
] | null | null | null | Playground/exercises.py | jonasluz/mia-cg | 12fb27336663fe71bad39996045196b098e26cbe | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
import common as c
def q2():
"""
Questão 2
"""
print ("Cossenos diretores:")
print (c.dcos([3, 6], True))
| 13.166667 | 33 | 0.481013 | 20 | 158 | 3.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0.316456 | 158 | 11 | 34 | 14.363636 | 0.657407 | 0.202532 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 4 |
ebd78791976790fae7adf467746339db1636e245 | 37 | py | Python | aruw_tf_broadcaster/src/common_utils.py | uw-advanced-robotics/aruw-vision-platform-2019 | 248be0fb3f81cb0f3b2423e4a22f8bd813dc1832 | [
"MIT"
] | 43 | 2019-08-25T06:31:27.000Z | 2022-03-03T03:15:08.000Z | aruw_vision/src/common_utils.py | GuanqiHe/aruw-vision-platform-2019 | 248be0fb3f81cb0f3b2423e4a22f8bd813dc1832 | [
"MIT"
] | 1 | 2022-01-22T15:37:05.000Z | 2022-01-22T22:06:27.000Z | aruw_vision/src/common_utils.py | GuanqiHe/aruw-vision-platform-2019 | 248be0fb3f81cb0f3b2423e4a22f8bd813dc1832 | [
"MIT"
] | 12 | 2019-09-05T08:00:09.000Z | 2021-07-28T13:24:51.000Z | ../../aruw_common/src/common_utils.py | 37 | 37 | 0.756757 | 6 | 37 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 37 | 1 | 37 | 37 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebdfe6cb091cde4f9e75bb9d477bc6a9fcbd1103 | 76 | py | Python | janusbackup/database/models/base.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/database/models/base.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/database/models/base.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | from sqlalchemy.orm import declarative_base
BaseModel = declarative_base()
| 19 | 43 | 0.842105 | 9 | 76 | 6.888889 | 0.777778 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 44 | 25.333333 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cce097a74f7770a02a0b465eedbc6410091e63cb | 193 | py | Python | Curso estadistica descriptiva/datos cuantitativos/datos_cuantitativos.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | Curso estadistica descriptiva/datos cuantitativos/datos_cuantitativos.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | Curso estadistica descriptiva/datos cuantitativos/datos_cuantitativos.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | 1 | 2020-08-19T17:25:22.000Z | 2020-08-19T17:25:22.000Z | import pandas as pd
import matplotlib.pyplot as plt
data_frame = pd.read_table("../../../r-basic/data/datacrab.txt", sep = " ")
data_frame
data_frame.describe()
data_frame.dropna().describe()
| 24.125 | 75 | 0.73057 | 29 | 193 | 4.689655 | 0.62069 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098446 | 193 | 7 | 76 | 27.571429 | 0.781609 | 0 | 0 | 0 | 0 | 0 | 0.181347 | 0.176166 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cceaa0ef6fe09035bb772d996c4d7b31cdfc1309 | 152 | py | Python | src/quo/keys/__init__.py | gerrishons/quo | 58a1c54105e3663d62e473f8dad57a2cf1b8cc20 | [
"MIT"
] | 5 | 2021-06-17T21:06:39.000Z | 2022-03-11T06:45:51.000Z | src/quo/keys/__init__.py | gerrishons/quo | 58a1c54105e3663d62e473f8dad57a2cf1b8cc20 | [
"MIT"
] | 39 | 2021-07-19T19:36:18.000Z | 2022-02-23T14:55:08.000Z | src/quo/keys/__init__.py | gerrishons/quo | 58a1c54105e3663d62e473f8dad57a2cf1b8cc20 | [
"MIT"
] | 1 | 2021-05-31T17:19:15.000Z | 2021-05-31T17:19:15.000Z | from .list import Keys
from .key_binding import KeyBinder
from quo.keys.focus import next, previous
from quo.keys.key_binding.vi_state import InputMode
| 30.4 | 51 | 0.835526 | 25 | 152 | 4.96 | 0.56 | 0.16129 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 4 | 52 | 38 | 0.918519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
692bd033816f48111398e3a6923af4907a75ff3a | 90 | py | Python | v_server/apps.py | binalyadav/VigilantServer | 3b0d31d760789ffddf78a8988db9b77aecaf8910 | [
"MIT"
] | null | null | null | v_server/apps.py | binalyadav/VigilantServer | 3b0d31d760789ffddf78a8988db9b77aecaf8910 | [
"MIT"
] | null | null | null | v_server/apps.py | binalyadav/VigilantServer | 3b0d31d760789ffddf78a8988db9b77aecaf8910 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class VServerConfig(AppConfig):
name = 'v_server'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c606a3dac1ff9fc021277ae2f5b50cbaa987847d | 2,320 | py | Python | testflows/_core/contrib/pygments/lexers/other.py | testflows/TestFlows-Core | 0aa17247dffd2f7199465031ab16cc4f12c9cfb0 | [
"Apache-2.0"
] | 3 | 2020-06-25T19:23:19.000Z | 2021-10-20T19:29:56.000Z | testflows/_core/contrib/pygments/lexers/other.py | testflows/TestFlows-Core | 0aa17247dffd2f7199465031ab16cc4f12c9cfb0 | [
"Apache-2.0"
] | null | null | null | testflows/_core/contrib/pygments/lexers/other.py | testflows/TestFlows-Core | 0aa17247dffd2f7199465031ab16cc4f12c9cfb0 | [
"Apache-2.0"
] | 1 | 2020-02-24T12:31:45.000Z | 2020-02-24T12:31:45.000Z | # -*- coding: utf-8 -*-
"""
pygments.lexers.other
~~~~~~~~~~~~~~~~~~~~~
Just export lexer classes previously contained in this module.
:copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from testflows._core.contrib.pygments.lexers.sql im... | 55.238095 | 103 | 0.82931 | 263 | 2,320 | 7.212928 | 0.391635 | 0.177122 | 0.206115 | 0.290986 | 0.460727 | 0.460727 | 0 | 0 | 0 | 0 | 0 | 0.005191 | 0.086638 | 2,320 | 41 | 104 | 56.585366 | 0.890042 | 0.102586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.793103 | 0 | 0.793103 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c61ac19e2f388db5b5b9d470d398477a5a541329 | 6,989 | py | Python | Weather_Trends.py | dsllt/Udacity_DA_P1 | 7251a359ddc90ceaf59196a530b5c79ca7624a7e | [
"MIT"
] | null | null | null | Weather_Trends.py | dsllt/Udacity_DA_P1 | 7251a359ddc90ceaf59196a530b5c79ca7624a7e | [
"MIT"
] | null | null | null | Weather_Trends.py | dsllt/Udacity_DA_P1 | 7251a359ddc90ceaf59196a530b5c79ca7624a7e | [
"MIT"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
import os
# Set working directory
os.chdir('/Users/dayanesallet/Documents/_Educação/Data Analyst Nanodegree/Weather Project/Data')
# Import data
PortoAlegre_temp = pd.read_csv('./PortoAlegre_Temperature_Data.csv')
World_temp = pd.read_csv('./World_Temperature_Data.... | 33.927184 | 115 | 0.729575 | 1,044 | 6,989 | 4.761494 | 0.116858 | 0.078455 | 0.044257 | 0.07242 | 0.809093 | 0.795413 | 0.790183 | 0.695031 | 0.683364 | 0.662845 | 0 | 0.029073 | 0.104307 | 6,989 | 205 | 116 | 34.092683 | 0.765016 | 0.056947 | 0 | 0.589147 | 0 | 0.007752 | 0.339496 | 0.029794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c65a3ce11868d872a8abd7a4dbf4737e1b8770e1 | 79 | py | Python | facealigner.py | lawrenciumbc/Selfie_a_Day_AutoAlign | 9dc88eae386b3cf706f737d4985ad80445232311 | [
"MIT"
] | 1 | 2021-05-17T18:20:33.000Z | 2021-05-17T18:20:33.000Z | facealigner.py | lbcard/Selfie_a_Day_AutoAlign | 9dc88eae386b3cf706f737d4985ad80445232311 | [
"MIT"
] | null | null | null | facealigner.py | lbcard/Selfie_a_Day_AutoAlign | 9dc88eae386b3cf706f737d4985ad80445232311 | [
"MIT"
] | null | null | null |
#TO BE COMPLETED
# align & scale images
# grade images
# encode as a video
| 9.875 | 23 | 0.683544 | 12 | 79 | 4.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 79 | 7 | 24 | 11.285714 | 0.915254 | 0.860759 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6a696bcc81ebe01898e7bcbf36949ff50613458 | 125 | py | Python | modules/dbnd-airflow/src/dbnd_airflow/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | null | null | null | modules/dbnd-airflow/src/dbnd_airflow/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | null | null | null | modules/dbnd-airflow/src/dbnd_airflow/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | null | null | null | from dbnd_airflow.tracking.dbnd_dag_tracking import track_dag, track_task
__all__ = [
"track_dag",
"track_task",
]
| 15.625 | 73 | 0.736 | 17 | 125 | 4.764706 | 0.529412 | 0.197531 | 0.320988 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 7 | 74 | 17.857143 | 0.778846 | 0 | 0 | 0 | 0 | 0 | 0.152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6c102964c8d19c6340fb2538877ea42421c20a1 | 28 | py | Python | letsencrypt/client/__init__.py | rivy/lets-encrypt-preview | 759e233aaa36f33c413918e8ebbf1b949af1ce5d | [
"Apache-2.0"
] | null | null | null | letsencrypt/client/__init__.py | rivy/lets-encrypt-preview | 759e233aaa36f33c413918e8ebbf1b949af1ce5d | [
"Apache-2.0"
] | null | null | null | letsencrypt/client/__init__.py | rivy/lets-encrypt-preview | 759e233aaa36f33c413918e8ebbf1b949af1ce5d | [
"Apache-2.0"
] | 1 | 2020-07-20T00:19:40.000Z | 2020-07-20T00:19:40.000Z | """Let's Encrypt client."""
| 14 | 27 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.68 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6d6db2a48af0a21c4a06da2b1fa1a912fb82500 | 186 | py | Python | src/biokeen/convert/__init__.py | SmartDataAnalytics/Bio-KEEN | 680dffb6cd170b0f79ea09f0f730f0baa9ce73d4 | [
"MIT"
] | 38 | 2018-11-13T18:38:46.000Z | 2021-12-14T12:32:48.000Z | src/biokeen/convert/__init__.py | SmartDataAnalytics/Bio-KEEN | 680dffb6cd170b0f79ea09f0f730f0baa9ce73d4 | [
"MIT"
] | 27 | 2018-10-08T09:01:59.000Z | 2021-02-07T20:43:31.000Z | src/biokeen/convert/__init__.py | SmartDataAnalytics/Bio-KEEN | 680dffb6cd170b0f79ea09f0f730f0baa9ce73d4 | [
"MIT"
] | 2 | 2019-12-04T19:49:06.000Z | 2020-07-03T01:25:09.000Z | # -*- coding: utf-8 -*-
"""Conversion from BEL to proper triples."""
from .io import get_pykeen_summary, get_triple, to_pykeen_df, to_pykeen_path, to_pykeen_summary_path # noqa: F401
| 31 | 114 | 0.741935 | 29 | 186 | 4.413793 | 0.655172 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.134409 | 186 | 5 | 115 | 37.2 | 0.770186 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6d9944687d87a5370e3683dfe48598c09d60d67 | 682 | py | Python | app/patch.py | christinoleo/vakg | 622a8f5269d2f5c3e5209037bda1d0ea4735ab92 | [
"MIT"
] | null | null | null | app/patch.py | christinoleo/vakg | 622a8f5269d2f5c3e5209037bda1d0ea4735ab92 | [
"MIT"
] | null | null | null | app/patch.py | christinoleo/vakg | 622a8f5269d2f5c3e5209037bda1d0ea4735ab92 | [
"MIT"
] | null | null | null | import os
import sys
from collections import namedtuple
import pkg_resources
IS_FROZEN = os.environ.get('_MEIPASS', False)
# backup true function
_true_get_distribution = pkg_resources.get_distribution
# create small placeholder for the dash call
# _flask_compress_version = parse_version(get_distribution("flask-comp... | 26.230769 | 85 | 0.771261 | 94 | 682 | 5.308511 | 0.510638 | 0.210421 | 0.056112 | 0.108216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.14956 | 682 | 25 | 86 | 27.28 | 0.853448 | 0.340176 | 0 | 0 | 0 | 0 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.307692 | 0 | 0.538462 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
d6fc0a8614c06559ce61975ee8ca9b8b53d67151 | 156 | py | Python | venv/lib/python3.8/site-packages/ansible_test/_util/target/common/__init__.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_test/_util/target/common/__init__.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_test/_util/target/common/__init__.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | """Nearly empty __init__.py to allow importing under Python 2.x."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
| 39 | 67 | 0.794872 | 21 | 156 | 5.238095 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.115385 | 156 | 3 | 68 | 52 | 0.789855 | 0.391026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
ba401d3463c84c4015a536582fdcc9e61a741e46 | 188 | py | Python | jmetal/algorithm/singleobjective/__init__.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 335 | 2017-03-16T19:44:50.000Z | 2022-03-30T08:50:46.000Z | jmetal/algorithm/singleobjective/__init__.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 85 | 2017-05-16T06:40:51.000Z | 2022-02-05T23:43:49.000Z | jmetal/algorithm/singleobjective/__init__.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 130 | 2017-02-08T01:19:15.000Z | 2022-03-25T08:32:08.000Z | from .evolution_strategy import EvolutionStrategy
from .genetic_algorithm import GeneticAlgorithm
from .local_search import LocalSearch
from .simulated_annealing import SimulatedAnnealing
| 37.6 | 51 | 0.893617 | 20 | 188 | 8.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 4 | 52 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bab168fc9897a7a19de4aafd264e6b69f8b1ff18 | 1,498 | py | Python | ansiscape/interpreters/__init__.py | cariad/ansiscape | 07118b68729fcdc2198fc69c35bb1e9ef1bb5b80 | [
"MIT"
] | null | null | null | ansiscape/interpreters/__init__.py | cariad/ansiscape | 07118b68729fcdc2198fc69c35bb1e9ef1bb5b80 | [
"MIT"
] | 30 | 2021-09-05T13:56:21.000Z | 2021-10-05T11:14:11.000Z | ansiscape/interpreters/__init__.py | cariad/ansiscape | 07118b68729fcdc2198fc69c35bb1e9ef1bb5b80 | [
"MIT"
] | null | null | null | from ansiscape.handlers import register_interpreter
from ansiscape.interpreters.background import BackgroundValue
from ansiscape.interpreters.blink import BlinkValue
from ansiscape.interpreters.calligraphy import CalligraphyValue
from ansiscape.interpreters.conceal import ConcealValue
from ansiscape.interpreters.font i... | 45.393939 | 80 | 0.849132 | 137 | 1,498 | 9.160584 | 0.277372 | 0.155378 | 0.278884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090788 | 1,498 | 32 | 81 | 46.8125 | 0.921439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | true | 0 | 0.5 | 0 | 0.533333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bae8abc05c8db682ece32605519b5f8caf86d140 | 132 | py | Python | designer/designer.py | pwentrys/SubstanceHelpers | 8fb56158ee149792219e9cdb9479aaaed09a46bc | [
"MIT"
] | 2 | 2018-09-12T23:35:33.000Z | 2019-10-09T06:56:17.000Z | designer/designer.py | pwentrys/SubstanceHelpers | 8fb56158ee149792219e9cdb9479aaaed09a46bc | [
"MIT"
] | null | null | null | designer/designer.py | pwentrys/SubstanceHelpers | 8fb56158ee149792219e9cdb9479aaaed09a46bc | [
"MIT"
] | null | null | null | from designer.config import NAME, PATH, SHELVES
from templates import app
# Designer base
DESIGNER = app.App(NAME, PATH, SHELVES)
| 18.857143 | 47 | 0.772727 | 19 | 132 | 5.368421 | 0.526316 | 0.156863 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 6 | 48 | 22 | 0.910714 | 0.098485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bafab322988c53f029ae4b576bc1ef28c4ed276b | 117 | py | Python | AtCoder/NIKKEIPC2019qual/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 1 | 2018-11-25T04:15:45.000Z | 2018-11-25T04:15:45.000Z | AtCoder/NIKKEIPC2019qual/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | null | null | null | AtCoder/NIKKEIPC2019qual/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 2 | 2018-08-08T13:01:14.000Z | 2018-11-25T12:38:36.000Z | N, A, B = map(int, input().split())
print(min(A, B), end=" ")
if N - A <= B:
print(B - N + A)
else:
print(0)
| 16.714286 | 35 | 0.470085 | 23 | 117 | 2.391304 | 0.565217 | 0.109091 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.264957 | 117 | 6 | 36 | 19.5 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
240391a714dc4a4d186095ab2b8d255750b2cb22 | 605 | py | Python | classification/test.py | chika626/chainer_rep | a1d4fd32a8cfcab753269455d08c1918f273388d | [
"MIT"
] | null | null | null | classification/test.py | chika626/chainer_rep | a1d4fd32a8cfcab753269455d08c1918f273388d | [
"MIT"
] | 7 | 2020-03-13T08:29:46.000Z | 2020-05-27T17:34:14.000Z | classification/test.py | chika626/chainer_rep | a1d4fd32a8cfcab753269455d08c1918f273388d | [
"MIT"
] | null | null | null | import chainer
import argparse
from chainer import training
from chainer.datasets import cifar
from chainer.datasets import mnist
import chainer.links as L
import chainer.functions as F
from chainer import iterators
import numpy as np
#from chainercv.transforms import resize
from chainer.datasets import TransformDatase... | 25.208333 | 48 | 0.842975 | 83 | 605 | 6.120482 | 0.445783 | 0.194882 | 0.133858 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128926 | 605 | 23 | 49 | 26.304348 | 0.963947 | 0.064463 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | true | 0 | 0.9 | 0 | 0.95 | 0.05 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
242e15608449e98402d03ac5ee28eb0d9ea6aa5b | 78 | py | Python | majortom_gateway/__init__.py | grantperry/majortom_gateway_package | 9251863813fedccc15dbe775e7c4ddddbd068d4c | [
"Apache-2.0"
] | null | null | null | majortom_gateway/__init__.py | grantperry/majortom_gateway_package | 9251863813fedccc15dbe775e7c4ddddbd068d4c | [
"Apache-2.0"
] | null | null | null | majortom_gateway/__init__.py | grantperry/majortom_gateway_package | 9251863813fedccc15dbe775e7c4ddddbd068d4c | [
"Apache-2.0"
] | null | null | null | from majortom_gateway.gateway_api import GatewayAPI
name = "majortom_gateway"
| 26 | 51 | 0.858974 | 10 | 78 | 6.4 | 0.7 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 2 | 52 | 39 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2434a31acfea3567d4e5072dc92894088ca98230 | 214 | py | Python | src/lesson_mathematics/math_frexp.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_mathematics/math_frexp.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_mathematics/math_frexp.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import math
print('{:^7} {:^7} {:^7}'.format('x', 'm', 'e'))
print('{:-^7} {:-^7} {:-^7}'.format('', '', ''))
for x in [0.1, 0.5, 4.0]:
m, e = math.frexp(x)
print('{:7.2f} {:7.2f} {:7d}'.format(x, m, e))
| 23.777778 | 50 | 0.406542 | 39 | 214 | 2.230769 | 0.435897 | 0.091954 | 0.16092 | 0.183908 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 0.172897 | 214 | 8 | 51 | 26.75 | 0.39548 | 0 | 0 | 0 | 0 | 0 | 0.285047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
2445889fc46ee8e38df50f8915fb808022fe6505 | 1,341 | py | Python | gitamite/__init__.py | innovation-center-gitam-hyd/gitamite-library | 2df1d6a9c5d5c07ad936c7dd3bd8d147f67dbe1d | [
"MIT"
] | null | null | null | gitamite/__init__.py | innovation-center-gitam-hyd/gitamite-library | 2df1d6a9c5d5c07ad936c7dd3bd8d147f67dbe1d | [
"MIT"
] | null | null | null | gitamite/__init__.py | innovation-center-gitam-hyd/gitamite-library | 2df1d6a9c5d5c07ad936c7dd3bd8d147f67dbe1d | [
"MIT"
] | 1 | 2021-09-10T17:24:51.000Z | 2021-09-10T17:24:51.000Z | import requests
from gitamite import glearn, moodle
class Moodle:
s = requests.session()
username = 'username_here'
password = 'password_here'
def isMoodleLoggedIn(self):
return moodle.isMoodleLoggedIn(self)
def getMoodleHomepage(self):
return moodle.getMoodleHomepage(self)
d... | 24.381818 | 49 | 0.686055 | 126 | 1,341 | 7.269841 | 0.238095 | 0.084061 | 0.122271 | 0.052402 | 0.128821 | 0.128821 | 0.128821 | 0.128821 | 0.128821 | 0.128821 | 0 | 0 | 0.232662 | 1,341 | 55 | 50 | 24.381818 | 0.890185 | 0 | 0 | 0.157895 | 0 | 0 | 0.038748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0.052632 | 0.052632 | 0.289474 | 0.921053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
79f441c49f531d92195dad40278a04d0d043ec46 | 471 | py | Python | capstone/game/players/randplayer.py | davidrobles/mlnd-capstone-code | 19ca88aaa137665af147da9bbd0e510829a14cf1 | [
"MIT"
] | 2 | 2017-04-13T18:31:39.000Z | 2017-05-06T05:14:12.000Z | capstone/game/players/randplayer.py | davidrobles/mlnd-capstone-code | 19ca88aaa137665af147da9bbd0e510829a14cf1 | [
"MIT"
] | null | null | null | capstone/game/players/randplayer.py | davidrobles/mlnd-capstone-code | 19ca88aaa137665af147da9bbd0e510829a14cf1 | [
"MIT"
] | null | null | null | from ..player import Player
from ...utils import check_random_state
class RandPlayer(Player):
name = 'RandPlayer'
def __init__(self, random_state=None):
self.random_state = check_random_state(random_state)
def __str__(self):
return 'RandPlayer'
def __repr__(self):
return 'R... | 19.625 | 60 | 0.63482 | 53 | 471 | 5.226415 | 0.433962 | 0.238267 | 0.162455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231423 | 471 | 23 | 61 | 20.478261 | 0.765193 | 0.012739 | 0 | 0.166667 | 0 | 0 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.25 | 0.916667 | 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 | 1 | 1 | 0 | 0 | 4 |
030a56c8cfb64e8019ee4967b9f49d1fd70c9dbc | 114 | py | Python | PatternLib/__init__.py | paolotron/PatternLib | f260a7617474d59114118f09f7ebfc93a82d6159 | [
"MIT"
] | 2 | 2022-02-10T08:31:57.000Z | 2022-03-31T10:21:32.000Z | PatternLib/__init__.py | paolotron/PatternLib | f260a7617474d59114118f09f7ebfc93a82d6159 | [
"MIT"
] | null | null | null | PatternLib/__init__.py | paolotron/PatternLib | f260a7617474d59114118f09f7ebfc93a82d6159 | [
"MIT"
] | null | null | null | """
TibLib Package for the implementation of models and algorithms from the MLPatternRecognition polito course
""" | 38 | 106 | 0.815789 | 14 | 114 | 6.642857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 3 | 107 | 38 | 0.939394 | 0.929825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
031e1aeaed52f20f9afdb21a14450e4db86c8897 | 755 | py | Python | setup.py | GianC-Dev/WrapperCreater | 826345d16ecc7abeef41ec90fd7566397407ffda | [
"MIT"
] | 1 | 2020-05-17T21:03:07.000Z | 2020-05-17T21:03:07.000Z | setup.py | GianC-Dev/WrapperCreater | 826345d16ecc7abeef41ec90fd7566397407ffda | [
"MIT"
] | null | null | null | setup.py | GianC-Dev/WrapperCreater | 826345d16ecc7abeef41ec90fd7566397407ffda | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='WrapperCreater',
packages=['WrapperCreater'],
version='3.0',
license='MIT',
description='WrapperCreater For Python With Code',
author='GianC-Dev',
author_email='gianegekck@gmail.com',
url='https://github.com/GianC-Dev/WrapperCreater',
keywords=['Code', ... | 29.038462 | 57 | 0.655629 | 81 | 755 | 6.08642 | 0.641975 | 0.154158 | 0.20284 | 0.210953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.172185 | 755 | 25 | 58 | 30.2 | 0.7728 | 0 | 0 | 0.083333 | 0 | 0 | 0.624658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.041667 | 0 | 0.041667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30304955448ef3675208924a24e48aa445673da5 | 121 | py | Python | 07-Array-Oriented-Programming-with-NumPy/7-4-Array-from-List-of-Lists.py | rajevac/deitel-intro-to-python-exercises | 05f427d35ebb4bd315904f6919659335b1bf3fc9 | [
"MIT"
] | null | null | null | 07-Array-Oriented-Programming-with-NumPy/7-4-Array-from-List-of-Lists.py | rajevac/deitel-intro-to-python-exercises | 05f427d35ebb4bd315904f6919659335b1bf3fc9 | [
"MIT"
] | null | null | null | 07-Array-Oriented-Programming-with-NumPy/7-4-Array-from-List-of-Lists.py | rajevac/deitel-intro-to-python-exercises | 05f427d35ebb4bd315904f6919659335b1bf3fc9 | [
"MIT"
] | null | null | null | import numpy as np
arr_1 = [2, 3, 5, 7, 11]
arr_2 = [13, 17, 19, 23, 29]
arr_3 = np.array([arr_1, arr_2])
print(arr_3)
| 15.125 | 32 | 0.603306 | 29 | 121 | 2.310345 | 0.62069 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0.206612 | 121 | 7 | 33 | 17.285714 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3038135e62af7c782f72bff1dda7473b8798992f | 129 | py | Python | Dominos.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | Dominos.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | Dominos.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | for left in range(7):
for right in range(left,7):
print("[" + str(left) + "|" + str(right) + "]", end=" ")
print
| 25.8 | 64 | 0.488372 | 18 | 129 | 3.5 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.27907 | 129 | 4 | 65 | 32.25 | 0.655914 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
304288efca3bd2561e3828e3bfdf4cd5a2c65287 | 241 | py | Python | initialarticle/admin.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | 1 | 2018-12-10T15:50:21.000Z | 2018-12-10T15:50:21.000Z | initialarticle/admin.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | null | null | null | initialarticle/admin.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | null | null | null | from django.contrib import admin
from initialarticle.models import InitialArticle
class InitialArticleAdmin(admin.ModelAdmin):
list_display = ['by', 'category', 'keywords', 'pk']
admin.site.register(InitialArticle, InitialArticleAdmin) | 34.428571 | 56 | 0.80083 | 25 | 241 | 7.68 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095436 | 241 | 7 | 56 | 34.428571 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0621f9a703312747574d0f37b6a18a3fb9a8f3a8 | 117 | py | Python | sameproject/backends/durable_functions/__main__.py | js-ts/fix-same-dataset-tests | d76091d1b7bac4d267caaf9b6e04dd255aef8053 | [
"Apache-2.0"
] | null | null | null | sameproject/backends/durable_functions/__main__.py | js-ts/fix-same-dataset-tests | d76091d1b7bac4d267caaf9b6e04dd255aef8053 | [
"Apache-2.0"
] | null | null | null | sameproject/backends/durable_functions/__main__.py | js-ts/fix-same-dataset-tests | d76091d1b7bac4d267caaf9b6e04dd255aef8053 | [
"Apache-2.0"
] | null | null | null | """Importing dill with Python 3.9 is causing some trouble with __main__ which necessitates this file to be here.
"""
| 39 | 112 | 0.769231 | 19 | 117 | 4.526316 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.162393 | 117 | 2 | 113 | 58.5 | 0.857143 | 0.931624 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
067e00998a241f1c1f61210efca599b573bddc39 | 591 | py | Python | Geometry/HcalCommonData/python/testPhase2GeometryFine_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Geometry/HcalCommonData/python/testPhase2GeometryFine_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | Geometry/HcalCommonData/python/testPhase2GeometryFine_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
#
# Geometry master configuration
#
# Ideal geometry, needed for simulation
from Geometry.HcalCommonData.testPhase2GeometryFineXML_cfi import *
from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
from Geometry.HcalCommonData.hcalParameters_cfi impor... | 42.214286 | 75 | 0.86802 | 56 | 591 | 9.035714 | 0.464286 | 0.166008 | 0.15415 | 0.249012 | 0.280632 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005545 | 0.084602 | 591 | 13 | 76 | 45.461538 | 0.92976 | 0.113367 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ebea9630bd78bc48fec7d1a9f927d5d7907af7cd | 49 | py | Python | subject/__init__.py | duhee77/Your-class-Backend | e89c3daa7be0e8daa44817c9c5075e3671022367 | [
"MIT"
] | 1 | 2020-12-25T15:30:19.000Z | 2020-12-25T15:30:19.000Z | subject/__init__.py | duhee77/Your-class-Backend | e89c3daa7be0e8daa44817c9c5075e3671022367 | [
"MIT"
] | null | null | null | subject/__init__.py | duhee77/Your-class-Backend | e89c3daa7be0e8daa44817c9c5075e3671022367 | [
"MIT"
] | null | null | null | default_app_config = 'subject.apps.SubjectConfig' | 49 | 49 | 0.857143 | 6 | 49 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 49 | 1 | 49 | 49 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0.52 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebff14c7d36328650d59ee0c4880bba82be4f34c | 335 | py | Python | test/test_basic.py | emileKing/nova-bot | 363e69b5830a44be5c51bc1ccb646657cefc43b8 | [
"MIT"
] | 1 | 2021-11-26T13:55:51.000Z | 2021-11-26T13:55:51.000Z | test/test_basic.py | emileKing/nova-bot | 363e69b5830a44be5c51bc1ccb646657cefc43b8 | [
"MIT"
] | 1 | 2020-03-31T13:12:31.000Z | 2020-03-31T13:12:31.000Z | test/test_basic.py | emileKing/nova-bot | 363e69b5830a44be5c51bc1ccb646657cefc43b8 | [
"MIT"
] | 1 | 2020-04-30T19:11:21.000Z | 2020-04-30T19:11:21.000Z |
# import os
# import sys
# sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
# from becca.manager.text import DatasetManager
# dataset_man = DatasetManager()
# print (dataset_man.get_dataset())
# print ("-"*30)
# print (dataset_man.get_class_words())
# print ("-"*30)
# print (data... | 20.9375 | 84 | 0.698507 | 46 | 335 | 4.847826 | 0.5 | 0.179372 | 0.201794 | 0.161435 | 0.197309 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016892 | 0.116418 | 335 | 16 | 85 | 20.9375 | 0.736486 | 0.922388 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
2339c4b7f003a3c95c3346d5daf5e827851f87dd | 89 | py | Python | heatmap/apps.py | noahbkim/finances | 98e2d0cf1bcabcc9785177d36c581e6d3f7caba7 | [
"BSD-3-Clause"
] | null | null | null | heatmap/apps.py | noahbkim/finances | 98e2d0cf1bcabcc9785177d36c581e6d3f7caba7 | [
"BSD-3-Clause"
] | null | null | null | heatmap/apps.py | noahbkim/finances | 98e2d0cf1bcabcc9785177d36c581e6d3f7caba7 | [
"BSD-3-Clause"
] | 1 | 2019-02-14T08:09:46.000Z | 2019-02-14T08:09:46.000Z | from django.apps import AppConfig
class HeatmapConfig(AppConfig):
name = 'heatmap'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
88d6381204579af33c8343d56616fdd716fea951 | 19,223 | py | Python | tests/unit/test_font.py | DakaraProject/dakara-player | 6690c4c29506d0162382cc38a41f95850d5831ba | [
"MIT"
] | 3 | 2018-07-24T23:08:51.000Z | 2020-01-24T16:30:27.000Z | tests/unit/test_font.py | DakaraProject/dakara-player-vlc | 6690c4c29506d0162382cc38a41f95850d5831ba | [
"MIT"
] | 36 | 2018-03-06T13:43:42.000Z | 2021-01-16T18:30:37.000Z | tests/unit/test_font.py | DakaraProject/dakara-player | 6690c4c29506d0162382cc38a41f95850d5831ba | [
"MIT"
] | 1 | 2020-01-20T20:52:00.000Z | 2020-01-20T20:52:00.000Z | import sys
from unittest import TestCase, skipUnless
from unittest.mock import call, patch
from path import Path
from dakara_player.font import (
FontLoaderLinux,
FontLoaderNotAvailableError,
FontLoaderWindows,
get_font_loader_class,
)
class GetFontLoaderClassTestCase(TestCase):
"""Test font loa... | 33.962898 | 88 | 0.629246 | 2,283 | 19,223 | 5.057819 | 0.079282 | 0.084871 | 0.055426 | 0.050922 | 0.822811 | 0.758206 | 0.728501 | 0.691175 | 0.648134 | 0.631419 | 0 | 0.003916 | 0.269417 | 19,223 | 565 | 89 | 34.023009 | 0.818285 | 0.139728 | 0 | 0.527108 | 0 | 0 | 0.141815 | 0.050193 | 0 | 0 | 0 | 0 | 0.231928 | 1 | 0.075301 | false | 0.003012 | 0.01506 | 0 | 0.114458 | 0.003012 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88fa79a2caad2689e85d32b1f40fcb21d4fa69ea | 202 | py | Python | app/controllers/users/get_users.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | app/controllers/users/get_users.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | app/controllers/users/get_users.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | from flask import jsonify
from http import HTTPStatus
from app.models.users.users_model import UsersModel
def get_users():
users = UsersModel.query.all()
return jsonify(users), HTTPStatus.OK
| 20.2 | 51 | 0.772277 | 28 | 202 | 5.5 | 0.607143 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153465 | 202 | 9 | 52 | 22.444444 | 0.900585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
000a605d81d30e3bc09d69f5e44a2d9969f245b3 | 259 | py | Python | studentDetailsAPI/studentApp/models.py | sk-sharique/StudentDetailsAPI | ed7b1fd124f1314716c8723a227658f53512f26b | [
"MIT"
] | 1 | 2021-04-10T14:29:30.000Z | 2021-04-10T14:29:30.000Z | studentDetailsAPI/studentApp/models.py | sk-sharique/Django-StudentDetailsAPI | ed7b1fd124f1314716c8723a227658f53512f26b | [
"MIT"
] | null | null | null | studentDetailsAPI/studentApp/models.py | sk-sharique/Django-StudentDetailsAPI | ed7b1fd124f1314716c8723a227658f53512f26b | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class student(models.Model):
name=models.CharField(max_length=30)
email=models.EmailField()
dob=models.DateField()
age=models.IntegerField()
standard=models.CharField(max_length=30)
| 25.9 | 44 | 0.745174 | 34 | 259 | 5.617647 | 0.676471 | 0.157068 | 0.188482 | 0.251309 | 0.272251 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.142857 | 259 | 9 | 45 | 28.777778 | 0.842342 | 0.092664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0020cdcfc157c62104376120beb9491fb7295274 | 147 | py | Python | workbench/phyloblast/scripts/api.py | adebali/adebali | e8fa22c64bada8b3845869aa35f9672b1a07facd | [
"MIT"
] | null | null | null | workbench/phyloblast/scripts/api.py | adebali/adebali | e8fa22c64bada8b3845869aa35f9672b1a07facd | [
"MIT"
] | 1 | 2020-07-15T21:40:13.000Z | 2020-07-15T21:40:13.000Z | workbench/phyloblast/scripts/api.py | adebali/adebali.github.io | e8fa22c64bada8b3845869aa35f9672b1a07facd | [
"MIT"
] | null | null | null | #!/usr/bin/python
from pymongo import mogno
import cgi, cgitb
arguments = cgi.FieldStorage()
for i in arguments.keys():
print arguments[i].value
| 18.375 | 30 | 0.755102 | 22 | 147 | 5.045455 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 7 | 31 | 21 | 0.867188 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc41f2fba3940cc984a46b69f841156102c02e83 | 4,362 | py | Python | multiscale/imagej/Examples/imglyb_jar_call.py | uw-loci/multiscale_imaging | d1c616a300d2cbc9b09471e6ee3d8684606bc9b9 | [
"BSD-2-Clause"
] | 1 | 2020-01-24T15:12:23.000Z | 2020-01-24T15:12:23.000Z | multiscale/imagej/Examples/imglyb_jar_call.py | uw-loci/multiscale_imaging | d1c616a300d2cbc9b09471e6ee3d8684606bc9b9 | [
"BSD-2-Clause"
] | null | null | null | multiscale/imagej/Examples/imglyb_jar_call.py | uw-loci/multiscale_imaging | d1c616a300d2cbc9b09471e6ee3d8684606bc9b9 | [
"BSD-2-Clause"
] | null | null | null | import os
os.environ['PYJNIUS_JAR'] = r'C:\Users\mpinkert\AppData\Local\Continuum\anaconda3\envs\pyimagej\share\pyjnius\pyjnius.jar'
os.environ['PATH'] = r'C:\Users\mpinkert\AppData\Local\Continuum\anaconda3\envs\pyimagej\Library\jre\bin\server;C:\Users\mpinkert\AppData\Local\Continuum\anaconda3\envs\pyimagej\Library\b... | 140.709677 | 2,930 | 0.766392 | 651 | 4,362 | 5.093702 | 0.274962 | 0.043426 | 0.101327 | 0.145657 | 0.705066 | 0.672799 | 0.633896 | 0.633896 | 0.554584 | 0.521411 | 0 | 0.038142 | 0.062357 | 4,362 | 31 | 2,931 | 140.709677 | 0.772616 | 0 | 0 | 0.217391 | 0 | 0.130435 | 0.867959 | 0.715745 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0.130435 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc4421c368310b2403fc451a0a7fb66f05b55365 | 206 | py | Python | django/blog/admin.py | liamnewmarch/liam.nwmr.ch | 5fb3f232cdf75a50d50b139980dfaacf3aa20c51 | [
"MIT"
] | null | null | null | django/blog/admin.py | liamnewmarch/liam.nwmr.ch | 5fb3f232cdf75a50d50b139980dfaacf3aa20c51 | [
"MIT"
] | 14 | 2020-12-04T20:27:50.000Z | 2022-02-10T09:25:19.000Z | django/blog/admin.py | liamnewmarch/liam.nwmr.ch | 5fb3f232cdf75a50d50b139980dfaacf3aa20c51 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
@admin.register(models.Post)
class PostAdmin(admin.ModelAdmin):
list_display = ('title', 'slug', 'visibility', 'published')
sortable_by = ()
| 20.6 | 63 | 0.713592 | 24 | 206 | 6.041667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150485 | 206 | 9 | 64 | 22.888889 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cc45f37d76486b38b0513f9fe080100cd228ed3f | 81 | py | Python | 3_Audio_Player/player.py | kmranrg/AudioPlayground | 8ce9f5ecc8d55372395da69b85c423edd32059f0 | [
"BSD-3-Clause"
] | null | null | null | 3_Audio_Player/player.py | kmranrg/AudioPlayground | 8ce9f5ecc8d55372395da69b85c423edd32059f0 | [
"BSD-3-Clause"
] | null | null | null | 3_Audio_Player/player.py | kmranrg/AudioPlayground | 8ce9f5ecc8d55372395da69b85c423edd32059f0 | [
"BSD-3-Clause"
] | null | null | null | # pip install playsound
from playsound import playsound
playsound('output.wav')
| 16.2 | 31 | 0.802469 | 10 | 81 | 6.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 4 | 32 | 20.25 | 0.915493 | 0.259259 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc53311118e54644f6b21a58405f376d6a16ae36 | 56 | py | Python | common/__init__.py | stpatrick2016/api-server-template-python | c3f13a07c32bf2e4c964072ace070aee5d510d73 | [
"MIT"
] | null | null | null | common/__init__.py | stpatrick2016/api-server-template-python | c3f13a07c32bf2e4c964072ace070aee5d510d73 | [
"MIT"
] | null | null | null | common/__init__.py | stpatrick2016/api-server-template-python | c3f13a07c32bf2e4c964072ace070aee5d510d73 | [
"MIT"
] | null | null | null | __all__ = ["get_logger"]
from .logger import get_logger | 18.666667 | 30 | 0.767857 | 8 | 56 | 4.625 | 0.625 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 3 | 30 | 18.666667 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc6b1de9cd0cfb48f997cf92b694593c8ae3fccb | 750,842 | py | Python | pybandit/optproblems/cec2005/f22.py | chunjenpeng/pyBandit | df14bf0cc263d8fa0ad0a539e94327ac35e33d1c | [
"MIT"
] | 1 | 2018-07-12T08:30:44.000Z | 2018-07-12T08:30:44.000Z | pybandit/optproblems/cec2005/f22.py | PENGChunJen/pyBandit | df14bf0cc263d8fa0ad0a539e94327ac35e33d1c | [
"MIT"
] | null | null | null | pybandit/optproblems/cec2005/f22.py | PENGChunJen/pyBandit | df14bf0cc263d8fa0ad0a539e94327ac35e33d1c | [
"MIT"
] | null | null | null |
import numpy as np
from optproblems.cec2005.f21 import F21
class F22(F21):
"""Rotated hybrid composition function F21 with high condition number matrix."""
matrices2D = np.array([[[0.5039408974861557, 5.783530116964769],
[-2.4122450377986344, -7.840784197745668]],
... | 803.039572 | 1,109 | 0.798673 | 70,116 | 750,842 | 8.552641 | 0.509156 | 0.000047 | 0.000027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.869808 | 0.082051 | 750,842 | 934 | 1,110 | 803.899358 | 0.000254 | 0.000099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002167 | 0 | 0.007584 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc6cb1e3ed6b5bca2ebe4c2aa8e0acc557af3ec6 | 56 | py | Python | dynamicoptions/__init__.py | gcms/dynamicoptionsplugin | df72e03ffd0ad5a5fbc84f79203831bc9a9e7a45 | [
"BSD-3-Clause"
] | null | null | null | dynamicoptions/__init__.py | gcms/dynamicoptionsplugin | df72e03ffd0ad5a5fbc84f79203831bc9a9e7a45 | [
"BSD-3-Clause"
] | null | null | null | dynamicoptions/__init__.py | gcms/dynamicoptionsplugin | df72e03ffd0ad5a5fbc84f79203831bc9a9e7a45 | [
"BSD-3-Clause"
] | null | null | null | #
from dynamicoptions import *
inject_dynamic_options() | 18.666667 | 28 | 0.821429 | 6 | 56 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 3 | 29 | 18.666667 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc78a9c1f372c37fdc9d88eb4d0eb4bc07eb7716 | 140 | py | Python | tests/gromacs_ti.py | MD-Studio/lie_ti | 0b3ae93cd9a8b46a6caa40c4f0bed3cb5c6d2b2b | [
"Apache-2.0"
] | null | null | null | tests/gromacs_ti.py | MD-Studio/lie_ti | 0b3ae93cd9a8b46a6caa40c4f0bed3cb5c6d2b2b | [
"Apache-2.0"
] | null | null | null | tests/gromacs_ti.py | MD-Studio/lie_ti | 0b3ae93cd9a8b46a6caa40c4f0bed3cb5c6d2b2b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
file: gromacs_ti.py
Functions for setting up a Gromacs based Thermodynamic Integration (TI)
calculation.
"""
| 14 | 71 | 0.692857 | 18 | 140 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.164286 | 140 | 9 | 72 | 15.555556 | 0.811966 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc8ba376688d92cb3eb1c8926da762c475bab98f | 253 | py | Python | pungi/environment/__init__.py | DiscoverAI/pungi | 72390326f76f14ccfeb81c79323a8bbd4482ce1d | [
"MIT"
] | null | null | null | pungi/environment/__init__.py | DiscoverAI/pungi | 72390326f76f14ccfeb81c79323a8bbd4482ce1d | [
"MIT"
] | 6 | 2019-03-12T16:11:15.000Z | 2020-09-25T22:52:51.000Z | pungi/environment/__init__.py | DiscoverAI/pungi | 72390326f76f14ccfeb81c79323a8bbd4482ce1d | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='snake-v1',
entry_point='pungi.environment.environment:SnakeEnv',
)
register(
id='snake-partial-info-v1',
entry_point='pungi.environment.environment:PartialInformationSnakeEnv'
)
| 21.083333 | 74 | 0.758893 | 28 | 253 | 6.785714 | 0.607143 | 0.105263 | 0.157895 | 0.178947 | 0.410526 | 0.410526 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.118577 | 253 | 11 | 75 | 23 | 0.843049 | 0 | 0 | 0.222222 | 0 | 0 | 0.486166 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ccd42320f73a1fb40b96d271d3acbbf7e7ba392e | 243 | py | Python | moai/data/augmentation/albumentations/augmentations/__init__.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 10 | 2021-04-02T11:21:33.000Z | 2022-01-18T18:32:32.000Z | moai/data/augmentation/albumentations/augmentations/__init__.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 1 | 2022-03-22T20:10:55.000Z | 2022-03-24T13:11:02.000Z | moai/data/augmentation/albumentations/augmentations/__init__.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 3 | 2021-05-16T20:47:40.000Z | 2021-12-01T21:15:36.000Z | from moai.data.augmentation.albumentations.augmentations.random_gamma import RandomGamma
from moai.data.augmentation.albumentations.augmentations.random_sized_crop import RandomSizedCrop
__all__ = [
"RandomGamma",
"RandomSizedCrop",
] | 34.714286 | 97 | 0.831276 | 24 | 243 | 8.125 | 0.583333 | 0.082051 | 0.123077 | 0.246154 | 0.584615 | 0.584615 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0.090535 | 243 | 7 | 98 | 34.714286 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
aee47391e48a645787887467b989cad8a2ee3625 | 125 | py | Python | tasks/task_hello.py | Junzki/Essen | ef735a9229a3de3e07a7cf998b51c66809293dad | [
"BSD-3-Clause"
] | null | null | null | tasks/task_hello.py | Junzki/Essen | ef735a9229a3de3e07a7cf998b51c66809293dad | [
"BSD-3-Clause"
] | null | null | null | tasks/task_hello.py | Junzki/Essen | ef735a9229a3de3e07a7cf998b51c66809293dad | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
""" Task for sample.
"""
from essen.app import celery
@celery.task
def hello():
print('Aloha!')
| 12.5 | 28 | 0.6 | 17 | 125 | 4.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.184 | 125 | 9 | 29 | 13.888889 | 0.72549 | 0.304 | 0 | 0 | 0 | 0 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aee82fcc48b3a701fadd6d9aa1db01c350b5e8ff | 51 | py | Python | heuslertools/plotting/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/plotting/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/plotting/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | """
Usefull tools for plotting with matplotlib
"""
| 12.75 | 42 | 0.72549 | 6 | 51 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 43 | 17 | 0.860465 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeed44da6232bfc92db936468e22cb9a149bdbe3 | 96 | py | Python | spekulatio/exceptions.py | iwilltry42/spekulatio | 42d678b7d7fcc13284902be5a08fb0407d96ec4d | [
"MIT"
] | 10 | 2019-03-19T23:05:04.000Z | 2022-01-19T14:08:06.000Z | spekulatio/exceptions.py | iwilltry42/spekulatio | 42d678b7d7fcc13284902be5a08fb0407d96ec4d | [
"MIT"
] | 6 | 2019-03-23T08:38:44.000Z | 2020-11-24T20:50:14.000Z | spekulatio/exceptions.py | iwilltry42/spekulatio | 42d678b7d7fcc13284902be5a08fb0407d96ec4d | [
"MIT"
] | 1 | 2019-09-26T12:21:36.000Z | 2019-09-26T12:21:36.000Z |
class SpekulatioError(Exception):
pass
class FrontmatterError(SpekulatioError):
pass
| 12 | 40 | 0.760417 | 8 | 96 | 9.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 96 | 7 | 41 | 13.714286 | 0.924051 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
aef10c08fdb9dc0af84f018ae834f42a03db75f0 | 104 | py | Python | apps/audit/admin.py | karpiq24/django-klima-kar | e62e79c66053749e249f55e1ab47f810f449f0aa | [
"MIT"
] | 2 | 2018-01-23T22:38:57.000Z | 2019-07-14T08:59:19.000Z | apps/audit/admin.py | karpiq24/django-klima-kar | e62e79c66053749e249f55e1ab47f810f449f0aa | [
"MIT"
] | 237 | 2018-08-15T23:13:52.000Z | 2022-01-13T13:08:50.000Z | apps/audit/admin.py | karpiq24/django-klima-kar | e62e79c66053749e249f55e1ab47f810f449f0aa | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.audit.models import AuditLog
admin.site.register(AuditLog)
| 17.333333 | 38 | 0.826923 | 15 | 104 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 5 | 39 | 20.8 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e01b4551b0c8f73ce9f34da046980e0376de97e | 28 | py | Python | data/studio21_generated/introductory/3300/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3300/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3300/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def replace_letters(word):
| 14 | 26 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 2 | 27 | 14 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e09e0311b8d3afd6a04495f3b13b27b716e25c9 | 94 | py | Python | biosphere-py/biosphere/__init__.py | mlondschien/biosphere | 2348b806f59829c5c051b227f502de8b3407b246 | [
"BSD-3-Clause"
] | 2 | 2021-12-30T12:24:13.000Z | 2022-02-14T15:37:25.000Z | biosphere-py/biosphere/__init__.py | mlondschien/biosphere | 2348b806f59829c5c051b227f502de8b3407b246 | [
"BSD-3-Clause"
] | 14 | 2021-12-30T11:13:20.000Z | 2022-03-14T16:33:37.000Z | biosphere-py/biosphere/__init__.py | mlondschien/biosphere | 2348b806f59829c5c051b227f502de8b3407b246 | [
"BSD-3-Clause"
] | null | null | null | from .biosphere import DecisionTree, RandomForest
__all__ = ["DecisionTree", "RandomForest"]
| 23.5 | 49 | 0.787234 | 8 | 94 | 8.75 | 0.75 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 50 | 31.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e1219a232f466d2db77350e72f857f676a04565 | 112 | py | Python | ore/discourse_discuss/apps.py | lukegb/Ore-python | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | 1 | 2016-05-24T14:49:42.000Z | 2016-05-24T14:49:42.000Z | ore/discourse_discuss/apps.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | ore/discourse_discuss/apps.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DiscourseDiscussConfig(AppConfig):
name = 'ore.discourse_discuss'
| 18.666667 | 40 | 0.794643 | 12 | 112 | 7.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 41 | 22.4 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e2c5f7ba541fc140b98e5f6e61c3de60a50fd0b | 670 | py | Python | rejected_peps/pep754.py | wyz23x2/rejected-peps | 2000797a7ea9dea58e60b2d83267a7fbb57c0ca4 | [
"MIT"
] | 1 | 2021-08-08T10:48:53.000Z | 2021-08-08T10:48:53.000Z | rejected_peps/pep754.py | wyz23x2/rejected-peps | 2000797a7ea9dea58e60b2d83267a7fbb57c0ca4 | [
"MIT"
] | null | null | null | rejected_peps/pep754.py | wyz23x2/rejected-peps | 2000797a7ea9dea58e60b2d83267a7fbb57c0ca4 | [
"MIT"
] | null | null | null | """\
PEP INFO
PEP 754 -- IEEE 754 Floating Point Special Values
Status: Rejected
Created: 2003-03-28
MODULE INFO
This module implements NaN, PosInf, NegInf and the functions
in PEP 754.
REFERENCES
PEP 754: <https://www.python.org/dev/peps/pep-0754/>
"""
PEP = 754
import math as _math
NaN = float('nan')
PosInf = ... | 20.30303 | 61 | 0.701493 | 101 | 670 | 4.594059 | 0.465347 | 0.096983 | 0.161638 | 0.204741 | 0.239224 | 0.239224 | 0.176724 | 0.176724 | 0.176724 | 0.176724 | 0 | 0.052347 | 0.173134 | 670 | 32 | 62 | 20.9375 | 0.785199 | 0.373134 | 0 | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.333333 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9ddfe9a2d02d19694eeec407e1feddf14d438bd3 | 1,007 | py | Python | src/sprites/characters/behaviours/master/MasterStillState.py | NEKERAFA/Soul-Tower | d37c0bf6bcbf253ec5b2c41f802adeeca31fb384 | [
"MIT"
] | null | null | null | src/sprites/characters/behaviours/master/MasterStillState.py | NEKERAFA/Soul-Tower | d37c0bf6bcbf253ec5b2c41f802adeeca31fb384 | [
"MIT"
] | null | null | null | src/sprites/characters/behaviours/master/MasterStillState.py | NEKERAFA/Soul-Tower | d37c0bf6bcbf253ec5b2c41f802adeeca31fb384 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import random
from src.sprites.characters.behaviours.MasterBehaviourState import *
# from src.sprites.characters.behaviours.death.MasterFollowPlayerState import *
from src.sprites.Character import *
from src.sprites.MySprite import *
from src.sprites.EnemyRange import *
# ---------------------... | 32.483871 | 80 | 0.632572 | 102 | 1,007 | 6.117647 | 0.509804 | 0.05609 | 0.112179 | 0.128205 | 0.108974 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003741 | 0.203575 | 1,007 | 31 | 81 | 32.483871 | 0.774314 | 0.363456 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.133333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9debb877735fcb8fccac01c4dd9fa377a181fc79 | 215 | py | Python | artblog/apps/gallery/views.py | Kalenai/artblog-project | 60bde90c99fb68910cbbfbc26b761638b9babf31 | [
"MIT"
] | null | null | null | artblog/apps/gallery/views.py | Kalenai/artblog-project | 60bde90c99fb68910cbbfbc26b761638b9babf31 | [
"MIT"
] | null | null | null | artblog/apps/gallery/views.py | Kalenai/artblog-project | 60bde90c99fb68910cbbfbc26b761638b9babf31 | [
"MIT"
] | null | null | null | from django.views.generic import ListView
from . import models
class GalleryIndex(ListView):
queryset = models.ImageEntry.objects.visible()
paginate_by = 6
template_name = 'gallery/gallery-index.html'
| 23.888889 | 50 | 0.75814 | 26 | 215 | 6.192308 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.153488 | 215 | 8 | 51 | 26.875 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9df35e6f6bf0867e8aa4546e03031c96a07ba057 | 91 | py | Python | src/wshop/apps/dashboard/vouchers/__init__.py | vituocgia/wshop-core | 5f6d1ec9e9158f13aab136c5bd901c41e69a1dba | [
"BSD-3-Clause"
] | null | null | null | src/wshop/apps/dashboard/vouchers/__init__.py | vituocgia/wshop-core | 5f6d1ec9e9158f13aab136c5bd901c41e69a1dba | [
"BSD-3-Clause"
] | null | null | null | src/wshop/apps/dashboard/vouchers/__init__.py | vituocgia/wshop-core | 5f6d1ec9e9158f13aab136c5bd901c41e69a1dba | [
"BSD-3-Clause"
] | null | null | null | default_app_config = (
'wshop.apps.dashboard.vouchers.config.VouchersDashboardConfig')
| 30.333333 | 67 | 0.802198 | 9 | 91 | 7.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 68 | 45.5 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.659341 | 0.659341 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.