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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a70ce2aea59745967a5a83fe36efce366c0817a | 195 | py | Python | server/tornado/etc/config.py | liuwel/ezchat | 130d75db0d0341c0924fb77f8dca96f2f843fc0f | [
"BSD-3-Clause"
] | 1 | 2017-09-08T07:15:51.000Z | 2017-09-08T07:15:51.000Z | server/tornado/etc/config.py | liuwel/ezchat | 130d75db0d0341c0924fb77f8dca96f2f843fc0f | [
"BSD-3-Clause"
] | null | null | null | server/tornado/etc/config.py | liuwel/ezchat | 130d75db0d0341c0924fb77f8dca96f2f843fc0f | [
"BSD-3-Clause"
] | null | null | null | #coding:utf-8
from webserver import mainhandler
from socketserver import sockethandler
routes = [
(r"/", mainhandler.MainHandler),
(r"/chat", sockethandler.SocketHandler),
] | 21.666667 | 48 | 0.692308 | 19 | 195 | 7.105263 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.194872 | 195 | 9 | 49 | 21.666667 | 0.853503 | 0.061538 | 0 | 0 | 0 | 0 | 0.032787 | 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 |
6a74b62e93f6aa4336d956c85598531a14ed3b89 | 231 | py | Python | chiadoge/wallet/puzzles/rom_bootstrap_generator.py | Jsewill/chiadogecoin | 55511228301a0b4d00c8f4da270be8b434777470 | [
"Apache-2.0"
] | 2 | 2021-07-05T14:34:35.000Z | 2022-01-01T21:27:52.000Z | chiadoge/wallet/puzzles/rom_bootstrap_generator.py | Jsewill/chiadogecoin | 55511228301a0b4d00c8f4da270be8b434777470 | [
"Apache-2.0"
] | null | null | null | chiadoge/wallet/puzzles/rom_bootstrap_generator.py | Jsewill/chiadogecoin | 55511228301a0b4d00c8f4da270be8b434777470 | [
"Apache-2.0"
] | 1 | 2021-07-07T11:08:36.000Z | 2021-07-07T11:08:36.000Z | from chiadoge.types.blockchain_format.program import SerializedProgram
from .load_clvm import load_clvm
MOD = SerializedProgram.from_bytes(load_clvm("rom_bootstrap_generator.clvm").as_bin())
def get_generator():
return MOD
| 23.1 | 86 | 0.818182 | 31 | 231 | 5.806452 | 0.645161 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099567 | 231 | 9 | 87 | 25.666667 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 3 |
6a82137b157db20bb15912fc5ecb87dd6814fb36 | 264 | py | Python | tag/forms.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | tag/forms.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | tag/forms.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | from django import forms
from offer.models import Offer
class TagChangeListForm(forms.ModelForm):
# here we only need to define the field we want to be editable
offer = forms.ModelMultipleChoiceField(
queryset=Offer.objects.all(), required=False) | 33 | 66 | 0.761364 | 35 | 264 | 5.742857 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 264 | 8 | 67 | 33 | 0.922018 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
6a829fbb59df23521ae5191d22368ba975b4c48d | 249 | py | Python | tools/tilematrix/tilesheets/passability_32x32.py | theblacklion/diamond-framework | 0996a517a6821d8903f5c378a85e9b1f3998109f | [
"MIT"
] | 1 | 2015-02-19T18:42:04.000Z | 2015-02-19T18:42:04.000Z | tools/tilematrix/tilesheets/passability_32x32.py | theblacklion/diamond-framework | 0996a517a6821d8903f5c378a85e9b1f3998109f | [
"MIT"
] | 1 | 2015-02-19T18:38:01.000Z | 2015-02-19T18:38:01.000Z | data/scenes/cave/gfx/tiles.py | theblacklion/joe-danger | 9c0a1f9fd8114f5a763f770466be5ebe194af2cf | [
"MIT"
] | null | null | null | from json import load
from collections import OrderedDict
from os.path import splitext, dirname, join
locals().update(load(open('%s.json' % splitext(__file__)[0], 'rb'), object_pairs_hook=OrderedDict))
filename = join(dirname(__file__), filename)
| 31.125 | 99 | 0.771084 | 34 | 249 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.100402 | 249 | 7 | 100 | 35.571429 | 0.808036 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
6aa8d5d91e963f13a62c2221c536800ef42eb9d0 | 632 | py | Python | models/SRResNet/solver.py | MatusBako/MakeFacesGreatAgain | e4941a8460db79dec566ed02d4b23eafb416a6db | [
"MIT"
] | null | null | null | models/SRResNet/solver.py | MatusBako/MakeFacesGreatAgain | e4941a8460db79dec566ed02d4b23eafb416a6db | [
"MIT"
] | null | null | null | models/SRResNet/solver.py | MatusBako/MakeFacesGreatAgain | e4941a8460db79dec566ed02d4b23eafb416a6db | [
"MIT"
] | null | null | null | from torch.nn import MSELoss
from .model import Net
from models.abstract_cnn_solver import AbstractCnnSolver
class Solver(AbstractCnnSolver):
def __init__(self, cfg, *args, **kwargs):
super().__init__(cfg, *args, **kwargs)
self.loss = MSELoss()
def compute_loss(self, label, output, target):
... | 23.407407 | 56 | 0.636076 | 73 | 632 | 5.273973 | 0.465753 | 0.103896 | 0.067532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251582 | 632 | 26 | 57 | 24.307692 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.028481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.166667 | 0.111111 | 0.611111 | 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 |
6aabdf03e443abbacca882add94db6a968a9fb0c | 168 | py | Python | sample.py | TheArowanaDude/PythonUH | 0b8c9c48fecacccc1ecab1c3cc0d78deeec32842 | [
"Unlicense"
] | null | null | null | sample.py | TheArowanaDude/PythonUH | 0b8c9c48fecacccc1ecab1c3cc0d78deeec32842 | [
"Unlicense"
] | null | null | null | sample.py | TheArowanaDude/PythonUH | 0b8c9c48fecacccc1ecab1c3cc0d78deeec32842 | [
"Unlicense"
] | null | null | null | num = int(input("Input any number, it will be factorialized: ")
factorial = 1
for i in range(num)
factorial = factorial * (i + 1)
print(factorial)
| 24 | 63 | 0.619048 | 23 | 168 | 4.521739 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.27381 | 168 | 6 | 64 | 28 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6abb76f388cd6dd245a39f2d4c0a9ba69f85a7c2 | 157 | py | Python | tests/urls.py | kevinhowbrook/wagtail-factories | 2026711169d3cce799fed75d15420d74e2c4afeb | [
"MIT"
] | 42 | 2016-12-08T20:24:16.000Z | 2020-07-30T16:31:41.000Z | tests/urls.py | kevinhowbrook/wagtail-factories | 2026711169d3cce799fed75d15420d74e2c4afeb | [
"MIT"
] | 28 | 2016-12-21T20:09:37.000Z | 2020-08-24T21:19:35.000Z | tests/urls.py | marteinn/wagtail-factories | 1960b972063561e6a74de2ca65d21b02462b8451 | [
"MIT"
] | 17 | 2017-02-09T22:35:52.000Z | 2020-08-13T00:27:42.000Z | from django.conf.urls import include, url
from wagtail.core import urls as wagtail_urls
urlpatterns = []
urlpatterns += [url(r"^", include(wagtail_urls))]
| 22.428571 | 49 | 0.751592 | 22 | 157 | 5.272727 | 0.545455 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 6 | 50 | 26.166667 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 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 |
6ad62a0f61b695ab21e0a2b8fa80f1faafd7e0b2 | 49 | py | Python | nimbixappdef/__init__.py | nimbix/nimbixappdef | 638e901f0ceb8cb570c1c21485fab7dff492b77e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nimbixappdef/__init__.py | nimbix/nimbixappdef | 638e901f0ceb8cb570c1c21485fab7dff492b77e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nimbixappdef/__init__.py | nimbix/nimbixappdef | 638e901f0ceb8cb570c1c21485fab7dff492b77e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | __version__ = '0.9.2'
__all__ = ['nimbixappdef']
| 16.333333 | 26 | 0.673469 | 6 | 49 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.122449 | 49 | 2 | 27 | 24.5 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0.346939 | 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 |
0a76e2e2388a239f69d856b457022eac10b6ffa2 | 3,316 | py | Python | gpio-utils/test_tfa.py | deets/brombeerquark | 9314bc6adaf19ee3868612c8aafdce0f1ebbabb9 | [
"MIT"
] | null | null | null | gpio-utils/test_tfa.py | deets/brombeerquark | 9314bc6adaf19ee3868612c8aafdce0f1ebbabb9 | [
"MIT"
] | null | null | null | gpio-utils/test_tfa.py | deets/brombeerquark | 9314bc6adaf19ee3868612c8aafdce0f1ebbabb9 | [
"MIT"
] | null | null | null | import time
import unittest
from tfa import TimedFiniteAutomaton
class TFATests(unittest.TestCase):
def test_start_state(self):
a = TimedFiniteAutomaton("start")
self.assertEqual("start", a.state)
def test_adding_transition_and_walking_it(self):
a = TimedFiniteAutomaton("start")
... | 28.834783 | 69 | 0.588963 | 399 | 3,316 | 4.676692 | 0.140351 | 0.060021 | 0.067524 | 0.132369 | 0.806538 | 0.771704 | 0.735799 | 0.658628 | 0.645766 | 0.587889 | 0 | 0.009832 | 0.263872 | 3,316 | 114 | 70 | 29.087719 | 0.754609 | 0 | 0 | 0.666667 | 0 | 0 | 0.088661 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.122222 | false | 0 | 0.033333 | 0 | 0.166667 | 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 |
0a9715be58fcc5b01bf5d8297cc89b2120fb6b25 | 357 | py | Python | utils.py | JonathonLuiten/instant-nerf-pytorch | 2a88ceafc5d416479cb0800b9324a4b2b6619037 | [
"MIT"
] | 65 | 2022-02-15T23:50:22.000Z | 2022-03-29T04:07:57.000Z | utils.py | JonathonLuiten/instant-nerf-pytorch | 2a88ceafc5d416479cb0800b9324a4b2b6619037 | [
"MIT"
] | 2 | 2022-02-28T05:10:15.000Z | 2022-03-30T15:46:43.000Z | utils.py | JonathonLuiten/instant-nerf-pytorch | 2a88ceafc5d416479cb0800b9324a4b2b6619037 | [
"MIT"
] | 1 | 2022-03-24T04:52:57.000Z | 2022-03-24T04:52:57.000Z | import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
def batchify(fn, chunk):
"""Constructs a version of 'fn' that applies to smaller batches.
"""
if chunk is None:
return fn
def ret(inputs):
return torch.cat([fn(inputs[i:i+chunk]) for i in range(0, inputs... | 29.75 | 94 | 0.644258 | 56 | 357 | 4.089286 | 0.589286 | 0.09607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010791 | 0.221289 | 357 | 12 | 95 | 29.75 | 0.81295 | 0.170868 | 0 | 0 | 0 | 0 | 0.024476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 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 |
0a9a4489809a1ab12e394f35e49622ad4a729df6 | 462 | py | Python | applications/pytorch/cnns/datasets/__init__.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 260 | 2019-11-18T01:50:00.000Z | 2022-03-28T23:08:53.000Z | applications/pytorch/cnns/datasets/__init__.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 27 | 2020-01-28T23:07:50.000Z | 2022-02-14T15:37:06.000Z | applications/pytorch/cnns/datasets/__init__.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 56 | 2019-11-18T02:13:12.000Z | 2022-02-28T14:36:09.000Z | # Copyright (c) 2020 Graphcore Ltd. All rights reserved.
from .dataset import get_data, datasets_info
from .webdataset_format import get_webdataset, decode_webdataset, DistributeNode
from .preprocess import normalization_parameters, ToFloat, ToHalf, get_preprocessing_pipeline
from .create_webdataset import write_datase... | 57.75 | 93 | 0.87013 | 56 | 462 | 6.892857 | 0.660714 | 0.046632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009501 | 0.088745 | 462 | 7 | 94 | 66 | 0.907363 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0aa137d54242a9373147e3ed39ae1a89930cc0fc | 495 | py | Python | Individual.py | MojoJolo/ga_trial | 00c0b2fd37ff60867ca027b1b1c690efc14ec765 | [
"MIT"
] | null | null | null | Individual.py | MojoJolo/ga_trial | 00c0b2fd37ff60867ca027b1b1c690efc14ec765 | [
"MIT"
] | null | null | null | Individual.py | MojoJolo/ga_trial | 00c0b2fd37ff60867ca027b1b1c690efc14ec765 | [
"MIT"
] | null | null | null | from random import randint
from fitnessCalc import FitnessCalc
class Individual():
DefaultGeneLength = len(FitnessCalc.Solution)
def __init__(self):
self.genes = bytearray(Individual.DefaultGeneLength)
for i in range(Individual.DefaultGeneLength):
gene = randint(0,1)
self.genes[i] = gene
def get_g... | 23.571429 | 54 | 0.725253 | 66 | 495 | 5.287879 | 0.439394 | 0.12894 | 0.074499 | 0.080229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.175758 | 495 | 21 | 55 | 23.571429 | 0.85049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.133333 | 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 |
0ac1e70a675c571ffdf3da125a0fa8f868fc0317 | 872 | py | Python | nipype/interfaces/mrtrix/__init__.py | sebastientourbier/nipype_lts5 | 3b9718d154443574cc6a5d0bbd76ccf7964e6a45 | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/mrtrix/__init__.py | sebastientourbier/nipype_lts5 | 3b9718d154443574cc6a5d0bbd76ccf7964e6a45 | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/mrtrix/__init__.py | sebastientourbier/nipype_lts5 | 3b9718d154443574cc6a5d0bbd76ccf7964e6a45 | [
"BSD-3-Clause"
] | 1 | 2020-02-19T13:47:05.000Z | 2020-02-19T13:47:05.000Z | # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
from .tracking import (Tracks2Prob, StreamlineTrack,
DiffusionTensorStreamlineTrack,
SphericallyDeconvolutedStreamlineTrack,
Probabilisti... | 58.133333 | 113 | 0.683486 | 59 | 872 | 10.101695 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019969 | 0.25344 | 872 | 14 | 114 | 62.285714 | 0.895545 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 3 |
0ac6a727b8a8a6b846d08e3d2adf06454bb9f84a | 348 | py | Python | Aula55_0403_TDD/tests/test_com_tdd.py | Renanrbsc/PadawanPython | 6dc06a502d59127d0f180847e19b40c581baddd0 | [
"MIT"
] | null | null | null | Aula55_0403_TDD/tests/test_com_tdd.py | Renanrbsc/PadawanPython | 6dc06a502d59127d0f180847e19b40c581baddd0 | [
"MIT"
] | null | null | null | Aula55_0403_TDD/tests/test_com_tdd.py | Renanrbsc/PadawanPython | 6dc06a502d59127d0f180847e19b40c581baddd0 | [
"MIT"
] | null | null | null | from unittest import TestCase
from Aula55_0403_TDD.par.calcula_se_um_numero_eh_par import calcula_se_um_numero_eh_par
class TestComTDD(TestCase):
def test_se_um_numero_eh_par(self):
resultado = calcula_se_um_numero_eh_par(2)
self.assertTrue(resultado)
# py -m unittest Aula55_0403_TDD\tes... | 21.75 | 87 | 0.767241 | 55 | 348 | 4.381818 | 0.454545 | 0.06639 | 0.165975 | 0.19917 | 0.3361 | 0.273859 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.178161 | 348 | 16 | 88 | 21.75 | 0.797203 | 0.152299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
0ac7927448fa2aba482204244ba59953906d4b5c | 301 | py | Python | asim/models/MXGSAbortMemoryDumpTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | asim/models/MXGSAbortMemoryDumpTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | asim/models/MXGSAbortMemoryDumpTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
from django.contrib.postgres.fields import ArrayField
import datetime
from django.contrib import admin
class MXGSAbortMemoryDumpTM (models.Model):
private_header = models.IntegerField()
command_length = models.IntegerField()
| 30.1 | 53 | 0.807309 | 36 | 301 | 6.694444 | 0.583333 | 0.165975 | 0.141079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13289 | 301 | 9 | 54 | 33.444444 | 0.923372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 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 |
0af07535106227cbfae6dde69a253eb94ece1c7c | 235 | py | Python | kii/acl/topic/__init__.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | 2 | 2018-02-04T21:16:02.000Z | 2021-12-01T16:51:43.000Z | kii/acl/topic/__init__.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | kii/acl/topic/__init__.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | from kii.acl.base import Scope
from kii.acl.topic import application as ApplicationScope
from kii.utils import Accessor
class AclOnTopic:
def __init__(self, api):
self.application = Scope(api, Accessor(ApplicationScope))
| 26.111111 | 65 | 0.770213 | 31 | 235 | 5.709677 | 0.580645 | 0.118644 | 0.112994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157447 | 235 | 8 | 66 | 29.375 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 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 |
0afd8a91ab7c88fcffcfad6a86e1c1d09c85a3df | 9,403 | py | Python | ck_didissz.py | yxnwh/checkin | 6421659ed97c6c268b45f53320c8c818452593f2 | [
"MIT"
] | 5 | 2021-12-31T06:49:31.000Z | 2022-02-10T06:01:26.000Z | ck_didissz.py | yxnwh/checkin | 6421659ed97c6c268b45f53320c8c818452593f2 | [
"MIT"
] | null | null | null | ck_didissz.py | yxnwh/checkin | 6421659ed97c6c268b45f53320c8c818452593f2 | [
"MIT"
] | 1 | 2022-02-08T17:13:57.000Z | 2022-02-08T17:13:57.000Z | # -*- coding: utf-8 -*-
# @url: https://raw.githubusercontent.com/yxnwh/kevinxf/main/xF_DiDi_ssz.py
# @author: zyf1118
"""
cron: 23 8,14 * * *
new Env('滴滴刷刷赚签到');
"""
import requests
import json, sys, os, re
import time, datetime,random
from notify_mtr import send
from utils import get_data
requests.packages.urllib3.... | 66.21831 | 1,041 | 0.694778 | 834 | 9,403 | 7.732614 | 0.428058 | 0.011165 | 0.002791 | 0.009304 | 0.170569 | 0.170569 | 0.157854 | 0.157854 | 0.14762 | 0.104822 | 0 | 0.12521 | 0.178666 | 9,403 | 141 | 1,042 | 66.687943 | 0.709828 | 0.028289 | 0 | 0.213115 | 0 | 0.07377 | 0.630223 | 0.487224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040984 | false | 0.032787 | 0.040984 | 0 | 0.122951 | 0.04918 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c10fc6ce9a26d4afb4e269063056c892b7aee45 | 12,801 | py | Python | lib/geventmemcache/client.py | hrosenhorn/gevent-memcache | 7385d8d8bc0d0ece6bcb3fbfa0bc45a40b6674d4 | [
"BSD-3-Clause"
] | 5 | 2016-01-28T14:51:02.000Z | 2017-11-18T18:12:05.000Z | lib/geventmemcache/client.py | hrosenhorn/gevent-memcache | 7385d8d8bc0d0ece6bcb3fbfa0bc45a40b6674d4 | [
"BSD-3-Clause"
] | null | null | null | lib/geventmemcache/client.py | hrosenhorn/gevent-memcache | 7385d8d8bc0d0ece6bcb3fbfa0bc45a40b6674d4 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (C) 2009, Hyves (Startphone Ltd.)
#
# This module is part of the Concurrence Framework and is released under
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
from __future__ import with_statement
import logging
from gevent import Timeout
from gevent import queue
from gevent import... | 33.865079 | 131 | 0.643856 | 1,565 | 12,801 | 5.077316 | 0.178914 | 0.040272 | 0.047068 | 0.031085 | 0.391014 | 0.358545 | 0.350994 | 0.335515 | 0.315001 | 0.28077 | 0 | 0.006459 | 0.250137 | 12,801 | 378 | 132 | 33.865079 | 0.821336 | 0.136942 | 0 | 0.336134 | 0 | 0 | 0.03495 | 0 | 0 | 0 | 0 | 0.005291 | 0 | 1 | 0.239496 | false | 0.012605 | 0.05042 | 0.130252 | 0.516807 | 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 |
7c19d60f2d7db293ba8e9b27b5522bb04175668d | 324 | py | Python | Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/15.03-Constructor-Inheritance.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/15.03-Constructor-Inheritance.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/15.03-Constructor-Inheritance.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | class A:
def __init__(self):
print("At A init")
def feature1(self):
print("Feature 1 working")
def feature2(self):
print("Feature 2 working")
class B(A):
def feature3(self):
print("Feature 3 working")
def feature4(self):
print("Feature 4 working")
b1 = ... | 15.428571 | 34 | 0.564815 | 42 | 324 | 4.261905 | 0.452381 | 0.251397 | 0.357542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.305556 | 324 | 20 | 35 | 16.2 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.237654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0 | 0.538462 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c22170f98109151ad79b37d3669495450d3ee25 | 1,752 | py | Python | application/models.py | satish-annigeri/flask_examdocs | 067bb5bca81d5bee26a19e07ab070f1f5af10c16 | [
"MIT"
] | null | null | null | application/models.py | satish-annigeri/flask_examdocs | 067bb5bca81d5bee26a19e07ab070f1f5af10c16 | [
"MIT"
] | null | null | null | application/models.py | satish-annigeri/flask_examdocs | 067bb5bca81d5bee26a19e07ab070f1f5af10c16 | [
"MIT"
] | null | null | null | from . import db
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
class User(UserMixin, db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(100), nullable=False, unique=False)
email = db.C... | 42.731707 | 89 | 0.714041 | 248 | 1,752 | 4.895161 | 0.245968 | 0.105437 | 0.131796 | 0.118616 | 0.35173 | 0.271005 | 0.199341 | 0.199341 | 0.08402 | 0.08402 | 0 | 0.016097 | 0.148973 | 1,752 | 40 | 90 | 43.8 | 0.798122 | 0 | 0 | 0.129032 | 1 | 0 | 0.06225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0.193548 | 0.096774 | 0.096774 | 0.967742 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7c2724befb668ed769dcf81918da13716c51603a | 797 | py | Python | benchmarks/random_util.py | Djphoenix719/rl-search | 4be92111bfac66834e4506dcde8f0d7166cde451 | [
"MIT"
] | null | null | null | benchmarks/random_util.py | Djphoenix719/rl-search | 4be92111bfac66834e4506dcde8f0d7166cde451 | [
"MIT"
] | null | null | null | benchmarks/random_util.py | Djphoenix719/rl-search | 4be92111bfac66834e4506dcde8f0d7166cde451 | [
"MIT"
] | null | null | null | import math
import random
from benchmarks.math_util import number_to_power
from benchmarks.activation import ActivationFunction
from benchmarks.networks import LayerConfig
from benchmarks.settings import *
def random_power_of_2(lower: int, upper: int) -> int:
return 2 ** random.randint(lower, upper)
def rando... | 29.518519 | 128 | 0.775408 | 109 | 797 | 5.431193 | 0.330275 | 0.094595 | 0.043919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018813 | 0.132999 | 797 | 26 | 129 | 30.653846 | 0.837916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
7c318c96543a77a67f6e8f9fe390d5ea0bc4aa98 | 2,416 | py | Python | utils/data/mnist.py | martinwhl/deep-learning-project-template | db67aa6cd9db0297e2318179304c287404d3c308 | [
"MIT"
] | null | null | null | utils/data/mnist.py | martinwhl/deep-learning-project-template | db67aa6cd9db0297e2318179304c287404d3c308 | [
"MIT"
] | null | null | null | utils/data/mnist.py | martinwhl/deep-learning-project-template | db67aa6cd9db0297e2318179304c287404d3c308 | [
"MIT"
] | null | null | null | import argparse
import pytorch_lightning as pl
from torch.utils.data import DataLoader, random_split
from torchvision.datasets import MNIST
from torchvision import transforms
# Adapted from https://pytorch-lightning.readthedocs.io/en/latest/extensions/datamodules.html#datamodules-without-lightning # noqa
class MNISTD... | 38.349206 | 130 | 0.679636 | 313 | 2,416 | 5.083067 | 0.357827 | 0.056568 | 0.041483 | 0.040226 | 0.247014 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0.019494 | 0.214404 | 2,416 | 62 | 131 | 38.967742 | 0.818757 | 0.207368 | 0 | 0.052632 | 0 | 0 | 0.013677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.131579 | 0.131579 | 0.552632 | 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 |
7c429633e2c6ef0a7cda5748a9491d7f9bc1d173 | 7,937 | py | Python | test/unit/test_smdataparallel.py | yselivonchyk/sagemaker-training-toolkit | affac37e87e9e70de771af61d5bb2a5077e5aece | [
"Apache-2.0"
] | null | null | null | test/unit/test_smdataparallel.py | yselivonchyk/sagemaker-training-toolkit | affac37e87e9e70de771af61d5bb2a5077e5aece | [
"Apache-2.0"
] | null | null | null | test/unit/test_smdataparallel.py | yselivonchyk/sagemaker-training-toolkit | affac37e87e9e70de771af61d5bb2a5077e5aece | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the 'license' file acc... | 33.348739 | 117 | 0.51178 | 748 | 7,937 | 5.125668 | 0.302139 | 0.050078 | 0.062598 | 0.024778 | 0.714137 | 0.714137 | 0.67397 | 0.67397 | 0.67397 | 0.67397 | 0 | 0.010889 | 0.375205 | 7,937 | 237 | 118 | 33.489451 | 0.76225 | 0.068036 | 0 | 0.837321 | 0 | 0 | 0.213028 | 0.095206 | 0 | 0 | 0 | 0 | 0.047847 | 1 | 0.009569 | false | 0 | 0.033493 | 0 | 0.043062 | 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 |
7c46ec43c013fa917e282e1fe4469193974bf6c2 | 125 | py | Python | twiml/voice/gather/gather-2/gather-2.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 234 | 2016-01-27T03:04:38.000Z | 2022-02-25T20:13:43.000Z | twiml/voice/gather/gather-2/gather-2.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 351 | 2016-04-06T16:55:33.000Z | 2022-03-10T18:42:36.000Z | twiml/voice/gather/gather-2/gather-2.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 494 | 2016-03-30T15:28:20.000Z | 2022-03-28T19:39:36.000Z | from twilio.twiml.voice_response import Gather, VoiceResponse
response = VoiceResponse()
response.gather()
print(response)
| 17.857143 | 61 | 0.816 | 14 | 125 | 7.214286 | 0.642857 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 6 | 62 | 20.833333 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c4ea0c6c5ee74198967bcc80b2e229f2d743861 | 24,200 | py | Python | test_solutions.py | nakfoury/aoc2020 | b08982bad29a6f17a6629022097e746788828691 | [
"MIT"
] | null | null | null | test_solutions.py | nakfoury/aoc2020 | b08982bad29a6f17a6629022097e746788828691 | [
"MIT"
] | null | null | null | test_solutions.py | nakfoury/aoc2020 | b08982bad29a6f17a6629022097e746788828691 | [
"MIT"
] | null | null | null | import solutions
def test_day1a():
assert solutions.day1(['1721', '979', '366', '299', '675', '1456']) == 514579
def test_day1b():
assert solutions.day1(['1721', '979', '366', '299', '675', '1456'], True) == 241861950
def test_day2a():
assert solutions.day2(['1-3 a: abcde', '1-3 b: cdefg', '2-9 c: ccc... | 38.844302 | 120 | 0.283802 | 1,526 | 24,200 | 4.461992 | 0.248362 | 0.138787 | 0.014099 | 0.014099 | 0.637832 | 0.623293 | 0.597445 | 0.585695 | 0.576002 | 0.55691 | 0 | 0.126243 | 0.538802 | 24,200 | 622 | 121 | 38.906752 | 0.483828 | 0.171777 | 0 | 0.587678 | 0 | 0.00237 | 0.305338 | 0.108419 | 0 | 0 | 0 | 0 | 0.127962 | 1 | 0.094787 | true | 0 | 0.00237 | 0 | 0.097156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c642b69cbb5d14cdfd11b25f904cdb130c9cfb5 | 300 | py | Python | mlp/utils.py | guidj/mlp | 06e60cffde8c8a7f60cebf0e329efae116042e61 | [
"Apache-2.0"
] | null | null | null | mlp/utils.py | guidj/mlp | 06e60cffde8c8a7f60cebf0e329efae116042e61 | [
"Apache-2.0"
] | null | null | null | mlp/utils.py | guidj/mlp | 06e60cffde8c8a7f60cebf0e329efae116042e61 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def covariance(x, mean_x, y, mean_y):
cov = np.sum([(x[i] - mean_x) * (y[i] - mean_y) for i in range(len(x))])
return cov
def variance(x, mean_x=None):
if mean_x is None:
mean_x = np.mean(x)
return np.sum([(x[i] - mean_x)**2 for i in range(len(x))])
| 18.75 | 76 | 0.58 | 61 | 300 | 2.721311 | 0.360656 | 0.210843 | 0.072289 | 0.084337 | 0.325301 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0.004405 | 0.243333 | 300 | 15 | 77 | 20 | 0.726872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c66b062b4cafabb2b83cf2c55af68d8a7a4a79d | 355 | py | Python | office365/onedrive/listItemCollection.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/onedrive/listItemCollection.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/onedrive/listItemCollection.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | from office365.onedrive.listItem import ListItem
from office365.runtime.client_object_collection import ClientObjectCollection
class ListItemCollection(ClientObjectCollection):
"""Drive list item's collection"""
def __init__(self, context, resource_path=None):
super(ListItemCollection, self).__init__... | 35.5 | 82 | 0.805634 | 37 | 355 | 7.405405 | 0.648649 | 0.094891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.115493 | 355 | 9 | 83 | 39.444444 | 0.853503 | 0.078873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 |
7c6a7792922a313386f15375d9d724754ed13402 | 273 | py | Python | histoptimizer/historical/cuda_naive.py | delusionary/histoptimizer | 96fef4313b7efe35963a896a6a0cef111b6e6c39 | [
"0BSD"
] | null | null | null | histoptimizer/historical/cuda_naive.py | delusionary/histoptimizer | 96fef4313b7efe35963a896a6a0cef111b6e6c39 | [
"0BSD"
] | null | null | null | histoptimizer/historical/cuda_naive.py | delusionary/histoptimizer | 96fef4313b7efe35963a896a6a0cef111b6e6c39 | [
"0BSD"
] | null | null | null | # Block Grid is a three-dimensional array where first dimension is the first divider location, second is second,
# and the third is the third location.
#
# Or maybe those are the dimensions of the "thread grid" and the block grid is thread dimension / block size I guess.
| 45.5 | 117 | 0.769231 | 46 | 273 | 4.565217 | 0.565217 | 0.085714 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 273 | 5 | 118 | 54.6 | 0.945946 | 0.96337 | 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 |
7c7d47d76e6493df25d03c06b4f53ba011c20100 | 132 | py | Python | marchena/modules/authors/__init__.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | marchena/modules/authors/__init__.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | marchena/modules/authors/__init__.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from __future__ import unicode_literals
default_app_config = 'marchena.modules.authors.apps.AuthorsConfig'
| 22 | 66 | 0.780303 | 16 | 132 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.098485 | 132 | 5 | 67 | 26.4 | 0.798319 | 0.151515 | 0 | 0 | 0 | 0 | 0.390909 | 0.390909 | 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 |
7c7dd377a131c16c646c3a4823a92752403c60ed | 198 | gyp | Python | binding.gyp | robotguy6/node-shm-buffer | aabc6b512e099ae0321dc86b23d44270bd59cd50 | [
"MIT"
] | null | null | null | binding.gyp | robotguy6/node-shm-buffer | aabc6b512e099ae0321dc86b23d44270bd59cd50 | [
"MIT"
] | null | null | null | binding.gyp | robotguy6/node-shm-buffer | aabc6b512e099ae0321dc86b23d44270bd59cd50 | [
"MIT"
] | 1 | 2021-06-28T20:26:31.000Z | 2021-06-28T20:26:31.000Z | {
"targets": [
{
"target_name": "shm-buffer",
"sources": [
"src/shm-buffer.cc"
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
]
}
]
} | 15.230769 | 40 | 0.378788 | 16 | 198 | 4.5625 | 0.875 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.383838 | 198 | 13 | 41 | 15.230769 | 0.598361 | 0 | 0 | 0 | 0 | 0 | 0.40201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c89e30813ac5741d63502da8d9349616ca0a1d6 | 1,628 | py | Python | iommi/base.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | null | null | null | iommi/base.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | null | null | null | iommi/base.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | null | null | null | from django.db.models import QuerySet
from django.utils.encoding import force_str
class UnknownMissingValueException(Exception):
pass
class Missing:
def __bool__(self):
raise UnknownMissingValueException('MISSING is neither True nor False, is is unknown')
def __str__(self):
return 'MISS... | 23.594203 | 103 | 0.699017 | 221 | 1,628 | 4.837104 | 0.402715 | 0.06174 | 0.053321 | 0.078578 | 0.046773 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003084 | 0.203317 | 1,628 | 68 | 104 | 23.941176 | 0.821126 | 0.062039 | 0 | 0.04878 | 0 | 0 | 0.061639 | 0.022951 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268293 | false | 0.04878 | 0.04878 | 0.146341 | 0.634146 | 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 |
7ca454839e775020e392e696ab330d6b9d825d7f | 382 | py | Python | Python3-WorldIII/ex076.py | samirsaravia/Python_101 | 0c45f11d74a356514a0c436ade6af4c0f67c56b7 | [
"MIT"
] | null | null | null | Python3-WorldIII/ex076.py | samirsaravia/Python_101 | 0c45f11d74a356514a0c436ade6af4c0f67c56b7 | [
"MIT"
] | 1 | 2020-10-16T23:26:41.000Z | 2020-10-16T23:26:41.000Z | Python3-WorldIII/ex076.py | samirsaravia/Python_101 | 0c45f11d74a356514a0c436ade6af4c0f67c56b7 | [
"MIT"
] | null | null | null | lista: tuple = ('lapiz', 1.34, 'Borracha', 2, 'Caderno', 32.45, 'Estojo', 25, 'Compasso', 10, 'Mochila', 120,
'Caneta', 23.97, 'Livro', 123, 'Regra', 2.75)
print('---' * 15)
print(f'\033[7;30m{"Listagem de Preços":^45}\033[m')
print('---' * 15)
for tabela in range(0, len(lista), 2):
print(f'{lista[t... | 42.444444 | 109 | 0.54712 | 60 | 382 | 3.483333 | 0.716667 | 0.100478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154088 | 0.167539 | 382 | 8 | 110 | 47.75 | 0.503145 | 0 | 0 | 0.375 | 0 | 0 | 0.410995 | 0.057592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
7ca608159b0f11928d4d6f26697304b0a76f149f | 901 | py | Python | app/services/models/cap_info.py | tirinox/thorchainmonitorbot | 9f4604ea3c4ce91239e570b51381209096fc769f | [
"MIT"
] | 3 | 2020-10-13T16:48:35.000Z | 2021-06-02T19:11:51.000Z | app/services/models/cap_info.py | tirinox/thorchainmonitorbot | 9f4604ea3c4ce91239e570b51381209096fc769f | [
"MIT"
] | null | null | null | app/services/models/cap_info.py | tirinox/thorchainmonitorbot | 9f4604ea3c4ce91239e570b51381209096fc769f | [
"MIT"
] | 1 | 2021-02-28T19:22:18.000Z | 2021-02-28T19:22:18.000Z | from dataclasses import dataclass
from services.models.base import BaseModelMixin
@dataclass
class ThorCapInfo(BaseModelMixin):
cap: int
pooled_rune: int
price: float
MAX_ALLOWED_RATIO = 1.0 # 100 %
@classmethod
def zero(cls):
return cls(0, 0, 0)
@classmethod
def error(cls... | 21.97561 | 84 | 0.661487 | 131 | 901 | 4.328244 | 0.328244 | 0.097002 | 0.098765 | 0.063492 | 0.215168 | 0.17284 | 0.081129 | 0 | 0 | 0 | 0 | 0.026627 | 0.249723 | 901 | 40 | 85 | 22.525 | 0.81213 | 0.005549 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.068966 | 0.241379 | 0.724138 | 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 |
7ca75e76118ea677bffb4babc852f6a111f0ba96 | 1,745 | py | Python | iaso/migrations/0072_auto_20210113_1251.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 29 | 2020-12-26T07:22:19.000Z | 2022-03-07T13:40:09.000Z | iaso/migrations/0072_auto_20210113_1251.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 150 | 2020-11-09T15:03:27.000Z | 2022-03-07T15:36:07.000Z | iaso/migrations/0072_auto_20210113_1251.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 4 | 2020-11-09T10:38:13.000Z | 2021-10-04T09:42:47.000Z | # Generated by Django 3.0.7 on 2021-01-13 12:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("iaso", "0071_auto_20210113_1222")]
operations = [
migrations.AlterField(
model_name="exportrequest",
name="status",
f... | 30.086207 | 56 | 0.391404 | 107 | 1,745 | 6.317757 | 0.439252 | 0.088757 | 0.110947 | 0.128698 | 0.636095 | 0.636095 | 0.636095 | 0.636095 | 0.636095 | 0.636095 | 0 | 0.035522 | 0.467622 | 1,745 | 57 | 57 | 30.614035 | 0.692142 | 0.025788 | 0 | 0.803922 | 1 | 0 | 0.202591 | 0.013545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019608 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cd6210a9bc53bac1e8c4ddc5759bb75734a7811 | 265 | py | Python | nearpy/filters/sortedfilter.py | MarcCote/NearPy | fbb8dc2f180f5ed37bdf84d2174c90981e33ac1b | [
"MIT"
] | null | null | null | nearpy/filters/sortedfilter.py | MarcCote/NearPy | fbb8dc2f180f5ed37bdf84d2174c90981e33ac1b | [
"MIT"
] | null | null | null | nearpy/filters/sortedfilter.py | MarcCote/NearPy | fbb8dc2f180f5ed37bdf84d2174c90981e33ac1b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
from nearpy.filters.vectorfilter import VectorFilter
class SortedFilter(VectorFilter):
"""
Sorts vectors with respect to distance.
"""
def __call__(self, distances):
return np.argsort(distances)
| 20.384615 | 52 | 0.686792 | 30 | 265 | 5.933333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.207547 | 265 | 12 | 53 | 22.083333 | 0.842857 | 0.233962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
7cef498bde7a64d5450a347adf5ed21e676ff423 | 1,627 | py | Python | pyFaceAlign/normalization.py | elecun/pyface | 47d7d4b6b163492c5c4dfc1ec45b05391dd98a64 | [
"MIT"
] | null | null | null | pyFaceAlign/normalization.py | elecun/pyface | 47d7d4b6b163492c5c4dfc1ec45b05391dd98a64 | [
"MIT"
] | null | null | null | pyFaceAlign/normalization.py | elecun/pyface | 47d7d4b6b163492c5c4dfc1ec45b05391dd98a64 | [
"MIT"
] | null | null | null | #-*- coding : utf-8 -*-
import numpy as np
import abc
from .rmse import rmse
'''
Kabsch algorithm is a method for calculating the optimal rotation matrix
that minimize the RMSD(Root Mean Square Deviation) between two paired set of points.
@ref : https://www.revolvy.com/main/index.php?s=Kabsch%20algorithm&item_type=to... | 27.576271 | 86 | 0.607867 | 204 | 1,627 | 4.79902 | 0.470588 | 0.010215 | 0.042901 | 0.051073 | 0.161389 | 0.161389 | 0.161389 | 0.161389 | 0.161389 | 0.161389 | 0 | 0.021978 | 0.272895 | 1,627 | 58 | 87 | 28.051724 | 0.805579 | 0.344192 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.157895 | 0 | 0.631579 | 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 |
6b02355f17eb5da815840c57d1816c9d86b47f29 | 153 | py | Python | sample/WRS2018/SP-AizuSpiderSS-ROS.py | jun0/choreonoid | 37167e52bfa054088272e1924d2062604104ac08 | [
"MIT"
] | null | null | null | sample/WRS2018/SP-AizuSpiderSS-ROS.py | jun0/choreonoid | 37167e52bfa054088272e1924d2062604104ac08 | [
"MIT"
] | null | null | null | sample/WRS2018/SP-AizuSpiderSS-ROS.py | jun0/choreonoid | 37167e52bfa054088272e1924d2062604104ac08 | [
"MIT"
] | null | null | null | import WRSUtil
WRSUtil.loadProject(
"SingleSceneView", "SP", "AISTSimulator", "AizuSpiderSS",
enableVisionSimulation = True, remoteType = "ROS")
| 30.6 | 61 | 0.732026 | 12 | 153 | 9.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 153 | 4 | 62 | 38.25 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b1d64571401ac4f60df97baa0d1f517e978feea | 147 | py | Python | Semester 1/Quiz/Quiz 1/Quiz 1.1.py | aghussb/Praktikum | f59d5722b2e052e47561eaea0d0ece8cd82764d9 | [
"MIT"
] | null | null | null | Semester 1/Quiz/Quiz 1/Quiz 1.1.py | aghussb/Praktikum | f59d5722b2e052e47561eaea0d0ece8cd82764d9 | [
"MIT"
] | null | null | null | Semester 1/Quiz/Quiz 1/Quiz 1.1.py | aghussb/Praktikum | f59d5722b2e052e47561eaea0d0ece8cd82764d9 | [
"MIT"
] | null | null | null | inputRow = int(input("Masukkan Angka : "))
for x in range(1, inputRow+1):
for y in range(1, x + 1):
print(x * y, end=" ")
print()
| 21 | 42 | 0.537415 | 24 | 147 | 3.291667 | 0.541667 | 0.177215 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.278912 | 147 | 6 | 43 | 24.5 | 0.707547 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b1dc16c568fe16564f387864651e9205346a450 | 155 | py | Python | biostar/__init__.py | genomax/biostar-central | 34b5ca74abe738139ca673883f6d2337169e87f3 | [
"MIT"
] | null | null | null | biostar/__init__.py | genomax/biostar-central | 34b5ca74abe738139ca673883f6d2337169e87f3 | [
"MIT"
] | null | null | null | biostar/__init__.py | genomax/biostar-central | 34b5ca74abe738139ca673883f6d2337169e87f3 | [
"MIT"
] | null | null | null | try:
from .celery import app as celery_app
__all__ = ['celery_app']
except ImportError as exc:
print(f'celery error {exc}')
VERSION = '2.3.5'
| 19.375 | 41 | 0.664516 | 24 | 155 | 4.041667 | 0.708333 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.212903 | 155 | 7 | 42 | 22.142857 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.212903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b2169b27564e8e72225b65a1e3d12ae9304020c | 192 | py | Python | examples/participants_by_order.py | mldzs/pysympla | 7463957ab0cd544d4a66a327e91f0dce8bdfb234 | [
"MIT"
] | 1 | 2020-06-07T18:42:56.000Z | 2020-06-07T18:42:56.000Z | examples/participants_by_order.py | mldzs/pysympla | 7463957ab0cd544d4a66a327e91f0dce8bdfb234 | [
"MIT"
] | null | null | null | examples/participants_by_order.py | mldzs/pysympla | 7463957ab0cd544d4a66a327e91f0dce8bdfb234 | [
"MIT"
] | null | null | null | from pysympla import Sympla
from decouple import config
sympla = Sympla(token=config("TOKEN"))
print(sympla.participants_by_order(event_id=config("EVENT_ID"), order_id=config("ORDER_ID")))
| 24 | 93 | 0.791667 | 28 | 192 | 5.214286 | 0.464286 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 192 | 7 | 94 | 27.428571 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 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 |
6b333f38925998a730ea307b4ff63ccfd2174a98 | 4,023 | py | Python | libnd4j/include/graph/generated/nd4j/graph/FlatVariable.py | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 1 | 2019-08-13T07:46:55.000Z | 2019-08-13T07:46:55.000Z | libnd4j/include/graph/generated/nd4j/graph/FlatVariable.py | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/graph/generated/nd4j/graph/FlatVariable.py | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 1 | 2020-12-13T22:26:47.000Z | 2020-12-13T22:26:47.000Z | ################################################################################
# Copyright (c) 2015-2018 Skymind, Inc.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless... | 39.058252 | 144 | 0.66095 | 477 | 4,023 | 5.461216 | 0.308176 | 0.059117 | 0.126679 | 0.161228 | 0.387716 | 0.357006 | 0.27025 | 0.241075 | 0.241075 | 0.241075 | 0 | 0.0175 | 0.204574 | 4,023 | 102 | 145 | 39.441176 | 0.796563 | 0.185931 | 0 | 0.349206 | 0 | 0 | 0.001294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269841 | false | 0 | 0.047619 | 0.031746 | 0.587302 | 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 |
6b46e0b26bb83af16e3f479dfbb5fdf67f4ca975 | 1,227 | py | Python | rewards_engine/scheme_app/migrations/0001_initial.py | TheArijitSaha/Flexible-Rewards-Engine | fd536cbbbf197e6ce0c4ba1fd6036c04a53110e3 | [
"MIT"
] | null | null | null | rewards_engine/scheme_app/migrations/0001_initial.py | TheArijitSaha/Flexible-Rewards-Engine | fd536cbbbf197e6ce0c4ba1fd6036c04a53110e3 | [
"MIT"
] | null | null | null | rewards_engine/scheme_app/migrations/0001_initial.py | TheArijitSaha/Flexible-Rewards-Engine | fd536cbbbf197e6ce0c4ba1fd6036c04a53110e3 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-08-27 17:45
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Scheme',
fields=[
('id', mo... | 37.181818 | 114 | 0.591687 | 122 | 1,227 | 5.827869 | 0.54918 | 0.078762 | 0.21097 | 0.219409 | 0.109705 | 0.109705 | 0 | 0 | 0 | 0 | 0 | 0.03132 | 0.271394 | 1,227 | 32 | 115 | 38.34375 | 0.763982 | 0.036675 | 0 | 0 | 1 | 0 | 0.111864 | 0.021186 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b4cc90fae4fbcdf53983da00d53788a002a3bf8 | 137,451 | py | Python | venv/lib/python3.6/site-packages/phonenumbers/tzdata/data0.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/phonenumbers/tzdata/data0.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/phonenumbers/tzdata/data0.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | null | null | null | """Per-prefix data, mapping each prefix to a name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2019 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may ob... | 34.587569 | 842 | 0.643 | 14,532 | 137,451 | 5.952587 | 0.299271 | 0.10832 | 0.16248 | 0.030265 | 0.063582 | 0.021965 | 0 | 0 | 0 | 0 | 0 | 0.192177 | 0.060873 | 137,451 | 3,973 | 843 | 34.596275 | 0.477952 | 0.004809 | 0 | 0 | 1 | 0 | 0.673622 | 0.001981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000253 | 0 | 0.000253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8608b0505abfc599b63a0e7add84dba5278ce3b8 | 2,715 | py | Python | engine/value_base.py | ludius0/mercury_engine | 539f4940b6d97c9571b7f2f3a23c4db5b9d80889 | [
"MIT"
] | null | null | null | engine/value_base.py | ludius0/mercury_engine | 539f4940b6d97c9571b7f2f3a23c4db5b9d80889 | [
"MIT"
] | null | null | null | engine/value_base.py | ludius0/mercury_engine | 539f4940b6d97c9571b7f2f3a23c4db5b9d80889 | [
"MIT"
] | null | null | null | # libs
from numbers import Complex
class Value:
"""
Numercial class perfoming mathematical operations and saving parental history
for computing gradient of derivation.
Example:
>>> a = Value(-2)
>>> b = Value(3)
>>> c = a * 2 + (a**3).relu() - Value(2).add(b.exp()) + 1
>>> c
>>> 23... | 29.51087 | 114 | 0.559116 | 338 | 2,715 | 4.257396 | 0.328402 | 0.068798 | 0.093815 | 0.092425 | 0.177901 | 0.083391 | 0.083391 | 0 | 0 | 0 | 0 | 0.016575 | 0.333333 | 2,715 | 92 | 115 | 29.51087 | 0.778453 | 0.15175 | 0 | 0 | 0 | 0 | 0.020854 | 0.011917 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.296296 | false | 0 | 0.018519 | 0.222222 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
860d148df3778272484bf598cacf92126f7a5688 | 1,121 | py | Python | src/solutions/part1/q349_intersect_2_arrays.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part1/q349_intersect_2_arrays.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part1/q349_intersect_2_arrays.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | from src.base.solution import Solution
from src.tests.part1.q349_test_intersect_2_arrays import Intersect2ArraysTestCases
class Intersect2Arrays(Solution):
def print_output(self, output):
super(Intersect2Arrays, self).print_output(output)
def run_test(self, input):
return self.intersection(inp... | 22.877551 | 82 | 0.592328 | 127 | 1,121 | 5.062992 | 0.401575 | 0.032659 | 0.034215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033248 | 0.302409 | 1,121 | 49 | 83 | 22.877551 | 0.789003 | 0.0562 | 0 | 0 | 0 | 0 | 0.009217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.130435 | 0.521739 | 0.086957 | 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 |
86192db9e1867d3b7f8e68c6779c185867893ca7 | 2,995 | py | Python | bokeh/core/validation/issue.py | Suicoleiro/bokeh | a212acdf091a7a4df639fa9d443be6ade0018039 | [
"BSD-3-Clause"
] | 15,193 | 2015-01-01T05:11:45.000Z | 2022-03-31T19:30:20.000Z | bokeh/core/validation/issue.py | Suicoleiro/bokeh | a212acdf091a7a4df639fa9d443be6ade0018039 | [
"BSD-3-Clause"
] | 9,554 | 2015-01-01T03:16:54.000Z | 2022-03-31T22:59:39.000Z | bokeh/core/validation/issue.py | Suicoleiro/bokeh | a212acdf091a7a4df639fa9d443be6ade0018039 | [
"BSD-3-Clause"
] | 4,829 | 2015-01-02T03:35:32.000Z | 2022-03-30T16:40:26.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2021, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 30.876289 | 78 | 0.384975 | 227 | 2,995 | 4.823789 | 0.317181 | 0.051142 | 0.054795 | 0.069406 | 0.478539 | 0.36895 | 0.272146 | 0.272146 | 0.272146 | 0.272146 | 0 | 0.003069 | 0.129549 | 2,995 | 96 | 79 | 31.197917 | 0.416954 | 0.509516 | 0 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186047 | false | 0 | 0.093023 | 0.139535 | 0.651163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
86371a2e3af7c039956c05973f275a55d97e8f1a | 296 | py | Python | guet/commands/init/_create_hooks_alongside.py | AbhishekMashetty/pairprogrammingmasetty | 0528d4999b472ec6d94058193275a505eaf2c762 | [
"Apache-2.0"
] | 13 | 2018-12-21T22:47:28.000Z | 2021-12-17T14:27:35.000Z | guet/commands/init/_create_hooks_alongside.py | chiptopher/guet | 1099ee623311ba1d052237612efc9b06b7ff68bb | [
"Apache-2.0"
] | 63 | 2018-08-30T11:19:12.000Z | 2021-05-13T12:11:08.000Z | guet/commands/init/_create_hooks_alongside.py | chiptopher/guet | 1099ee623311ba1d052237612efc9b06b7ff68bb | [
"Apache-2.0"
] | 7 | 2019-05-21T13:52:37.000Z | 2022-01-30T22:57:21.000Z | from typing import List
from guet.git import Git
from guet.steps.action import Action
class CreateHooksAlongside(Action):
def __init__(self, git: Git):
super().__init__()
self.git = git
def execute(self, args: List[str]):
self.git.create_hooks(alongside=True)
| 21.142857 | 45 | 0.685811 | 40 | 296 | 4.85 | 0.525 | 0.108247 | 0.113402 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212838 | 296 | 13 | 46 | 22.769231 | 0.832618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8641ae2dde80b03c41c733b5894d3ac83f9dcad6 | 262 | py | Python | pages/views.py | Mucahit77/Zpanel | bb23e54a0bbae89139e0a231462f78af0fad9a42 | [
"Apache-2.0"
] | null | null | null | pages/views.py | Mucahit77/Zpanel | bb23e54a0bbae89139e0a231462f78af0fad9a42 | [
"Apache-2.0"
] | null | null | null | pages/views.py | Mucahit77/Zpanel | bb23e54a0bbae89139e0a231462f78af0fad9a42 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.contrib.auth.decorators import login_required
# Create your views here.
@login_required(login_url='login')
def index(request):
return render(request, 'pages/index.html')
| 23.818182 | 57 | 0.79771 | 36 | 262 | 5.722222 | 0.638889 | 0.145631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 262 | 10 | 58 | 26.2 | 0.887931 | 0.087786 | 0 | 0 | 0 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
8647aafdc3a1541ab55435ce8933f191248a7a5e | 856 | py | Python | accounts/management/commands/update_authority_and_area.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 3 | 2020-04-26T06:28:50.000Z | 2021-04-05T08:02:26.000Z | accounts/management/commands/update_authority_and_area.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 10 | 2020-06-05T17:36:10.000Z | 2022-03-11T23:16:42.000Z | accounts/management/commands/update_authority_and_area.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 5 | 2021-04-08T08:43:49.000Z | 2021-11-27T06:36:46.000Z | # -*- encoding: utf-8 -*-
from django.conf import settings
from django.core.management.base import BaseCommand, CommandError
from accounts.models import Authority
from common.functions import get_data_from_csv
from reports.models import AdministrationArea
class Command(BaseCommand):
args = 'file_path.csv domain_... | 29.517241 | 75 | 0.676402 | 106 | 856 | 5.330189 | 0.5 | 0.113274 | 0.074336 | 0.084956 | 0.102655 | 0.102655 | 0 | 0 | 0 | 0 | 0 | 0.002994 | 0.219626 | 856 | 28 | 76 | 30.571429 | 0.842814 | 0.03972 | 0 | 0 | 0 | 0 | 0.152625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.333333 | 0 | 0.555556 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
865255cd6ffd092bdad808369d8cdc62a04f7896 | 1,677 | py | Python | ckan_cloud_operator/routers/routes/manager.py | amercader/ckan-cloud-operator | 59ef17bb2bae2abbe90b0da6b89e48f430c3638f | [
"MIT"
] | null | null | null | ckan_cloud_operator/routers/routes/manager.py | amercader/ckan-cloud-operator | 59ef17bb2bae2abbe90b0da6b89e48f430c3638f | [
"MIT"
] | null | null | null | ckan_cloud_operator/routers/routes/manager.py | amercader/ckan-cloud-operator | 59ef17bb2bae2abbe90b0da6b89e48f430c3638f | [
"MIT"
] | null | null | null | from ckan_cloud_operator.routers.routes import deis_instance_subdomain
from ckan_cloud_operator.routers.routes import datapusher_subdomain
from ckan_cloud_operator.routers.routes import backend_url_subdomain
from ckan_cloud_operator import kubectl
from ckan_cloud_operator import logs
def get_module(route):
route_... | 29.946429 | 89 | 0.74836 | 216 | 1,677 | 5.5 | 0.263889 | 0.045455 | 0.070707 | 0.088384 | 0.263468 | 0.1633 | 0.116162 | 0.082492 | 0 | 0 | 0 | 0 | 0.163983 | 1,677 | 55 | 90 | 30.490909 | 0.847361 | 0 | 0 | 0 | 0 | 0 | 0.10316 | 0.026237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205128 | false | 0 | 0.128205 | 0.102564 | 0.512821 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
867295be6a629e5d586f1df19c488714065a87ef | 306 | py | Python | identity/ecrfs/setup/projects/__init__.py | LCBRU/identity | e8bec964aca9595091bf891bbe41632ce54afd3f | [
"MIT"
] | null | null | null | identity/ecrfs/setup/projects/__init__.py | LCBRU/identity | e8bec964aca9595091bf891bbe41632ce54afd3f | [
"MIT"
] | null | null | null | identity/ecrfs/setup/projects/__init__.py | LCBRU/identity | e8bec964aca9595091bf891bbe41632ce54afd3f | [
"MIT"
] | null | null | null | from importlib import import_module
from os.path import dirname, basename, isfile, join
import glob
modules = glob.glob(join(dirname(__file__), "*.py"))
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]
for a in __all__:
import_module(f'.{a}', __package__)
| 34 | 93 | 0.72549 | 48 | 306 | 4.166667 | 0.541667 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.133987 | 306 | 8 | 94 | 38.25 | 0.750943 | 0 | 0 | 0 | 0 | 0 | 0.062092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
8678294d34526700eac2babb29c98d530908eb9a | 724 | py | Python | phonebook/models.py | shuckc/django-phonebook | caf25dfda184b4f974f201bca9733cbc6e0770e7 | [
"MIT"
] | 4 | 2018-01-16T19:23:28.000Z | 2021-07-14T16:30:59.000Z | phonebook/models.py | shuckc/django-sip-phonebook | caf25dfda184b4f974f201bca9733cbc6e0770e7 | [
"MIT"
] | null | null | null | phonebook/models.py | shuckc/django-sip-phonebook | caf25dfda184b4f974f201bca9733cbc6e0770e7 | [
"MIT"
] | null | null | null | from django.db import models
class Group(models.Model):
name = models.CharField(max_length=10)
index = models.PositiveSmallIntegerField(unique=True)
def __str__(self):
return "{0}".format(self.name)
class Contact(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_len... | 30.166667 | 82 | 0.756906 | 100 | 724 | 5.27 | 0.46 | 0.142315 | 0.170778 | 0.227704 | 0.371917 | 0.254269 | 0.136622 | 0 | 0 | 0 | 0 | 0.02648 | 0.11326 | 724 | 23 | 83 | 31.478261 | 0.794393 | 0 | 0 | 0.111111 | 0 | 0 | 0.100829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0.111111 | 0.833333 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
86857b5df118dbcaabe3a4106c9134d71ded6aca | 4,868 | py | Python | app/dingding.py | xlaoshu/binance-quantization | 9de15f09b5b440314073b57b23b572546e892eee | [
"MIT"
] | null | null | null | app/dingding.py | xlaoshu/binance-quantization | 9de15f09b5b440314073b57b23b572546e892eee | [
"MIT"
] | null | null | null | app/dingding.py | xlaoshu/binance-quantization | 9de15f09b5b440314073b57b23b572546e892eee | [
"MIT"
] | null | null | null | # author-wechat:findpanpan
import requests, json
# windows
# from app.authorization import dingding_token, recv_window,api_secret,api_key
# from app.BinanceAPI import BinanceAPI
# linux
from app.BinanceAPI import BinanceAPI
from app.authorization import dingding_token, recv_window, api_secret, api_key
class Message... | 39.901639 | 127 | 0.502465 | 477 | 4,868 | 4.947589 | 0.226415 | 0.026695 | 0.030508 | 0.057627 | 0.765254 | 0.734746 | 0.709322 | 0.649153 | 0.610169 | 0.610169 | 0 | 0.003055 | 0.394823 | 4,868 | 121 | 128 | 40.231405 | 0.798031 | 0.094084 | 0 | 0.394737 | 0 | 0 | 0.138829 | 0.097969 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.039474 | 0 | 0.236842 | 0.013158 | 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 |
869102018dbf014cd2b61a9f4e8bb9918af43165 | 16,510 | py | Python | pysnmp/Nortel-MsCarrier-MscPassport-SourceRouteEndStationMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Nortel-MsCarrier-MscPassport-SourceRouteEndStationMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Nortel-MsCarrier-MscPassport-SourceRouteEndStationMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-SourceRouteEndStationMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-SourceRouteEndStationMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:21:56 2019
# On host DAVWANG4-M-1475 platform Darwin v... | 150.090909 | 2,616 | 0.77765 | 1,742 | 16,510 | 7.370264 | 0.114811 | 0.009191 | 0.011917 | 0.015889 | 0.462809 | 0.381805 | 0.358439 | 0.353221 | 0.353221 | 0.336397 | 0 | 0.084878 | 0.07874 | 16,510 | 109 | 2,617 | 151.46789 | 0.759237 | 0.024228 | 0 | 0 | 0 | 0 | 0.175331 | 0.088131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.127451 | 0.098039 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86942fe953b022577c22abdb64f97c4d037b75b6 | 836 | py | Python | prettyqt/widgets/graphicspolygonitem.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 7 | 2019-05-01T01:34:36.000Z | 2022-03-08T02:24:14.000Z | prettyqt/widgets/graphicspolygonitem.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 141 | 2019-04-16T11:22:01.000Z | 2021-04-14T15:12:36.000Z | prettyqt/widgets/graphicspolygonitem.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 5 | 2019-04-17T11:48:19.000Z | 2021-11-21T10:30:19.000Z | from __future__ import annotations
from prettyqt import constants, gui, widgets
from prettyqt.qt import QtWidgets
from prettyqt.utils import InvalidParamError
QtWidgets.QGraphicsPolygonItem.__bases__ = (widgets.AbstractGraphicsShapeItem,)
class GraphicsPolygonItem(QtWidgets.QGraphicsPolygonItem):
def serialize... | 33.44 | 79 | 0.759569 | 97 | 836 | 6.319588 | 0.381443 | 0.104405 | 0.078303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154306 | 836 | 24 | 80 | 34.833333 | 0.867044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.1875 | 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 |
86960ba240fefb25d528315af57db61c1f2a8419 | 52 | py | Python | postgres/__init__.py | aino/django-contrib-postgres | d99ba9363aaf17c33bf367367a845962adf942e3 | [
"BSD-3-Clause"
] | 2 | 2016-01-20T01:11:52.000Z | 2016-09-26T13:32:07.000Z | postgres/__init__.py | sorl/django-contrib-postgres | d99ba9363aaf17c33bf367367a845962adf942e3 | [
"BSD-3-Clause"
] | null | null | null | postgres/__init__.py | sorl/django-contrib-postgres | d99ba9363aaf17c33bf367367a845962adf942e3 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'postgres.apps.PostgresConfig'
| 26 | 51 | 0.846154 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
869afeec57d91b953386d0446bce631e1f1c00cf | 450 | py | Python | coursebuilder/migrations/0007_auto_20191025_0314.py | gcallah/CourseBuilder | 68f3d175aba43e62b20e6c1c4c6a604601c2c60a | [
"Apache-2.0"
] | 2 | 2019-10-07T23:03:54.000Z | 2019-10-15T23:18:08.000Z | coursebuilder/migrations/0007_auto_20191025_0314.py | gcallah/CourseBuilder | 68f3d175aba43e62b20e6c1c4c6a604601c2c60a | [
"Apache-2.0"
] | 3 | 2019-12-11T15:49:38.000Z | 2021-06-10T22:04:41.000Z | coursebuilder/migrations/0007_auto_20191025_0314.py | gcallah/CourseBuilder | 68f3d175aba43e62b20e6c1c4c6a604601c2c60a | [
"Apache-2.0"
] | 1 | 2019-12-02T06:08:11.000Z | 2019-12-02T06:08:11.000Z | # Generated by Django 2.1.2 on 2019-10-25 03:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("coursebuilder", "0006_auto_20191018_1959")]
operations = [
migrations.AlterModelOptions(
name="extras", options={"verbose_name_plural": "Quizes"}
... | 25 | 68 | 0.642222 | 46 | 450 | 6.130435 | 0.695652 | 0.191489 | 0.219858 | 0.170213 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089855 | 0.233333 | 450 | 17 | 69 | 26.470588 | 0.727536 | 0.1 | 0 | 0.363636 | 1 | 0 | 0.238213 | 0.057072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86ac747d47f71620f609a1a449249a2a4db1a538 | 1,257 | py | Python | pyacyclicnet/cli/requests/server.py | GabeCordo/acyclic-network-venezia | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | null | null | null | pyacyclicnet/cli/requests/server.py | GabeCordo/acyclic-network-venezia | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | 3 | 2021-05-21T00:20:55.000Z | 2021-05-21T13:52:21.000Z | pyacyclicnet/cli/requests/server.py | GabeCordo/py-acyclic-network | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | null | null | null | #####################################
# cli Imports
#####################################
from pyacyclicnet.utils import fileHandler
#####################################
# Server-Side Requests
#####################################
def lookupIndex(id_user):
'''
(string) -> (string)
:format the data into a ... | 24.647059 | 65 | 0.559268 | 148 | 1,257 | 4.682432 | 0.277027 | 0.051948 | 0.103896 | 0.121212 | 0.623377 | 0.548341 | 0.548341 | 0.548341 | 0.548341 | 0.548341 | 0 | 0.008138 | 0.217979 | 1,257 | 51 | 66 | 24.647059 | 0.696846 | 0.889419 | 0 | 0 | 0 | 0 | 0.228477 | 0.155629 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
86ad447f2c027219f3c01a51f0b5926c5e5d441e | 270 | py | Python | hybrid_cloud_patches/3rd_lib/python/pyvcloud-11/pyvcloud/helper/CommonUtils.py | Hybrid-Cloud/badam | 390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb | [
"Apache-2.0"
] | 2 | 2015-06-15T02:16:33.000Z | 2022-02-23T07:10:38.000Z | hybrid_cloud_patches/3rd_lib/python/pyvcloud-11/pyvcloud/helper/CommonUtils.py | Hybrid-Cloud/badam | 390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb | [
"Apache-2.0"
] | 7 | 2016-05-13T06:39:45.000Z | 2016-05-20T02:55:31.000Z | hybrid_cloud_patches/3rd_lib/python/pyvcloud-11/pyvcloud/helper/CommonUtils.py | Hybrid-Cloud/badam | 390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb | [
"Apache-2.0"
] | 4 | 2015-11-02T04:02:50.000Z | 2021-05-13T17:06:00.000Z | from StringIO import StringIO
def convertPythonObjToStr(obj, name, namespace = '', namespacedef= ''):
result = StringIO()
obj.export(result, 0, name_ = name, namespace_ = namespace, namespacedef_ = namespacedef ,pretty_print=False)
return result.getvalue()
| 38.571429 | 113 | 0.733333 | 28 | 270 | 6.928571 | 0.607143 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.155556 | 270 | 6 | 114 | 45 | 0.846491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
86b8547fcd2606637ded8af140b09f9f7a5218a2 | 237 | py | Python | sample_app/tests/test_bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/tests/test_bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/tests/test_bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | import unittest
import requests
from foo.bar1 import sample
class Bar1Test(unittest.TestCase):
def test_sample(self):
value = sample()
self.assertEqual(value, 1.0)
if __name__ == "__main__":
unittest.main()
| 14.8125 | 36 | 0.679325 | 29 | 237 | 5.241379 | 0.689655 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.219409 | 237 | 15 | 37 | 15.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.033755 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
86e3cc3acdb38cfc2ce6b4363cb724b59fd4d472 | 882 | py | Python | FFT/settings/settings.gen.intel.fft1d_float_8.svm.py | beiwang2003/HPCC_FPGA | 9430e49f0bb9da11335eca87e54579a694f5ecba | [
"MIT"
] | 15 | 2020-11-14T18:33:41.000Z | 2022-03-19T12:57:35.000Z | FFT/settings/settings.gen.intel.fft1d_float_8.svm.py | beiwang2003/HPCC_FPGA | 9430e49f0bb9da11335eca87e54579a694f5ecba | [
"MIT"
] | 7 | 2020-07-01T20:05:51.000Z | 2021-06-30T11:14:51.000Z | FFT/settings/settings.gen.intel.fft1d_float_8.svm.py | beiwang2003/HPCC_FPGA | 9430e49f0bb9da11335eca87e54579a694f5ecba | [
"MIT"
] | 7 | 2021-02-23T17:54:18.000Z | 2022-03-04T06:19:40.000Z |
def generate_attributes(num_replications, num_global_memory_banks=32):
"""
Generates the kernel attributes for the global memory. They specify in which
global memory the buffer is located. The buffers will be placed using a
round robin scheme using the available global memory banks and the number of
... | 58.8 | 151 | 0.741497 | 124 | 882 | 5.104839 | 0.483871 | 0.132701 | 0.107425 | 0.063191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002786 | 0.185941 | 882 | 15 | 151 | 58.8 | 0.87883 | 0.69161 | 0 | 0 | 1 | 0 | 0.328947 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
86eb49bc563564b6433084dc9a5d24d65d3a26d3 | 541,204 | py | Python | hapi/hapi.py | michaelaye/hapi | 203be434e9ec0b9a2d8b183770149a45d7c96f8b | [
"BSD-3-Clause"
] | null | null | null | hapi/hapi.py | michaelaye/hapi | 203be434e9ec0b9a2d8b183770149a45d7c96f8b | [
"BSD-3-Clause"
] | null | null | null | hapi/hapi.py | michaelaye/hapi | 203be434e9ec0b9a2d8b183770149a45d7c96f8b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
'''
This module provides an access to HITRAN data.
Data is downloaded and cached.
This module serves as a simple database manager frontend.
API is aimed to be RESTful, which means that interaction
between local API and remote data-server will be held
via sending RESTful queries (API->remote)... | 49.222738 | 203 | 0.581862 | 84,469 | 541,204 | 3.679243 | 0.198309 | 0.029847 | 0.005541 | 0.005599 | 0.31776 | 0.283192 | 0.269034 | 0.257007 | 0.250269 | 0.244438 | 0 | 0.347682 | 0.237471 | 541,204 | 10,995 | 204 | 49.222738 | 0.405366 | 0.159276 | 0 | 0.248879 | 0 | 0.000309 | 0.039937 | 0.004333 | 0.000309 | 0 | 0 | 0.000728 | 0 | 0 | null | null | 0.004638 | 0.002783 | null | null | 0.028134 | 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 |
86fc5a1f8b2f5d2a270b3006dfbfe7760ba183e1 | 600 | bzl | Python | source/bazel/deps/AudioFile/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/bazel/deps/AudioFile/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/bazel/deps/AudioFile/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def audioFile():
http_archive(
name="AudioFile" ,
build_file="//bazel/deps/AudioFile:build.BUILD" ,
sha256="aa893a... | 35.294118 | 107 | 0.716667 | 56 | 600 | 7.553571 | 0.732143 | 0.052009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199195 | 0.171667 | 600 | 16 | 108 | 37.5 | 0.651911 | 0.168333 | 0 | 0 | 1 | 0 | 0.614919 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0 | 0 | 0.090909 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86ffe2c848fdb643bbc713fa4b1f2a4fadc02227 | 392 | py | Python | hhs_hosp/delphi_hhs/__main__.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | 8 | 2020-10-12T04:27:04.000Z | 2022-03-08T16:56:57.000Z | hhs_hosp/delphi_hhs/__main__.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | 666 | 2020-09-30T21:18:41.000Z | 2022-03-31T22:37:12.000Z | hhs_hosp/delphi_hhs/__main__.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | 13 | 2020-10-01T14:25:06.000Z | 2022-02-12T08:31:19.000Z | # -*- coding: utf-8 -*-
"""Call the function run_module when executed.
This file indicates that calling the module (`python -m delphi_hhs`) will
call the function `run_module` found within the run.py file. There should be
no need to change this template.
"""
from delphi_utils import read_params
from .run import run_mo... | 32.666667 | 76 | 0.752551 | 63 | 392 | 4.555556 | 0.603175 | 0.125436 | 0.10453 | 0.125436 | 0.167247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00303 | 0.158163 | 392 | 11 | 77 | 35.636364 | 0.866667 | 0.727041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
810978a17f6c3bf46c708094023dd2f05be36d5d | 1,077 | py | Python | test/test_job_fields_report.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | 5 | 2018-03-27T08:20:13.000Z | 2022-03-30T06:23:38.000Z | test/test_job_fields_report.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | null | null | null | test/test_job_fields_report.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | 2 | 2018-12-05T04:48:37.000Z | 2020-12-17T12:12:12.000Z | # coding: utf-8
"""
Unofficial python library for the SmartRecruiters API
The SmartRecruiters API provides a platform to integrate services or applications, build apps and create fully customizable career sites. It exposes SmartRecruiters functionality and allows to connect and build software enhancing it.
... | 25.046512 | 237 | 0.752089 | 123 | 1,077 | 6.382114 | 0.609756 | 0.107006 | 0.13758 | 0.078981 | 0.122293 | 0.122293 | 0.122293 | 0 | 0 | 0 | 0 | 0.002286 | 0.187558 | 1,077 | 42 | 238 | 25.642857 | 0.894857 | 0.41597 | 0 | 0.125 | 0 | 0 | 0.013986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0.125 | 0.4375 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
81312d596a4cfcb059187ce3abf59802af81ab0d | 170 | py | Python | coding_intereview/215. Kth Largest Element in an Array.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | 2 | 2020-10-03T16:38:10.000Z | 2021-06-03T11:01:59.000Z | coding_intereview/215. Kth Largest Element in an Array.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | null | null | null | coding_intereview/215. Kth Largest Element in an Array.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | 1 | 2020-10-03T16:38:02.000Z | 2020-10-03T16:38:02.000Z | from typing import List
class Solution:
def findKthLargest(self, nums: List[int], k: int) -> int:
nums.sort()
num = nums[::-1]
return num[k-1] | 28.333333 | 61 | 0.582353 | 24 | 170 | 4.125 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.276471 | 170 | 6 | 62 | 28.333333 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
813de845a33373b03878a718a416315fc6605f8d | 531 | py | Python | modoboa/core/tests/stupid_extension_1/modo_extension.py | HarshCasper/modoboa | a00baa0593107992f545ee3e89cd4346b9615a96 | [
"0BSD"
] | 1,602 | 2016-12-15T14:25:34.000Z | 2022-03-31T16:49:25.000Z | modoboa/core/tests/stupid_extension_1/modo_extension.py | sebageek/modoboa | 57f5d57ea60a57e8dcac970085dfc07082481fc6 | [
"0BSD"
] | 1,290 | 2016-12-14T15:39:05.000Z | 2022-03-31T13:49:09.000Z | modoboa/core/tests/stupid_extension_1/modo_extension.py | sebageek/modoboa | 57f5d57ea60a57e8dcac970085dfc07082481fc6 | [
"0BSD"
] | 272 | 2016-12-22T11:58:18.000Z | 2022-03-17T15:57:24.000Z | """A stupid extension used for tests."""
from modoboa.core import extensions
class StupidExtension1(extensions.ModoExtension):
"""Stupid extension to use with tests."""
name = "stupid_extension_1"
label = "Stupid extension"
version = "1.0.0"
description = "A stupid extension"
def load(self)... | 22.125 | 57 | 0.706215 | 62 | 531 | 5.935484 | 0.580645 | 0.203804 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016432 | 0.19774 | 531 | 23 | 58 | 23.086957 | 0.847418 | 0.131827 | 0 | 0 | 0 | 0 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.166667 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d4befe61fbfb2ade586ccbb09fc4820350d9aa99 | 535 | py | Python | JumpscaleLib/sal_zos/influxdb/influxdbFactory.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | null | null | null | JumpscaleLib/sal_zos/influxdb/influxdbFactory.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | 220 | 2018-07-29T08:37:17.000Z | 2019-08-05T15:01:27.000Z | JumpscaleLib/sal_zos/influxdb/influxdbFactory.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | 1 | 2018-08-20T09:16:08.000Z | 2018-08-20T09:16:08.000Z | from .influxdb import InfluxDB
from jumpscale import j
# import JumpscaleLib.baselib.remote
JSBASE = j.application.jsbase_get_class()
class InfluxDBFactory(JSBASE):
def __init__(self):
self.__jslocation__ = "j.zos_sal.influx"
JSBASE.__init__(self)
def get(self, container, ip, port, rpcport)... | 21.4 | 53 | 0.628037 | 59 | 535 | 5.440678 | 0.508475 | 0.102804 | 0.140187 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284112 | 535 | 24 | 54 | 22.291667 | 0.83812 | 0.242991 | 0 | 0 | 0 | 0 | 0.045845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 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 |
d4c9ab148a3b55e0bfb4a3570001a1d1477ed231 | 77 | py | Python | t.py | lucascbarbosa/DiceAI | f3e5ea2ee39fd6ffe8a7b40f303906e81e86862b | [
"MIT"
] | null | null | null | t.py | lucascbarbosa/DiceAI | f3e5ea2ee39fd6ffe8a7b40f303906e81e86862b | [
"MIT"
] | null | null | null | t.py | lucascbarbosa/DiceAI | f3e5ea2ee39fd6ffe8a7b40f303906e81e86862b | [
"MIT"
] | null | null | null | l = [1,2,3]
def oi(x):
return x == 2
a= list(filter(oi,l))
print(a) | 11 | 21 | 0.493506 | 17 | 77 | 2.235294 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.272727 | 77 | 7 | 22 | 11 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d4e6b80e896573f691281b253cc236aff95b81a9 | 71 | py | Python | python/testData/completion/predefinedMethodNot.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/predefinedMethodNot.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/predefinedMethodNot.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | # no completion must happen here
class Foo:
def bar(self):
__rxo
| 14.2 | 32 | 0.690141 | 11 | 71 | 4.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 71 | 4 | 33 | 17.75 | 0.87037 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4eeb09df9a6691a5c68c7181b140b96e80ce169 | 24 | py | Python | kmeans.py | armandobs14/captchalattes | fca0712f25446a5fdec2bd7c0686e1a1bf675d68 | [
"Apache-2.0"
] | 1 | 2016-02-28T22:55:11.000Z | 2016-02-28T22:55:11.000Z | kmeans.py | armandobs14/captchalattes | fca0712f25446a5fdec2bd7c0686e1a1bf675d68 | [
"Apache-2.0"
] | null | null | null | kmeans.py | armandobs14/captchalattes | fca0712f25446a5fdec2bd7c0686e1a1bf675d68 | [
"Apache-2.0"
] | null | null | null | __author__ = 'armando'
| 8 | 22 | 0.708333 | 2 | 24 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 2 | 23 | 12 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 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 |
d4fe591a40c41e97797f3e5143b2bf9dcb99e674 | 356 | py | Python | sympy/printing/pretty/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/printing/pretty/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/printing/pretty/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | """ASCII-ART 2D pretty-printer"""
from .pretty import (pretty, pretty_print, pprint, pprint_use_unicode,
pprint_try_use_unicode, pager_print)
# if unicode output is available -- let's use it
pprint_try_use_unicode()
__all__ = [
'pretty', 'pretty_print', 'pprint', 'pprint_use_unicode',
'pprint_t... | 27.384615 | 71 | 0.710674 | 48 | 356 | 4.833333 | 0.4375 | 0.215517 | 0.155172 | 0.24569 | 0.586207 | 0.586207 | 0.586207 | 0.586207 | 0.586207 | 0.586207 | 0 | 0.003378 | 0.168539 | 356 | 12 | 72 | 29.666667 | 0.780405 | 0.210674 | 0 | 0 | 0 | 0 | 0.285171 | 0.08365 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
077ea8f013159742c0e6a455b0feb8e74abb1293 | 4,193 | py | Python | mamba/loader.py | quiqueporta/mamba | 78da82be07e196d6c8f9c751e17e49ea23d39dcb | [
"MIT"
] | null | null | null | mamba/loader.py | quiqueporta/mamba | 78da82be07e196d6c8f9c751e17e49ea23d39dcb | [
"MIT"
] | null | null | null | mamba/loader.py | quiqueporta/mamba | 78da82be07e196d6c8f9c751e17e49ea23d39dcb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import inspect
import types
from mamba.example_group import ExampleGroup, PendingExampleGroup
from mamba.example import Example, PendingExample
from mamba.infrastructure import is_python3
class Loader(object):
def load_examples_from(self, module):
loaded = []
example_grou... | 44.136842 | 141 | 0.732411 | 511 | 4,193 | 5.551859 | 0.133072 | 0.169193 | 0.059922 | 0.031019 | 0.364822 | 0.268946 | 0.220303 | 0.151216 | 0.086711 | 0.055693 | 0 | 0.001173 | 0.186501 | 4,193 | 94 | 142 | 44.606383 | 0.830548 | 0.005008 | 0 | 0.044776 | 0 | 0 | 0.01775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253731 | false | 0 | 0.074627 | 0.149254 | 0.537313 | 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 |
078011ca4590be1edc92ee0a5849da322d80acae | 169 | py | Python | profile/freeze.py | Jroc561/profile | a3084f359f741e37421cbf403f6a5520dd0874f6 | [
"MIT"
] | null | null | null | profile/freeze.py | Jroc561/profile | a3084f359f741e37421cbf403f6a5520dd0874f6 | [
"MIT"
] | null | null | null | profile/freeze.py | Jroc561/profile | a3084f359f741e37421cbf403f6a5520dd0874f6 | [
"MIT"
] | null | null | null | from flask_frozen import Freezer
from app import app
app.config['FREEZER_RELATIVE_URLS'] = True
freezer = Freezer(app)
if __name__ == '__main__':
freezer.freeze() | 18.777778 | 42 | 0.751479 | 23 | 169 | 5.043478 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 169 | 9 | 43 | 18.777778 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.170588 | 0.123529 | 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 |
0783b8b404897f30154d4f480d2e257871eaf3dd | 231 | py | Python | model_zoo/models/imagenet/runme.py | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | model_zoo/models/imagenet/runme.py | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | model_zoo/models/imagenet/runme.py | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import sys
sys.path.insert(0, '../python')
import common
common.build_and_submit_slurm_script(
'model_imagenet.prototext',
'data_reader_imagenet.prototext',
'../../optimizers/opt_adagrad.prototext' )
| 21 | 45 | 0.735931 | 29 | 231 | 5.586207 | 0.758621 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.108225 | 231 | 10 | 46 | 23.1 | 0.781553 | 0.069264 | 0 | 0 | 0 | 0 | 0.471963 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0784d3fdb76ef1f8608ca77d4e8c782880033085 | 1,488 | py | Python | Autocoders/src/generators/visitors/ImplHVisitor.py | lydiaxing/fprime | f6b3e03f89e9aca1614243c9896d4a72aa0cc726 | [
"Apache-2.0"
] | 2 | 2020-09-08T05:39:05.000Z | 2021-05-04T14:58:51.000Z | Autocoders/src/generators/visitors/ImplHVisitor.py | JPLOpenSource/fprime-sw-Rel1.0 | 18364596c24fa369c938ef8758e5aa945ecc6a9b | [
"Apache-2.0"
] | 2 | 2019-02-27T03:17:15.000Z | 2019-03-01T22:34:30.000Z | Autocoders/src/generators/visitors/ImplHVisitor.py | JPLOpenSource/fprime-sw-Rel1.0 | 18364596c24fa369c938ef8758e5aa945ecc6a9b | [
"Apache-2.0"
] | 3 | 2019-02-17T20:41:15.000Z | 2019-02-26T21:06:50.000Z | #!/bin/env python
#===============================================================================
# NAME: ImplHVisitor.py
#
# DESCRIPTION: A visitor class for generating component implementation
# header files.
#
# AUTHOR: bocchino
# EMAIL: bocchino@jpl.nasa.gov
# DATE CREATED: October 12, 2015
#
# Copyright 2015, C... | 31.659574 | 80 | 0.633737 | 146 | 1,488 | 6.342466 | 0.513699 | 0.012959 | 0.028078 | 0.034557 | 0.12959 | 0.12959 | 0.12959 | 0.12959 | 0.12959 | 0 | 0 | 0.011429 | 0.176747 | 1,488 | 46 | 81 | 32.347826 | 0.74449 | 0.364919 | 0 | 0 | 0 | 0 | 0.043668 | 0.022926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.142857 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
078d7635a7b6440e1d52bc29692655906d88be4a | 255 | py | Python | client.py | realandrewyang/cv.ai-demo | e88cc46a14dc7f15725c146e9df181ef8514c936 | [
"Apache-2.0"
] | null | null | null | client.py | realandrewyang/cv.ai-demo | e88cc46a14dc7f15725c146e9df181ef8514c936 | [
"Apache-2.0"
] | 14 | 2020-01-28T22:36:26.000Z | 2022-03-02T03:09:15.000Z | client.py | realandrewyang/cv.ai-demo | e88cc46a14dc7f15725c146e9df181ef8514c936 | [
"Apache-2.0"
] | null | null | null | import requests
# res = requests.post('http://localhost:5000/post', json={"data":["hello world", "bye world"]})
res = requests.post('http://35.188.88.169/post', json={"data":["hello world", "bye world"]})
if res.ok:
print(res.json())
print('done') | 42.5 | 95 | 0.639216 | 38 | 255 | 4.289474 | 0.526316 | 0.134969 | 0.184049 | 0.233129 | 0.368098 | 0.368098 | 0.368098 | 0 | 0 | 0 | 0 | 0.061674 | 0.109804 | 255 | 6 | 96 | 42.5 | 0.656388 | 0.364706 | 0 | 0 | 0 | 0 | 0.329193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
079d13be69967b0536e815b1b59b61800afc2614 | 134,476 | py | Python | deps/lib/python3.5/site-packages/ua_parser/_regexes.py | jfarmer08/hassio | 792a6071a97bb33857c14c9937946233c620035c | [
"MIT"
] | 78 | 2017-08-19T03:46:13.000Z | 2020-02-19T04:29:45.000Z | deps/lib/python3.5/site-packages/ua_parser/_regexes.py | jfarmer08/hassio | 792a6071a97bb33857c14c9937946233c620035c | [
"MIT"
] | 5 | 2017-08-21T16:33:08.000Z | 2018-06-21T18:37:18.000Z | deps/lib/python3.5/site-packages/ua_parser/_regexes.py | jfarmer08/hassio | 792a6071a97bb33857c14c9937946233c620035c | [
"MIT"
] | 13 | 2017-08-19T16:46:08.000Z | 2018-11-05T23:11:34.000Z | ############################################
# NOTICE: This file is autogenerated from #
# regexes.yaml. Do not edit by hand, #
# instead, re-run `setup.py build_regexes` #
############################################
from __future__ import absolute_import
from .user_agent_parser import (
UserAgentParser, D... | 21.682683 | 1,970 | 0.366787 | 11,388 | 134,476 | 4.303214 | 0.201177 | 0.093215 | 0.064891 | 0.034935 | 0.450566 | 0.388573 | 0.28091 | 0.18092 | 0.119784 | 0.077788 | 0 | 0.047609 | 0.380849 | 134,476 | 6,201 | 1,971 | 21.68618 | 0.540962 | 0.000922 | 0 | 0.800355 | 1 | 0.020514 | 0.418 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000162 | 0.000323 | 0 | 0.000323 | 0.000646 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07a951c68677ab27746857d15d50ad658d056e6b | 108 | py | Python | fpga/cmds/project/clean.py | mmicko/cli | 84db5761d42217f82e6f52c7ff34d0dd6222b910 | [
"0BSD"
] | 2 | 2021-12-04T19:00:11.000Z | 2022-03-17T23:33:27.000Z | fpga/cmds/project/clean.py | mmicko/cli | 84db5761d42217f82e6f52c7ff34d0dd6222b910 | [
"0BSD"
] | null | null | null | fpga/cmds/project/clean.py | mmicko/cli | 84db5761d42217f82e6f52c7ff34d0dd6222b910 | [
"0BSD"
] | null | null | null | import click
@click.command('clean', help='Cleaning FPGA project')
@click.pass_context
def cli(ctx):
pass
| 15.428571 | 53 | 0.75 | 16 | 108 | 5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 6 | 54 | 18 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
07a97aab25f14eaa75b5bb799662bbff47cad9a0 | 190 | py | Python | Test/Utility.py | YiFanChen99/BodyTraining | 8849ef9ab305a821dc43cdc617ede94d8e78b73c | [
"MIT"
] | null | null | null | Test/Utility.py | YiFanChen99/BodyTraining | 8849ef9ab305a821dc43cdc617ede94d8e78b73c | [
"MIT"
] | null | null | null | Test/Utility.py | YiFanChen99/BodyTraining | 8849ef9ab305a821dc43cdc617ede94d8e78b73c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from Model.Utility import init_db
test_db_filename = "MockDb.db"
def init_test_db(path="./Test/Data/" + test_db_filename):
init_db(path)
| 19 | 57 | 0.694737 | 31 | 190 | 4 | 0.612903 | 0.145161 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.136842 | 190 | 9 | 58 | 21.111111 | 0.75 | 0.221053 | 0 | 0 | 0 | 0 | 0.143836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07cf1af458bed5034f3ead9da8e3fd5cfe27cf13 | 683 | py | Python | src/infra/factories/in_memory_repository_factory.py | marcelinoavelar/github-monitor | e0f850d05d1eaa7561eb3c838ae3cc35047ab033 | [
"MIT"
] | null | null | null | src/infra/factories/in_memory_repository_factory.py | marcelinoavelar/github-monitor | e0f850d05d1eaa7561eb3c838ae3cc35047ab033 | [
"MIT"
] | 1 | 2022-03-30T20:31:18.000Z | 2022-03-30T20:31:18.000Z | src/infra/factories/in_memory_repository_factory.py | marcelinoavelar/github-monitor | e0f850d05d1eaa7561eb3c838ae3cc35047ab033 | [
"MIT"
] | null | null | null | from abc import ABC
from src.domanin.factories.repository_factory import RepositoryFactory
from src.domanin.repositories.schedule_repository import ScheduleRepository
from src.infra.repositories.in_memory.github_data_in_memory_repository import GithubDataInMemoryRepository
from src.infra.repositories.in_memory.schedul... | 37.944444 | 106 | 0.841874 | 66 | 683 | 8.5 | 0.378788 | 0.049911 | 0.049911 | 0.085562 | 0.114082 | 0.114082 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108346 | 683 | 17 | 107 | 40.176471 | 0.921182 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.416667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
07d999e5da1f0bed94daa63f9686b24b1e2dd5df | 539 | py | Python | src/melvin/object_tagger.py | sam-bailey/melvin | 562bd17d84d78f54eb93b77d6aa8c72556a0a31f | [
"MIT"
] | null | null | null | src/melvin/object_tagger.py | sam-bailey/melvin | 562bd17d84d78f54eb93b77d6aa8c72556a0a31f | [
"MIT"
] | 4 | 2021-04-11T15:06:50.000Z | 2021-04-11T19:11:43.000Z | src/melvin/object_tagger.py | sam-bailey/melvin | 562bd17d84d78f54eb93b77d6aa8c72556a0a31f | [
"MIT"
] | null | null | null | from typing import Any, Callable
class ObjectTagger:
def __init__(self):
self._objects = dict()
def __call__(self, object_name: str) -> Callable[[Any], Any]:
def _decorator(obj: Any) -> Any:
self._objects[object_name] = obj
return obj
return _decorator
de... | 23.434783 | 65 | 0.615955 | 65 | 539 | 4.692308 | 0.369231 | 0.180328 | 0.091803 | 0.111475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270872 | 539 | 22 | 66 | 24.5 | 0.776081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0.2 | 0.866667 | 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 |
07f508cf57e9663d2e6975fb7b52797140c9417c | 134 | py | Python | preprocess/common/length_filter_by_char.py | ZhiyuanChen/TUPE | 10ecb61675cd5866f47d2f8e5cedf944c66de5be | [
"MIT"
] | 225 | 2020-06-29T14:01:26.000Z | 2022-03-31T14:58:17.000Z | preprocess/common/length_filter_by_char.py | ZhiyuanChen/TUPE | 10ecb61675cd5866f47d2f8e5cedf944c66de5be | [
"MIT"
] | 17 | 2020-07-18T10:10:39.000Z | 2021-11-04T07:54:30.000Z | preprocess/common/length_filter_by_char.py | ZhiyuanChen/TUPE | 10ecb61675cd5866f47d2f8e5cedf944c66de5be | [
"MIT"
] | 20 | 2020-06-29T16:00:26.000Z | 2022-01-18T07:12:57.000Z | import sys
for line in sys.stdin:
l = len(line)
if int(sys.argv[1]) <= l <= int(sys.argv[2]):
sys.stdout.write(line)
| 19.142857 | 49 | 0.574627 | 24 | 134 | 3.208333 | 0.625 | 0.155844 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.246269 | 134 | 6 | 50 | 22.333333 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07f879e3e0f1c13a0f1b3d9f938496cd57668cd2 | 186 | py | Python | examples/job_queue.py | malisal/streampie | 7b1b24b01b234cd093a350f04ffaf1a4974282ad | [
"MIT"
] | 5 | 2016-03-21T09:56:28.000Z | 2016-04-18T15:09:21.000Z | examples/job_queue.py | malisal/streampie | 7b1b24b01b234cd093a350f04ffaf1a4974282ad | [
"MIT"
] | null | null | null | examples/job_queue.py | malisal/streampie | 7b1b24b01b234cd093a350f04ffaf1a4974282ad | [
"MIT"
] | null | null | null | from streampie import *
def sum(x, y):
return x + y
q = JobQueue()
q.enqueue(sum, (1, 2))
q.enqueue(sum, (2, 3))
q.enqueue(sum, (3, 4))
q.finalize()
for r in q:
print r.ret
| 12.4 | 23 | 0.580645 | 36 | 186 | 3 | 0.583333 | 0.222222 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.231183 | 186 | 14 | 24 | 13.285714 | 0.713287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07fbc9e1b7f70abe2caafb6501817e2da3c63c9d | 641 | py | Python | centos7-gpu/check_version_install.py | wybryan/dockerfile_repo | 05552fa6115e41123040436917ebf958ab11a00b | [
"Apache-2.0"
] | null | null | null | centos7-gpu/check_version_install.py | wybryan/dockerfile_repo | 05552fa6115e41123040436917ebf958ab11a00b | [
"Apache-2.0"
] | null | null | null | centos7-gpu/check_version_install.py | wybryan/dockerfile_repo | 05552fa6115e41123040436917ebf958ab11a00b | [
"Apache-2.0"
] | null | null | null | # Check Pytorch installation
import torch, torchvision
print(torch.__version__, torch.cuda.is_available())
# Check MMDetection installation
import mmdet
print(mmdet.__version__)
# Check mmcv installation
import mmcv
from mmcv.ops import get_compiling_cuda_version, get_compiler_version
print(mmcv.__version__)
print(ge... | 20.677419 | 69 | 0.833073 | 80 | 641 | 6.275 | 0.325 | 0.179283 | 0.063745 | 0.091633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096724 | 641 | 30 | 70 | 21.366667 | 0.867012 | 0.263651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.470588 | 0 | 0.470588 | 0.470588 | 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 | 0 | 1 | 0 | 3 |
ed15f4930153bb7c46d52be45adb01004eb316b5 | 55 | py | Python | test/smokes/flake8/with_plugins/foo.py | ybiquitous/runners | 2aaef06a04f481f385d54e86503b2eaf3d61873d | [
"MIT"
] | 10 | 2019-08-20T06:52:57.000Z | 2021-11-07T17:51:23.000Z | test/smokes/flake8/with_plugins/foo.py | ybiquitous/runners | 2aaef06a04f481f385d54e86503b2eaf3d61873d | [
"MIT"
] | 1,662 | 2019-08-20T01:43:30.000Z | 2022-03-28T03:34:32.000Z | test/smokes/flake8/with_plugins/foo.py | ybiquitous/runners | 2aaef06a04f481f385d54e86503b2eaf3d61873d | [
"MIT"
] | 11 | 2019-08-19T07:04:52.000Z | 2022-03-25T05:29:51.000Z | def main():
id = 123
print('foo', id)
main()
| 7.857143 | 20 | 0.472727 | 8 | 55 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.327273 | 55 | 6 | 21 | 9.166667 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed23ab185086cca6006825e64b1eea6c9a14622a | 1,989 | py | Python | analysis/physics.py | FermiParadox/Tor_deanonymization | a6793e0f76a9c80eca7dcee9a1ef035de0d787dc | [
"CC0-1.0"
] | 1 | 2022-03-30T03:45:16.000Z | 2022-03-30T03:45:16.000Z | analysis/physics.py | FermiParadox/Tor_deanonymization | a6793e0f76a9c80eca7dcee9a1ef035de0d787dc | [
"CC0-1.0"
] | null | null | null | analysis/physics.py | FermiParadox/Tor_deanonymization | a6793e0f76a9c80eca7dcee9a1ef035de0d787dc | [
"CC0-1.0"
] | null | null | null | from math import degrees, atan2
from typing import List
from scipy.spatial import distance
from numpy import average
from analysis.itxyek_base import XYPoint, XYFloatPoint
class AngleCalc:
@staticmethod
def dy(xy1: XYPoint, xy2: XYPoint) -> float:
return xy2.y - xy1.y
@staticmethod
def dx(x... | 30.6 | 83 | 0.670689 | 292 | 1,989 | 4.465753 | 0.304795 | 0.06135 | 0.079755 | 0.122699 | 0.278374 | 0.224693 | 0.20092 | 0 | 0 | 0 | 0 | 0.042416 | 0.217697 | 1,989 | 64 | 84 | 31.078125 | 0.79563 | 0.131222 | 0 | 0.1 | 0 | 0 | 0.025761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225 | false | 0 | 0.125 | 0.175 | 0.7 | 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 |
ed35e99ccfa5a0b083acd92267711ee0ef0c3ac0 | 3,271 | py | Python | extrescalFunctionsTest2.py | bshambaugh/Brents-Ext_RESCAL | 3e61ffecac68b276c47c0527fc076b8a66903e5b | [
"Apache-2.0"
] | null | null | null | extrescalFunctionsTest2.py | bshambaugh/Brents-Ext_RESCAL | 3e61ffecac68b276c47c0527fc076b8a66903e5b | [
"Apache-2.0"
] | null | null | null | extrescalFunctionsTest2.py | bshambaugh/Brents-Ext_RESCAL | 3e61ffecac68b276c47c0527fc076b8a66903e5b | [
"Apache-2.0"
] | null | null | null | from scipy.sparse import coo_matrix
from numpy import ones, dot, eye
import numpy as np
from extrescalFunctions import updateA, updateV, matrixFitNorm, matrixFitNormWithoutNormD
from commonFunctions import squareFrobeniusNormOfSparse
from nose.tools import assert_almost_equal
from numpy.linalg import inv
from numpy.lin... | 39.890244 | 262 | 0.485784 | 669 | 3,271 | 2.349776 | 0.101644 | 0.139949 | 0.183206 | 0.223919 | 0.512087 | 0.408397 | 0.371501 | 0.341603 | 0.335242 | 0.323791 | 0 | 0.144839 | 0.250688 | 3,271 | 81 | 263 | 40.382716 | 0.496532 | 0 | 0 | 0.430556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 1 | 0.041667 | false | 0 | 0.111111 | 0 | 0.152778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed3909e30256906af7fdfcdd0092d7b4d4bcd879 | 1,003 | py | Python | deps/src/cmake-3.9.3/Tests/SwigTest/runme.py | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | cmake/Tests/SwigTest/runme.py | mygirl8893/modules | 0acff384551043ebbf6337b732d586266cff7026 | [
"MIT"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | cmake/Tests/SwigTest/runme.py | mygirl8893/modules | 0acff384551043ebbf6337b732d586266cff7026 | [
"MIT"
] | 1 | 2020-11-04T04:56:50.000Z | 2020-11-04T04:56:50.000Z | # file: runme.py
# This file illustrates the shadow-class C++ interface generated
# by SWIG.
import example
# ----- Object creation -----
print "Creating some objects:"
c = example.Circle(10)
print " Created circle", c
s = example.Square(10)
print " Created square", s
# ----- Access a static member -----
pr... | 19.288462 | 70 | 0.611167 | 150 | 1,003 | 4.073333 | 0.5 | 0.022913 | 0.045827 | 0.075286 | 0.094926 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015524 | 0.229312 | 1,003 | 51 | 71 | 19.666667 | 0.774903 | 0.282154 | 0 | 0 | 1 | 0 | 0.413258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.56 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ed51a652d4e97ed8ef191aaafdb4764ef53ca9f4 | 499 | py | Python | kerax/optimizers/__init__.py | umangjpatel/dnet | 21e1798643a6382a1d7960db4c5f3a22fa19a28a | [
"Unlicense"
] | 30 | 2019-11-29T07:34:57.000Z | 2020-12-29T12:25:17.000Z | kerax/optimizers/__init__.py | umangjpatel/dnet | 21e1798643a6382a1d7960db4c5f3a22fa19a28a | [
"Unlicense"
] | 18 | 2019-11-01T18:05:58.000Z | 2020-12-23T07:26:26.000Z | kerax/optimizers/__init__.py | umangjpatel/DNet | 21e1798643a6382a1d7960db4c5f3a22fa19a28a | [
"Unlicense"
] | 4 | 2020-01-25T01:16:30.000Z | 2020-06-19T16:36:36.000Z | from jax.experimental.optimizers import OptimizerState
from jax.experimental.optimizers import adagrad as Adagrad
from jax.experimental.optimizers import adam as Adam
from jax.experimental.optimizers import adamax as Adamax
from jax.experimental.optimizers import rmsprop as RMSProp
from jax.experimental.optimizers impo... | 27.722222 | 58 | 0.765531 | 62 | 499 | 6.096774 | 0.225806 | 0.12963 | 0.351852 | 0.537037 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00716 | 0.160321 | 499 | 17 | 59 | 29.352941 | 0.894988 | 0 | 0 | 0 | 0 | 0 | 0.088176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed6229fb0588af735853bda43d8e6e2fa6d4bb63 | 490 | py | Python | .config/qutebrowser/config.py | lichinka/dotfiles | 7a92deaa318cd81e12a03fe8e5d055b473a15c82 | [
"BSD-3-Clause"
] | 1 | 2020-01-29T10:36:35.000Z | 2020-01-29T10:36:35.000Z | .config/qutebrowser/config.py | lichinka/dotfiles | 7a92deaa318cd81e12a03fe8e5d055b473a15c82 | [
"BSD-3-Clause"
] | null | null | null | .config/qutebrowser/config.py | lichinka/dotfiles | 7a92deaa318cd81e12a03fe8e5d055b473a15c82 | [
"BSD-3-Clause"
] | null | null | null | # Autogenerated config.py
# Documentation:
# qute://help/configuring.html
# qute://help/settings.html
# Uncomment this to still load settings configured via autoconfig.yml
config.load_autoconfig()
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'file://*')
# Enable JavaScript.
# ... | 24.5 | 69 | 0.720408 | 58 | 490 | 6.068966 | 0.482759 | 0.136364 | 0.170455 | 0.204545 | 0.519886 | 0.519886 | 0.519886 | 0.519886 | 0.519886 | 0.519886 | 0 | 0 | 0.112245 | 490 | 19 | 70 | 25.789474 | 0.809195 | 0.520408 | 0 | 0 | 1 | 0 | 0.484305 | 0.349776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed6327d3451a91fd690d1f083e2094200f527652 | 139 | py | Python | codeforces/1144A-DiverseStrings.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | 3 | 2019-12-04T01:22:34.000Z | 2020-12-10T15:31:00.000Z | codeforces/1144A-DiverseStrings.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | null | null | null | codeforces/1144A-DiverseStrings.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | 1 | 2019-12-04T01:24:01.000Z | 2019-12-04T01:24:01.000Z | for _ in range(int(input())):
s = sorted(input())
print(("no", "yes")[len(s) == len(set(s)) == (1 + ord(s[-1]) - ord(s[0]))])
| 27.8 | 80 | 0.453237 | 23 | 139 | 2.695652 | 0.652174 | 0.064516 | 0.16129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.215827 | 139 | 4 | 81 | 34.75 | 0.541284 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed639b68233e5f50f54296f7949ad276821b9847 | 916 | py | Python | resources/errors.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | 1 | 2019-10-22T20:09:54.000Z | 2019-10-22T20:09:54.000Z | resources/errors.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | null | null | null | resources/errors.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | null | null | null | class AbstractException(Exception):
"""Abstract exception to inherit from.
**Attributes**
:msg: Exception message. [str]
:desc: Exception description. [str]
"""
def __init__(self, msg, desc=None):
"""Constructor for 'AbstractException' exception.
**Args**
:... | 22.9 | 63 | 0.624454 | 82 | 916 | 6.829268 | 0.402439 | 0.278571 | 0.207143 | 0.078571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24345 | 916 | 39 | 64 | 23.487179 | 0.808081 | 0.406114 | 0 | 0 | 0 | 0 | 0.098901 | 0.052747 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ed664fc9217611ac7d5bf6722fcdc978d5af8dfb | 1,551 | py | Python | apps/gridportal/base/system__logs/methodclass/system_logs.gen.py | jumpscale7/jumpscale_portal | 8c99265e48f85643f8a52bc40a23f5266fb09231 | [
"Apache-2.0"
] | 2 | 2016-04-14T14:05:01.000Z | 2016-04-21T07:20:36.000Z | apps/gridportal/base/system__logs/methodclass/system_logs.gen.py | jumpscale7/jumpscale_portal | 8c99265e48f85643f8a52bc40a23f5266fb09231 | [
"Apache-2.0"
] | 13 | 2016-03-07T12:07:15.000Z | 2018-02-28T13:11:59.000Z | apps/gridportal/base/system__logs/methodclass/system_logs.gen.py | jumpscale7/jumpscale_portal | 8c99265e48f85643f8a52bc40a23f5266fb09231 | [
"Apache-2.0"
] | 5 | 2016-03-08T07:49:51.000Z | 2018-10-19T13:57:04.000Z | from JumpScale import j
class system_logs(j.code.classGetBase()):
"""
Gets jobs that match criteria
"""
def __init__(self):
pass
self._te={}
self.actorname="logs"
self.appname="system"
#system_logs_osis.__init__(self)
def listECOs(self, nid, **kwar... | 26.741379 | 105 | 0.575113 | 168 | 1,551 | 5.238095 | 0.35119 | 0.045455 | 0.059091 | 0.077273 | 0.484091 | 0.443182 | 0.443182 | 0.443182 | 0.443182 | 0.443182 | 0 | 0.003899 | 0.338491 | 1,551 | 57 | 106 | 27.210526 | 0.853801 | 0.344939 | 0 | 0 | 0 | 0 | 0.172194 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 1 | 0.333333 | false | 0.066667 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed7f0ff533091f81cbd75ef0b2bb49db9e416d37 | 1,853 | py | Python | app/models/user.py | chengxp3/flask-app | bab5a6782bf91ccef16c9fe143a9e10c44320229 | [
"Apache-2.0"
] | 1 | 2021-11-24T09:36:27.000Z | 2021-11-24T09:36:27.000Z | app/models/user.py | chengxp3/flask-app | bab5a6782bf91ccef16c9fe143a9e10c44320229 | [
"Apache-2.0"
] | null | null | null | app/models/user.py | chengxp3/flask-app | bab5a6782bf91ccef16c9fe143a9e10c44320229 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
from datetime import datetime
from werkzeug.security import check_password_hash, generate_password_hash
from sqlalchemy.ext.hybrid import hybrid_property
from app.utils.core import db
from app.utils.util import gen_uuid
User_List = [
{
'username':"admin",
'password':"Admin123... | 29.887097 | 124 | 0.665947 | 239 | 1,853 | 5.041841 | 0.393305 | 0.06971 | 0.058091 | 0.053112 | 0.078008 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012312 | 0.211009 | 1,853 | 61 | 125 | 30.377049 | 0.811902 | 0.049649 | 0 | 0 | 1 | 0 | 0.055968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0.276596 | 0.12766 | 0.06383 | 0.617021 | 0.021277 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
71ed47cca2fd3ec2bb3d81bb687f4acd75d5b9e5 | 78 | py | Python | src/briefcase/platforms/windows/__init__.py | chuckyQ/briefcase | 06e84e7b1c3af016c828a5a640d277809de6644b | [
"BSD-3-Clause"
] | 917 | 2019-03-30T15:45:39.000Z | 2022-03-31T05:32:02.000Z | src/briefcase/platforms/windows/__init__.py | CuPidev/briefcase | 35619cbe4b512c8521ad3733341e6bc3422efb58 | [
"BSD-3-Clause"
] | 429 | 2019-04-07T19:03:20.000Z | 2022-03-31T23:47:42.000Z | src/briefcase/platforms/windows/__init__.py | CuPidev/briefcase | 35619cbe4b512c8521ad3733341e6bc3422efb58 | [
"BSD-3-Clause"
] | 166 | 2019-04-02T01:56:55.000Z | 2022-03-28T19:10:02.000Z |
DEFAULT_OUTPUT_FORMAT = 'msi'
class WindowsMixin:
platform = 'windows'
| 11.142857 | 29 | 0.717949 | 8 | 78 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 6 | 30 | 13 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
71f61dd3383826af169a89654e7f2b9b40cc6f34 | 331 | py | Python | RFPlayer.indigoPlugin/Contents/Server Plugin/protocols/__init__.py | FlyingDiver/Indigo-RFPlayer | 74441d492608ded5c2c2c1977b980bd5f56da670 | [
"Unlicense"
] | 1 | 2018-06-08T05:49:55.000Z | 2018-06-08T05:49:55.000Z | RFPlayer.indigoPlugin/Contents/Server Plugin/protocols/__init__.py | FlyingDiver/Indigo-RFPlayer | 74441d492608ded5c2c2c1977b980bd5f56da670 | [
"Unlicense"
] | 1 | 2019-02-20T01:09:49.000Z | 2019-06-06T00:51:46.000Z | RFPlayer.indigoPlugin/Contents/Server Plugin/protocols/__init__.py | FlyingDiver/Indigo-RFPlayer | 74441d492608ded5c2c2c1977b980bd5f56da670 | [
"Unlicense"
] | 1 | 2018-11-10T08:38:47.000Z | 2018-11-10T08:38:47.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from blyss import Blyss
from chacon import Chacon
from domia import Domia
from kd101 import KD101
from oregon import Oregon
from owl import Owl
from parrot import Parrot
from rts import RTS
from visonic import Visonic
from x2d import X2D
from x10 ... | 22.066667 | 27 | 0.722054 | 51 | 331 | 4.686275 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051383 | 0.23565 | 331 | 14 | 28 | 23.642857 | 0.893281 | 0.129909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
71fddb9f17c343f92e00d595f3c45625969654c2 | 242 | py | Python | tests/snmp/conftest.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2021-09-15T17:09:13.000Z | 2021-09-15T17:09:13.000Z | tests/snmp/conftest.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | null | null | null | tests/snmp/conftest.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | null | null | null | import pytest
from common.utilities import wait_until
@pytest.fixture(scope="module", autouse=True)
def setup_check_snmp_ready(duthost):
assert wait_until(300, 20, duthost.is_service_fully_started, "snmp"), "SNMP service is not running"
| 34.571429 | 103 | 0.797521 | 36 | 242 | 5.138889 | 0.75 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0.103306 | 242 | 6 | 104 | 40.333333 | 0.829493 | 0 | 0 | 0 | 0 | 0 | 0.152893 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9c02951e7c6c0b5711cc1fbf6cb7cc392898bc8e | 200 | py | Python | 2-convert-data/run.py | paul-mathieu/cablegate-cia-analysis | 89ea4570319c29df5f2b105384ff9e7eb408f2f9 | [
"MIT"
] | null | null | null | 2-convert-data/run.py | paul-mathieu/cablegate-cia-analysis | 89ea4570319c29df5f2b105384ff9e7eb408f2f9 | [
"MIT"
] | null | null | null | 2-convert-data/run.py | paul-mathieu/cablegate-cia-analysis | 89ea4570319c29df5f2b105384ff9e7eb408f2f9 | [
"MIT"
] | null | null | null | import cablegate
import cia
def main():
print('=== cablegate data ===')
# cablegate.convert_data()
print('=== cia data ===')
cia.convert_data()
if __name__ == "__main__":
main()
| 16.666667 | 35 | 0.595 | 22 | 200 | 4.954545 | 0.454545 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 200 | 11 | 36 | 18.181818 | 0.698718 | 0.12 | 0 | 0 | 0 | 0 | 0.264368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0 | 0.375 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c167cf12036e185c26dca96b87d519a3ae197b6 | 186 | py | Python | Lista01/ex002.py | Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110 | f306c8dc6385ee8c9580e687afa16a49ace68f95 | [
"MIT"
] | 2 | 2021-09-05T22:29:33.000Z | 2021-09-09T00:13:16.000Z | Lista01/ex002.py | Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110 | f306c8dc6385ee8c9580e687afa16a49ace68f95 | [
"MIT"
] | null | null | null | Lista01/ex002.py | Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110 | f306c8dc6385ee8c9580e687afa16a49ace68f95 | [
"MIT"
] | null | null | null | salmin = float(input('Insira o valor do salário mínimo: R$'))
salpessoa = float(input('Insira seu salário: R$'))
res = salpessoa / salmin
print(f'Você ganha {res:.2f} salários mínimos.') | 46.5 | 61 | 0.715054 | 28 | 186 | 4.75 | 0.714286 | 0.150376 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.129032 | 186 | 4 | 62 | 46.5 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.513369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.