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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d32bbc159b6618dfbdccfdf67bb0d92d2b91ea37 | 89 | py | Python | calendoola_web/caleweb/apps.py | IAmDrozdov/task-tracker | ddc237c89769e3e2e0943862edd6aa09cbe3ee62 | [
"MIT"
] | null | null | null | calendoola_web/caleweb/apps.py | IAmDrozdov/task-tracker | ddc237c89769e3e2e0943862edd6aa09cbe3ee62 | [
"MIT"
] | null | null | null | calendoola_web/caleweb/apps.py | IAmDrozdov/task-tracker | ddc237c89769e3e2e0943862edd6aa09cbe3ee62 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CalewebConfig(AppConfig):
name = 'caleweb'
| 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 | 0 | 0 | 0 | 3 |
d32d3382c0d893abd15430bb8bf64d0c0dcd4b42 | 278 | py | Python | t17.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | t17.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | t17.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | a=int(input("enter the first number:"))
b=int(input("enter the second number:"))
s=(a&b) #sum
print(s)
u=(a/b) #or
print(u)
k=(~a) #not
print(k)
m=(a^b) #x-or
print(m)
o=(a<<b) #left shift
print(o)
t=(a>>b) #right shift
print(t)
| 18.533333 | 41 | 0.503597 | 52 | 278 | 2.692308 | 0.442308 | 0.071429 | 0.185714 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276978 | 278 | 14 | 42 | 19.857143 | 0.696517 | 0.118705 | 0 | 0 | 0 | 0 | 0.208889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d3422645dfdfe224e10bf56448d1f4ae0af39d15 | 4,042 | py | Python | tests/test_vmtkScripts/test_vmtksurfacebooleanoperation.py | ramtingh/vmtk | 4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3 | [
"Apache-2.0"
] | null | null | null | tests/test_vmtkScripts/test_vmtksurfacebooleanoperation.py | ramtingh/vmtk | 4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3 | [
"Apache-2.0"
] | null | null | null | tests/test_vmtkScripts/test_vmtksurfacebooleanoperation.py | ramtingh/vmtk | 4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3 | [
"Apache-2.0"
] | 1 | 2019-06-18T23:41:11.000Z | 2019-06-18T23:41:11.000Z | ## Program: VMTK
## Language: Python
## Date: January 12, 2018
## Version: 1.4
## Copyright (c) Richard Izzo, Luca Antiga, All rights reserved.
## See LICENSE file for details.
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNES... | 38.495238 | 102 | 0.699406 | 423 | 4,042 | 6.427896 | 0.248227 | 0.05149 | 0.073556 | 0.106657 | 0.751379 | 0.71644 | 0.707245 | 0.653917 | 0.653917 | 0.653917 | 0 | 0.021348 | 0.188768 | 4,042 | 104 | 103 | 38.865385 | 0.807868 | 0.118753 | 0 | 0.648649 | 0 | 0 | 0.143342 | 0.063896 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.067568 | false | 0 | 0.040541 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d375c68924de17be75ad66b865d48ff171c3a3b0 | 3,190 | py | Python | vspk/v4_0/nuvsdsession.py | cldelcourt/vspk-python | cdea810cd220e6ddc131407735941b9a26b2edda | [
"BSD-3-Clause"
] | null | null | null | vspk/v4_0/nuvsdsession.py | cldelcourt/vspk-python | cdea810cd220e6ddc131407735941b9a26b2edda | [
"BSD-3-Clause"
] | null | null | null | vspk/v4_0/nuvsdsession.py | cldelcourt/vspk-python | cdea810cd220e6ddc131407735941b9a26b2edda | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2015, Alcatel-Lucent Inc
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# no... | 37.529412 | 196 | 0.692476 | 394 | 3,190 | 5.560914 | 0.472081 | 0.013692 | 0.021908 | 0.020995 | 0.08398 | 0.062072 | 0.062072 | 0.062072 | 0.062072 | 0.062072 | 0 | 0.004529 | 0.238558 | 3,190 | 85 | 197 | 37.529412 | 0.897489 | 0.652351 | 0 | 0.25 | 0 | 0 | 0.066452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.2 | 0.15 | 0.05 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d37afdc976be55d2d0aebd67a8c35e5a2ccfdc95 | 399 | py | Python | tests/experimental/101.corebot-bert-bidaf/bot/dialogs/__init__.py | Fl4v/botbuilder-python | 4003d713beb8fb986a01cfd11632eabc65858618 | [
"MIT"
] | 388 | 2019-05-07T15:53:21.000Z | 2022-03-28T20:29:46.000Z | tests/experimental/101.corebot-bert-bidaf/bot/dialogs/__init__.py | Fl4v/botbuilder-python | 4003d713beb8fb986a01cfd11632eabc65858618 | [
"MIT"
] | 1,286 | 2019-05-07T23:38:19.000Z | 2022-03-31T10:44:16.000Z | tests/experimental/101.corebot-bert-bidaf/bot/dialogs/__init__.py | Fl4v/botbuilder-python | 4003d713beb8fb986a01cfd11632eabc65858618 | [
"MIT"
] | 168 | 2019-05-14T20:23:25.000Z | 2022-03-16T06:49:14.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Dialogs module"""
from .booking_dialog import BookingDialog
from .cancel_and_help_dialog import CancelAndHelpDialog
from .date_resolver_dialog import DateResolverDialog
from .main_dialog import MainDialog
__all__ =... | 39.9 | 87 | 0.802005 | 42 | 399 | 7.357143 | 0.666667 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 399 | 9 | 88 | 44.333333 | 0.880342 | 0.263158 | 0 | 0 | 0 | 0 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 1 | 0 | 0 | 3 |
d397a054b3aac2b9856ccaec4865e09a7badbf87 | 466 | py | Python | spark/helpfulstuff.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | null | null | null | spark/helpfulstuff.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | null | null | null | spark/helpfulstuff.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | null | null | null | # # This function combines adds elements and returns them as the first element
# # of the tuple. Then increments the second value by one in each partition.
# seqOp = (lambda acc, value: (acc[0] + value, acc[1] + 1))
# # This function takes all the partitions and combines them.
# combOp = (lambda acc1, acc2: (acc1[0] + ... | 58.25 | 78 | 0.701717 | 74 | 466 | 4.405405 | 0.608108 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03866 | 0.167382 | 466 | 7 | 79 | 66.571429 | 0.801546 | 0.957082 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 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 | 3 |
d39c4303f08f7a01ac281f4de93c92a60c11e11f | 4,288 | gyp | Python | binding.gyp | Mephostopilis/ed25519 | 8bcefeb39448049d6351565a37c01967df79ac6a | [
"BSD-2-Clause"
] | null | null | null | binding.gyp | Mephostopilis/ed25519 | 8bcefeb39448049d6351565a37c01967df79ac6a | [
"BSD-2-Clause"
] | null | null | null | binding.gyp | Mephostopilis/ed25519 | 8bcefeb39448049d6351565a37c01967df79ac6a | [
"BSD-2-Clause"
] | null | null | null | {
'variables': {
'node_shared_openssl%': 'true'
},
'targets': [
{
'target_name': 'ed25519',
'sources': [
'src/ed25519/keypair.c',
'src/ed25519/sign.c',
'src/ed25519/open.c',
'src/ed25519/crypto... | 42.455446 | 91 | 0.397155 | 392 | 4,288 | 4.127551 | 0.311224 | 0.253399 | 0.271941 | 0.144623 | 0.265142 | 0.221261 | 0.092707 | 0.072312 | 0 | 0 | 0 | 0.113241 | 0.476912 | 4,288 | 100 | 92 | 42.88 | 0.608114 | 0.096549 | 0 | 0.215054 | 0 | 0 | 0.41795 | 0.250929 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c93220a02433c7711b60e8b6b63380d0a350095 | 67 | py | Python | mvlearn/cotraining/__init__.py | akoul1/mvlearn | 177d391bb12c6e94335720d9af3608bd719d8be1 | [
"Apache-2.0"
] | 1 | 2020-12-29T15:41:29.000Z | 2020-12-29T15:41:29.000Z | mvlearn/cotraining/__init__.py | akoul1/mvlearn | 177d391bb12c6e94335720d9af3608bd719d8be1 | [
"Apache-2.0"
] | null | null | null | mvlearn/cotraining/__init__.py | akoul1/mvlearn | 177d391bb12c6e94335720d9af3608bd719d8be1 | [
"Apache-2.0"
] | null | null | null | from .ctclassifier import CTClassifier
__all__ = ["CTClassifier"]
| 16.75 | 38 | 0.791045 | 6 | 67 | 8.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 3 | 39 | 22.333333 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6cb5f4a144d64ca972067dee36d9a85084977be6 | 2,577 | py | Python | paralleldomain/decoding/cityscapes/frame_decoder.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 10 | 2021-11-17T17:23:49.000Z | 2022-03-18T09:51:23.000Z | paralleldomain/decoding/cityscapes/frame_decoder.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 3 | 2021-12-02T17:16:20.000Z | 2022-01-07T12:47:13.000Z | paralleldomain/decoding/cityscapes/frame_decoder.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 2 | 2022-03-09T07:03:54.000Z | 2022-03-23T15:53:48.000Z | from typing import List
import numpy as np
from paralleldomain.decoding.cityscapes.sensor_frame_decoder import CityscapesCameraSensorFrameDecoder
from paralleldomain.decoding.common import DecoderSettings
from paralleldomain.decoding.frame_decoder import FrameDecoder
from paralleldomain.decoding.sensor_frame_decoder ... | 40.904762 | 106 | 0.755142 | 283 | 2,577 | 6.575972 | 0.229682 | 0.033853 | 0.05266 | 0.048361 | 0.201505 | 0.201505 | 0.201505 | 0.160666 | 0.13756 | 0.081677 | 0 | 0.000469 | 0.173458 | 2,577 | 62 | 107 | 41.564516 | 0.873239 | 0 | 0 | 0.081633 | 0 | 0 | 0.030268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204082 | false | 0 | 0.204082 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6cb8547626526018e83b5576465f166ce447369b | 324 | py | Python | solvers/external/external.py | xcsp3team/pycsp3 | a11bc370e34cd3fe37faeae9a5df935fcbd7770d | [
"MIT"
] | 28 | 2019-12-14T09:25:52.000Z | 2022-03-24T08:15:13.000Z | solvers/external/external.py | xcsp3team/pycsp3 | a11bc370e34cd3fe37faeae9a5df935fcbd7770d | [
"MIT"
] | 7 | 2020-04-15T11:02:07.000Z | 2022-01-20T12:48:54.000Z | solvers/external/external.py | xcsp3team/pycsp3 | a11bc370e34cd3fe37faeae9a5df935fcbd7770d | [
"MIT"
] | 3 | 2020-04-15T08:23:45.000Z | 2021-12-07T14:02:28.000Z | import os
from pycsp3.solvers.solver import SolverProcess #, SolverPy4J
class ExternalProcess(SolverProcess):
def __init__(self, name, command):
super().__init__(name=name, command=command, cp="")
def parse_general_options(self, string_options, dict_options, dict_simplified_options):
return... | 27 | 91 | 0.737654 | 37 | 324 | 6.081081 | 0.648649 | 0.097778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00738 | 0.16358 | 324 | 11 | 92 | 29.454545 | 0.822878 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ce52312e6a72c9a56db288eed58416e93089db9 | 1,762 | py | Python | tests/end_to_end/scenarios/execute_disconnect_user_adhoc_command.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 68 | 2015-01-29T21:07:37.000Z | 2022-03-20T14:48:07.000Z | tests/end_to_end/scenarios/execute_disconnect_user_adhoc_command.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 5 | 2016-10-24T18:34:30.000Z | 2021-08-31T13:30:37.000Z | tests/end_to_end/scenarios/execute_disconnect_user_adhoc_command.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 13 | 2015-12-11T15:19:05.000Z | 2021-08-31T13:24:35.000Z | from scenarios import *
from scenarios.simple_channel_join import expect_self_join_presence
scenario = (
send_stanza("<presence from='{jid_admin}/{resource_one}' to='#foo%{irc_server_one}/{nick_one}' ><x xmlns='http://jabber.org/protocol/muc'/></presence>"),
sequences.connection("irc.localhost", '{jid_admin}/... | 88.1 | 399 | 0.69126 | 228 | 1,762 | 5.175439 | 0.372807 | 0.047458 | 0.081356 | 0.09661 | 0.420339 | 0.398305 | 0.261017 | 0.261017 | 0.261017 | 0.261017 | 0 | 0.002513 | 0.096481 | 1,762 | 19 | 400 | 92.736842 | 0.738693 | 0.03462 | 0 | 0 | 0 | 0.4 | 0.733373 | 0.517363 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6cf22329e44ed7dea513d048377b168f5e91fd35 | 383 | py | Python | build/numpy/numpy/numarray/linear_algebra.py | crougeux/-a-i_v1.6.3_modif | b499a812e79f335d082d3f9b1070e0465ad67bab | [
"BSD-3-Clause"
] | 742 | 2017-07-05T02:49:36.000Z | 2022-03-30T12:55:43.000Z | build/numpy/numpy/numarray/linear_algebra.py | crougeux/-a-i_v1.6.3_modif | b499a812e79f335d082d3f9b1070e0465ad67bab | [
"BSD-3-Clause"
] | 73 | 2017-07-06T12:50:51.000Z | 2022-03-07T08:07:07.000Z | virtual/lib/python3.6/site-packages/numpy/numarray/linear_algebra.py | tw8130/Awwards | d1296cdc26356443d6ec5869495eedb766ecbcf2 | [
"Unlicense"
] | 425 | 2017-07-04T22:03:29.000Z | 2022-03-29T06:59:06.000Z | from __future__ import division, absolute_import, print_function
from numpy.oldnumeric.linear_algebra import *
import numpy.oldnumeric.linear_algebra as nol
__all__ = list(nol.__all__)
__all__ += ['qr_decomposition']
from numpy.linalg import qr as _qr
def qr_decomposition(a, mode='full'):
res = _qr(a, mode)
... | 22.529412 | 64 | 0.72846 | 53 | 383 | 4.811321 | 0.490566 | 0.070588 | 0.164706 | 0.219608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174935 | 383 | 16 | 65 | 23.9375 | 0.806962 | 0 | 0 | 0 | 0 | 0 | 0.062663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.636364 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9f0c3c4e33d305672ff267924c18abd280b56dfc | 23 | py | Python | mcp/common/daemon.py | fkmclane/MCP | e80c3e12c163e9a67870d83340f434c5ed94e075 | [
"MIT"
] | null | null | null | mcp/common/daemon.py | fkmclane/MCP | e80c3e12c163e9a67870d83340f434c5ed94e075 | [
"MIT"
] | 15 | 2015-06-13T22:37:25.000Z | 2018-07-07T12:56:35.000Z | mcp/common/daemon.py | lilyinstarlight/MCP | e80c3e12c163e9a67870d83340f434c5ed94e075 | [
"MIT"
] | null | null | null | pid = None
sync = None
| 7.666667 | 11 | 0.652174 | 4 | 23 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 2 | 12 | 11.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9f0d0b9fbcd445d8adab78529d1f6a60ca99652f | 159 | py | Python | 02 Algorithms/solutions/fib_rec.py | ksetdekov/HSE_DS | 619d5b84f9d9e97b58ca1f12c5914ec65456c2c8 | [
"MIT"
] | 1 | 2020-09-26T18:48:11.000Z | 2020-09-26T18:48:11.000Z | 02 Algorithms/solutions/fib_rec.py | ksetdekov/HSE_DS | 619d5b84f9d9e97b58ca1f12c5914ec65456c2c8 | [
"MIT"
] | null | null | null | 02 Algorithms/solutions/fib_rec.py | ksetdekov/HSE_DS | 619d5b84f9d9e97b58ca1f12c5914ec65456c2c8 | [
"MIT"
] | null | null | null | value = int(input())
def dumb_fib(n):
if n < 3:
return 1
else:
return dumb_fib(n - 1) + dumb_fib(n - 2)
print(dumb_fib(value + 1))
| 13.25 | 48 | 0.534591 | 27 | 159 | 3 | 0.518519 | 0.345679 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0.320755 | 159 | 11 | 49 | 14.454545 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9f10114f0d7ebd111b3fe56745568d02920fb818 | 188 | py | Python | problem0578.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0578.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0578.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #578 Integers with decreasing prime powers - Project Euler
# https://projecteuler.net/problem=578
#
# Code by Kevin Marciniak
#
###########################
| 20.888889 | 60 | 0.521277 | 17 | 188 | 5.764706 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.117021 | 188 | 8 | 61 | 23.5 | 0.554217 | 0.62766 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9f50b1f1fcb228629e8f19856d9146b2073cde4e | 618 | py | Python | tests/resources/bb_complex_formatters.py | watarinishin/ns-dispatch-utility | 3acd0d4d985c3d9eda4e2242da3d32d874ec0e69 | [
"MIT"
] | 6 | 2021-11-16T14:45:27.000Z | 2022-03-04T17:30:02.000Z | tests/resources/bb_complex_formatters.py | watarinishin/ns-dispatch-utility | 3acd0d4d985c3d9eda4e2242da3d32d874ec0e69 | [
"MIT"
] | null | null | null | tests/resources/bb_complex_formatters.py | watarinishin/ns-dispatch-utility | 3acd0d4d985c3d9eda4e2242da3d32d874ec0e69 | [
"MIT"
] | null | null | null | from nsdu import BBCode
@BBCode.register('complex')
class Complex():
def format(self, tag_name, value, options, parent, context):
return "[simple1]{}[/simple1]".format(value)
@BBCode.register('complexctx', render_embedded=False)
class ComplexCtx():
def format(self, tag_name, value, options, parent, ... | 32.526316 | 90 | 0.687702 | 69 | 618 | 6.101449 | 0.405797 | 0.099762 | 0.092637 | 0.114014 | 0.36342 | 0.36342 | 0.36342 | 0.36342 | 0.36342 | 0.36342 | 0 | 0.003745 | 0.135922 | 618 | 19 | 91 | 32.526316 | 0.784644 | 0 | 0 | 0.230769 | 0 | 0 | 0.201939 | 0.137318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9f6821126648af1c199ec9117a359193c94095ec | 3,067 | py | Python | tuprolog/core/parsing/__init__.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 1 | 2021-08-07T06:29:28.000Z | 2021-08-07T06:29:28.000Z | tuprolog/core/parsing/__init__.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 14 | 2021-09-16T13:25:12.000Z | 2022-01-03T10:12:22.000Z | tuprolog/core/parsing/__init__.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 1 | 2021-12-22T00:25:32.000Z | 2021-12-22T00:25:32.000Z | from tuprolog import logger
# noinspection PyUnresolvedReferences
import jpype.imports
# noinspection PyUnresolvedReferences
import it.unibo.tuprolog.core.parsing as _parsing
from tuprolog.core import Term, Struct, Constant, Var, Atom, Numeric, Integer, Real, Clause
from tuprolog.jvmutils import InputStream
from tuprol... | 33.336957 | 98 | 0.773068 | 359 | 3,067 | 6.389972 | 0.172702 | 0.122058 | 0.146469 | 0.129468 | 0.450305 | 0.207498 | 0.159983 | 0.129904 | 0.065388 | 0.065388 | 0 | 0 | 0.143137 | 3,067 | 91 | 99 | 33.703297 | 0.872907 | 0.02315 | 0 | 0.096154 | 0 | 0 | 0.01871 | 0.010692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.153846 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9f773db4ee19843748b7804c8ce7e80af9865c91 | 318 | py | Python | Wallet.py | juanmafn/JCoin | 27b4a3e2105ef36dab574102b015856359f95645 | [
"Apache-2.0"
] | 1 | 2019-05-06T08:53:42.000Z | 2019-05-06T08:53:42.000Z | Wallet.py | juanmafn/JCoin | 27b4a3e2105ef36dab574102b015856359f95645 | [
"Apache-2.0"
] | null | null | null | Wallet.py | juanmafn/JCoin | 27b4a3e2105ef36dab574102b015856359f95645 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
class Wallet:
def __init__(self):
self.private_key, self.public_key = self.generate_key_pair()
def generate_key_pair(self):
from Crypto.PublicKey import RSA
bits = 2048
private_key = RSA.generate(bits, e=65537)
public_key = private_key.publickey()
return private_key, public_key
| 24.461538 | 62 | 0.757862 | 48 | 318 | 4.708333 | 0.5 | 0.176991 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03663 | 0.141509 | 318 | 12 | 63 | 26.5 | 0.791209 | 0.066038 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9f98bc8739a903761003a39f5cf4599c8f921da6 | 2,656 | py | Python | algorithms/ili2c_algorithms.py | lindauju/qgis-interlis-plugin | 6a64355b582f707b852ba6945f5061ad8f3497ba | [
"MIT"
] | null | null | null | algorithms/ili2c_algorithms.py | lindauju/qgis-interlis-plugin | 6a64355b582f707b852ba6945f5061ad8f3497ba | [
"MIT"
] | null | null | null | algorithms/ili2c_algorithms.py | lindauju/qgis-interlis-plugin | 6a64355b582f707b852ba6945f5061ad8f3497ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
/***************************************************************************
Interlis
A QGIS plugin
Interlis Import/export
-------------------
begin : 2016-03-11
copyright : (C) 2016 b... | 33.2 | 77 | 0.494729 | 225 | 2,656 | 5.764444 | 0.528889 | 0.038551 | 0.032382 | 0.026214 | 0.089437 | 0.058597 | 0.058597 | 0.058597 | 0.058597 | 0 | 0 | 0.016894 | 0.309111 | 2,656 | 79 | 78 | 33.620253 | 0.689918 | 0.447666 | 0 | 0 | 0 | 0 | 0.116311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.078947 | 0.157895 | 0.605263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9fa7ae294477ad1dfd6a7ccb07cceaf1e6ba208a | 300 | py | Python | src/chao_examiner/__init__.py | JosephMcGrath/Chao-Examiner | a1b5b016ccfd579fbe0ae7a9ab9810ab280b3432 | [
"MIT"
] | null | null | null | src/chao_examiner/__init__.py | JosephMcGrath/Chao-Examiner | a1b5b016ccfd579fbe0ae7a9ab9810ab280b3432 | [
"MIT"
] | null | null | null | src/chao_examiner/__init__.py | JosephMcGrath/Chao-Examiner | a1b5b016ccfd579fbe0ae7a9ab9810ab280b3432 | [
"MIT"
] | null | null | null | """
Module to load, examine and manipulate Chao data for Sonic Adventure 2 save data.
"""
# from .__main__ import chao_to_json
from .binary_loader import BinaryLoader
from .chao import Chao
from .chao_savefile import ChaoSaveFile
from .logs import LOG_NAME, setup_logging
setup_logging(log_dir="")
| 25 | 81 | 0.796667 | 45 | 300 | 5.044444 | 0.622222 | 0.088106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.136667 | 300 | 11 | 82 | 27.272727 | 0.872587 | 0.39 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9fbbb61710575f088730f8ff4ba2a1478bf4f55a | 1,100 | py | Python | bigbench/seqio/tools/utils.py | andersjohanandreassen/BIG-bench | 091299676efe850db7910a022dc0b9faf16812cc | [
"Apache-2.0"
] | 1 | 2021-10-07T20:52:41.000Z | 2021-10-07T20:52:41.000Z | bigbench/seqio/tools/utils.py | andersjohanandreassen/BIG-bench | 091299676efe850db7910a022dc0b9faf16812cc | [
"Apache-2.0"
] | null | null | null | bigbench/seqio/tools/utils.py | andersjohanandreassen/BIG-bench | 091299676efe850db7910a022dc0b9faf16812cc | [
"Apache-2.0"
] | 1 | 2021-09-24T17:27:41.000Z | 2021-09-24T17:27:41.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, so... | 33.333333 | 98 | 0.753636 | 171 | 1,100 | 4.736842 | 0.596491 | 0.074074 | 0.032099 | 0.039506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008529 | 0.147273 | 1,100 | 32 | 99 | 34.375 | 0.855011 | 0.529091 | 0 | 0 | 0 | 0.1 | 0.316 | 0.05 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4c928b16adb93ac6fd0772aa9e078b25cf73e3a2 | 8,447 | py | Python | framework/tests/test_pipeline.py | UBT-AI2/rtlode | 866df92d0a2211fd3ca5dd064160007036a2f8c4 | [
"MIT"
] | null | null | null | framework/tests/test_pipeline.py | UBT-AI2/rtlode | 866df92d0a2211fd3ca5dd064160007036a2f8c4 | [
"MIT"
] | null | null | null | framework/tests/test_pipeline.py | UBT-AI2/rtlode | 866df92d0a2211fd3ca5dd064160007036a2f8c4 | [
"MIT"
] | null | null | null | from framework.pipeline import PipeConstant, Register
from framework.pipeline_elements import add, mul, sub, negate
from framework.tests.helper import PipeTestCase
class TestPipe(PipeTestCase):
"""
Things to test:
- PipeOutput with multiple results from different stages
- Pipe behaviour withou... | 32.867704 | 115 | 0.572274 | 1,104 | 8,447 | 4.236413 | 0.113225 | 0.08467 | 0.157152 | 0.075262 | 0.723968 | 0.700877 | 0.662177 | 0.65619 | 0.617917 | 0.578148 | 0 | 0.039399 | 0.314905 | 8,447 | 256 | 116 | 32.996094 | 0.768792 | 0.153782 | 0 | 0.438849 | 0 | 0 | 0.00544 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 1 | 0.316547 | false | 0 | 0.021583 | 0 | 0.503597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4c9d501021e3c7d2e3ba733be5936daa1ffab313 | 2,667 | py | Python | app/models/tables.py | Sharkovisky/gerenciamento-escolar | a38072c94d490ac62541bd4747715d6a5f5fd3b6 | [
"MIT"
] | 1 | 2021-03-18T18:52:44.000Z | 2021-03-18T18:52:44.000Z | app/models/tables.py | Sharkovisky/gerenciamento-escolar | a38072c94d490ac62541bd4747715d6a5f5fd3b6 | [
"MIT"
] | null | null | null | app/models/tables.py | Sharkovisky/gerenciamento-escolar | a38072c94d490ac62541bd4747715d6a5f5fd3b6 | [
"MIT"
] | null | null | null | from app import db
from flask_login import UserMixin
class Professor(db.Model):
__tablename__ = 'professores'
id = db.Column(db.Integer, primary_key=True)
nome = db.Column(db.String(200), nullable=False)
email = db.Column(db.String(200), index=True, unique=True, nullable=False)
senha = db.Column(d... | 28.98913 | 90 | 0.666667 | 360 | 2,667 | 4.738889 | 0.158333 | 0.098476 | 0.123095 | 0.077374 | 0.660023 | 0.651817 | 0.598476 | 0.52755 | 0.488863 | 0.456624 | 0 | 0.012218 | 0.2021 | 2,667 | 92 | 91 | 28.98913 | 0.789474 | 0 | 0 | 0.584615 | 0 | 0 | 0.084333 | 0.008621 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.030769 | 0.230769 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4c9f37f3ccb08468630212edb4e79781bf1bfbdf | 40 | py | Python | whitefly/utils/release.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | 2 | 2017-11-07T13:56:55.000Z | 2018-06-22T06:19:24.000Z | whitefly/utils/release.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | 4 | 2017-08-17T15:45:37.000Z | 2017-08-20T23:03:41.000Z | whitefly/utils/release.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | null | null | null | VERSION = '0.0.2'
CODENAME = 'holmesii'
| 13.333333 | 21 | 0.65 | 6 | 40 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.15 | 40 | 2 | 22 | 20 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4cc3b9bc9bc6c118be33948a776582cd46c9de0e | 160 | py | Python | app/tickets/core/urls.py | dnkraju/django_docker | 2e63f5a4edece3c86b94f4401a1137c9933e933c | [
"MIT"
] | 72 | 2018-08-23T22:32:24.000Z | 2022-02-24T19:10:31.000Z | app/tickets/core/urls.py | dnkraju/django_docker | 2e63f5a4edece3c86b94f4401a1137c9933e933c | [
"MIT"
] | 4 | 2019-03-01T15:25:09.000Z | 2020-01-17T18:22:59.000Z | app/tickets/core/urls.py | dnkraju/django_docker | 2e63f5a4edece3c86b94f4401a1137c9933e933c | [
"MIT"
] | 43 | 2018-12-24T19:40:19.000Z | 2022-03-14T15:02:49.000Z | from django.conf.urls import url
from tickets.core.views import MainView
app_name = 'core'
urlpatterns = [
url(r'^$', MainView.as_view(), name='home'),
]
| 17.777778 | 48 | 0.69375 | 23 | 160 | 4.73913 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 160 | 8 | 49 | 20 | 0.801471 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4cca32483112cfe1eda9a0ad8dc51e23cea119cc | 1,356 | py | Python | workflows/latino/visualization_views.py | xflows/clowdflows | 697b36ebc976d1ba4ab726bda2fc4593422af080 | [
"MIT"
] | 38 | 2015-11-21T08:16:14.000Z | 2021-06-22T16:14:12.000Z | workflows/latino/visualization_views.py | chimeng089/clowdflows | e19bf57906e893d8f0be93329168b76eae758384 | [
"MIT"
] | 21 | 2015-12-29T16:34:48.000Z | 2022-03-11T23:14:48.000Z | workflows/latino/visualization_views.py | chimeng089/clowdflows | e19bf57906e893d8f0be93329168b76eae758384 | [
"MIT"
] | 26 | 2016-01-11T17:51:07.000Z | 2022-02-24T11:49:40.000Z | from django.shortcuts import render
from serialization_utils import *
import django.template.loader
def show_adc(request,input_dict,output_dict,widget):
view = django.shortcuts.render(request, 'visualizations/adc.html', {'widget': widget,
... | 54.24 | 156 | 0.672566 | 162 | 1,356 | 5.37037 | 0.290123 | 0.134483 | 0.177011 | 0.174713 | 0.404598 | 0.404598 | 0.294253 | 0.294253 | 0.2 | 0.2 | 0 | 0.002788 | 0.20649 | 1,356 | 25 | 157 | 54.24 | 0.805762 | 0 | 0 | 0.1 | 0 | 0 | 0.176294 | 0.072768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.2 | 0.1 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4ce54d75592e48ee19f88fd537d91923439d8e4b | 156 | py | Python | 02_strings/009_find-method.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | 1 | 2020-04-17T20:12:55.000Z | 2020-04-17T20:12:55.000Z | 02_strings/009_find-method.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | null | null | null | 02_strings/009_find-method.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | null | null | null | #method 'find' finds index positon of specified string
#index position starts with 0
my_fruit = "My favorite fruit is apple".find('apple')
print(my_fruit) | 26 | 54 | 0.769231 | 25 | 156 | 4.72 | 0.72 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.141026 | 156 | 6 | 55 | 26 | 0.873134 | 0.519231 | 0 | 0 | 0 | 0 | 0.418919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
980482fbe7c2677424ca077995da4dd113705ae2 | 1,147 | py | Python | Slicing_in_Python.py | sichkar-valentyn/Slicing_in_Python | b170fb4ad567e185afc3bf7285f50ccfa6d4ab14 | [
"MIT"
] | null | null | null | Slicing_in_Python.py | sichkar-valentyn/Slicing_in_Python | b170fb4ad567e185afc3bf7285f50ccfa6d4ab14 | [
"MIT"
] | null | null | null | Slicing_in_Python.py | sichkar-valentyn/Slicing_in_Python | b170fb4ad567e185afc3bf7285f50ccfa6d4ab14 | [
"MIT"
] | null | null | null | # File: Slicing_in_Python.py
# Description: How to slice strings in Python
# Environment: PyCharm and Anaconda environment
#
# MIT License
# Copyright (c) 2018 Valentyn N Sichkar
# github.com/sichkar-valentyn
#
# Reference to:
# [1] Valentyn N Sichkar. Slicing in Python // GitHub platform [Electronic resource]. URL: ht... | 42.481481 | 173 | 0.677419 | 189 | 1,147 | 4.089947 | 0.402116 | 0.082794 | 0.163001 | 0.199224 | 0.300129 | 0.232859 | 0.200517 | 0.087969 | 0 | 0 | 0 | 0.054839 | 0.189189 | 1,147 | 26 | 174 | 44.115385 | 0.776344 | 0.822145 | 0 | 0 | 0 | 0 | 0.055249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
980522c081355705c01c809654377b57849e8b51 | 192 | py | Python | erpx_hrm/www/signin.py | neel2292/erpx_hrm | a58947f8d921593fd3a8cda0db33ffae253ce75e | [
"MIT"
] | null | null | null | erpx_hrm/www/signin.py | neel2292/erpx_hrm | a58947f8d921593fd3a8cda0db33ffae253ce75e | [
"MIT"
] | 3 | 2020-04-06T21:10:18.000Z | 2022-03-25T23:46:57.000Z | erpx_hrm/www/signin.py | neel2292/erpx_hrm | a58947f8d921593fd3a8cda0db33ffae253ce75e | [
"MIT"
] | 1 | 2020-02-18T04:50:26.000Z | 2020-02-18T04:50:26.000Z | import frappe
import json
def get_context(context):
if frappe.session.user != 'Guest':
frappe.local.flags.redirect_location = '/'
raise frappe.Redirect
return context | 21.333333 | 50 | 0.6875 | 23 | 192 | 5.652174 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 192 | 9 | 51 | 21.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9811dafd78e216b56513ee804930e1a15fb81890 | 448 | py | Python | oblig6/hund.py | Williamskaug/IN1000 | 164d0b4abd3314c440210f9582d581973c5fcfee | [
"MIT"
] | null | null | null | oblig6/hund.py | Williamskaug/IN1000 | 164d0b4abd3314c440210f9582d581973c5fcfee | [
"MIT"
] | null | null | null | oblig6/hund.py | Williamskaug/IN1000 | 164d0b4abd3314c440210f9582d581973c5fcfee | [
"MIT"
] | null | null | null | class Hund:
def __init__(self, alder, vekt):
self._alder = alder
self._vekt = vekt
self._metthet = 10
def hentAlder(self):
return self._alder
def hentVekt(self):
return self._vekt
def spring(self):
self._metthet -= 1
if self._metthet < 5:
... | 20.363636 | 36 | 0.529018 | 54 | 448 | 4.111111 | 0.333333 | 0.247748 | 0.126126 | 0.144144 | 0.261261 | 0.261261 | 0.261261 | 0 | 0 | 0 | 0 | 0.02847 | 0.372768 | 448 | 21 | 37 | 21.333333 | 0.761566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0 | 0.117647 | 0.470588 | 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 | 0 | 0 | 0 | 3 |
e21f9d7003ce62ca438b22fe4006dd06496e5625 | 5,477 | py | Python | scripts/album.py | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | 5 | 2015-01-02T16:52:52.000Z | 2021-01-02T15:14:51.000Z | scripts/album.py | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | null | null | null | scripts/album.py | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | 4 | 2015-04-17T23:56:27.000Z | 2016-10-15T13:02:26.000Z | import jinja2
import requests
template = jinja2.Template("""
<div id="playlist">
<div class="widget">
</div>
<div class="tracks">
{% for side in sides %}
<strong>{{ side.title }}</strong>
<ul class="side">
{% for track in side.tracks %}
<li><a href="{{ track.uri }}">{{ track.title }}</a><... | 41.180451 | 81 | 0.65346 | 663 | 5,477 | 5.386124 | 0.369532 | 0.16746 | 0.214226 | 0.109213 | 0.103052 | 0.032484 | 0.019602 | 0 | 0 | 0 | 0 | 0.010929 | 0.164689 | 5,477 | 132 | 82 | 41.492424 | 0.769617 | 0 | 0 | 0.04065 | 0 | 0.01626 | 0.754428 | 0.005843 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01626 | null | null | 0.00813 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e2273e49b3422d77aa6e58dc28bc4d548ee8663f | 13,990 | py | Python | src/SearchAlgorithm/A_star.py | 1170301027/Advanced_Algorithm | 9c322b2f5c3cb294d2fe90baa6a48ef7cfea6023 | [
"MIT"
] | null | null | null | src/SearchAlgorithm/A_star.py | 1170301027/Advanced_Algorithm | 9c322b2f5c3cb294d2fe90baa6a48ef7cfea6023 | [
"MIT"
] | null | null | null | src/SearchAlgorithm/A_star.py | 1170301027/Advanced_Algorithm | 9c322b2f5c3cb294d2fe90baa6a48ef7cfea6023 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: lenovo
@file: A_star.py
@time: 2021/4/12 18:26
"""
from math import sqrt
from tkinter import *
tk = Tk()
class Point:
def __init__(self, father, cur, g, h):
"""
point information
:param father: 父节点
:param cur: (cur_x,cu... | 46.946309 | 120 | 0.360186 | 1,998 | 13,990 | 2.469469 | 0.098599 | 0.2424 | 0.31739 | 0.364005 | 0.405351 | 0.35225 | 0.335225 | 0.333604 | 0.310296 | 0.287799 | 0 | 0.023029 | 0.354396 | 13,990 | 297 | 121 | 47.104377 | 0.52314 | 0.056898 | 0 | 0.173709 | 0 | 0 | 0.08087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061033 | false | 0 | 0.00939 | 0.004695 | 0.126761 | 0.046948 | 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 | 0 | 0 | 0 | 3 |
e241e341f0c53352945f41733817cce04bbeb9fa | 336 | py | Python | lenme_task/loans/serializers.py | a-samir97/lenme-task | cdf48e0137bbe4a420ca7322c5bdab3b0ad55787 | [
"MIT"
] | null | null | null | lenme_task/loans/serializers.py | a-samir97/lenme-task | cdf48e0137bbe4a420ca7322c5bdab3b0ad55787 | [
"MIT"
] | null | null | null | lenme_task/loans/serializers.py | a-samir97/lenme-task | cdf48e0137bbe4a420ca7322c5bdab3b0ad55787 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Loan
class LoanSerializer(serializers.ModelSerializer):
class Meta:
model = Loan
fields = '__all__'
class LoanCreateSerializer(serializers.ModelSerializer):
class Meta:
model = Loan
fields = ('borrower', 'loan_amount',... | 24 | 59 | 0.702381 | 33 | 336 | 6.939394 | 0.545455 | 0.227074 | 0.270742 | 0.305677 | 0.436681 | 0.436681 | 0.436681 | 0 | 0 | 0 | 0 | 0 | 0.217262 | 336 | 13 | 60 | 25.846154 | 0.870722 | 0 | 0 | 0.4 | 0 | 0 | 0.110119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 0 | 3 |
e250f0ff122a6e6600a25a8485d4d7b4a014b0eb | 892 | py | Python | connect/forms.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | 1 | 2019-06-20T08:23:22.000Z | 2019-06-20T08:23:22.000Z | connect/forms.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | 16 | 2019-06-11T14:55:14.000Z | 2021-09-08T01:02:58.000Z | connect/forms.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | null | null | null | from .models import Foundation, Awareness, Forums, Profile, Comment,Assessment
from django import forms
class NewPostForm(forms.ModelForm):
class Meta:
model = Forums
exclude = ['post_date', 'post_user']
class NewCommentsForm(forms.ModelForm):
class Meta:
model = Comment
exclu... | 25.485714 | 78 | 0.65583 | 88 | 892 | 6.602273 | 0.329545 | 0.144578 | 0.196213 | 0.237522 | 0.512909 | 0.36833 | 0.36833 | 0.36833 | 0.36833 | 0.36833 | 0 | 0 | 0.226457 | 892 | 34 | 79 | 26.235294 | 0.842029 | 0 | 0 | 0.461538 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e253f8478789fd19f67f6c3b7e9a1accffc6058a | 2,095 | py | Python | src/algo/constants.py | gxlinx/staketaxcsv | 212dba373beca073b93771af0a4bf08b17b16166 | [
"MIT"
] | null | null | null | src/algo/constants.py | gxlinx/staketaxcsv | 212dba373beca073b93771af0a4bf08b17b16166 | [
"MIT"
] | null | null | null | src/algo/constants.py | gxlinx/staketaxcsv | 212dba373beca073b93771af0a4bf08b17b16166 | [
"MIT"
] | null | null | null |
CURRENCY_ALGO = "ALGO"
EXCHANGE_ALGORAND_BLOCKCHAIN = "algorand_blockchain"
TRANSACTION_TYPE_PAYMENT = "pay"
TRANSACTION_TYPE_ASSET_TRANSFER = "axfer"
TRANSACTION_TYPE_APP_CALL = "appl"
APPLICATION_ID_TINYMAN_v10 = 350338509
APPLICATION_ID_TINYMAN_v11 = 552635992
APPLICATION_ID_YIELDLY = 233725848
APPLI... | 37.410714 | 54 | 0.850119 | 269 | 2,095 | 5.903346 | 0.234201 | 0.29471 | 0.428212 | 0.241814 | 0.612091 | 0.612091 | 0 | 0 | 0 | 0 | 0 | 0.095854 | 0.113604 | 2,095 | 55 | 55 | 38.090909 | 0.759289 | 0 | 0 | 0 | 0 | 0 | 0.032859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
e2573a1d6dbb8fc054faec4282dba9f95f774ac1 | 1,338 | py | Python | credential.py | Nyirabazungu/User-contact | e87319087b28fb21f3af5dcda132ab1b33a5574e | [
"MIT"
] | null | null | null | credential.py | Nyirabazungu/User-contact | e87319087b28fb21f3af5dcda132ab1b33a5574e | [
"MIT"
] | null | null | null | credential.py | Nyirabazungu/User-contact | e87319087b28fb21f3af5dcda132ab1b33a5574e | [
"MIT"
] | null | null | null | import pyperclip
class Credintial:
"""
Class that generates new instances of credintial .
"""
credintial_list=[] #Empty credintial list
# Init method up here
def __init__(user_name,email,password):
self.user_name = user_name
self.email = email
self.password = password
... | 23.068966 | 86 | 0.59417 | 140 | 1,338 | 5.5 | 0.35 | 0.145455 | 0.093506 | 0.088312 | 0.254545 | 0.155844 | 0.155844 | 0.155844 | 0.155844 | 0.155844 | 0 | 0 | 0.338565 | 1,338 | 58 | 87 | 23.068966 | 0.870057 | 0.30867 | 0 | 0.095238 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.095238 | 0.047619 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e2653895687dc44a7a50790786b867c1fad63ab6 | 519 | py | Python | exercicios/aula1Ex2.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | exercicios/aula1Ex2.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | exercicios/aula1Ex2.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | #--- Exercicio 2 - Impressão de dados com a função Input
#--- Imprima o menu de uma aplicação de cadastro de pessoas
#--- O menu deve conter as opções de Cadastrar, Alterar, listar pessoas, alem da opção sair
print ('=='*50)
print (' ', 'Bem vindo' ' ... | 47.181818 | 116 | 0.574181 | 67 | 519 | 4.447761 | 0.626866 | 0.120805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025496 | 0.319846 | 519 | 11 | 117 | 47.181818 | 0.818697 | 0.393064 | 0 | 0.285714 | 0 | 0 | 0.698718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e269fc1df85454d4a9ef5eea94c19a144a965ce8 | 1,752 | py | Python | efls-console/console/connect/sync_instance.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 65 | 2021-09-30T01:54:34.000Z | 2022-03-26T13:57:15.000Z | efls-console/console/connect/sync_instance.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 24 | 2021-09-30T09:25:43.000Z | 2022-03-29T06:33:44.000Z | efls-console/console/connect/sync_instance.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 18 | 2021-09-30T09:04:08.000Z | 2022-03-31T10:17:27.000Z | # -*- coding: utf8 -*-
from typing import Union
from console.models import TaskInstance
from console.exceptions import Internal
from console.connect.peer_connect import PeerConnectService
from console.constant import PEER_INSTANCE_URI
class SyncTaskInstanceService:
def __init__(self, task_instance: TaskInstance... | 46.105263 | 121 | 0.715753 | 234 | 1,752 | 4.978632 | 0.209402 | 0.195708 | 0.206009 | 0.195708 | 0.44721 | 0.399142 | 0.378541 | 0.378541 | 0.349356 | 0.233476 | 0 | 0.000721 | 0.208333 | 1,752 | 37 | 122 | 47.351351 | 0.839221 | 0.011416 | 0 | 0.103448 | 0 | 0 | 0.130636 | 0.074566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.172414 | 0 | 0.551724 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e288484d29099cb79ad908cd859cacefc6849470 | 157 | py | Python | 141. Linked List Cycle.py | syeddabeer/Algorithms-Datastructures | a2729cafc5d86b44f65eb48ab945fb70d342d332 | [
"Apache-2.0"
] | null | null | null | 141. Linked List Cycle.py | syeddabeer/Algorithms-Datastructures | a2729cafc5d86b44f65eb48ab945fb70d342d332 | [
"Apache-2.0"
] | null | null | null | 141. Linked List Cycle.py | syeddabeer/Algorithms-Datastructures | a2729cafc5d86b44f65eb48ab945fb70d342d332 | [
"Apache-2.0"
] | null | null | null | #141. Linked List Cycle
class ListNode:
def __init__(self, val, tail=None):
self.val = val
self.next = tail
class Solution:
def hasCycle(self, head): | 19.625 | 36 | 0.707006 | 24 | 157 | 4.458333 | 0.666667 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.178344 | 157 | 8 | 37 | 19.625 | 0.806202 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e28b137cfce0643110c6b3dbd5d24899187c8c36 | 1,262 | py | Python | xain/benchmark/aggregation/results.py | skade/xain | 4d9a84b64d98dd4229968755110c60e1c0fd51f7 | [
"Apache-2.0"
] | null | null | null | xain/benchmark/aggregation/results.py | skade/xain | 4d9a84b64d98dd4229968755110c60e1c0fd51f7 | [
"Apache-2.0"
] | null | null | null | xain/benchmark/aggregation/results.py | skade/xain | 4d9a84b64d98dd4229968755110c60e1c0fd51f7 | [
"Apache-2.0"
] | null | null | null | import os
from abc import ABC
from typing import List
from xain.helpers import storage
class TaskResult(ABC):
def __init__(self, fname: str):
self.data = storage.read_json(fname)
def get_name(self) -> str:
return self.data["task_name"]
def get_label(self) -> str:
return self.dat... | 25.755102 | 81 | 0.638669 | 171 | 1,262 | 4.526316 | 0.403509 | 0.072351 | 0.108527 | 0.036176 | 0.064599 | 0.064599 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259113 | 1,262 | 48 | 82 | 26.291667 | 0.827807 | 0.045166 | 0 | 0 | 0 | 0 | 0.088944 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.28125 | false | 0 | 0.125 | 0.21875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e2a763fb99917080fb77062c6e899f4673e28683 | 1,449 | py | Python | tests/fixtures/envs/wrappers/reshape_observation.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 1,500 | 2018-06-11T20:36:24.000Z | 2022-03-31T08:29:01.000Z | tests/fixtures/envs/wrappers/reshape_observation.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 2,111 | 2018-06-11T04:10:29.000Z | 2022-03-26T14:41:32.000Z | tests/fixtures/envs/wrappers/reshape_observation.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 309 | 2018-07-24T11:18:48.000Z | 2022-03-30T16:19:48.000Z | """Reshaping Observation for gym.Env."""
import gym
import numpy as np
class ReshapeObservation(gym.Wrapper):
"""
Reshaping Observation wrapper for gym.Env.
This wrapper convert the observations into the given shape.
Args:
env (gym.Env): The environment to be wrapped.
shape (list[int... | 30.829787 | 74 | 0.658385 | 177 | 1,449 | 5.20339 | 0.316384 | 0.243214 | 0.123779 | 0.052117 | 0.117264 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001794 | 0.230504 | 1,449 | 46 | 75 | 31.5 | 0.824215 | 0.234645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.24 | false | 0 | 0.08 | 0.04 | 0.52 | 0.04 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e2b29782792dd5bb3e78b8191f23ca6e9c8ffa4f | 13,381 | py | Python | evkit/rl/algo/ppo_curiosity.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 56 | 2020-01-12T05:45:59.000Z | 2022-03-17T15:04:15.000Z | evkit/rl/algo/ppo_curiosity.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 7 | 2020-01-28T23:14:45.000Z | 2022-02-10T01:56:48.000Z | evkit/rl/algo/ppo_curiosity.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 2 | 2020-02-29T14:51:23.000Z | 2020-03-07T03:23:27.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import os
import random
class PPOCuriosity(object):
def __init__(self,
actor_critic,
clip_param,
ppo_epoch,
num_mini_batch,
value_los... | 45.825342 | 136 | 0.575219 | 1,479 | 13,381 | 4.80595 | 0.115619 | 0.032921 | 0.042206 | 0.02673 | 0.798396 | 0.74395 | 0.7213 | 0.694992 | 0.682893 | 0.650535 | 0 | 0.00803 | 0.357821 | 13,381 | 292 | 137 | 45.825342 | 0.819155 | 0.064943 | 0 | 0.59009 | 0 | 0 | 0.006969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.058559 | 0.009009 | 0.112613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c3325a9e4cfae96d200d6357b4144a6628874c5 | 180 | py | Python | silverware/string/ends_with_punctuation.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | 1 | 2021-08-30T01:12:59.000Z | 2021-08-30T01:12:59.000Z | silverware/string/ends_with_punctuation.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | silverware/string/ends_with_punctuation.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | def ends_with_punctuation(string):
if string is None:
return False
for punctuation in ['.', '!', '?']:
if string.rstrip().endswith(punctuation):
return True
return False
| 22.5 | 43 | 0.694444 | 23 | 180 | 5.347826 | 0.652174 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 180 | 7 | 44 | 25.714286 | 0.82 | 0 | 0 | 0.285714 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2c3a5d84d202f78a355be71810886882b32253fd | 172 | py | Python | emonitor/__init__.py | Durburz/eMonitor | 56f3b1fe39b9da3a12b49bdd60d0cfca51c23351 | [
"BSD-3-Clause"
] | 21 | 2015-03-04T11:36:47.000Z | 2021-04-20T07:51:53.000Z | emonitor/__init__.py | Durburz/eMonitor | 56f3b1fe39b9da3a12b49bdd60d0cfca51c23351 | [
"BSD-3-Clause"
] | 79 | 2015-01-04T21:35:49.000Z | 2020-03-05T07:22:10.000Z | emonitor/__init__.py | Durburz/eMonitor | 56f3b1fe39b9da3a12b49bdd60d0cfca51c23351 | [
"BSD-3-Clause"
] | 27 | 2015-03-04T11:36:48.000Z | 2021-09-20T08:15:17.000Z | """
Core methods for creating eMonitor application
"""
__version__ = "0.5.1"
from run import args
from app import create_app
app = create_app(args.get('configfile'))
| 17.2 | 50 | 0.726744 | 25 | 172 | 4.76 | 0.72 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.162791 | 172 | 9 | 51 | 19.111111 | 0.805556 | 0.267442 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2c3d5dbb8d85c2d2c27217d3f91e33856209ecc9 | 2,308 | py | Python | stackhut_toolkit/res/shims/python/stackhut.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | 1 | 2015-11-09T07:51:21.000Z | 2015-11-09T07:51:21.000Z | stackhut_toolkit/res/shims/python/stackhut.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | 10 | 2015-10-12T17:20:33.000Z | 2015-11-09T14:16:12.000Z | stackhut_toolkit/res/shims/python/stackhut.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 StackHut Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 23.08 | 83 | 0.657712 | 309 | 2,308 | 4.760518 | 0.453074 | 0.043508 | 0.066621 | 0.03467 | 0.029912 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009295 | 0.207539 | 2,308 | 99 | 84 | 23.313131 | 0.79497 | 0.260399 | 0 | 0.103448 | 0 | 0 | 0.117939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258621 | false | 0.103448 | 0.068966 | 0.12069 | 0.5 | 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 | 0 | 0 | 0 | 3 |
2c4c469b43e33382108b08166a60b1f7f9d36b32 | 223 | py | Python | netbox_newplugin/api/serializers.py | k01ek/netbox-plugin-skeleton | d114e9fe511b9c29e112d5bb2316d394764c52b8 | [
"Apache-2.0"
] | 15 | 2021-04-26T06:37:06.000Z | 2022-03-19T21:14:16.000Z | netbox_plugin_voip/api/serializers.py | leethobbit/netbox_plugin_voip | 5ab26ce272c1bef420994060fa27b34482b9e159 | [
"Apache-2.0"
] | 2 | 2021-11-26T15:21:35.000Z | 2022-02-13T14:11:28.000Z | netbox_plugin_voip/api/serializers.py | leethobbit/netbox_plugin_voip | 5ab26ce272c1bef420994060fa27b34482b9e159 | [
"Apache-2.0"
] | 4 | 2021-05-11T13:17:01.000Z | 2022-03-19T21:14:37.000Z | """
from rest_framework.serializers import ModelSerializer
from netbox_newplugin.models import MyModel1
class MyModel1Serializer(ModelSerializer):
class Meta:
model = MyModel1
fields = '__all__'
"""
| 17.153846 | 54 | 0.730942 | 21 | 223 | 7.47619 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.197309 | 223 | 12 | 55 | 18.583333 | 0.860335 | 0.959641 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c5b9a6eb402ac45d409ad7ab2bb40a7e4f1ee86 | 475 | py | Python | annotate/signals.py | rstodden/semantic_frame_annotation_tool | 21df934a8329f903ad68fac820e6ddfdaa18d8bf | [
"MIT"
] | null | null | null | annotate/signals.py | rstodden/semantic_frame_annotation_tool | 21df934a8329f903ad68fac820e6ddfdaa18d8bf | [
"MIT"
] | null | null | null | annotate/signals.py | rstodden/semantic_frame_annotation_tool | 21df934a8329f903ad68fac820e6ddfdaa18d8bf | [
"MIT"
] | null | null | null | # Signals that fires when a user logs in and logs out
from django.contrib.auth import user_logged_in, user_logged_out
from django.dispatch import receiver
from annotate.models import LoggedInUser
@receiver(user_logged_in)
def on_user_logged_in(sender, request, **kwargs):
LoggedInUser.objects.get_or_create(user=kw... | 31.666667 | 65 | 0.797895 | 72 | 475 | 5.041667 | 0.444444 | 0.165289 | 0.099174 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101053 | 475 | 14 | 66 | 33.928571 | 0.850117 | 0.107368 | 0 | 0 | 0 | 0 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2c876c447f5c4d11482246e050bd4b57c30778f9 | 63 | py | Python | Comprehension/list_comprehension6.py | chinya07/Advanced_python | 16a91ee39974e60ffc5803658d6e967bc132bc23 | [
"MIT"
] | null | null | null | Comprehension/list_comprehension6.py | chinya07/Advanced_python | 16a91ee39974e60ffc5803658d6e967bc132bc23 | [
"MIT"
] | null | null | null | Comprehension/list_comprehension6.py | chinya07/Advanced_python | 16a91ee39974e60ffc5803658d6e967bc132bc23 | [
"MIT"
] | null | null | null | # lambda functions
x = list(map(lambda x:x, 'Hello'))
print(x) | 15.75 | 34 | 0.666667 | 11 | 63 | 3.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 4 | 35 | 15.75 | 0.777778 | 0.253968 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2c945593509d7be885c3e645b379acc4e5880aff | 446 | py | Python | setup.py | coeusite/igra2_derived_parser | b6470c2781404a7245e2dc262ab9d3139503a8c8 | [
"MIT"
] | null | null | null | setup.py | coeusite/igra2_derived_parser | b6470c2781404a7245e2dc262ab9d3139503a8c8 | [
"MIT"
] | null | null | null | setup.py | coeusite/igra2_derived_parser | b6470c2781404a7245e2dc262ab9d3139503a8c8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='igra2_derived_parser',
version='0.0.1.3',
author_email='coeusite@gmail.com',
description='Parser for NOAA IGRA2 Derived Files (for Python 3.5) ',
author='coeusite',
url='https://github.com/coeusit... | 29.733333 | 74 | 0.661435 | 58 | 446 | 4.913793 | 0.655172 | 0.210526 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035519 | 0.179372 | 446 | 14 | 75 | 31.857143 | 0.743169 | 0.096413 | 0 | 0 | 0 | 0 | 0.491272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c94bc98140304cce33f9f0aa893b457aef37d3f | 127 | py | Python | kolora/__init__.py | ShenTengTu/kolora | 9f9b3ab063063a66a4cca2b0dcd84ca6f9b7655b | [
"MIT"
] | 1 | 2019-10-09T00:36:23.000Z | 2019-10-09T00:36:23.000Z | kolora/__init__.py | ShenTengTu/kolora | 9f9b3ab063063a66a4cca2b0dcd84ca6f9b7655b | [
"MIT"
] | null | null | null | kolora/__init__.py | ShenTengTu/kolora | 9f9b3ab063063a66a4cca2b0dcd84ca6f9b7655b | [
"MIT"
] | null | null | null | """
**kolora** is a tiny python libary for coloring text in terminal.
"""
from .kolora import *
__version__ = "0.1.0a0.dev2"
| 15.875 | 65 | 0.677165 | 19 | 127 | 4.315789 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.173228 | 127 | 7 | 66 | 18.142857 | 0.733333 | 0.511811 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2cbb070da7b42a762fd3a51a82f32bb9254958f4 | 1,506 | py | Python | setup.py | sha-red/flat | 977afe6b5a1827faa66626e280fd92caad6e19f0 | [
"MIT"
] | 1 | 2018-07-19T09:06:37.000Z | 2018-07-19T09:06:37.000Z | setup.py | sha-red/flat | 977afe6b5a1827faa66626e280fd92caad6e19f0 | [
"MIT"
] | null | null | null | setup.py | sha-red/flat | 977afe6b5a1827faa66626e280fd92caad6e19f0 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name = 'Flat',
description = 'Generative infrastructure for Python',
version = '0.2',
packages = ['flat'],
author = 'Juraj Sukop',
author_email = 'contact@xxyxyz.org',
url = 'http://xxyxyz.org/flat',
license = 'MIT',
classifiers = [
'D... | 44.294118 | 71 | 0.594954 | 131 | 1,506 | 6.832061 | 0.534351 | 0.134078 | 0.205587 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006284 | 0.260292 | 1,506 | 34 | 72 | 44.294118 | 0.797127 | 0 | 0 | 0 | 0 | 0 | 0.685468 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.030303 | 0 | 0.030303 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ccaf69f922515f143a8cd76f2dfedf1685fec9e | 28 | py | Python | portfolio/Python/scrapy/reliefspot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/reliefspot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/reliefspot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | 5 | 2016-03-22T07:40:46.000Z | 2021-05-30T16:12:21.000Z | ACCOUNT_NAME = 'reliefspot'
| 14 | 27 | 0.785714 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e2c6898030bff662ec936506a2ca3a58d2a9a213 | 189 | py | Python | backend/plans/urls.py | moeenz/plannr | d69ab7e7eebe39d865a8d02fa8f32b279c42d75a | [
"MIT"
] | 2 | 2018-04-18T19:18:24.000Z | 2021-12-23T04:44:31.000Z | backend/plans/urls.py | moeenz/plannr | d69ab7e7eebe39d865a8d02fa8f32b279c42d75a | [
"MIT"
] | null | null | null | backend/plans/urls.py | moeenz/plannr | d69ab7e7eebe39d865a8d02fa8f32b279c42d75a | [
"MIT"
] | 1 | 2021-08-15T10:25:31.000Z | 2021-08-15T10:25:31.000Z | from rest_framework import routers
from plans.views import PlanViewSet
router = routers.DefaultRouter()
router.register(r'plans', PlanViewSet, base_name='plan')
urlpatterns = router.urls | 23.625 | 56 | 0.809524 | 24 | 189 | 6.291667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100529 | 189 | 8 | 57 | 23.625 | 0.888235 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1a3398d4f42ef1660fa40152efe1fcef0f9720c2 | 128 | py | Python | moto/emr/exceptions.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 3 | 2020-08-04T20:29:41.000Z | 2020-11-09T09:28:19.000Z | moto/emr/exceptions.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 17 | 2020-08-28T12:53:56.000Z | 2020-11-10T01:04:46.000Z | moto/emr/exceptions.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 12 | 2017-09-06T22:11:15.000Z | 2021-05-28T17:22:31.000Z | from __future__ import unicode_literals
from moto.core.exceptions import RESTError
class EmrError(RESTError):
code = 400
| 16 | 42 | 0.796875 | 16 | 128 | 6.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.15625 | 128 | 7 | 43 | 18.285714 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
1a4ad7bb3bab12890af571a15bfa8f306fa80881 | 137 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Tuple_Items_-_Data_Types_1.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Tuple_Items_-_Data_Types_1.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Tuple_Items_-_Data_Types_1.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | tuple1 = ("apple", "banana", "cherry")
tuple2 = (1, 5, 7, 9, 3)
tuple3 = (True, False, False)
print(tuple1)
print(tuple2)
print(tuple3)
| 17.125 | 38 | 0.635036 | 20 | 137 | 4.35 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 0.153285 | 137 | 7 | 39 | 19.571429 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1a521079028892cfef78c5aea8ea9de216b1ce0f | 166 | py | Python | application/__init__.py | mohamadhoseinmoradi/Gunicorn-Flask | ec2b0be40162687cc4e9ef4b8c2b4996fcec6f02 | [
"Apache-2.0"
] | null | null | null | application/__init__.py | mohamadhoseinmoradi/Gunicorn-Flask | ec2b0be40162687cc4e9ef4b8c2b4996fcec6f02 | [
"Apache-2.0"
] | null | null | null | application/__init__.py | mohamadhoseinmoradi/Gunicorn-Flask | ec2b0be40162687cc4e9ef4b8c2b4996fcec6f02 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from application.config.config import config
def create_app():
app = Flask(__name__)
app.config.from_object(config)
return app
| 16.6 | 44 | 0.740964 | 23 | 166 | 5.086957 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186747 | 166 | 9 | 45 | 18.444444 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1a555e260fba5cad14964ff418941f2ec2c4b2b4 | 13,576 | py | Python | api/migrations/versions/0be9593348ba_init.py | ShubhamGG/Anubis | 2c538ef258a1edf5463596a33bc66caa2ef7e35b | [
"MIT"
] | 2 | 2022-02-24T17:39:27.000Z | 2022-02-25T02:14:06.000Z | api/migrations/versions/0be9593348ba_init.py | efaraz27/Anubis | 40a12933877df7f39dd75ca26148858774fcda7b | [
"MIT"
] | null | null | null | api/migrations/versions/0be9593348ba_init.py | efaraz27/Anubis | 40a12933877df7f39dd75ca26148858774fcda7b | [
"MIT"
] | null | null | null | """INIT
Revision ID: 0be9593348ba
Revises:
Create Date: 2021-01-08 20:02:32.175135
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "0be9593348ba"
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Al... | 39.123919 | 88 | 0.612036 | 1,563 | 13,576 | 5.140755 | 0.087652 | 0.097573 | 0.101058 | 0.116988 | 0.811201 | 0.774736 | 0.712134 | 0.630741 | 0.522713 | 0.469197 | 0 | 0.019848 | 0.224367 | 13,576 | 346 | 89 | 39.236994 | 0.74321 | 0.020109 | 0 | 0.56535 | 0 | 0 | 0.216719 | 0.061511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006079 | false | 0.006079 | 0.006079 | 0 | 0.012158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 3 |
1a6b3f42354a2687b7adb2f6370dfe3ff4ad09a3 | 312 | py | Python | viper/flash.py | siddhantkushwaha/viper | 45e916d1a14702d836e493e5b07177a4b0759e4f | [
"MIT"
] | null | null | null | viper/flash.py | siddhantkushwaha/viper | 45e916d1a14702d836e493e5b07177a4b0759e4f | [
"MIT"
] | null | null | null | viper/flash.py | siddhantkushwaha/viper | 45e916d1a14702d836e493e5b07177a4b0759e4f | [
"MIT"
] | null | null | null | from concurrent.futures import as_completed
from concurrent.futures.thread import ThreadPoolExecutor
def flash(fn, args, max_workers=10):
with ThreadPoolExecutor(max_workers=max_workers) as executor:
futures = {executor.submit(fn, item): item for item in args}
return as_completed(futures)
| 34.666667 | 68 | 0.769231 | 41 | 312 | 5.731707 | 0.536585 | 0.12766 | 0.178723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.157051 | 312 | 8 | 69 | 39 | 0.885932 | 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 | 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 | 3 |
1ab59363588c0d143af64b3761d14402ab0ca83c | 165 | py | Python | book_center/book_center/bc_profiles/apps.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | book_center/book_center/bc_profiles/apps.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | book_center/book_center/bc_profiles/apps.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BcProfilesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'book_center.bc_profiles'
| 23.571429 | 56 | 0.781818 | 20 | 165 | 6.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 165 | 6 | 57 | 27.5 | 0.874126 | 0 | 0 | 0 | 0 | 0 | 0.315152 | 0.315152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1ac7eb4dd1a12f54cd71bebaf7190c982a8b6faf | 200 | py | Python | PythonFiles/read_file/read_file.py | captainadsh/Unique-Python | 0860a55dcf6ad0206dc07c3188496944c1a0e4d2 | [
"MIT"
] | 6 | 2018-10-01T06:13:01.000Z | 2019-01-10T02:02:04.000Z | PythonFiles/read_file/read_file.py | captainadsh/Unique-Python | 0860a55dcf6ad0206dc07c3188496944c1a0e4d2 | [
"MIT"
] | 28 | 2018-10-01T05:51:21.000Z | 2018-10-23T17:56:15.000Z | PythonFiles/read_file/read_file.py | captainadsh/Unique-Python | 0860a55dcf6ad0206dc07c3188496944c1a0e4d2 | [
"MIT"
] | 31 | 2017-12-14T17:21:00.000Z | 2018-10-19T01:55:52.000Z | def read_file():
content = open("C:/Users/DIPANSH KHANDELWAL/Desktop/Python Codes/PythonFiles/read_file/read_file.txt")
text = content.read()
print (text)
content.close()
read_file()
| 25 | 106 | 0.705 | 27 | 200 | 5.074074 | 0.62963 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155 | 200 | 7 | 107 | 28.571429 | 0.810651 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0.33 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
46dd8f900398769279159a956d8e7ceed35760f4 | 73 | py | Python | srcgen/version.py | tomerfiliba/srcgen | 9178fbfbb0a45138787992ea65fdb3c594842387 | [
"MIT"
] | 22 | 2015-01-02T05:42:21.000Z | 2021-04-28T23:22:56.000Z | srcgen/version.py | tomerfiliba/srcgen | 9178fbfbb0a45138787992ea65fdb3c594842387 | [
"MIT"
] | null | null | null | srcgen/version.py | tomerfiliba/srcgen | 9178fbfbb0a45138787992ea65fdb3c594842387 | [
"MIT"
] | 2 | 2015-04-17T10:01:32.000Z | 2015-04-25T12:40:33.000Z | version = (1, 1, 0)
version_string = "1.1.0"
release_date = "2013.07.17"
| 18.25 | 27 | 0.643836 | 14 | 73 | 3.214286 | 0.642857 | 0.088889 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0.150685 | 73 | 3 | 28 | 24.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2000240552da2c23f6cb3ebbe7548cb40084837a | 1,233 | py | Python | third_party/buildbot_8_4p1/buildbot/status/testresult.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | third_party/buildbot_8_4p1/buildbot/status/testresult.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | third_party/buildbot_8_4p1/buildbot/status/testresult.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | 1 | 2020-07-23T11:05:06.000Z | 2020-07-23T11:05:06.000Z | # This file is part of Buildbot. Buildbot is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | 30.825 | 79 | 0.716139 | 174 | 1,233 | 5.051724 | 0.568966 | 0.045506 | 0.063709 | 0.064846 | 0.093288 | 0.063709 | 0 | 0 | 0 | 0 | 0 | 0.012565 | 0.225466 | 1,233 | 39 | 80 | 31.615385 | 0.907853 | 0.548256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.277778 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
201fbcaaec1ff27f7bd3cb27b0bcd84d8fb74064 | 674 | py | Python | sources/t10/t10ej13.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t10/t10ej13.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t10/t10ej13.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | import numpy as np
!head sources/stockholm_td_adj.tsv
"""
La salida será
1800 1 1 -6.1 -6.1 -6.1 1
1800 1 2 -15.4 -15.4 -15.4 1
1800 1 3 -15.0 -15.0 -15.0 1
1800 1 4 -19.3 -19.3 -19.3 1
1800 1 5 -16.8 -16.8 -16.8 1
1800 1 6 -11.4 -11.4 -11.4 1
1800 1 7 -7.6... | 28.083333 | 98 | 0.559347 | 146 | 674 | 2.554795 | 0.356164 | 0.134048 | 0.144772 | 0.0563 | 0.147453 | 0 | 0 | 0 | 0 | 0 | 0 | 0.334773 | 0.313056 | 674 | 24 | 99 | 28.083333 | 0.470842 | 0.218101 | 0 | 0 | 0 | 0 | 0.220472 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
202da40c30e8c590b8805ea7dfad49ab2e4a2087 | 141 | py | Python | week1/p_set1_problem1.py | purelind/MITx-6.00.1x | 9286777ee4d40062a7e27ffb1cf0233c8aa85df8 | [
"MIT"
] | null | null | null | week1/p_set1_problem1.py | purelind/MITx-6.00.1x | 9286777ee4d40062a7e27ffb1cf0233c8aa85df8 | [
"MIT"
] | null | null | null | week1/p_set1_problem1.py | purelind/MITx-6.00.1x | 9286777ee4d40062a7e27ffb1cf0233c8aa85df8 | [
"MIT"
] | null | null | null | s = "abdcd"
count = 0
for vowelsItem in s:
if vowelsItem in "aeiou":
count += 1
print("Number of vowels: " + str(count)) | 17.625 | 40 | 0.567376 | 20 | 141 | 4 | 0.75 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.304965 | 141 | 8 | 40 | 17.625 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2040869bd5f0530096c52310c38bb9ce454af18c | 721 | py | Python | users/tests/test_forms.py | Me2U-Afrika/Me2U | aee054afedff1e6c87f87494eaddf044e217aa95 | [
"MIT"
] | null | null | null | users/tests/test_forms.py | Me2U-Afrika/Me2U | aee054afedff1e6c87f87494eaddf044e217aa95 | [
"MIT"
] | 4 | 2021-06-09T17:53:08.000Z | 2022-01-13T02:48:51.000Z | users/tests/test_forms.py | Me2U-Afrika/Me2U | aee054afedff1e6c87f87494eaddf044e217aa95 | [
"MIT"
] | null | null | null | from django.core import mail
from django.test import TestCase
from users import forms
# class TestForm(TestCase):
# def test_valid_signup_form_sends_email(self):
# form = forms.UserRegisterForm({
# "username": "Ogechi",
# "email": "user@domain.com",
# "password1": "abc... | 32.772727 | 94 | 0.604716 | 80 | 721 | 5.3625 | 0.625 | 0.04662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.255201 | 721 | 21 | 95 | 34.333333 | 0.78771 | 0.833564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
204a05aa8b9064089c0bcf08501ee285bdafe5af | 524 | py | Python | cac/client/game_objects/uiframe.py | tobias93/cards-against-cli | 33c5a43a3b821438c94da719571655d87998384a | [
"MIT"
] | null | null | null | cac/client/game_objects/uiframe.py | tobias93/cards-against-cli | 33c5a43a3b821438c94da719571655d87998384a | [
"MIT"
] | null | null | null | cac/client/game_objects/uiframe.py | tobias93/cards-against-cli | 33c5a43a3b821438c94da719571655d87998384a | [
"MIT"
] | null | null | null | from cac.client.engine.game_object import GameObject
from cac.client.engine.curses_colour import get_colour_pair
class UiFrame(GameObject):
def __init__(self):
super().__init__()
def get_child_objects(self):
return []
def update(self, delta_time):
pass
def process_event(self... | 20.153846 | 59 | 0.608779 | 69 | 524 | 4.362319 | 0.565217 | 0.046512 | 0.086379 | 0.126246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016173 | 0.291985 | 524 | 25 | 60 | 20.96 | 0.795148 | 0.055344 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.133333 | 0.133333 | 0.066667 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
64506185f774472980072b6fb739608387084fe4 | 523 | py | Python | app/tests.py | serkancengiz/new_content_project | b9f8c937a68101769a4296cdbdb2911fb48a1479 | [
"MIT"
] | null | null | null | app/tests.py | serkancengiz/new_content_project | b9f8c937a68101769a4296cdbdb2911fb48a1479 | [
"MIT"
] | null | null | null | app/tests.py | serkancengiz/new_content_project | b9f8c937a68101769a4296cdbdb2911fb48a1479 | [
"MIT"
] | null | null | null | from django.test import TestCase
from app.models import Content, ContentDetails, Channel
class ContentTestCase(TestCase):
def testPost(self):
content = ContentDetails(title="My Title", description_detail="desc", is_active=True, slug="mytitle", votes=1)
self.assertEqual(content.title, "My Title")
... | 40.230769 | 118 | 0.720841 | 61 | 523 | 6.114754 | 0.459016 | 0.201072 | 0.294906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.166348 | 523 | 12 | 119 | 43.583333 | 0.850917 | 0 | 0 | 0 | 0 | 0 | 0.072658 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
646048f111d9c51dfa66842686c0ac86d33d3821 | 1,974 | py | Python | cvpysdk/subclients/vminstancesubclient.py | kevinjojeejoseph/cvpysdk | 29d82fe6e8f552940534c508cfdbf2c14d16cde3 | [
"Apache-2.0"
] | 21 | 2020-09-09T07:26:05.000Z | 2022-02-27T19:05:42.000Z | cvpysdk/subclients/vminstancesubclient.py | kevinjojeejoseph/cvpysdk | 29d82fe6e8f552940534c508cfdbf2c14d16cde3 | [
"Apache-2.0"
] | 43 | 2020-07-29T07:27:21.000Z | 2022-01-31T12:44:19.000Z | cvpysdk/subclients/vminstancesubclient.py | kevinjojeejoseph/cvpysdk | 29d82fe6e8f552940534c508cfdbf2c14d16cde3 | [
"Apache-2.0"
] | 14 | 2020-08-12T16:43:30.000Z | 2021-12-06T01:59:41.000Z | # -*- coding: utf-8 -*-
# --------------------------------------------------------------------------
# Copyright Commvault Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | 34.631579 | 97 | 0.625633 | 209 | 1,974 | 5.799043 | 0.473684 | 0.049505 | 0.072607 | 0.069307 | 0.159241 | 0.159241 | 0.070957 | 0 | 0 | 0 | 0 | 0.003338 | 0.241135 | 1,974 | 56 | 98 | 35.25 | 0.805741 | 0.806991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
646112b5676f59100e5780fb16d6ae67ba83dfbd | 4,591 | py | Python | um7py/examples/example_um7_data_regs.py | RedshiftLabsPtyLtd/um7py | 9fa823b1429efef6b889d88de8b2db82b27983e3 | [
"MIT"
] | 4 | 2020-05-30T09:19:43.000Z | 2021-07-20T12:48:07.000Z | um7py/examples/example_um7_data_regs.py | RedshiftLabsPtyLtd/um7py | 9fa823b1429efef6b889d88de8b2db82b27983e3 | [
"MIT"
] | null | null | null | um7py/examples/example_um7_data_regs.py | RedshiftLabsPtyLtd/um7py | 9fa823b1429efef6b889d88de8b2db82b27983e3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Author: Dr. Konstantin Selyunin
# License: MIT
# Date: 29 May 2020
import logging
import os.path
import sys
from um7py.um7_serial import UM7Serial
if __name__ == '__main__':
logging.basicConfig(
level=logging.WARNING,
format='[%(asctime)s.%(msecs)03d] [%(levelname)-8s]: ... | 55.313253 | 79 | 0.604226 | 665 | 4,591 | 3.693233 | 0.165414 | 0.136808 | 0.223941 | 0.068404 | 0.372557 | 0.01873 | 0 | 0 | 0 | 0 | 0 | 0.031139 | 0.265519 | 4,591 | 82 | 80 | 55.987805 | 0.697212 | 0.018297 | 0 | 0 | 0 | 0 | 0.709462 | 0.271657 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0.777778 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6466a7e04476a834e6d2caf072b8ecfbfb5614d1 | 53 | py | Python | Session-1/VarandDataType/S1Q15.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-1/VarandDataType/S1Q15.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-1/VarandDataType/S1Q15.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | 1 | 2019-07-06T02:37:58.000Z | 2019-07-06T02:37:58.000Z | a = 25
b = 0o31
c = 0x19
print(a)
print(b)
print(c)
| 6.625 | 8 | 0.584906 | 12 | 53 | 2.583333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.245283 | 53 | 7 | 9 | 7.571429 | 0.575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
648daff9ec1e62b7ed320480751a1e89c3b33401 | 246 | py | Python | 31to40/35a_Gematria.py | DomirScire/Python_Workout_Solutions | be7bd97a21bce6314eee7b80f66299e8b48c2d3d | [
"MIT"
] | 1 | 2021-03-25T21:33:05.000Z | 2021-03-25T21:33:05.000Z | 31to40/35a_Gematria.py | DomirScire/Python_Workout_Solutions | be7bd97a21bce6314eee7b80f66299e8b48c2d3d | [
"MIT"
] | null | null | null | 31to40/35a_Gematria.py | DomirScire/Python_Workout_Solutions | be7bd97a21bce6314eee7b80f66299e8b48c2d3d | [
"MIT"
] | null | null | null | # DomirScire
# Part One
import string
def gematria_dict():
return {char: index
for index, char
in enumerate(string.ascii_lowercase,
1)}
if __name__ == "__main__":
print(gematria_dict())
| 17.571429 | 48 | 0.573171 | 26 | 246 | 5 | 0.807692 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.337398 | 246 | 13 | 49 | 18.923077 | 0.791411 | 0.077236 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0.125 | 0.375 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
64aad285b88d6255e59814901b3877cbbe9b574a | 86 | py | Python | agw/generators/delete.py | MyDataShare/access-gateway | 55883485c2b5570c5dd34efd2d836c26ad3eca9b | [
"MIT"
] | 1 | 2022-01-03T09:27:48.000Z | 2022-01-03T09:27:48.000Z | agw/generators/delete.py | MyDataShare/access-gateway | 55883485c2b5570c5dd34efd2d836c26ad3eca9b | [
"MIT"
] | null | null | null | agw/generators/delete.py | MyDataShare/access-gateway | 55883485c2b5570c5dd34efd2d836c26ad3eca9b | [
"MIT"
] | null | null | null | from operations.delete import DeleteOperation
AGW_GENERATOR_CLASS = DeleteOperation
| 17.2 | 45 | 0.872093 | 9 | 86 | 8.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 4 | 46 | 21.5 | 0.948052 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
64b12e212bba5117ad8cddf5cef9926363b3ae69 | 511 | py | Python | backend/api/admin.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | null | null | null | backend/api/admin.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | 9 | 2021-11-17T18:31:29.000Z | 2021-11-21T00:47:39.000Z | backend/api/admin.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import (
Symbol,
BarDataDaily,
BarDataWeekly,
BarDataMonthly,
BarData1Min,
BarData5Min,
BarData15Min,
BarData30Min,
BarData1H,
)
admin.site.register(Symbol)
admin.site.register(BarDataDaily)
admin.site.register(BarDataWeekly)
admin.site... | 21.291667 | 35 | 0.776908 | 53 | 511 | 7.490566 | 0.320755 | 0.20403 | 0.38539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03139 | 0.127202 | 511 | 23 | 36 | 22.217391 | 0.858744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.095238 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
64b2b807feddb4d28055b200ac4b0ce83d1d5e23 | 1,170 | py | Python | wbld/build/config.py | srg74/wbld | cb900457f22d288b967723f3d5eeee8609e5e3f6 | [
"MIT"
] | 4 | 2020-12-11T18:53:08.000Z | 2021-08-13T18:41:22.000Z | wbld/build/config.py | srg74/wbld | cb900457f22d288b967723f3d5eeee8609e5e3f6 | [
"MIT"
] | 8 | 2020-12-11T05:27:41.000Z | 2022-01-27T20:05:33.000Z | wbld/build/config.py | srg74/wbld | cb900457f22d288b967723f3d5eeee8609e5e3f6 | [
"MIT"
] | 2 | 2020-12-16T03:55:54.000Z | 2021-09-15T23:24:52.000Z | from configparser import ConfigParser
class CustomConfigException(Exception):
def __init__(self, cc, message="Too many sections in configuration"):
self.message = message
if cc:
self.message += f": {len(cc)}"
super(CustomConfigException, self).__init__(self.message)
class C... | 23.4 | 73 | 0.629915 | 127 | 1,170 | 5.574803 | 0.322835 | 0.084746 | 0.079096 | 0.056497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002323 | 0.264103 | 1,170 | 49 | 74 | 23.877551 | 0.819977 | 0 | 0 | 0.114286 | 0 | 0 | 0.04188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.028571 | 0.171429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
64ce8881caee66e7cbca62f4f32fd695223f2fd8 | 3,318 | py | Python | main.py | PugBRR/Projeto_Calculadora | 2bbd4c6117158995c9ce64835f0033d307f207a1 | [
"MIT"
] | 2 | 2022-01-17T03:13:15.000Z | 2022-01-21T21:52:24.000Z | main.py | PugBRR/Projeto_Calculadora | 2bbd4c6117158995c9ce64835f0033d307f207a1 | [
"MIT"
] | null | null | null | main.py | PugBRR/Projeto_Calculadora | 2bbd4c6117158995c9ce64835f0033d307f207a1 | [
"MIT"
] | null | null | null | import gi
from Calculos import calculos
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk
Builder = Gtk.Builder()
Builder.add_from_file('ui.glade')
class Manipulador:
def __init__(self):
self.operacao = None
self.calc = calculos()
def on_main_window_destroy(self, win... | 38.581395 | 116 | 0.634418 | 420 | 3,318 | 4.77619 | 0.183333 | 0.144566 | 0.231306 | 0.293121 | 0.598205 | 0.511466 | 0.455633 | 0.440179 | 0.398305 | 0.398305 | 0 | 0.006777 | 0.199518 | 3,318 | 85 | 117 | 39.035294 | 0.748117 | 0 | 0 | 0.15625 | 0 | 0 | 0.082881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.046875 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
64d1c3809288293fa2e856ce74007c13df8a296e | 1,024 | py | Python | Python3/492.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/492.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/492.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 20 ms submission
class Solution(object):
def constructRectangle(self, area):
mid = int(math.sqrt(area))
while area % mid != 0:
mid -= 1
return [int(area/m... | 29.257143 | 98 | 0.633789 | 90 | 1,024 | 3.944444 | 0.466667 | 0.059155 | 0.140845 | 0.16338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050272 | 0.28125 | 1,024 | 34 | 99 | 30.117647 | 0.432065 | 0.064453 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
64d3a4202eaec863d4e669f9c6f6a2c919c6eee7 | 220 | py | Python | config/yaml_processing.py | FeeeeK/vk_schema_codegen | 036c5b00f09714ccad0d442d087504580ac79cfd | [
"MIT"
] | 9 | 2021-01-24T19:25:45.000Z | 2021-05-27T16:51:11.000Z | config/yaml_processing.py | FeeeeK/vk_schema_codegen | 036c5b00f09714ccad0d442d087504580ac79cfd | [
"MIT"
] | 1 | 2021-03-14T14:37:10.000Z | 2021-03-14T14:37:10.000Z | config/yaml_processing.py | FeeeeK/vk_schema_codegen | 036c5b00f09714ccad0d442d087504580ac79cfd | [
"MIT"
] | 1 | 2021-02-08T14:06:29.000Z | 2021-02-08T14:06:29.000Z | from pathlib import Path
import yaml
def get_config(filepath):
filepath: Path = Path(".") / filepath
with open(filepath.absolute(), "r", encoding="utf-8") as f:
return yaml.load(f, Loader=yaml.Loader)
| 22 | 63 | 0.668182 | 31 | 220 | 4.709677 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.190909 | 220 | 9 | 64 | 24.444444 | 0.814607 | 0 | 0 | 0 | 0 | 0 | 0.031818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
b39175da9cd0c77cc2e1a237206e86e7f60af6ad | 65 | py | Python | vcf2maf/__init__.py | yesx1991/vcf2maf | 9b10ba2c9fa302ff366b75935fb3dc5ab16f48fa | [
"Apache-2.0"
] | 8 | 2015-02-28T15:49:16.000Z | 2022-02-02T10:40:48.000Z | vcf2maf/__init__.py | Sage-Bionetworks/vcf2maf | 45d91d33cacc034af8192ffcc9043bad663945e8 | [
"Apache-2.0"
] | 2 | 2015-10-08T10:14:51.000Z | 2021-07-30T05:50:57.000Z | vcf2maf/__init__.py | cbare/vcf2maf | 9b10ba2c9fa302ff366b75935fb3dc5ab16f48fa | [
"Apache-2.0"
] | 8 | 2015-03-12T19:16:23.000Z | 2020-05-29T20:53:43.000Z | from vcf2maf import list_samples, vcf2maf
__version__ = '0.0.1'
| 16.25 | 41 | 0.769231 | 10 | 65 | 4.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.138462 | 65 | 3 | 42 | 21.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b3938794d9240ef90a0b80947a153c75e2bdbb43 | 2,876 | py | Python | alexandria/ocr.py | notiv/Hypatia | 4bf406cd0586b690a1b662b33fcf45fb5d90a91e | [
"Unlicense"
] | null | null | null | alexandria/ocr.py | notiv/Hypatia | 4bf406cd0586b690a1b662b33fcf45fb5d90a91e | [
"Unlicense"
] | null | null | null | alexandria/ocr.py | notiv/Hypatia | 4bf406cd0586b690a1b662b33fcf45fb5d90a91e | [
"Unlicense"
] | null | null | null | import pytesseract
from pytesseract import Output
import cv2
import numpy as np
# Ocr preprocessing functions
# All rights reserved to https://nanonets.com/blog/ocr-with-tesseract/
# get grayscale image
def get_grayscale(image):
return cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# noise removal
def remove_noise(ima... | 34.650602 | 126 | 0.685327 | 419 | 2,876 | 4.601432 | 0.298329 | 0.051349 | 0.054461 | 0.026971 | 0.261929 | 0.261929 | 0.213174 | 0.213174 | 0.213174 | 0.196058 | 0 | 0.060569 | 0.15612 | 2,876 | 82 | 127 | 35.073171 | 0.733828 | 0.419332 | 0 | 0.068182 | 0 | 0 | 0.00243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.159091 | 0.659091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b3ac837ec495102f9462eb720794e3b968b312a2 | 195 | py | Python | tests/conftest.py | OuedraogoAbdoul/loan_prediction | a427006758a44be955ccfc22fd08f252843b3396 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T20:18:22.000Z | 2022-02-24T20:18:22.000Z | tests/conftest.py | OuedraogoAbdoul/loan_prediction | a427006758a44be955ccfc22fd08f252843b3396 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | OuedraogoAbdoul/loan_prediction | a427006758a44be955ccfc22fd08f252843b3396 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import os
# from model_directory.config import config
@pytest.fixture()
def test_input_data():
pass
def test_hello_world():
x = 3
assert(x + 2 == 5, "Passed test")
| 13 | 43 | 0.676923 | 29 | 195 | 4.37931 | 0.724138 | 0.110236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.215385 | 195 | 14 | 44 | 13.928571 | 0.810458 | 0.210256 | 0 | 0 | 0 | 0 | 0.072368 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b3d605ed35693fe86f3fb6f4b9d59438472a3823 | 3,148 | py | Python | Scripts/tspl.py | timseymore/py-scripts | 89cce81a1a62f9aa9aad477919b12fff5b42a694 | [
"MIT"
] | null | null | null | Scripts/tspl.py | timseymore/py-scripts | 89cce81a1a62f9aa9aad477919b12fff5b42a694 | [
"MIT"
] | null | null | null | Scripts/tspl.py | timseymore/py-scripts | 89cce81a1a62f9aa9aad477919b12fff5b42a694 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
TSPL - TimScriptProgrammingLanguage
A simple programming language and interpreter in python
- more of a learning device than a practical use language
Created on Sat May 9 20:24:51 2020
@author: tim_s
"""
class Exp:
""" An expression to be evaluated
can put default... | 21.127517 | 62 | 0.513977 | 373 | 3,148 | 4.067024 | 0.260054 | 0.084377 | 0.06526 | 0.063283 | 0.469347 | 0.446935 | 0.324324 | 0.287409 | 0.287409 | 0.250494 | 0 | 0.02616 | 0.356417 | 3,148 | 148 | 63 | 21.27027 | 0.722606 | 0.396442 | 0 | 0.517857 | 0 | 0 | 0.008924 | 0 | 0 | 0 | 0 | 0.006757 | 0 | 1 | 0.392857 | false | 0.017857 | 0 | 0.267857 | 0.767857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b3e6d2008943b138d3021b5f434a11043ac67ce2 | 106 | py | Python | Taotao_picking.py | Wang-Haolong/Python_learning | 804a195a2b1973def8fa9598feb6995760a750bc | [
"MIT"
] | null | null | null | Taotao_picking.py | Wang-Haolong/Python_learning | 804a195a2b1973def8fa9598feb6995760a750bc | [
"MIT"
] | null | null | null | Taotao_picking.py | Wang-Haolong/Python_learning | 804a195a2b1973def8fa9598feb6995760a750bc | [
"MIT"
] | null | null | null | apple=map(int,input().split())
high=int(input())+30
sum=0
for i in apple:
if i<=high:sum+=1
print(sum) | 17.666667 | 30 | 0.650943 | 22 | 106 | 3.136364 | 0.681818 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.122642 | 106 | 6 | 31 | 17.666667 | 0.698925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b3fbc1aa7955330221c320574af8fd9b30f35665 | 75 | py | Python | assignment_2/weather_predictor/data/__init__.py | chews0n/super-duper-octo-fiesta | d3c9c0c662c0e1e36570b43e0d85db7838f7a9e4 | [
"Apache-2.0"
] | 1 | 2022-03-09T03:06:57.000Z | 2022-03-09T03:06:57.000Z | assignment_2/weather_predictor/data/__init__.py | mhnatyshyn/super-duper-octo-fiesta | a45de7d800cabbfab13b513091e677aa940c1848 | [
"Apache-2.0"
] | null | null | null | assignment_2/weather_predictor/data/__init__.py | mhnatyshyn/super-duper-octo-fiesta | a45de7d800cabbfab13b513091e677aa940c1848 | [
"Apache-2.0"
] | 1 | 2022-03-09T03:06:46.000Z | 2022-03-09T03:06:46.000Z | from .DownloadWeatherData import *
__all__ = [
'DownloadWeatherData'
] | 15 | 34 | 0.733333 | 5 | 75 | 10.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 35 | 15 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b6002c90095c196a8da4a4323f27ba514526cfae | 408 | py | Python | im_v2/cryptodatadownload/data/client/cdd_clients_example.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 5 | 2021-08-10T23:16:44.000Z | 2022-03-17T17:27:00.000Z | im_v2/cryptodatadownload/data/client/cdd_clients_example.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 330 | 2021-06-10T17:28:22.000Z | 2022-03-31T00:55:48.000Z | im_v2/cryptodatadownload/data/client/cdd_clients_example.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 6 | 2021-06-10T17:20:32.000Z | 2022-03-28T08:08:03.000Z | """
Import as:
import im_v2.cryptodatadownload.data.client.cdd_clients_example as ivcdcccex
"""
import os
import helpers.hs3 as hs3
import im_v2.cryptodatadownload.data.client.cdd_client as imcdaclcd
def get_CcdClient_example1():
data_type = "OHLCV"
root_dir = os.path.join(hs3.get_path(), "data")
cdd_c... | 24 | 76 | 0.764706 | 60 | 408 | 4.95 | 0.5 | 0.090909 | 0.06734 | 0.188552 | 0.276094 | 0.276094 | 0.276094 | 0 | 0 | 0 | 0 | 0.016949 | 0.132353 | 408 | 17 | 77 | 24 | 0.822034 | 0.215686 | 0 | 0 | 0 | 0 | 0.035144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b611aa944e35e5b6d12b6ddcdf76f756e34d20fe | 72,107 | py | Python | model_validator/line_model_validator/line_model_validator.py | GRIDAPPSD/model-validator | f3ad42542846dfcc83e6fddbaa88d09b1456a9c5 | [
"BSD-2-Clause"
] | null | null | null | model_validator/line_model_validator/line_model_validator.py | GRIDAPPSD/model-validator | f3ad42542846dfcc83e6fddbaa88d09b1456a9c5 | [
"BSD-2-Clause"
] | null | null | null | model_validator/line_model_validator/line_model_validator.py | GRIDAPPSD/model-validator | f3ad42542846dfcc83e6fddbaa88d09b1456a9c5 | [
"BSD-2-Clause"
] | null | null | null | # -------------------------------------------------------------------------------
# Copyright (c) 2020, Battelle Memorial Institute All rights reserved.
# Battelle Memorial Institute (hereinafter Battelle) hereby grants permission to any person or entity
# lawfully obtaining a copy of this software and associated docum... | 50.672523 | 404 | 0.640701 | 9,145 | 72,107 | 4.858393 | 0.077419 | 0.035111 | 0.018366 | 0.015192 | 0.785325 | 0.752982 | 0.705717 | 0.669638 | 0.633851 | 0.612244 | 0 | 0.039903 | 0.228785 | 72,107 | 1,422 | 405 | 50.708158 | 0.759054 | 0.190883 | 0 | 0.595314 | 0 | 0 | 0.13711 | 0.044998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023429 | false | 0 | 0.011715 | 0 | 0.069223 | 0.157614 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
374154162886ced5ceb981a6c77740dd47b645e3 | 275 | py | Python | tests/admin_scripts/app_with_import/models.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 3 | 2020-05-30T17:08:51.000Z | 2021-12-14T02:55:19.000Z | tests/admin_scripts/app_with_import/models.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 1 | 2021-03-24T12:53:33.000Z | 2021-03-24T12:53:33.000Z | tests/admin_scripts/app_with_import/models.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 4 | 2016-07-31T14:29:15.000Z | 2021-10-19T03:32:44.000Z | from django.contrib.auth.models import User
from django.db import models
# Regression for #13368. This is an example of a model
# that imports a class that has an abstract base class.
class UserProfile(models.Model):
user = models.OneToOneField(User, primary_key=True)
| 30.555556 | 55 | 0.778182 | 43 | 275 | 4.953488 | 0.674419 | 0.093897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021459 | 0.152727 | 275 | 8 | 56 | 34.375 | 0.892704 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
3753e3f83cdaad2c436c750484b8cf95827d6dce | 930 | py | Python | src/config/exc.py | swordysrepo/youtube_discord_bot | b81df8c8998d4a18d41b19e154e9b3b47a791843 | [
"MIT"
] | 1 | 2021-06-22T23:44:01.000Z | 2021-06-22T23:44:01.000Z | src/config/exc.py | swordysrepo/youtube_discord_bot | b81df8c8998d4a18d41b19e154e9b3b47a791843 | [
"MIT"
] | 13 | 2021-06-24T01:38:12.000Z | 2021-06-28T12:02:28.000Z | src/config/exc.py | swordysrepo/youtube_discord_bot | b81df8c8998d4a18d41b19e154e9b3b47a791843 | [
"MIT"
] | null | null | null |
class ChannelLengthException(Exception):
'''channel searched is more than 16 characters
use with the command line functions
'''
pass
class ChannelCharactersException(Exception):
'''
it should not contain characters that cannot be used in a channel
'''
pass
class ChannelQuote... | 21.136364 | 69 | 0.668817 | 102 | 930 | 6.098039 | 0.54902 | 0.057878 | 0.081994 | 0.064309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0.262366 | 930 | 43 | 70 | 21.627907 | 0.90379 | 0.458065 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.363636 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
375c6276792abe83b3c14c5f6c7681d621aa98ba | 8,653 | py | Python | infra_macros/fbcode_macros/tests/haskell_external_library_test.py | philipjameson/buckit | 83b4ba7fc7a7a9d28b7a66117de6d6beccfdf7f8 | [
"BSD-3-Clause"
] | null | null | null | infra_macros/fbcode_macros/tests/haskell_external_library_test.py | philipjameson/buckit | 83b4ba7fc7a7a9d28b7a66117de6d6beccfdf7f8 | [
"BSD-3-Clause"
] | null | null | null | infra_macros/fbcode_macros/tests/haskell_external_library_test.py | philipjameson/buckit | 83b4ba7fc7a7a9d28b7a66117de6d6beccfdf7f8 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
from __future__ import absol... | 32.530075 | 111 | 0.425517 | 808 | 8,653 | 4.376238 | 0.178218 | 0.020362 | 0.030543 | 0.040724 | 0.783371 | 0.746889 | 0.707296 | 0.693439 | 0.670532 | 0.670532 | 0 | 0.04 | 0.448168 | 8,653 | 265 | 112 | 32.65283 | 0.700524 | 0.032128 | 0 | 0.52381 | 0 | 0 | 0.106373 | 0.080392 | 0 | 0 | 0 | 0 | 0.015873 | 1 | 0.063492 | false | 0 | 0.063492 | 0 | 0.142857 | 0.015873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
37a5efe44120ea5c090080c07953b6c43fd7313d | 376 | py | Python | code/1-example-solution.py | jrperlic/data-structure-tutorial | 5e2376556e2df413517b46895a3657da8b706f1b | [
"MIT"
] | null | null | null | code/1-example-solution.py | jrperlic/data-structure-tutorial | 5e2376556e2df413517b46895a3657da8b706f1b | [
"MIT"
] | null | null | null | code/1-example-solution.py | jrperlic/data-structure-tutorial | 5e2376556e2df413517b46895a3657da8b706f1b | [
"MIT"
] | null | null | null | stack = []
stack.append("Moby Dick")
stack.append("The Great Gatsby")
stack.append("Hamlet")
stack.pop()
stack.append("The Iliad")
stack.append("Pride and Prejudice")
stack.pop()
stack.append("To Kill a Mockingbird")
stack.append("Gulliver's Travels")
stack.append("Don Quixote")
stack.pop()
stack.pop()
stack.pop()
stac... | 23.5 | 48 | 0.718085 | 56 | 376 | 4.821429 | 0.410714 | 0.325926 | 0.240741 | 0.177778 | 0.118519 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090426 | 376 | 16 | 48 | 23.5 | 0.789474 | 0.087766 | 0 | 0.375 | 0 | 0 | 0.318713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.0625 | 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 | 0 | 0 | 0 | 3 |
80aa0939ee2c1394a61821d10e29c9033bd7bf31 | 22 | py | Python | week10/CinemaReservation/hack_cinema/settings.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 30 | 2020-01-22T17:22:43.000Z | 2022-01-26T08:28:57.000Z | week10/CinemaReservation/hack_cinema/settings.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 1 | 2020-01-21T19:50:47.000Z | 2020-03-18T16:18:31.000Z | week10/CinemaReservation/hack_cinema/settings.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 7 | 2019-11-28T15:59:16.000Z | 2020-12-05T08:39:02.000Z | DB_NAME = 'cinema.db'
| 11 | 21 | 0.681818 | 4 | 22 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
80b26d7dea7cb7fde4f941f6c259aae6b1ab32be | 202 | py | Python | notebooks/_solutions/case-sea-surface-temperature19.py | jorisvandenbossche/DS-python-geospatial | 893a12edc5c203a75815f6dcb5f1e18c577c8cd5 | [
"BSD-3-Clause"
] | 58 | 2020-10-09T10:10:59.000Z | 2022-03-07T14:58:07.000Z | notebooks/_solutions/case-sea-surface-temperature19.py | amitkb3/DS-python-geospatial | 5f156ebff67e06d59b2a7ef446d1fed746ce0650 | [
"BSD-3-Clause"
] | 24 | 2020-09-30T19:57:14.000Z | 2021-10-05T07:21:09.000Z | notebooks/_solutions/case-sea-surface-temperature19.py | amitkb3/DS-python-geospatial | 5f156ebff67e06d59b2a7ef446d1fed746ce0650 | [
"BSD-3-Clause"
] | 19 | 2020-10-05T09:32:18.000Z | 2022-03-20T00:09:14.000Z | # In such a situation, the ELLIPSIS can be used to aggregate over all dimensions
basin_mean_sst = sst.groupby(basin_surface_interp).mean(dim=...) # ellipsis is shortcut for all dimensions
basin_mean_sst | 67.333333 | 106 | 0.806931 | 33 | 202 | 4.757576 | 0.727273 | 0.165605 | 0.229299 | 0.280255 | 0.318471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123762 | 202 | 3 | 107 | 67.333333 | 0.887006 | 0.584158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
80ba9d0a9cd4cef8774833239fb8745aaf9c34cd | 115 | py | Python | dashboard.py | oegedijk/dash_oop_demo | 5558323d911532558b1bc58cde791020a1609e48 | [
"MIT"
] | 2 | 2021-05-23T04:12:00.000Z | 2021-05-24T17:16:04.000Z | dashboard.py | oegedijk/dash_oop_demo | 5558323d911532558b1bc58cde791020a1609e48 | [
"MIT"
] | null | null | null | dashboard.py | oegedijk/dash_oop_demo | 5558323d911532558b1bc58cde791020a1609e48 | [
"MIT"
] | 1 | 2020-12-01T07:48:51.000Z | 2020-12-01T07:48:51.000Z | from dash_oop_components import DashApp
dashboard = DashApp.from_yaml("dashboard.yaml")
app = dashboard.app.server | 28.75 | 47 | 0.826087 | 16 | 115 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 4 | 48 | 28.75 | 0.87619 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
80d3746333404435df53f2be7b44db5ed4508012 | 284 | py | Python | ambry_indicator/debug.py | CivicKnowledge/ambry-indicator | b57657f6bd0493329af49e83a69ba9bb0315824a | [
"BSD-2-Clause"
] | null | null | null | ambry_indicator/debug.py | CivicKnowledge/ambry-indicator | b57657f6bd0493329af49e83a69ba9bb0315824a | [
"BSD-2-Clause"
] | null | null | null | ambry_indicator/debug.py | CivicKnowledge/ambry-indicator | b57657f6bd0493329af49e83a69ba9bb0315824a | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2016 Civic Knowledge. All Rights Reserved
# This software may be modified and distributed under the terms of the BSD license.
# See the LICENSE file for details.
if __name__ == '__main__':
import app
app.app.run(port=8082, debug=True)
| 28.4 | 85 | 0.707746 | 42 | 284 | 4.595238 | 0.880952 | 0.062176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039301 | 0.193662 | 284 | 9 | 86 | 31.555556 | 0.803493 | 0.672535 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
037ed307c6e355721cb4663185b2a8c5c6f654ad | 27,505 | py | Python | tripleo_ansible/tests/plugins/module_utils/test_baremetal_deploy.py | smolar/tripleo-ansible | 7bd37f019870c032bea71f22b305832932d81424 | [
"Apache-2.0"
] | null | null | null | tripleo_ansible/tests/plugins/module_utils/test_baremetal_deploy.py | smolar/tripleo-ansible | 7bd37f019870c032bea71f22b305832932d81424 | [
"Apache-2.0"
] | null | null | null | tripleo_ansible/tests/plugins/module_utils/test_baremetal_deploy.py | smolar/tripleo-ansible | 7bd37f019870c032bea71f22b305832932d81424 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 35.39897 | 78 | 0.463988 | 2,073 | 27,505 | 6.080077 | 0.108538 | 0.08894 | 0.069978 | 0.085528 | 0.79086 | 0.723739 | 0.675897 | 0.654078 | 0.624802 | 0.605839 | 0 | 0.015081 | 0.390075 | 27,505 | 776 | 79 | 35.444588 | 0.73623 | 0.027668 | 0 | 0.708508 | 0 | 0 | 0.325962 | 0.137367 | 0 | 0 | 0 | 0 | 0.07113 | 1 | 0.026499 | false | 0 | 0.006974 | 0 | 0.039052 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03804867f1d54b9b51ff10a780dad34bce15d5d4 | 108 | py | Python | django_gotolong/broker/icidir/imf/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/broker/icidir/imf/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/broker/icidir/imf/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.apps import AppConfig
class BrokerIcidirMfConfig(AppConfig):
name = 'broker_icidir_mfund'
| 18 | 38 | 0.796296 | 12 | 108 | 7 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 39 | 21.6 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.175926 | 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 | 0 | 0 | 0 | 3 |
039c76a905168a24ae3d6972bd7e41b8345b8941 | 136 | py | Python | main.py | jojo-/read-lora-mac-lopy | 93172fa1f9f4d519e39ec2c0ded6765123f39851 | [
"MIT"
] | null | null | null | main.py | jojo-/read-lora-mac-lopy | 93172fa1f9f4d519e39ec2c0ded6765123f39851 | [
"MIT"
] | null | null | null | main.py | jojo-/read-lora-mac-lopy | 93172fa1f9f4d519e39ec2c0ded6765123f39851 | [
"MIT"
] | null | null | null | from network import LoRa
import binascii
lora = LoRa(mode=LoRa.LORAWAN)
print(binascii.hexlify(lora.mac()).upper().decode('utf-8'))
| 27.2 | 60 | 0.735294 | 20 | 136 | 5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.102941 | 136 | 4 | 61 | 34 | 0.811475 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
03ba244eb7d0660644a7c2ce0e2d68b6df76df8a | 38 | py | Python | msticnb/_version.py | microsoft/msticnb | bb908cd9957e321d5aebf39a9a2ad2fb0234d73a | [
"MIT"
] | 18 | 2020-04-08T23:56:24.000Z | 2022-01-10T22:06:03.000Z | msticnb/_version.py | QPC-database/msticnb | cc391c9d72ed0ec4cce3bc412b0c4561dc09f5b2 | [
"MIT"
] | 7 | 2020-08-18T23:42:57.000Z | 2022-02-16T22:30:12.000Z | msticnb/_version.py | QPC-database/msticnb | cc391c9d72ed0ec4cce3bc412b0c4561dc09f5b2 | [
"MIT"
] | 7 | 2020-07-31T10:53:21.000Z | 2021-11-10T08:25:19.000Z | """Version file."""
VERSION = "0.2.2"
| 12.666667 | 19 | 0.552632 | 6 | 38 | 3.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.131579 | 38 | 2 | 20 | 19 | 0.545455 | 0.342105 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03baa7dce92fd343aeb7e24d0c2ffdbbd35e7ab6 | 193 | py | Python | extractedDefs/blenderside/export_fbx_bin/fbx_references_elements.py | makehumancommunity/community-plugins-fbx | 1f78be1723063cee0ae83232587431ab0f2e9894 | [
"MIT"
] | 1 | 2020-04-17T16:32:06.000Z | 2020-04-17T16:32:06.000Z | extractedDefs/blenderside/export_fbx_bin/fbx_references_elements.py | makehumancommunity/community-plugins-fbx | 1f78be1723063cee0ae83232587431ab0f2e9894 | [
"MIT"
] | null | null | null | extractedDefs/blenderside/export_fbx_bin/fbx_references_elements.py | makehumancommunity/community-plugins-fbx | 1f78be1723063cee0ae83232587431ab0f2e9894 | [
"MIT"
] | 5 | 2019-06-01T07:04:17.000Z | 2022-02-21T14:14:51.000Z | def fbx_references_elements(root, scene_data):
"""
Have no idea what references are in FBX currently... Just writing empty element.
"""
docs = elem_empty(root, b"References")
| 24.125 | 84 | 0.689119 | 26 | 193 | 4.961538 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207254 | 193 | 7 | 85 | 27.571429 | 0.843137 | 0.414508 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03bf53681d6f9a7ff761fec66a783bebab235e82 | 171 | py | Python | src/bitcaster/attachments/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 4 | 2018-03-01T10:22:30.000Z | 2020-04-04T16:31:11.000Z | src/bitcaster/attachments/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 60 | 2018-05-20T04:42:32.000Z | 2022-02-10T17:03:37.000Z | src/bitcaster/attachments/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 1 | 2018-08-04T05:06:45.000Z | 2018-08-04T05:06:45.000Z | from logging import getLogger
from strategy_field.registry import Registry
logger = getLogger(__name__)
registry = Registry('bitcaster.attachments.base.BaseRetriever')
| 21.375 | 63 | 0.830409 | 19 | 171 | 7.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099415 | 171 | 7 | 64 | 24.428571 | 0.88961 | 0 | 0 | 0 | 0 | 0 | 0.233918 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
03cc2861bf71a0ba02e1a051d2a83230c5c92925 | 759 | py | Python | src/events/models.py | tingcar/PSEP | 0a63ba14f034ee0b130a5b33aa349722ea821bfc | [
"Apache-2.0"
] | null | null | null | src/events/models.py | tingcar/PSEP | 0a63ba14f034ee0b130a5b33aa349722ea821bfc | [
"Apache-2.0"
] | null | null | null | src/events/models.py | tingcar/PSEP | 0a63ba14f034ee0b130a5b33aa349722ea821bfc | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Event(models.Model):
title = models.CharField(max_length=50)
organizer = models.CharField(max_length = 100)
content = models.CharField(max_length=500)
iid = models.CharField(max_length=20, null=True, blank=True)
venue = models.CharField... | 39.947368 | 78 | 0.725955 | 103 | 759 | 5.184466 | 0.456311 | 0.168539 | 0.202247 | 0.269663 | 0.262172 | 0.161049 | 0.161049 | 0.161049 | 0.161049 | 0 | 0 | 0.023364 | 0.15415 | 759 | 19 | 79 | 39.947368 | 0.808411 | 0.031621 | 0 | 0 | 0 | 0 | 0.029973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0.071429 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.