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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9ca63341b147bbe4993ba415f65fc7bb587607a | 43,103 | py | Python | plugin.video.vstream/resources/sites/themoviedb_org.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | 2 | 2018-11-02T19:55:30.000Z | 2020-08-14T02:22:20.000Z | plugin.video.vstream/resources/sites/themoviedb_org.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | null | null | null | plugin.video.vstream/resources/sites/themoviedb_org.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | 3 | 2019-12-17T20:47:00.000Z | 2021-02-11T19:03:59.000Z | # -*- coding: utf-8 -*-
# https://github.com/Kodi-vStream/venom-xbmc-addons
from resources.lib.gui.gui import cGui
from resources.lib.gui.guiElement import cGuiElement
from resources.lib.handler.inputParameterHandler import cInputParameterHandler
from resources.lib.handler.outputParameterHandler import cOutputParameter... | 36.621071 | 152 | 0.644619 | 3,792 | 43,103 | 7.262131 | 0.118407 | 0.133452 | 0.067107 | 0.094124 | 0.786695 | 0.753286 | 0.721294 | 0.662975 | 0.588387 | 0.526218 | 0 | 0.010727 | 0.232234 | 43,103 | 1,176 | 153 | 36.652211 | 0.821412 | 0.096443 | 0 | 0.702736 | 0 | 0.001244 | 0.125666 | 0.006408 | 0.001244 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.012438 | 0 | 0.068408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 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 |
c9d9ed108fba787784026cd418369e29bfe6722d | 1,343 | py | Python | archiv/tables.py | acdh-oeaw/hapa | 0e1776cdf5ab02892b96d073003856a4f8c097bd | [
"MIT"
] | null | null | null | archiv/tables.py | acdh-oeaw/hapa | 0e1776cdf5ab02892b96d073003856a4f8c097bd | [
"MIT"
] | 36 | 2021-02-09T09:29:40.000Z | 2022-01-26T08:49:38.000Z | archiv/tables.py | acdh-oeaw/hapa | 0e1776cdf5ab02892b96d073003856a4f8c097bd | [
"MIT"
] | null | null | null | # generated by appcreator
import django_tables2 as tables
from . models import (
HapaBeleg,
HapaPlaceName
)
class HapaBelegTable(tables.Table):
id = tables.LinkColumn(verbose_name='ID')
tags = tables.ManyToManyColumn()
text = tables.TemplateColumn("{{ record.text|safe }}")
comment = tables.T... | 32.756098 | 82 | 0.670886 | 132 | 1,343 | 6.757576 | 0.348485 | 0.179372 | 0.233184 | 0.147982 | 0.538117 | 0.538117 | 0.538117 | 0.538117 | 0.538117 | 0.426009 | 0 | 0.000916 | 0.186895 | 1,343 | 40 | 83 | 33.575 | 0.815934 | 0.065525 | 0 | 0.482759 | 1 | 0 | 0.246805 | 0.079872 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.655172 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a01711a31b5dd9fe3718cfd5040fae87e2e107fe | 2,567 | py | Python | tests/utils/test_audio.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 133 | 2018-05-18T13:54:10.000Z | 2022-02-15T02:14:20.000Z | tests/utils/test_audio.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 68 | 2018-06-03T16:42:09.000Z | 2021-01-29T10:58:30.000Z | tests/utils/test_audio.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 37 | 2018-11-02T02:40:29.000Z | 2021-11-30T07:44:50.000Z | import os
import numpy as np
import librosa
from audiomate import tracks
from audiomate.utils import audio
def test_read_blocks(tmpdir):
wav_path = os.path.join(tmpdir.strpath, 'file.wav')
wav_content = np.random.random(10000)
librosa.output.write_wav(wav_path, wav_content, 16000)
blocks = list(aud... | 30.927711 | 102 | 0.688742 | 398 | 2,567 | 4.298995 | 0.203518 | 0.081824 | 0.065459 | 0.040912 | 0.739334 | 0.717709 | 0.701929 | 0.656341 | 0.603741 | 0.603741 | 0 | 0.078404 | 0.170238 | 2,567 | 82 | 103 | 31.304878 | 0.724883 | 0 | 0 | 0.473684 | 0 | 0 | 0.020257 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.087719 | false | 0 | 0.087719 | 0 | 0.175439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e4d4a59497bc4207366f9d11efc0b54176586a1 | 7,862 | py | Python | campy/misc/positivity.py | TristenSeth/campy | 9e726c342d682239e1c19e6f5645c0b2167d7fab | [
"MIT"
] | 5 | 2018-12-03T19:18:50.000Z | 2021-05-31T07:17:06.000Z | campy/misc/positivity.py | TristenSeth/campy | 9e726c342d682239e1c19e6f5645c0b2167d7fab | [
"MIT"
] | 1 | 2020-02-13T20:56:05.000Z | 2020-02-19T18:32:56.000Z | campy/misc/positivity.py | TristenSeth/campy | 9e726c342d682239e1c19e6f5645c0b2167d7fab | [
"MIT"
] | 1 | 2017-06-06T07:29:07.000Z | 2017-06-06T07:29:07.000Z | """Positive messages to encourage users in hard times."""
import collections
Quote = collections.namedtuple('Quote', ('content', 'author'))
# https://liveboldandbloom.com/07/quotes/words-of-encouragement
QUOTES = [
Quote("The only person you are destined to become is the person you decide to be.", "Ralph Waldo Em... | 128.885246 | 378 | 0.733783 | 1,333 | 7,862 | 4.327832 | 0.410353 | 0.00936 | 0.0052 | 0.01144 | 0.023228 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000313 | 0.186975 | 7,862 | 60 | 379 | 131.033333 | 0.901596 | 0.0145 | 0 | 0 | 0 | 0.472727 | 0.864764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.036364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e54056517db7b553df5bf8684fe0f72255c3fe2 | 271 | py | Python | M1/ex031.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | 1 | 2022-01-21T00:12:18.000Z | 2022-01-21T00:12:18.000Z | M1/ex031.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | null | null | null | M1/ex031.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | null | null | null | dist = float(input('Digite o valor da distância da viagem em KM: '))
valorPassagem = 0.00
if dist <= 200:
valorPassagem = (dist * 0.5)
else:
valorPassagem = (dist * 0.45)
print('O valor de sua passagem é de R${:.2f}'.format(valorPassagem))
print('FIM PROGRAMA')
| 27.1 | 68 | 0.671587 | 42 | 271 | 4.333333 | 0.690476 | 0.065934 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.180812 | 271 | 9 | 69 | 30.111111 | 0.765766 | 0 | 0 | 0 | 0 | 0 | 0.348148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4e550badf20375968450a548857ea07e102170b8 | 260 | py | Python | tests/data/add-test-function.py | wizmer/py-code-assist | 8075d0c9976657ca8775d451412fd3ec6ddaefe3 | [
"MIT"
] | null | null | null | tests/data/add-test-function.py | wizmer/py-code-assist | 8075d0c9976657ca8775d451412fd3ec6ddaefe3 | [
"MIT"
] | null | null | null | tests/data/add-test-function.py | wizmer/py-code-assist | 8075d0c9976657ca8775d451412fd3ec6ddaefe3 | [
"MIT"
] | null | null | null | from pathlib import Path
import a.b.c.d as tested
DATA = Path(__file__).parent / "data"
def test_another_function_with_args():
tested.another_function_with_args(args1, args2)
def test_AClass_a_method():
obj = AClass()
obj.a_method(arg1, arg2)
| 18.571429 | 51 | 0.738462 | 41 | 260 | 4.317073 | 0.634146 | 0.079096 | 0.214689 | 0.259887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.157692 | 260 | 13 | 52 | 20 | 0.789954 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e623cf7d11d9bbb7f7cdc499a49672fa8754225 | 94 | py | Python | garden_app/apps.py | 401-pi-rates/raspberry-garden | 4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d | [
"MIT"
] | 1 | 2019-02-27T01:56:16.000Z | 2019-02-27T01:56:16.000Z | garden_app/apps.py | joyliao07/raspberry-garden | 4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d | [
"MIT"
] | 19 | 2019-02-02T00:53:48.000Z | 2021-09-08T00:58:30.000Z | garden_app/apps.py | joyliao07/raspberry-garden | 4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d | [
"MIT"
] | 2 | 2019-02-27T01:55:53.000Z | 2019-03-25T06:49:23.000Z | from django.apps import AppConfig
class GardenAppConfig(AppConfig):
name = 'garden_app'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4e63106ec9eac804f3c9d4a46a9ddf21809b0722 | 40,466 | py | Python | island/service/interface/dci/dci_pb2.py | Plane-walker/Okeanos | 8c8365b1a3133e1b94b62401b416483db0046698 | [
"Apache-2.0"
] | 6 | 2021-12-02T07:03:25.000Z | 2022-01-05T08:17:10.000Z | lane/service/interface/dci/dci_pb2.py | Plane-walker/Okeanus | 8c8365b1a3133e1b94b62401b416483db0046698 | [
"Apache-2.0"
] | 120 | 2021-12-02T07:38:56.000Z | 2022-03-31T05:20:52.000Z | lane/service/interface/dci/dci_pb2.py | Plane-walker/Okeanus | 8c8365b1a3133e1b94b62401b416483db0046698 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: dci/dci.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobu... | 39.946693 | 3,318 | 0.761034 | 4,830 | 40,466 | 6.036646 | 0.057764 | 0.040882 | 0.068423 | 0.065748 | 0.680626 | 0.648386 | 0.639435 | 0.631684 | 0.628117 | 0.622423 | 0 | 0.032878 | 0.119088 | 40,466 | 1,012 | 3,319 | 39.986166 | 0.785059 | 0.031162 | 0 | 0.676757 | 1 | 0.007568 | 0.151156 | 0.099852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005405 | 0 | 0.005405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e84b4d44315b703463109a1b6afaf494a15e2c6 | 1,107 | py | Python | Python/URI 1047.py | carvalhopedro22/Programacao-URI-Online-Judge | 4a58141418de7589d7d81c3fffb41664efd2ffc6 | [
"MIT"
] | null | null | null | Python/URI 1047.py | carvalhopedro22/Programacao-URI-Online-Judge | 4a58141418de7589d7d81c3fffb41664efd2ffc6 | [
"MIT"
] | null | null | null | Python/URI 1047.py | carvalhopedro22/Programacao-URI-Online-Judge | 4a58141418de7589d7d81c3fffb41664efd2ffc6 | [
"MIT"
] | null | null | null | x = input().split()
horainicial, minutoinicial, horafinal, minutofinal = x
horainicial = int(x[0])
minutoinicial = int(x[1])
horafinal = int(x[2])
minutofinal = int(x[3])
if horainicial < horafinal:
h = horafinal - horainicial
if minutoinicial < minutofinal:
m = minutofinal - minutoinicial
if m... | 29.131579 | 60 | 0.610659 | 118 | 1,107 | 5.728814 | 0.228814 | 0.426036 | 0.346154 | 0.239645 | 0.569527 | 0.569527 | 0.569527 | 0.569527 | 0.464497 | 0.464497 | 0 | 0.027919 | 0.288166 | 1,107 | 38 | 60 | 29.131579 | 0.829949 | 0 | 0 | 0.571429 | 0 | 0 | 0.034296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e96f0aeef39dbadefec04b21f75cb98814973f3 | 9,311 | py | Python | ovmclient/__init__.py | cloudbase/python-ovmclient | b0e2d7df8c421505dda13d40bbfaee44554836a6 | [
"Apache-2.0"
] | 8 | 2017-07-26T19:12:15.000Z | 2019-12-16T21:23:11.000Z | ovmclient/__init__.py | cloudbase/python-ovmclient | b0e2d7df8c421505dda13d40bbfaee44554836a6 | [
"Apache-2.0"
] | 3 | 2017-08-15T07:30:25.000Z | 2018-08-20T17:54:20.000Z | ovmclient/__init__.py | cloudbase/python-ovmclient | b0e2d7df8c421505dda13d40bbfaee44554836a6 | [
"Apache-2.0"
] | 4 | 2017-08-15T05:39:38.000Z | 2018-08-07T12:06:28.000Z | # Copyright (c) 2017 Cloudbase Solutions Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 30.933555 | 79 | 0.65632 | 1,098 | 9,311 | 5.255009 | 0.201275 | 0.048527 | 0.038821 | 0.043674 | 0.309012 | 0.267938 | 0.189255 | 0.138648 | 0.138648 | 0.090815 | 0 | 0.001565 | 0.245301 | 9,311 | 300 | 80 | 31.036667 | 0.819553 | 0.072173 | 0 | 0.214286 | 0 | 0 | 0.075165 | 0.015195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0.009524 | 0.033333 | 0.157143 | 0.542857 | 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 |
4ec3e935a630b72c94f03a4dc2077a3ad9945ea6 | 938 | py | Python | quiz/models.py | PlatoSys/Quiz-App | 2d531c847fa91ce3314892392d44e17754eb1c7a | [
"MIT"
] | null | null | null | quiz/models.py | PlatoSys/Quiz-App | 2d531c847fa91ce3314892392d44e17754eb1c7a | [
"MIT"
] | null | null | null | quiz/models.py | PlatoSys/Quiz-App | 2d531c847fa91ce3314892392d44e17754eb1c7a | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth import get_user_model
User = get_user_model()
class Question(models.Model):
text = models.CharField(max_length=255)
binary = models.BooleanField(default=True)
def __str__(self) -> str:
return f'{self.text}'
class Answer(models.Model):
qu... | 28.424242 | 68 | 0.715352 | 118 | 938 | 5.483051 | 0.398305 | 0.11592 | 0.139104 | 0.185471 | 0.372488 | 0.247295 | 0.151468 | 0.151468 | 0.102009 | 0 | 0 | 0.019305 | 0.171642 | 938 | 32 | 69 | 29.3125 | 0.813385 | 0 | 0 | 0.304348 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.086957 | 0.130435 | 0.956522 | 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 |
4ec6d61b37b1527a5500056446dd30daee8d8d47 | 335 | py | Python | env/lib/python3.6/site-packages/pipenv/patched/piptools/_compat/__init__.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 4 | 2018-10-01T08:56:14.000Z | 2020-01-04T19:47:45.000Z | env/lib/python3.6/site-packages/pipenv/patched/piptools/_compat/__init__.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 4 | 2020-03-24T16:06:51.000Z | 2021-06-10T20:48:41.000Z | env/lib/python3.6/site-packages/pipenv/patched/piptools/_compat/__init__.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 2 | 2018-04-06T05:36:25.000Z | 2018-12-30T22:58:58.000Z | # coding: utf-8
# flake8: noqa
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import six
if six.PY2:
from .tempfile import TemporaryDirectory
from .contextlib import ExitStack
else:
from tempfile import TemporaryDirectory
from contextlib im... | 23.928571 | 66 | 0.728358 | 37 | 335 | 6.405405 | 0.594595 | 0.101266 | 0.151899 | 0.303797 | 0.548523 | 0.548523 | 0.548523 | 0.548523 | 0 | 0 | 0 | 0.011583 | 0.226866 | 335 | 13 | 67 | 25.769231 | 0.903475 | 0.077612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4ecc26ac1b38062590b244ec6f0b0b4f9a5dc2e4 | 2,377 | py | Python | app/models/user.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 3 | 2021-04-07T05:59:26.000Z | 2021-04-09T22:53:42.000Z | app/models/user.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 13 | 2021-03-30T05:44:58.000Z | 2021-03-30T05:54:41.000Z | app/models/user.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 1 | 2021-04-07T16:56:51.000Z | 2021-04-07T16:56:51.000Z | from .db import db
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
class User(db.Model, UserMixin):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
first_name = db.Column(db.String(50), nullable=False)
last_name = db.Col... | 37.140625 | 75 | 0.667228 | 288 | 2,377 | 5.315972 | 0.274306 | 0.062704 | 0.07838 | 0.073155 | 0.296538 | 0.257348 | 0.219464 | 0.177662 | 0.13194 | 0.070542 | 0 | 0.006448 | 0.21708 | 2,377 | 63 | 76 | 37.730159 | 0.816228 | 0.027345 | 0 | 0.156863 | 1 | 0 | 0.09398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098039 | false | 0.176471 | 0.058824 | 0.078431 | 0.607843 | 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 |
4ed4aaea3035eef3563d078d85dabd9ffbaa5f7b | 1,567 | py | Python | dynamicserialize/dstypes/com/raytheon/uf/common/alertviz/AlertVizRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/alertviz/AlertVizRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/alertviz/AlertVizRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | ##
##
# File auto-generated against equivalent DynamicSerialize Java class
# Jul 27, 2015 4654 skorolev Added filters
class AlertVizRequest(object):
def __init__(self):
self.message = None
self.machine = None
self.priority = None
self.sourceKey = None
self.category... | 24.484375 | 117 | 0.629228 | 173 | 1,567 | 5.676301 | 0.34104 | 0.057026 | 0.099796 | 0.03666 | 0.059063 | 0.059063 | 0 | 0 | 0 | 0 | 0 | 0.010733 | 0.286535 | 1,567 | 63 | 118 | 24.873016 | 0.867621 | 0.073389 | 0 | 0 | 1 | 0 | 0.039446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.166667 | 0.547619 | 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 | 1 | 0 | 0 | 0 | 3 |
14c84f58198d3f41368d47b16014b7ea786e9d4c | 158 | py | Python | Domain/restaurant.py | VargaIonut23/restaurant | 3f991f30b03921481142187ef33f81d1dc4fe2ad | [
"MIT"
] | null | null | null | Domain/restaurant.py | VargaIonut23/restaurant | 3f991f30b03921481142187ef33f81d1dc4fe2ad | [
"MIT"
] | null | null | null | Domain/restaurant.py | VargaIonut23/restaurant | 3f991f30b03921481142187ef33f81d1dc4fe2ad | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from Domain.entity import Entity
@dataclass
class restaurant(Entity):
nume: str
adresa: str
vegetarian: bool
| 14.363636 | 33 | 0.746835 | 19 | 158 | 6.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 158 | 10 | 34 | 15.8 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
14cf8d7da4afa264b7ba32ad374ca9ee40aa194d | 321 | py | Python | Visualizer.py | tony10101105/virtual-try-on-model | d2cdc00ecdda3a4e40cb2a45b18c394953d7f28c | [
"MIT"
] | null | null | null | Visualizer.py | tony10101105/virtual-try-on-model | d2cdc00ecdda3a4e40cb2a45b18c394953d7f28c | [
"MIT"
] | null | null | null | Visualizer.py | tony10101105/virtual-try-on-model | d2cdc00ecdda3a4e40cb2a45b18c394953d7f28c | [
"MIT"
] | null | null | null | import os
import torch
import torchvision
import torch.nn as nn
import torch.nn.functional as F
from torchvision import transforms
from torchvision.utils import save_image
from torch.autograd import Variable
def denorm(x):#TODO
x = (x + 1) / 2 # x = z*std+mean, std = mean = 0.5
x = x.clamp(0, 1)
return x
... | 20.0625 | 54 | 0.713396 | 55 | 321 | 4.145455 | 0.509091 | 0.144737 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.202492 | 321 | 15 | 55 | 21.4 | 0.867188 | 0.115265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0.083333 | false | 0 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
14d759b0cc1c0da797880d4a76ed34a7ea5b8211 | 990 | py | Python | src/vector/core/lorentz/all.py | kreczko/vector | 88106282d2433ee47c4104404692eed4092cd9f2 | [
"BSD-3-Clause"
] | null | null | null | src/vector/core/lorentz/all.py | kreczko/vector | 88106282d2433ee47c4104404692eed4092cd9f2 | [
"BSD-3-Clause"
] | null | null | null | src/vector/core/lorentz/all.py | kreczko/vector | 88106282d2433ee47c4104404692eed4092cd9f2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019-2020, Jonas Eschle, Jim Pivarski, Eduardo Rodrigues, and Henry Schreiner.
#
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
# or https://github.com/scikit-hep/vector for details.
from __future__ import absolute_import, division, print_function
f... | 26.052632 | 104 | 0.633333 | 164 | 990 | 3.768293 | 0.481707 | 0.072816 | 0.043689 | 0.02589 | 0.042071 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032704 | 0.19697 | 990 | 37 | 105 | 26.756757 | 0.744654 | 0.40303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.133333 | 0.333333 | 0.933333 | 0.066667 | 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 |
14e495110bf22cbe9249b95813a1495fdfc2518b | 359 | py | Python | src/wai/lazypip/_venv.py | waikato-ufdl/wai-lazypip | d26f0528507d109122014bdd0f6310ede27cd3f8 | [
"Apache-2.0"
] | null | null | null | src/wai/lazypip/_venv.py | waikato-ufdl/wai-lazypip | d26f0528507d109122014bdd0f6310ede27cd3f8 | [
"Apache-2.0"
] | null | null | null | src/wai/lazypip/_venv.py | waikato-ufdl/wai-lazypip | d26f0528507d109122014bdd0f6310ede27cd3f8 | [
"Apache-2.0"
] | null | null | null | # taken from here:
# https://stackoverflow.com/a/42580137/4698227
import sys
def is_venv():
"""
Checks whether we are in a virtual environment or not.
:return: whether within a virtual environment
:rtype: bool
"""
return (hasattr(sys, 'real_prefix')
or (hasattr(sys, 'base_prefix... | 21.117647 | 79 | 0.657382 | 48 | 359 | 4.833333 | 0.666667 | 0.068966 | 0.163793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053957 | 0.225627 | 359 | 16 | 80 | 22.4375 | 0.780576 | 0.493036 | 0 | 0 | 0 | 0 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
14eeb2e9a6f43edb17c3f147136a1382777b45d1 | 900 | py | Python | spacetrading/migrations/0016_auto_20190610_1924.py | claudiobierig/doppeldenk | 770cd5322753450834ec393a0801de1d2de2bfa2 | [
"MIT"
] | 1 | 2020-11-08T12:32:36.000Z | 2020-11-08T12:32:36.000Z | spacetrading/migrations/0016_auto_20190610_1924.py | claudiobierig/doppeldenk | 770cd5322753450834ec393a0801de1d2de2bfa2 | [
"MIT"
] | 1 | 2021-06-04T22:23:30.000Z | 2021-06-04T22:23:30.000Z | spacetrading/migrations/0016_auto_20190610_1924.py | claudiobierig/doppeldenk | 770cd5322753450834ec393a0801de1d2de2bfa2 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.5 on 2019-06-10 17:24
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('spacetrading', '0015_auto_20190530_1509'),
]
operations = [
migrations.RenameField(
model_name='planet',
old_name='buy_resou... | 26.470588 | 53 | 0.588889 | 88 | 900 | 5.670455 | 0.443182 | 0.160321 | 0.208417 | 0.240481 | 0.58517 | 0.396794 | 0.396794 | 0.224449 | 0.224449 | 0 | 0 | 0.050081 | 0.312222 | 900 | 33 | 54 | 27.272727 | 0.756058 | 0.05 | 0 | 0.444444 | 1 | 0 | 0.263775 | 0.148886 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 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 |
091f2408f7124bd45f383ab961749612315c74c3 | 619 | py | Python | tests/test_utils.py | aopina1/HitBTC_API | 6762407c5cc6636d0b6c9fdae8f221733a84aa24 | [
"MIT"
] | 12 | 2018-04-13T12:49:23.000Z | 2021-11-20T06:20:46.000Z | tests/test_utils.py | aopina1/HitBTC_API | 6762407c5cc6636d0b6c9fdae8f221733a84aa24 | [
"MIT"
] | 1 | 2019-03-07T06:29:25.000Z | 2019-03-07T06:29:25.000Z | tests/test_utils.py | aopina1/HitBTC_API | 6762407c5cc6636d0b6c9fdae8f221733a84aa24 | [
"MIT"
] | 6 | 2018-06-23T15:53:42.000Z | 2021-01-22T02:27:02.000Z | # coding: utf-8
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest2
from hitbtcapi import utils
class TestUtils(unittest2.TestCase):
def test_method_name_returns_current_active_function_name(self):
... | 28.136364 | 68 | 0.764136 | 79 | 619 | 5.493671 | 0.531646 | 0.092166 | 0.147465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005803 | 0.164782 | 619 | 21 | 69 | 29.47619 | 0.833656 | 0.021002 | 0 | 0 | 0 | 0 | 0.051325 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.214286 | false | 0 | 0.428571 | 0 | 0.714286 | 0.071429 | 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 |
0920964680b282554de943056bd8b35a4df1b979 | 233 | py | Python | scipy/sparse/linalg/isolve/tests/test_utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | 8 | 2015-10-07T00:37:32.000Z | 2022-01-21T17:02:33.000Z | scipy/sparse/linalg/isolve/tests/test_utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | null | null | null | scipy/sparse/linalg/isolve/tests/test_utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | 8 | 2015-05-09T14:23:57.000Z | 2018-11-15T05:56:00.000Z |
import numpy as np
from numpy.testing import assert_raises
from scipy.sparse.linalg import utils
def test_make_system_bad_shape():
assert_raises(ValueError, utils.make_system, np.zeros((5,3)), None, np.zeros(4), np.zeros(4))
| 23.3 | 97 | 0.76824 | 39 | 233 | 4.410256 | 0.615385 | 0.122093 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.120172 | 233 | 9 | 98 | 25.888889 | 0.819512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
09358185a331d15c86ec1e96215f823893c9d0c3 | 480 | py | Python | rest/rest_03.py | lcchen3/threetiers-2022 | 38a2a435053d9ac5c8948ef68b89cee96267bcbf | [
"MIT"
] | null | null | null | rest/rest_03.py | lcchen3/threetiers-2022 | 38a2a435053d9ac5c8948ef68b89cee96267bcbf | [
"MIT"
] | null | null | null | rest/rest_03.py | lcchen3/threetiers-2022 | 38a2a435053d9ac5c8948ef68b89cee96267bcbf | [
"MIT"
] | null | null | null | # import package
from flask import Flask, jsonify
import urllib.request
# create application instance
app = Flask(__name__)
# -----------------------------------
# YOUR CODE
# -----------------------------------
# -----------------------------------------------
# Requesting Multiple Users... | 24 | 50 | 0.433333 | 36 | 480 | 5.666667 | 0.75 | 0.147059 | 0.166667 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002475 | 0.158333 | 480 | 20 | 51 | 24 | 0.502475 | 0.741667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 |
09389f3ead7086aaa4f0bddacfd8e445fca001e3 | 153 | py | Python | ftx_stream/channel.py | alhben001/ftx_python | b254d1a0e247d7b177eba5b2680fd72c81846935 | [
"MIT"
] | 1 | 2021-07-12T02:58:27.000Z | 2021-07-12T02:58:27.000Z | ftx_python/stream/channel.py | alhben001/ftx-python | 597c0bd1fab12def41e582b25bed6d6286ec1e80 | [
"MIT"
] | null | null | null | ftx_python/stream/channel.py | alhben001/ftx-python | 597c0bd1fab12def41e582b25bed6d6286ec1e80 | [
"MIT"
] | 1 | 2021-08-01T18:51:36.000Z | 2021-08-01T18:51:36.000Z | from enum import Enum, auto
class Channel(Enum):
orderbook = auto()
trades = auto()
ticker = auto()
fills = auto()
orders = auto()
| 15.3 | 27 | 0.588235 | 18 | 153 | 5 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287582 | 153 | 9 | 28 | 17 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
093e4ce7b11a2e110fa5f983e8733bc9db2c4c00 | 109 | py | Python | text/_geoshape/pixel.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_geoshape/pixel.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_geoshape/pixel.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | """
*Pixel*
A pixel is a color in point space.
"""
class Pixel(
Point,
Color,
):
pass
| 7.266667 | 36 | 0.504587 | 14 | 109 | 3.928571 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.366972 | 109 | 14 | 37 | 7.785714 | 0.797101 | 0.394495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0945472792a47a59658087f9c45c95556be27358 | 180 | py | Python | fpb/sum2d/sqlite.py | cloudmercato/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | 3 | 2021-12-29T20:39:53.000Z | 2021-12-29T23:53:02.000Z | fpb/sum2d/sqlite.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | fpb/sum2d/sqlite.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | from fpb.base import sqlite
class Runner(sqlite.BaseSqlite2dRunner):
def run(self, data):
output = tuple(self.cursor.execute(sqlite.SUM_2D))[0]
return output
| 22.5 | 61 | 0.694444 | 24 | 180 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.2 | 180 | 7 | 62 | 25.714286 | 0.840278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0956d76f305f6d44a733737482c81db36fcb2b26 | 612 | py | Python | copilot/models.py | febsn/djangocms-copilot | e4b268ad522d972333b037ef8a1c317cc537da9e | [
"MIT"
] | null | null | null | copilot/models.py | febsn/djangocms-copilot | e4b268ad522d972333b037ef8a1c317cc537da9e | [
"MIT"
] | null | null | null | copilot/models.py | febsn/djangocms-copilot | e4b268ad522d972333b037ef8a1c317cc537da9e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.core.validators import MinValueValidator
from django.db import models
from django.utils.translation import ugettext_lazy as _
from cms.models.pluginmodel import CMSPlugin
class News(CMSPlugin):
pass
class EventList(CMSPlugin):
artis... | 29.142857 | 84 | 0.736928 | 75 | 612 | 5.813333 | 0.653333 | 0.068807 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.166667 | 612 | 20 | 85 | 30.6 | 0.84902 | 0.034314 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.333333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
116f73d7d6db561bb949ae5a21fbe9536cb2b665 | 335 | py | Python | src/main/engine/data/statlinegeneral.py | RokoMijic/NinthAgeGame | 7f32fc770414e361fdfbd34eb73a66e507a3a57e | [
"MIT"
] | null | null | null | src/main/engine/data/statlinegeneral.py | RokoMijic/NinthAgeGame | 7f32fc770414e361fdfbd34eb73a66e507a3a57e | [
"MIT"
] | null | null | null | src/main/engine/data/statlinegeneral.py | RokoMijic/NinthAgeGame | 7f32fc770414e361fdfbd34eb73a66e507a3a57e | [
"MIT"
] | null | null | null | from src.main.engine.data.statline import Statline
from src.main.engine.constants import GENERAL_AND_DEFENSIVE_STAT_NAMES
class StatlineGeneral(Statline):
def __init__(self, statvalues):
Statline.__init__(self, GENERAL_AND_DEFENSIVE_STAT_NAMES, statvalues)
def __repr__(self):
return Statline.... | 30.454545 | 77 | 0.785075 | 42 | 335 | 5.690476 | 0.5 | 0.058577 | 0.09205 | 0.142259 | 0.23431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140299 | 335 | 10 | 78 | 33.5 | 0.829861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
118cd37c66e76af55798867f3ff1cbc8f9b0e50e | 148 | py | Python | old_game/dialogue/voice.py | jwvhewitt/dmeternal | bb09f2d497daf9b40dd8cfee10c55be55fb7c3cb | [
"Apache-2.0"
] | 53 | 2015-07-03T21:25:36.000Z | 2022-02-18T23:08:38.000Z | old_game/dialogue/voice.py | jwvhewitt/dmeternal | bb09f2d497daf9b40dd8cfee10c55be55fb7c3cb | [
"Apache-2.0"
] | 5 | 2015-07-03T21:27:12.000Z | 2016-12-08T14:40:38.000Z | old_game/dialogue/voice.py | jwvhewitt/dmeternal | bb09f2d497daf9b40dd8cfee10c55be55fb7c3cb | [
"Apache-2.0"
] | 14 | 2016-02-02T06:49:51.000Z | 2022-02-24T13:24:35.000Z |
# Enumerated constants for voice tokens.
SMART, STUPID, ORCISH, ELVEN, DRACONIAN, DWARVEN, GREEK, KITTEH, GNOMIC, \
HURTHISH = list(range( 10))
| 24.666667 | 74 | 0.722973 | 18 | 148 | 5.944444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.162162 | 148 | 5 | 75 | 29.6 | 0.846774 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11930008c1d57c1148c8376886d460e6976b42a0 | 383 | py | Python | emtf_nnet/sparse/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/sparse/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/sparse/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | from .indexed_slices_value import (IndexedSlicesValue,
dense_to_indexed_slices,
indexed_slices_to_dense)
from .sparse_tensor_value import (SparseTensorValue,
dense_to_sparse,
sparse_... | 47.875 | 59 | 0.488251 | 30 | 383 | 5.666667 | 0.4 | 0.229412 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.483029 | 383 | 7 | 60 | 54.714286 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11d7c92a1d7c43acf9c764d0f0b753b274a8fba1 | 1,246 | py | Python | hostel/search/views.py | phylocko/hostel | ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365 | [
"Apache-2.0"
] | null | null | null | hostel/search/views.py | phylocko/hostel | ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365 | [
"Apache-2.0"
] | null | null | null | hostel/search/views.py | phylocko/hostel | ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365 | [
"Apache-2.0"
] | 1 | 2020-10-31T17:33:52.000Z | 2020-10-31T17:33:52.000Z | from hostel.common.views import service_view
from django.shortcuts import render, redirect
from .models import SearchAll
from django.contrib.auth.decorators import login_required
from django.contrib import messages
from hostel.settings import LOGIN_URL
from hostel.clients.views import client_view
@login_required(logi... | 42.965517 | 105 | 0.682183 | 146 | 1,246 | 5.59589 | 0.315068 | 0.238678 | 0.139535 | 0.159119 | 0.181151 | 0.075887 | 0 | 0 | 0 | 0 | 0 | 0.006085 | 0.208668 | 1,246 | 28 | 106 | 44.5 | 0.822515 | 0 | 0 | 0 | 0 | 0 | 0.167737 | 0.018459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.333333 | 0 | 0.52381 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
11f228ed937b61a2468a5a3b781417110f28801e | 763 | py | Python | 2156.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 2156.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 2156.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | # 2156.py
N = int(input())
wineVolume = [int(input())for _ in range(N)]
totalVolume = []
for i in range(N):
# 첫 번째 잔까지의 최댓값: 첫 번째 잔의 포도주의 양
if i == 0:
totalVolume.append(wineVolume[i])
# 두 번째 잔까지의 최댓값: 첫 번째 잔 + 두 번째 잔의 포도주의 양
elif i == 1:
totalVolume.append(wineVolume[i] + totalVolume[... | 34.681818 | 83 | 0.562254 | 118 | 763 | 3.635593 | 0.322034 | 0.205128 | 0.062937 | 0.160839 | 0.428904 | 0.37296 | 0.37296 | 0.37296 | 0.37296 | 0.37296 | 0 | 0.04059 | 0.289646 | 763 | 22 | 84 | 34.681818 | 0.749077 | 0.178244 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ee95238d769c71baf04c75add45ec69cf9fe326a | 6,529 | py | Python | 2020-expendibots/warmup/template/multi-file/search/util.py | matomatical/AI-games | b5f069c6d16f5924cd585324561906dcd819c39b | [
"MIT"
] | 3 | 2020-12-17T02:48:23.000Z | 2021-06-11T23:57:53.000Z | 2020-expendibots/warmup/template/multi-file/search/util.py | matomatical/AI-games | b5f069c6d16f5924cd585324561906dcd819c39b | [
"MIT"
] | null | null | null | 2020-expendibots/warmup/template/multi-file/search/util.py | matomatical/AI-games | b5f069c6d16f5924cd585324561906dcd819c39b | [
"MIT"
] | 1 | 2021-04-23T09:21:38.000Z | 2021-04-23T09:21:38.000Z | """
This module contains some helper functions for printing actions and boards.
Feel free to use and/or modify them to help you develop your program.
"""
def print_move(n, x_a, y_a, x_b, y_b, **kwargs):
"""
Output a move action of n pieces from square (x_a, y_a)
to square (x_b, y_b), according to the forma... | 42.953947 | 79 | 0.287946 | 886 | 6,529 | 3.177201 | 0.172686 | 0.096625 | 0.127886 | 0.14778 | 0.328597 | 0.328597 | 0.28952 | 0.28952 | 0.28952 | 0.286323 | 0 | 0.05859 | 0.228825 | 6,529 | 151 | 80 | 43.238411 | 0.311023 | 0.237402 | 0 | 0.541284 | 0 | 0.146789 | 0.837017 | 0.413964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027523 | false | 0 | 0 | 0 | 0.027523 | 0.055046 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1041fc3c780066ad270671e4321f17487aae375 | 357 | py | Python | base_automation/base.py | Yossira/base-automation | d8922552be942a801d74b00cf1582b42280d78a0 | [
"MIT"
] | null | null | null | base_automation/base.py | Yossira/base-automation | d8922552be942a801d74b00cf1582b42280d78a0 | [
"MIT"
] | null | null | null | base_automation/base.py | Yossira/base-automation | d8922552be942a801d74b00cf1582b42280d78a0 | [
"MIT"
] | null | null | null | from base_automation import report
from base_automation.utilities import shared_utilities
from base_automation import sql
from base_automation import socket
from base_automation import upload_artifact
from base_automation.schema import schema
__all__ = [
'report',
'sql',
'shared_utilities',
'socket',
... | 22.3125 | 54 | 0.773109 | 43 | 357 | 6.093023 | 0.302326 | 0.183206 | 0.412214 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165266 | 357 | 15 | 55 | 23.8 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.145658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 |
e107e4f5307f9855c4baba0c8f2bf33432291a0f | 9,454 | py | Python | Types/Enums/Scale_Estimation_Method.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | 2 | 2019-02-20T14:56:13.000Z | 2020-05-19T12:31:53.000Z | Types/Enums/Scale_Estimation_Method.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | null | null | null | Types/Enums/Scale_Estimation_Method.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | 1 | 2021-01-07T08:32:07.000Z | 2021-01-07T08:32:07.000Z | from Utility.Classes.Frozen_Class import FrozenClass
from Utility.Types.Enums.Outlier_Filter_Type import OutlierFilterType
from Utility.Types.Enums.Stereo_SfM_Type import StereoSfMType
class ScaleEstimationMethodBase(FrozenClass):
# Options to demonstrate usefulness of semantic and statistical outlier filtering
... | 41.831858 | 120 | 0.758726 | 999 | 9,454 | 6.757758 | 0.142142 | 0.127389 | 0.028144 | 0.039402 | 0.608058 | 0.555918 | 0.475041 | 0.405125 | 0.390609 | 0.352392 | 0 | 0.004564 | 0.188915 | 9,454 | 226 | 121 | 41.831858 | 0.875848 | 0.145124 | 0 | 0.359712 | 0 | 0 | 0.042376 | 0.013621 | 0 | 0 | 0 | 0.004425 | 0.014388 | 1 | 0.23741 | false | 0 | 0.021583 | 0.122302 | 0.676259 | 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 |
e114112107ce01591745f401536c92525b25fae5 | 3,804 | py | Python | app/iclass/views/dashboard.py | edisonlz/fastor | 342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3 | [
"Apache-2.0"
] | 285 | 2019-12-23T09:50:21.000Z | 2021-12-08T09:08:49.000Z | app/iclass/views/dashboard.py | jeckun/fastor | 342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3 | [
"Apache-2.0"
] | null | null | null | app/iclass/views/dashboard.py | jeckun/fastor | 342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3 | [
"Apache-2.0"
] | 9 | 2019-12-23T12:59:25.000Z | 2022-03-15T05:12:11.000Z | # coding=utf-8
import json
from django.contrib import messages
from django.shortcuts import render, get_object_or_404
from wi_model_util.imodel import get_object_or_none
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.http import HttpResponse, HttpResp... | 50.052632 | 581 | 0.585436 | 630 | 3,804 | 3.438095 | 0.328571 | 0.062327 | 0.049862 | 0.055402 | 0.342567 | 0.278855 | 0.263158 | 0.253001 | 0.253001 | 0.253001 | 0 | 0.204281 | 0.164827 | 3,804 | 75 | 582 | 50.72 | 0.477494 | 0.003155 | 0 | 0 | 0 | 0 | 0.217195 | 0.01943 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.235294 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e11ee323b3b81b696af0c7c1f06e2375587a65fd | 209 | py | Python | server/test/objects/test_body.py | TryExceptElse/kinetic | f7eaee0591ab6ea0d0ef5f064203193e69d866d1 | [
"Apache-2.0"
] | null | null | null | server/test/objects/test_body.py | TryExceptElse/kinetic | f7eaee0591ab6ea0d0ef5f064203193e69d866d1 | [
"Apache-2.0"
] | 1 | 2018-03-09T11:28:18.000Z | 2018-03-09T11:28:18.000Z | server/test/objects/test_body.py | TryExceptElse/kinetic | f7eaee0591ab6ea0d0ef5f064203193e69d866d1 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from server.objects.body import Body
class TestBody(TestCase):
def test_body_mu_is_correct(self):
body = Body(mass=10)
self.assertEqual(6.674e-10, body.mu)
| 20.9 | 44 | 0.717703 | 31 | 209 | 4.709677 | 0.645161 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0.191388 | 209 | 9 | 45 | 23.222222 | 0.816568 | 0 | 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 | 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 |
e12b9df2d8e9ea84a5c2654df03b4d135bb056b6 | 565 | py | Python | ChasingTrainFramework_GeneralOneClassDetection/data_iterator_base/data_batch.py | CNN-NISER/lffd-pytorch | 7d6476ece79cf75c6265c89346ddac48929ce8f6 | [
"MIT"
] | 220 | 2019-10-14T01:08:46.000Z | 2022-03-23T06:42:39.000Z | chapter_07e/ChasingTrainFramework_GeneralOneClassDetection/data_iterator_base/data_batch.py | XLEric/cv_course | da7c2318fd4128bbdab96db26ddbb2524f37d0a0 | [
"MIT"
] | 10 | 2019-10-16T07:40:04.000Z | 2022-01-26T07:46:14.000Z | chapter_07e/ChasingTrainFramework_GeneralOneClassDetection/data_iterator_base/data_batch.py | XLEric/cv_course | da7c2318fd4128bbdab96db26ddbb2524f37d0a0 | [
"MIT"
] | 37 | 2019-10-22T01:49:36.000Z | 2021-11-01T13:50:30.000Z | # coding: utf-8
class DataBatch:
def __init__(self, torch_module):
self._data = []
self._label = []
self.torch_module = torch_module
def append_data(self, new_data):
self._data.append(self.__as_tensor(new_data))
def append_label(self, new_label):
self._label.appen... | 21.730769 | 55 | 0.644248 | 75 | 565 | 4.426667 | 0.28 | 0.13253 | 0.135542 | 0.108434 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00237 | 0.253097 | 565 | 25 | 56 | 22.6 | 0.78436 | 0.023009 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.176471 | 0.588235 | 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 |
01160a1d86ba35eb8d96467fa21abe43a57ee20b | 82 | py | Python | models/ladder.py | salonicodes/Snakes-And-Ladders | 3faf2e58870fe47d93f309d1518a883186e82b7d | [
"MIT"
] | 1 | 2020-12-26T15:36:20.000Z | 2020-12-26T15:36:20.000Z | models/ladder.py | salonicodes/Snakes-And-Ladders | 3faf2e58870fe47d93f309d1518a883186e82b7d | [
"MIT"
] | null | null | null | models/ladder.py | salonicodes/Snakes-And-Ladders | 3faf2e58870fe47d93f309d1518a883186e82b7d | [
"MIT"
] | null | null | null | class ladder:
def __init__(self):
self.start=0
self.end=0
| 16.4 | 24 | 0.536585 | 11 | 82 | 3.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.365854 | 82 | 4 | 25 | 20.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
013a7dcecfabb555618799ce64e789979c882e38 | 801 | py | Python | descriptor/error.py | BlueWhaleMain/descriptor | 008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa | [
"MIT"
] | 1 | 2021-09-03T23:17:47.000Z | 2021-09-03T23:17:47.000Z | descriptor/error.py | BlueWhaleMain/descriptor | 008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa | [
"MIT"
] | null | null | null | descriptor/error.py | BlueWhaleMain/descriptor | 008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright by BlueWhale. All Rights Reserved.
class ValidateError(ValueError):
def __init__(self, val, msg: str, *args):
super().__init__(val, msg, *args)
self.__val = val
self.__msg = msg
@property
def val(self):
return self.__val
@property
... | 21.078947 | 62 | 0.602996 | 98 | 801 | 4.5 | 0.265306 | 0.122449 | 0.15873 | 0.058957 | 0.496599 | 0.496599 | 0.396825 | 0.396825 | 0.281179 | 0.281179 | 0 | 0.001751 | 0.287141 | 801 | 37 | 63 | 21.648649 | 0.770578 | 0.082397 | 0 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0 | 0.192308 | 0.538462 | 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 |
014b65f662cd4fbfd2568e22d1f7626096ae06f9 | 367 | py | Python | rtamt/operation/arithmetic/discrete_time/offline/exp_operation.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 24 | 2019-12-04T00:20:16.000Z | 2022-03-24T17:48:14.000Z | rtamt/operation/arithmetic/discrete_time/offline/exp_operation.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 142 | 2020-01-16T15:36:21.000Z | 2022-03-28T20:40:45.000Z | rtamt/operation/arithmetic/discrete_time/offline/exp_operation.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 17 | 2020-07-07T20:32:08.000Z | 2022-03-07T07:20:22.000Z | import math
from rtamt.operation.abstract_operation import AbstractOperation
class ExpOperation(AbstractOperation):
def __init__(self):
pass
def reset(self):
pass
def update(self, samples):
out = []
for sample in samples:
out_sample = math.exp(sample)
... | 19.315789 | 64 | 0.626703 | 40 | 367 | 5.575 | 0.575 | 0.071749 | 0.098655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302452 | 367 | 19 | 65 | 19.315789 | 0.871094 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.153846 | 0.153846 | 0 | 0.538462 | 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 |
014ce00253ffa7cb850a01700fc51b949e076557 | 83 | py | Python | Configuration/Eras/python/Modifier_tracker_apv_vfp30_2016_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/Eras/python/Modifier_tracker_apv_vfp30_2016_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/Eras/python/Modifier_tracker_apv_vfp30_2016_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
tracker_apv_vfp30_2016 = cms.Modifier()
| 20.75 | 40 | 0.819277 | 12 | 83 | 5.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.108434 | 83 | 3 | 41 | 27.666667 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0153afbf6ea9bc5cf3cc39f9f6bbef099dee85be | 161 | py | Python | creation/urls.py | CSCI-499003-Fall2018/semester-project-ice2meetu | a4b9e515f491debce10b8a1b11737e5b9f661281 | [
"MIT"
] | null | null | null | creation/urls.py | CSCI-499003-Fall2018/semester-project-ice2meetu | a4b9e515f491debce10b8a1b11737e5b9f661281 | [
"MIT"
] | 3 | 2018-12-12T00:55:18.000Z | 2021-03-19T22:12:39.000Z | creation/urls.py | CSCI-499003-Fall2018/semester-project-ice2meetu | a4b9e515f491debce10b8a1b11737e5b9f661281 | [
"MIT"
] | null | null | null | from django.urls import path, include
# from django.conf.urls import url
from . import views
urlpatterns = [
path('', views.create, name='creation_page'),
]
| 23 | 49 | 0.720497 | 22 | 161 | 5.227273 | 0.636364 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15528 | 161 | 6 | 50 | 26.833333 | 0.845588 | 0.198758 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
016e8c12a2cf07b6e5df40f767b2caa36d99da20 | 58 | py | Python | githubissuesbot/__init__.py | bobirdmi/githubissuesbot | 15ffce66ea088fa0719177cba2efd50a3a67efd3 | [
"CC0-1.0"
] | null | null | null | githubissuesbot/__init__.py | bobirdmi/githubissuesbot | 15ffce66ea088fa0719177cba2efd50a3a67efd3 | [
"CC0-1.0"
] | 1 | 2016-11-08T22:13:26.000Z | 2016-11-08T22:13:26.000Z | githubissuesbot/__init__.py | bobirdmi/githubissuesbot | 15ffce66ea088fa0719177cba2efd50a3a67efd3 | [
"CC0-1.0"
] | null | null | null | from .github_bot import GitHubBot
__all__ = ['GitHubBot'] | 19.333333 | 33 | 0.775862 | 7 | 58 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 3 | 34 | 19.333333 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 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 |
6d7c4dc889b94aa60cb12ec228fca954ecdd0b51 | 659 | py | Python | regression_tests/parsers/c_parser/types/int_type.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | regression_tests/parsers/c_parser/types/int_type.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | regression_tests/parsers/c_parser/types/int_type.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
An ``int`` type.
"""
from regression_tests.parsers.c_parser.types.integral_type import IntegralType
class IntType(IntegralType):
"""An ``int`` type."""
def is_int(self, size=None):
"""Returns ``True`` if `size` matches.
See :func:`~regression_tests.parsers.c_parser.type.Type.is_int(... | 21.966667 | 78 | 0.616085 | 81 | 659 | 4.555556 | 0.493827 | 0.081301 | 0.04878 | 0.124661 | 0.157182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23824 | 659 | 29 | 79 | 22.724138 | 0.73506 | 0.233687 | 0 | 0 | 0 | 0 | 0.021834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6d87221da9f995c5cf1a67ecfc54dd36da4261f3 | 1,426 | py | Python | pypro/tests/gen_test_plane.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 7 | 2016-12-07T11:52:07.000Z | 2022-02-18T09:25:55.000Z | pypro/tests/gen_test_plane.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 2 | 2018-10-22T12:46:22.000Z | 2019-11-19T13:17:35.000Z | pypro/tests/gen_test_plane.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 17 | 2015-11-24T17:04:46.000Z | 2020-12-20T12:56:38.000Z | import math
import unittest
from random import random
class GenerateTestPlane(unittest.TestCase):
def runTest(self, result=None):
out_xyz_all = ""
for i in range(1, 500):
for j in range(1, 100):
out_xyz_all += str("%.6f" % float(i / 10.0)) + " "
out_xyz... | 31.688889 | 74 | 0.427069 | 193 | 1,426 | 2.953368 | 0.259067 | 0.147368 | 0.205263 | 0.210526 | 0.42807 | 0.317544 | 0.27193 | 0.27193 | 0.110526 | 0.077193 | 0 | 0.088404 | 0.389201 | 1,426 | 44 | 75 | 32.409091 | 0.566016 | 0 | 0 | 0 | 1 | 0 | 0.046283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.096774 | 0 | 0.16129 | 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 |
6d935c7c293a429a5efcc2af673e5bf801b484fc | 247 | py | Python | 103_manejoErrores/ImportError.py | josuerojasq/netacad_python | 510c3a026f83e499144d91c00edc5045a8304a08 | [
"MIT"
] | null | null | null | 103_manejoErrores/ImportError.py | josuerojasq/netacad_python | 510c3a026f83e499144d91c00edc5045a8304a08 | [
"MIT"
] | null | null | null | 103_manejoErrores/ImportError.py | josuerojasq/netacad_python | 510c3a026f83e499144d91c00edc5045a8304a08 | [
"MIT"
] | null | null | null | #Se produce una excepción concreta cuando falla una operación de importación.
# una de estas importaciones fallará, ¿cuál será?
try:
import math
import time
import abracadabra
except:
print('Una de sus importaciones ha fallado.') | 24.7 | 77 | 0.744939 | 34 | 247 | 5.441176 | 0.764706 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202429 | 247 | 10 | 78 | 24.7 | 0.93401 | 0.502024 | 0 | 0 | 0 | 0 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 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 |
6da0cfaa77b3f35fe311002d41d37e6dfd9de666 | 407 | py | Python | lists advanced lab/trains.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | lists advanced lab/trains.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | lists advanced lab/trains.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | wagons = int(input())
wagons_list = [0 for _ in range(wagons)]
command = input().split()
while "End" not in command:
if "add" in command:
wagons_list[-1] += int(command[1])
elif "insert" in command:
wagons_list[int(command[1])] += int(command[2])
elif "leave" in command:
wagons_list... | 27.133333 | 55 | 0.621622 | 58 | 407 | 4.258621 | 0.362069 | 0.202429 | 0.182186 | 0.230769 | 0.331984 | 0.331984 | 0.331984 | 0.331984 | 0.331984 | 0.331984 | 0 | 0.021739 | 0.208845 | 407 | 14 | 56 | 29.071429 | 0.745342 | 0 | 0 | 0.166667 | 0 | 0 | 0.041769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6dce1bfca8c92f504fd7271e78dd1adbcbabbde2 | 249 | py | Python | ControlManual/src/static/__init__.py | ZeroIntensity/ControlManual | 9bd3e5eda22df70baa8a9bf324fd4efaacb924b2 | [
"MIT"
] | 1 | 2021-12-20T18:07:50.000Z | 2021-12-20T18:07:50.000Z | ControlManual/src/static/__init__.py | ZeroIntensity/ControlManual | 9bd3e5eda22df70baa8a9bf324fd4efaacb924b2 | [
"MIT"
] | 16 | 2021-12-20T19:07:07.000Z | 2021-12-27T21:03:48.000Z | ControlManual/src/static/__init__.py | ZeroIntensity/ControlManual | 9bd3e5eda22df70baa8a9bf324fd4efaacb924b2 | [
"MIT"
] | 1 | 2021-12-19T19:41:11.000Z | 2021-12-19T19:41:11.000Z | """Module containing static functions and objects.
Items in this module should not be dependent on any other parts of the project EXCEPT other files in this module.
"""
from .json_file import JSONFile
from .static_error import static_error
| 31.125 | 114 | 0.779116 | 38 | 249 | 5.026316 | 0.736842 | 0.062827 | 0.125654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 249 | 7 | 115 | 35.571429 | 0.936275 | 0.650602 | 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 |
6dd0ce20a897b0410aade23c66abd354013aacb7 | 117 | py | Python | upload/urls.py | MikeCun/PersonReID | 9c7c122212410f79edc2b5582ed75e8a727ea88a | [
"MIT"
] | 1 | 2020-08-28T05:54:39.000Z | 2020-08-28T05:54:39.000Z | upload/urls.py | MikeCun/PersonReID | 9c7c122212410f79edc2b5582ed75e8a727ea88a | [
"MIT"
] | 6 | 2020-06-05T20:45:43.000Z | 2022-03-11T23:45:39.000Z | upload/urls.py | MikeCun/PersonReID | 9c7c122212410f79edc2b5582ed75e8a727ea88a | [
"MIT"
] | null | null | null | from django.conf.urls import url
from upload import views
urlpatterns = [
url(r'upload/', views.upload_file),
] | 16.714286 | 39 | 0.726496 | 17 | 117 | 4.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 7 | 40 | 16.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6dd3b078c97d54c5c03d1d4789b9378d41c96709 | 785 | py | Python | playground/rllib/utils/feature_functions.py | kangyifei/CloudSimPy | 45912e7ea35086b67941624102e400cb22e549ab | [
"MIT"
] | 78 | 2019-03-03T12:36:18.000Z | 2020-10-12T08:54:02.000Z | playground/Non_DAG/utils/feature_functions.py | GengxinLiu/CloudSimPy | c103672f51d6617707501f05548a7df6090cdca5 | [
"MIT"
] | 11 | 2019-03-15T12:48:34.000Z | 2020-09-16T06:57:59.000Z | playground/Non_DAG/utils/feature_functions.py | GengxinLiu/CloudSimPy | c103672f51d6617707501f05548a7df6090cdca5 | [
"MIT"
] | 34 | 2019-03-15T12:10:25.000Z | 2020-10-31T22:24:56.000Z | import numpy as np
def features_extract_func(task):
return [task.task_config.cpu, task.task_config.memory,
task.task_config.duration, task.waiting_task_instances_number]
def features_extract_func_ac(task):
return features_extract_func(task) + [task.task_config.instances_number, len(task.running_... | 34.130435 | 112 | 0.636943 | 136 | 785 | 3.5 | 0.279412 | 0.088235 | 0.117647 | 0.037815 | 0.283613 | 0.283613 | 0.245798 | 0.245798 | 0.245798 | 0.245798 | 0 | 0.139647 | 0.206369 | 785 | 22 | 113 | 35.681818 | 0.624398 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.642857 | 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 |
6ddf31802f9703c14fbeb1865e0c5314ff7c95ce | 478 | py | Python | IGDBService/API/urls.py | fga-eps-mds/2018.2-GamesBI_IgdbService | d3508b4ab778ad7f150db09cd5ca20424200353f | [
"MIT"
] | null | null | null | IGDBService/API/urls.py | fga-eps-mds/2018.2-GamesBI_IgdbService | d3508b4ab778ad7f150db09cd5ca20424200353f | [
"MIT"
] | 10 | 2018-09-05T14:10:23.000Z | 2018-09-19T00:15:46.000Z | IGDBService/API/urls.py | fga-eps-mds/2018.2-GamesBI_IgdbService | d3508b4ab778ad7f150db09cd5ca20424200353f | [
"MIT"
] | 2 | 2018-09-05T12:37:44.000Z | 2018-09-12T23:56:37.000Z | from django.urls import include, path
from .views import GamesNameListView, GamesSteamListView
urlpatterns = [
path('get_igdb_games_list/name', GamesNameListView.as_view(), name="get_igdb_games_name_list"), # retorna uma lista com o nome de todos os games salvos no banco de dados
path('get_igdb_games_list/id_... | 59.75 | 189 | 0.790795 | 76 | 478 | 4.736842 | 0.434211 | 0.077778 | 0.133333 | 0.088889 | 0.55 | 0.438889 | 0.188889 | 0.188889 | 0.188889 | 0 | 0 | 0 | 0.131799 | 478 | 8 | 190 | 59.75 | 0.86747 | 0.313808 | 0 | 0 | 0 | 0 | 0.319018 | 0.319018 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6df6d653ca94e700194b7cac285b8cee86219fb9 | 384 | py | Python | vibrant/nodes.py | gcapu/vibrant | e4fd3882f432a58f4227d37fe80de40654cebb74 | [
"MIT"
] | 2 | 2020-05-12T21:51:24.000Z | 2021-03-03T08:54:49.000Z | vibrant/nodes.py | gcapu/vibrant | e4fd3882f432a58f4227d37fe80de40654cebb74 | [
"MIT"
] | null | null | null | vibrant/nodes.py | gcapu/vibrant | e4fd3882f432a58f4227d37fe80de40654cebb74 | [
"MIT"
] | 1 | 2020-05-12T22:06:38.000Z | 2020-05-12T22:06:38.000Z | import torch
class Nodes:
"""Nodes container."""
def __init__(self, X, u=None, v=None):
self.X = X
self.u = u if u is not None else torch.zeros_like(X)
self.v = v if v is not None else torch.zeros_like(X)
self.m = None
self.f = None
def __len__(self):
retu... | 20.210526 | 60 | 0.554688 | 64 | 384 | 3.171875 | 0.34375 | 0.123153 | 0.059113 | 0.128079 | 0.315271 | 0.315271 | 0.315271 | 0.315271 | 0.315271 | 0 | 0 | 0 | 0.330729 | 384 | 18 | 61 | 21.333333 | 0.789883 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 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 |
6df7cddda7e1ad172c1fcca9cb2140760d411df0 | 181 | py | Python | aku/swig/add_undefs.py | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 78 | 2015-01-07T14:33:47.000Z | 2022-03-15T09:01:30.000Z | aku/swig/add_undefs.py | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 4 | 2015-05-19T13:00:34.000Z | 2016-07-26T12:29:32.000Z | aku/swig/add_undefs.py | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 32 | 2015-01-16T08:16:24.000Z | 2021-04-02T21:26:22.000Z | #!python
import sys
for l in sys.stdin:
sys.stdout.write(l)
if l=="#include <Python.h>\n":
sys.stdout.write("#undef c_abs\n")
#sys.stdout.write("#undef _c_Py_abs\n")
| 16.454545 | 43 | 0.640884 | 33 | 181 | 3.393939 | 0.515152 | 0.241071 | 0.375 | 0.267857 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165746 | 181 | 10 | 44 | 18.1 | 0.741722 | 0.243094 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0990473f4bc23251ff22c8baa03b5a4050f606ba | 276 | py | Python | tools/generate_levels.py | eSquire-qq/BrainOut | 9eb082af8bea531b628dc7a0640effaf3b550998 | [
"MIT"
] | 31 | 2022-03-20T18:52:44.000Z | 2022-03-28T17:40:28.000Z | tools/generate_levels.py | strelokuser/brainout | d56fdfb6481879be1a289f040aefdbb2085ab266 | [
"MIT"
] | 4 | 2022-03-21T19:23:21.000Z | 2022-03-30T04:48:20.000Z | tools/generate_levels.py | strelokuser/brainout | d56fdfb6481879be1a289f040aefdbb2085ab266 | [
"MIT"
] | 15 | 2022-03-20T23:34:29.000Z | 2022-03-31T11:31:45.000Z | import json
LEVELS = 69
SCORE = 200
INCR_ADD = 100
o = []
score = SCORE
score_add = INCR_ADD
for i in xrange(1, LEVELS):
o.append({"score": score, "name": "LEVEL_" + str(i), "icon": "icon-level-" + str(i-1)})
score += score_add
score_add += INCR_ADD
print json.dumps(o) | 17.25 | 88 | 0.648551 | 47 | 276 | 3.659574 | 0.468085 | 0.232558 | 0.151163 | 0.174419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044053 | 0.177536 | 276 | 16 | 89 | 17.25 | 0.713656 | 0 | 0 | 0 | 0 | 0 | 0.108303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09a872a73ee96e39a0187b6143cc1a7d306e97a7 | 193 | py | Python | attic/setup.py | ccld/HumVI | 17c7e2a46c8b6524d64ae22462214780e5a7d60e | [
"MIT"
] | 6 | 2015-12-03T08:32:28.000Z | 2021-04-07T12:39:11.000Z | attic/setup.py | ccld/HumVI | 17c7e2a46c8b6524d64ae22462214780e5a7d60e | [
"MIT"
] | 7 | 2015-03-05T02:11:04.000Z | 2016-06-21T22:54:58.000Z | attic/setup.py | ccld/HumVI | 17c7e2a46c8b6524d64ae22462214780e5a7d60e | [
"MIT"
] | 8 | 2015-11-08T17:13:22.000Z | 2021-12-10T10:46:27.000Z | from distutils.core import setup
setup(name="humvi",
packages=["humvi"]
)
setup(name="decon",
packages=["decon"]
)
setup(name="misc",
packages=["misc"]
)
| 13.785714 | 32 | 0.554404 | 20 | 193 | 5.35 | 0.5 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26943 | 193 | 13 | 33 | 14.846154 | 0.758865 | 0 | 0 | 0 | 0 | 0 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 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 |
09aca7f1e116c9ecc7ae64b673fe7843828e29d1 | 130 | py | Python | Decomposition/test_correlation.py | guangtunbenzhu/BGT-Cosmology | 2dbedfb6ead3ecd2f43a2716cfd388a5a65979ee | [
"MIT"
] | 1 | 2018-06-17T14:42:52.000Z | 2018-06-17T14:42:52.000Z | Decomposition/test_correlation.py | guangtunbenzhu/BGT-Cosmology | 2dbedfb6ead3ecd2f43a2716cfd388a5a65979ee | [
"MIT"
] | null | null | null | Decomposition/test_correlation.py | guangtunbenzhu/BGT-Cosmology | 2dbedfb6ead3ecd2f43a2716cfd388a5a65979ee | [
"MIT"
] | null | null | null |
import numpy as np
x = 2.1*np.random.randn(270)+1.5
y = 1.3*np.random.randn(270)+3.4
f = adkfjakfj
a_corr = np.ones((3,270))
| 13 | 32 | 0.638462 | 30 | 130 | 2.733333 | 0.633333 | 0.195122 | 0.317073 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0.161538 | 130 | 9 | 33 | 14.444444 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09b4387b9061e39c77892c780a0c8162ed1dab86 | 763 | py | Python | b_cfn_custom_userpool_authorizer/config/user_pool_ssm_config.py | simonasvaitkus/B.CfnCustomUserPoolAuthorizer | 6532665d3b29031f86c19205cd58b0bcd9e4f827 | [
"Apache-2.0"
] | null | null | null | b_cfn_custom_userpool_authorizer/config/user_pool_ssm_config.py | simonasvaitkus/B.CfnCustomUserPoolAuthorizer | 6532665d3b29031f86c19205cd58b0bcd9e4f827 | [
"Apache-2.0"
] | null | null | null | b_cfn_custom_userpool_authorizer/config/user_pool_ssm_config.py | simonasvaitkus/B.CfnCustomUserPoolAuthorizer | 6532665d3b29031f86c19205cd58b0bcd9e4f827 | [
"Apache-2.0"
] | 1 | 2022-01-04T07:46:14.000Z | 2022-01-04T07:46:14.000Z | from typing import Optional, Dict
class UserPoolSsmConfig:
def __init__(
self,
user_pool_id_ssm_key: Optional[str] = None,
user_pool_region_ssm_key: Optional[str] = None,
user_pool_client_id_ssm_key: Optional[str] = None
) -> None:
self.user_pool_id_ssm_... | 36.333333 | 76 | 0.685452 | 114 | 763 | 3.973684 | 0.184211 | 0.264901 | 0.1766 | 0.143488 | 0.801325 | 0.788079 | 0.693157 | 0.565121 | 0.366446 | 0.264901 | 0 | 0 | 0.245085 | 763 | 20 | 77 | 38.15 | 0.786458 | 0 | 0 | 0 | 0 | 0 | 0.093054 | 0.066841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0.058824 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09c905351e1b2768c9245d35aa89c62802e55359 | 1,548 | py | Python | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
"""
FactSet Quant Factor Library API
The FactSet FactSet Quant Factor Library (QFL) API helps to detect investment themes across global equity markets, incorporate ideas into your portfolio construction process, and transform raw data into actionable intelligence. Over 2000+ items spanning Fact... | 53.37931 | 699 | 0.812016 | 176 | 1,548 | 7.113636 | 0.579545 | 0.044728 | 0.063898 | 0.223642 | 0.244409 | 0.244409 | 0 | 0 | 0 | 0 | 0 | 0.011128 | 0.129199 | 1,548 | 28 | 700 | 55.285714 | 0.917656 | 0.589793 | 0 | 0 | 0 | 0 | 0.009934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 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 |
61e17ee11de12834b2e62d33c3855119b42dfa37 | 125 | py | Python | sections/technical/fr1/inputchange.py | Lemswasabi/bsps3-report | ca3f7bee2d4740c5c7ad9f586766ab04a0e5f58b | [
"MIT"
] | null | null | null | sections/technical/fr1/inputchange.py | Lemswasabi/bsps3-report | ca3f7bee2d4740c5c7ad9f586766ab04a0e5f58b | [
"MIT"
] | null | null | null | sections/technical/fr1/inputchange.py | Lemswasabi/bsps3-report | ca3f7bee2d4740c5c7ad9f586766ab04a0e5f58b | [
"MIT"
] | null | null | null | X_train = np.reshape(X_train.values,(X_train.shape[0],32,20))
X_train, X_test, y_train, y_test = train_test_split(X_train,y)
| 41.666667 | 62 | 0.768 | 27 | 125 | 3.185185 | 0.444444 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.072 | 125 | 2 | 63 | 62.5 | 0.698276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61f319f2dcbdf5421104173860455019e8452e80 | 33 | py | Python | Priya_Notebooks/api_keys.py | yash5OG/GamingVizs-PriyaYash | 7c6ea4ac86c9825e3cfd59a39a7dc84adbebf27e | [
"MIT"
] | null | null | null | Priya_Notebooks/api_keys.py | yash5OG/GamingVizs-PriyaYash | 7c6ea4ac86c9825e3cfd59a39a7dc84adbebf27e | [
"MIT"
] | null | null | null | Priya_Notebooks/api_keys.py | yash5OG/GamingVizs-PriyaYash | 7c6ea4ac86c9825e3cfd59a39a7dc84adbebf27e | [
"MIT"
] | null | null | null | client_id = "YOUR API KEY HERE"
| 11 | 31 | 0.69697 | 6 | 33 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 32 | 16.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.53125 | 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 |
11076599f607f5f1d6bb460b91fae014d91f0d38 | 132 | py | Python | drnalpha/sic_codes/apps.py | UKGovernmentBEIS/BRE_DigitalRegulationNavigator_Alpha | bfa6d08212bc18034b20b9c922a554a6e1ddd0f1 | [
"MIT"
] | null | null | null | drnalpha/sic_codes/apps.py | UKGovernmentBEIS/BRE_DigitalRegulationNavigator_Alpha | bfa6d08212bc18034b20b9c922a554a6e1ddd0f1 | [
"MIT"
] | null | null | null | drnalpha/sic_codes/apps.py | UKGovernmentBEIS/BRE_DigitalRegulationNavigator_Alpha | bfa6d08212bc18034b20b9c922a554a6e1ddd0f1 | [
"MIT"
] | 1 | 2021-04-21T09:41:43.000Z | 2021-04-21T09:41:43.000Z | from django.apps import AppConfig
class SICCodesConfig(AppConfig):
name = "drnalpha.sic_codes"
verbose_name = "SIC Codes"
| 18.857143 | 33 | 0.742424 | 16 | 132 | 6 | 0.75 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 132 | 6 | 34 | 22 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
110c098e532d2661ade9ed1c85d7bfa412043a0c | 322 | py | Python | node.py | jay3ss/congenial-rotary-phone | c12a9295404ff9eb3282cf39e03cd6c64115190f | [
"MIT"
] | null | null | null | node.py | jay3ss/congenial-rotary-phone | c12a9295404ff9eb3282cf39e03cd6c64115190f | [
"MIT"
] | 1 | 2019-06-06T21:56:56.000Z | 2019-06-06T21:56:56.000Z | node.py | jay3ss/congenial-rotary-phone | c12a9295404ff9eb3282cf39e03cd6c64115190f | [
"MIT"
] | null | null | null | """Defines a node for link-based data structures"""
class Node:
"""A node in the linked list"""
def __init__(self, next=None, data=None):
self.next = next
self.data = data
def __eq__(self, other):
return self.data == other.data
def __repr__(self):
return repr(self.data... | 23 | 51 | 0.608696 | 45 | 322 | 4.088889 | 0.488889 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270186 | 322 | 13 | 52 | 24.769231 | 0.782979 | 0.220497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1117691845bc7f7cfecc70e3626c175728719911 | 175 | py | Python | Swati Singh/volume_of_sphere.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 4 | 2022-03-20T10:59:53.000Z | 2022-03-25T18:28:04.000Z | Swati Singh/volume_of_sphere.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | null | null | null | Swati Singh/volume_of_sphere.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 15 | 2022-03-12T11:49:10.000Z | 2022-03-15T06:22:55.000Z | # 14. Write a program in Python to calculate the volume of a sphere
rad=int(input("Enter radius of the sphere: "))
vol=(4/3)*3.14*(rad**3)
print("Volume of the sphere= ",vol)
| 35 | 67 | 0.697143 | 34 | 175 | 3.588235 | 0.617647 | 0.131148 | 0.180328 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053691 | 0.148571 | 175 | 4 | 68 | 43.75 | 0.765101 | 0.371429 | 0 | 0 | 0 | 0 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
112f646bfdf1571fd88a6fc018563ea5b5a69051 | 1,436 | py | Python | tokencounter.py | arachan/tokencounter | 54973e9772c4ce1b6a6d12376a83cd05bae9e138 | [
"Apache-2.0"
] | null | null | null | tokencounter.py | arachan/tokencounter | 54973e9772c4ce1b6a6d12376a83cd05bae9e138 | [
"Apache-2.0"
] | null | null | null | tokencounter.py | arachan/tokencounter | 54973e9772c4ce1b6a6d12376a83cd05bae9e138 | [
"Apache-2.0"
] | null | null | null | import unohelper
from org.openoffice.addin.sample import XTokenCounter
from com.sun.star.sheet import XAddIn
from com.sun.star.lang import XLocalizable, XServiceName, Locale
class TokenCounter( unohelper.Base, XTokenCounter, XAddIn, XServiceName ):
def __init__( self, ctx ):
self.ctx = ctx
self.lo... | 30.553191 | 87 | 0.69429 | 141 | 1,436 | 7.042553 | 0.489362 | 0.040282 | 0.020141 | 0.028197 | 0.086606 | 0.086606 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231198 | 1,436 | 46 | 88 | 31.217391 | 0.899457 | 0.036908 | 0 | 0.066667 | 0 | 0 | 0.102824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.133333 | 0.333333 | 0.9 | 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 |
11585c35a97fef83ebb0cf16a3f9509274f3d450 | 297 | py | Python | src/pyfel/base/beam_transform.py | bellaz89/pyFEL | d96bc50096d32dac4ba957f0fc022bc377232680 | [
"MIT"
] | 1 | 2021-02-24T04:31:36.000Z | 2021-02-24T04:31:36.000Z | src/pyfel/base/beam_transform.py | bellaz89/pyFEL | d96bc50096d32dac4ba957f0fc022bc377232680 | [
"MIT"
] | null | null | null | src/pyfel/base/beam_transform.py | bellaz89/pyFEL | d96bc50096d32dac4ba957f0fc022bc377232680 | [
"MIT"
] | null | null | null | '''
Transform the beam
'''
import abc
class BeamTransform(metaclass=abc.ABCMeta):
'''
Class representing an abstract beam transformation
'''
@abc.abstractmethod
def transform(self, beam):
'''
Apply a transform to the beam
'''
pass
| 17.470588 | 58 | 0.579125 | 29 | 297 | 5.931034 | 0.689655 | 0.081395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323232 | 297 | 16 | 59 | 18.5625 | 0.855721 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1163c4861fc860bd5d8b6a86ef7a9ade86743297 | 119 | py | Python | Sergeant-RANK/DAY-10/408A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | 2 | 2021-12-09T18:07:46.000Z | 2022-01-26T16:51:18.000Z | Sergeant-RANK/DAY-10/408A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | Sergeant-RANK/DAY-10/408A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | n = int(input())
input()
print(min(sum(5 * y + 15 for y in x) for x in (map(int, input().split()) for _ in range(n))))
| 29.75 | 93 | 0.588235 | 25 | 119 | 2.76 | 0.6 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.184874 | 119 | 3 | 94 | 39.666667 | 0.680412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
116491f192147d9d4eef5a34e00e125049268cd9 | 158 | py | Python | dojo/components/urls.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 1,772 | 2018-01-22T23:32:15.000Z | 2022-03-31T14:49:33.000Z | dojo/components/urls.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 3,461 | 2018-01-20T19:12:28.000Z | 2022-03-31T17:14:39.000Z | dojo/components/urls.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 1,173 | 2018-01-23T07:10:23.000Z | 2022-03-31T14:40:43.000Z | from django.conf.urls import url
from dojo.components import views
urlpatterns = [
url(r'^components$', views.components,
name='components'),
]
| 19.75 | 46 | 0.696203 | 19 | 158 | 5.789474 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 158 | 7 | 47 | 22.571429 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 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 |
febee58444eafd04c7d20d1e8c6c8b7f02ff7a83 | 101 | py | Python | Programmers/Lv.1/dot_product.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | 2 | 2021-08-30T12:37:57.000Z | 2021-11-29T05:42:05.000Z | Programmers/Lv.1/dot_product.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | null | null | null | Programmers/Lv.1/dot_product.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | null | null | null | def solution(a, b):
answer = 0
for x,y in zip(a,b):
answer+=x*y
return answer
| 14.428571 | 24 | 0.514851 | 18 | 101 | 2.888889 | 0.666667 | 0.076923 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.356436 | 101 | 6 | 25 | 16.833333 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fec2d32b4fdf2eb33cf4844d09e7d0a4bfb6bbb1 | 216 | py | Python | sample-apps/search-results-iterating-app/src/routes/readme.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 1 | 2020-11-12T08:46:32.000Z | 2020-11-12T08:46:32.000Z | sample-apps/search-results-iterating-app/src/routes/readme.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | sample-apps/search-results-iterating-app/src/routes/readme.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint, render_template
from auth import auth_required
module = Blueprint("readme", __name__)
@module.route("/")
@auth_required
def readme():
return render_template("readme/readme.html")
| 18 | 48 | 0.763889 | 27 | 216 | 5.814815 | 0.555556 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 216 | 11 | 49 | 19.636364 | 0.830688 | 0 | 0 | 0 | 0 | 0 | 0.115741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0.285714 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
fecce24ba798bbe3cbbff6f32430ebcea9d164e0 | 370 | py | Python | MakePayments/paymentapp/models.py | shubham-156760530/ngo-donation | f24cacba051218f908f3cfe72ee84e820ef07018 | [
"MIT"
] | null | null | null | MakePayments/paymentapp/models.py | shubham-156760530/ngo-donation | f24cacba051218f908f3cfe72ee84e820ef07018 | [
"MIT"
] | null | null | null | MakePayments/paymentapp/models.py | shubham-156760530/ngo-donation | f24cacba051218f908f3cfe72ee84e820ef07018 | [
"MIT"
] | null | null | null | from django.db import models
class NgoDonation(models.Model):
name = models.CharField(max_length=100)
amount = models.CharField(max_length=100)
order_id = models.CharField(max_length=100, blank=True)
razorpay_payment_id = models.CharField(max_length=100, blank=True)
paid = models.BooleanFiel... | 30.833333 | 71 | 0.735135 | 49 | 370 | 5.408163 | 0.55102 | 0.226415 | 0.271698 | 0.362264 | 0.490566 | 0.286792 | 0.286792 | 0.286792 | 0 | 0 | 0 | 0.038961 | 0.167568 | 370 | 11 | 72 | 33.636364 | 0.821429 | 0.064865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fee2773b522a36acd1e8902bc1be8f7b76626821 | 180 | py | Python | back_django/post/admin.py | TheStarkor/LINK | 2ce2852d128006c40a3b0836f98f2e1b95faeba5 | [
"MIT"
] | 1 | 2020-03-23T03:40:08.000Z | 2020-03-23T03:40:08.000Z | back_django/post/admin.py | TheStarkor/LINK | 2ce2852d128006c40a3b0836f98f2e1b95faeba5 | [
"MIT"
] | 2 | 2021-05-11T08:28:53.000Z | 2021-12-09T01:29:27.000Z | back_django/post/admin.py | TheStarkor/LINK | 2ce2852d128006c40a3b0836f98f2e1b95faeba5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
class PostAdmin(admin.ModelAdmin):
list_display=('title', 'author', 'created',)
admin.site.register(Post, PostAdmin) | 20 | 46 | 0.761111 | 23 | 180 | 5.913043 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 180 | 9 | 47 | 20 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a039a95d8584bc630f17e7f66c63c2a32b65207 | 16 | py | Python | frames/__init__.py | Pawlette/leap_game_python | b1d6147b19495c466df5562434a6a1db86d9de64 | [
"MIT"
] | null | null | null | frames/__init__.py | Pawlette/leap_game_python | b1d6147b19495c466df5562434a6a1db86d9de64 | [
"MIT"
] | null | null | null | frames/__init__.py | Pawlette/leap_game_python | b1d6147b19495c466df5562434a6a1db86d9de64 | [
"MIT"
] | null | null | null | name = "frames"
| 8 | 15 | 0.625 | 2 | 16 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a163b234276983904411509eb30d8c3b783e432 | 213 | py | Python | Guanabara/desafio27.py | manuellaAlvesVarella/python | eedb8362f0ebc8074f87d15c9e629e319ff29394 | [
"MIT"
] | 1 | 2022-03-25T20:42:20.000Z | 2022-03-25T20:42:20.000Z | Guanabara/desafio27.py | manuellaAlvesVarella/python | eedb8362f0ebc8074f87d15c9e629e319ff29394 | [
"MIT"
] | null | null | null | Guanabara/desafio27.py | manuellaAlvesVarella/python | eedb8362f0ebc8074f87d15c9e629e319ff29394 | [
"MIT"
] | null | null | null | n = str(input('Digite seu nome completo:')).strip()
nome = n.split()
print ('É um prezer te conhecer!')
print ('seu primeiro nome é {}'.format(nome[0]))
print ('Seu último nome é {}'.format(nome[len(nome)-1])) | 42.6 | 56 | 0.647887 | 35 | 213 | 3.942857 | 0.6 | 0.115942 | 0.15942 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010929 | 0.140845 | 213 | 5 | 56 | 42.6 | 0.743169 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3a351a2bf7afad4af5140ea9423877eb13702fb0 | 101 | py | Python | mayan/apps/dynamic_search/__init__.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 2,743 | 2017-12-18T07:12:30.000Z | 2022-03-27T17:21:25.000Z | mayan/apps/dynamic_search/__init__.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 15 | 2020-06-06T00:00:48.000Z | 2022-03-12T00:03:54.000Z | mayan/apps/dynamic_search/__init__.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 257 | 2017-12-18T03:12:58.000Z | 2022-03-25T08:59:10.000Z | from __future__ import unicode_literals
default_app_config = 'dynamic_search.apps.DynamicSearchApp'
| 25.25 | 59 | 0.871287 | 12 | 101 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 3 | 60 | 33.666667 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0.356436 | 0.356436 | 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 |
28bba9a83eb4ee99349e678c142be218740edded | 276 | py | Python | DatabaseDailyUpdateSetup.py | adamrvfisher/TechnicalAnalysisLibrary | 38a22b2b2b5052623f81edb11b3c5460fc254e45 | [
"Apache-2.0"
] | 3 | 2019-04-26T11:13:14.000Z | 2020-01-10T05:58:16.000Z | DatabaseDailyUpdateSetup.py | adamrvfisher/TechnicalAnalysisLibrary | 38a22b2b2b5052623f81edb11b3c5460fc254e45 | [
"Apache-2.0"
] | null | null | null | DatabaseDailyUpdateSetup.py | adamrvfisher/TechnicalAnalysisLibrary | 38a22b2b2b5052623f81edb11b3c5460fc254e45 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: Adam Reinhold Von Fisher - https://www.linkedin.com/in/adamrvfisher/
"""
#Prep for batch file usage
#Import modules
from distutils.core import setup
import py2exe
#setup script
setup(console=['DatabaseDailyUpdate.py'])
| 17.25 | 78 | 0.681159 | 34 | 276 | 5.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.181159 | 276 | 15 | 79 | 18.4 | 0.823009 | 0.547101 | 0 | 0 | 0 | 0 | 0.226804 | 0.226804 | 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 |
28c39679e9e333d58d9b6d44e379d41a2f2f9731 | 972 | py | Python | www/html/syntaxe.py | clyhtsuriva/ATS | e1ac6d2572367ae4f447468b586e9407cb89930e | [
"WTFPL"
] | 1 | 2020-04-22T12:27:47.000Z | 2020-04-22T12:27:47.000Z | www/html/syntaxe.py | clyhtsuriva/ATS-Project | e1ac6d2572367ae4f447468b586e9407cb89930e | [
"WTFPL"
] | null | null | null | www/html/syntaxe.py | clyhtsuriva/ATS-Project | e1ac6d2572367ae4f447468b586e9407cb89930e | [
"WTFPL"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import mod_python
from fonctions import baseHTML, connexionBD, lien
def index(req):
req.content_type="text/html"
content=str()
#write the html page
req.write(baseHTML("ATS - Syntaxe","""
<h1>Syntaxe</h1>
<p>La """+lien('syntaxe.py','syntaxe')+""" pour utiliser l... | 37.384615 | 153 | 0.638889 | 177 | 972 | 3.451977 | 0.418079 | 0.07856 | 0.05892 | 0.065466 | 0.160393 | 0.08838 | 0.045827 | 0.045827 | 0.045827 | 0 | 0 | 0.029834 | 0.06893 | 972 | 25 | 154 | 38.88 | 0.645304 | 0.059671 | 0 | 0 | 0 | 0.368421 | 0.774973 | 0.57629 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
28c3a5fd54964f4367fc42e3b818b327de456bfa | 895 | py | Python | capana/application/base.py | dkluffy/capana | 6f28dea6b0b54f92f6a27edc84ee3b2bd40a58e8 | [
"Apache-2.0"
] | null | null | null | capana/application/base.py | dkluffy/capana | 6f28dea6b0b54f92f6a27edc84ee3b2bd40a58e8 | [
"Apache-2.0"
] | null | null | null | capana/application/base.py | dkluffy/capana | 6f28dea6b0b54f92f6a27edc84ee3b2bd40a58e8 | [
"Apache-2.0"
] | null | null | null | import abc
T_FUNC_STR = 't_func_'
class BackEnd(abc.ABC):
def __init__(self,*args):
pass
@abc.abstractmethod
def table(self,tablename):
pass
def get_tables_list(self):
tabs = []
for i in self.__dir__():
if i.startswith(T_FUNC_STR):
... | 20.340909 | 63 | 0.55419 | 102 | 895 | 4.5 | 0.401961 | 0.054466 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001718 | 0.349721 | 895 | 43 | 64 | 20.813953 | 0.786942 | 0.048045 | 0 | 0.076923 | 0 | 0 | 0.041825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0.076923 | 0.038462 | 0.076923 | 0.576923 | 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 |
28df528be54bc706c0bf5e11fb4d47ed223914d7 | 249 | py | Python | example/server/app.py | BradleyKirton/arel | 38c2cca060ed0a7c5e433b917104e012ee2312c6 | [
"MIT"
] | null | null | null | example/server/app.py | BradleyKirton/arel | 38c2cca060ed0a7c5e433b917104e012ee2312c6 | [
"MIT"
] | null | null | null | example/server/app.py | BradleyKirton/arel | 38c2cca060ed0a7c5e433b917104e012ee2312c6 | [
"MIT"
] | null | null | null | from starlette.applications import Starlette
from . import settings
from .events import on_shutdown, on_startup
from .routes import routes
app = Starlette(
debug=settings.DEBUG, routes=routes, on_startup=on_startup, on_shutdown=on_shutdown,
)
| 24.9 | 88 | 0.807229 | 34 | 249 | 5.735294 | 0.352941 | 0.153846 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124498 | 249 | 9 | 89 | 27.666667 | 0.894495 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
28f6475a217cf445ad24e72bc1d7960fe8243425 | 97 | py | Python | venv_YOLO/main.py | jphacks/KB_1804 | b94a79ab57af5283a49a2d0f346669405ac9b15b | [
"MIT"
] | null | null | null | venv_YOLO/main.py | jphacks/KB_1804 | b94a79ab57af5283a49a2d0f346669405ac9b15b | [
"MIT"
] | 1 | 2018-10-20T15:16:19.000Z | 2018-10-20T15:16:19.000Z | venv_YOLO/main.py | jphacks/KB_1804 | b94a79ab57af5283a49a2d0f346669405ac9b15b | [
"MIT"
] | 1 | 2018-10-20T15:38:09.000Z | 2018-10-20T15:38:09.000Z | from testopencv import OpticalSense
# if __name__ == '__main__':
oc = OpticalSense()
oc.main()
| 13.857143 | 35 | 0.721649 | 11 | 97 | 5.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 6 | 36 | 16.166667 | 0.756098 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 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 |
e910a8ce5c3d5307dcf1ee421fe08f249260b6fe | 308 | py | Python | tests/test_basic_normal.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 1,030 | 2015-01-05T19:15:04.000Z | 2022-03-31T00:18:14.000Z | tests/test_basic_normal.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 691 | 2015-01-04T19:04:40.000Z | 2022-03-02T11:42:21.000Z | tests/test_basic_normal.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 243 | 2015-01-12T22:10:23.000Z | 2022-03-09T11:44:09.000Z | import pytest
import stan
program_code = "parameters {real y;} model {y ~ normal(0,1);}"
@pytest.fixture(scope="module")
def normal_posterior():
return stan.build(program_code)
def test_normal_stepsize(normal_posterior):
fit = normal_posterior.sample(stepsize=0.001)
assert fit is not None
| 19.25 | 62 | 0.737013 | 44 | 308 | 5 | 0.636364 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.149351 | 308 | 15 | 63 | 20.533333 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.165584 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e91562d6a144496923fa6e90f3c40dfdb12e1121 | 139 | py | Python | imagej_tiff_meta/__init__.py | JojoDevel/imagej-tiff-meta | fba19dd3ed3286d26aa21eeafb5f54c33e84b08e | [
"BSD-3-Clause"
] | 3 | 2019-06-10T17:28:19.000Z | 2021-09-17T20:11:51.000Z | imagej_tiff_meta/__init__.py | JojoDevel/imagej-tiff-meta | fba19dd3ed3286d26aa21eeafb5f54c33e84b08e | [
"BSD-3-Clause"
] | 1 | 2020-02-06T12:00:30.000Z | 2020-02-15T01:04:25.000Z | imagej_tiff_meta/__init__.py | JojoDevel/imagej-tiff-meta | fba19dd3ed3286d26aa21eeafb5f54c33e84b08e | [
"BSD-3-Clause"
] | 2 | 2020-07-01T08:58:26.000Z | 2020-07-01T08:59:58.000Z | from .wrapper import TiffFile, TiffWriter, patchy_tifffile as tifffile
__version__ = '0.0.1.dev4.post1'
__author__ = 'Christian C. Sachs'
| 27.8 | 70 | 0.776978 | 19 | 139 | 5.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0.122302 | 139 | 4 | 71 | 34.75 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.244604 | 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 |
3a748b58d478c75cdab239d966272c69ffcb669c | 229 | py | Python | hwm3/venv/Lib/site-packages/pymorphy2_dicts/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | null | null | null | hwm3/venv/Lib/site-packages/pymorphy2_dicts/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | 1 | 2020-04-14T14:13:57.000Z | 2020-04-14T14:13:57.000Z | hwm3/venv/Lib/site-packages/pymorphy2_dicts/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | 1 | 2019-05-11T23:53:04.000Z | 2019-05-11T23:53:04.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import os
from .version import __version__
def get_path():
"""
Return path to dictionary.
"""
return os.path.join(os.path.dirname(__file__), 'data')
| 20.818182 | 58 | 0.676856 | 30 | 229 | 4.7 | 0.633333 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.187773 | 229 | 10 | 59 | 22.9 | 0.752688 | 0.213974 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 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 |
3a847bdd56b876acd87d3f5af627cafc70b7b56a | 617 | py | Python | data/test/python/3a847bdd56b876acd87d3f5af627cafc70b7b56agit.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/python/3a847bdd56b876acd87d3f5af627cafc70b7b56agit.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/python/3a847bdd56b876acd87d3f5af627cafc70b7b56agit.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | ## INFO ##
## INFO ##
# Import pygit2 modules
from pygit2 import (init_repository, discover_repository,
Repository,)
#------------------------------------------------------------------------------#
class Git:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
def... | 24.68 | 80 | 0.34684 | 35 | 617 | 5.828571 | 0.542857 | 0.137255 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004914 | 0.340357 | 617 | 24 | 81 | 25.708333 | 0.496315 | 0.418152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.1 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3a8d30d6b20daebf66203d8f96433aac01c95a62 | 274 | py | Python | application/config/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/config/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/config/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | """Config of application"""
from .application import ApplicationSettings
from .db import MongodbSettings
from .openapi import OpenAPISettings
application_config = ApplicationSettings()
mongodb_config = MongodbSettings.generate()
openapi_config = OpenAPISettings.generate()
| 30.444444 | 44 | 0.835766 | 26 | 274 | 8.692308 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091241 | 274 | 8 | 45 | 34.25 | 0.907631 | 0.076642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a9e8bdc6e402b708ca47275551b746fce170cc7 | 124 | py | Python | firehole/algorithms/tests/test_weight.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | 4 | 2020-06-23T08:27:07.000Z | 2021-05-18T06:59:03.000Z | firehole/algorithms/tests/test_weight.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | null | null | null | firehole/algorithms/tests/test_weight.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import firehole as fh
entropy = fh.Entropy()
cov = fh.COV()
ahp = fh.AHP()
| 13.777778 | 23 | 0.612903 | 20 | 124 | 3.8 | 0.7 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.177419 | 124 | 8 | 24 | 15.5 | 0.72549 | 0.346774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ab422da9500421230683889c686248384d26724 | 266 | py | Python | leads/admin.py | NikitenkoDaryna/LearningDjango | 94ac039c412c826a8cf629e0a0f21146f326e2f7 | [
"MIT"
] | null | null | null | leads/admin.py | NikitenkoDaryna/LearningDjango | 94ac039c412c826a8cf629e0a0f21146f326e2f7 | [
"MIT"
] | null | null | null | leads/admin.py | NikitenkoDaryna/LearningDjango | 94ac039c412c826a8cf629e0a0f21146f326e2f7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Agent, Lead, UserProfile, Category
# Register your models here.
admin.site.register(User)
admin.site.register(UserProfile)
admin.site.register(Lead)
admin.site.register(Agent)
admin.site.register(Category) | 26.6 | 60 | 0.808271 | 37 | 266 | 5.810811 | 0.405405 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086466 | 266 | 10 | 61 | 26.6 | 0.884774 | 0.097744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3abead9feb017c46e1f0d9b0b5c4a11d08ebe5d4 | 245 | py | Python | env/lib/python3.6/site-packages/heroku_connect/db/backends/postgresql/base.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 1 | 2019-04-21T18:57:57.000Z | 2019-04-21T18:57:57.000Z | env/lib/python3.6/site-packages/heroku_connect/db/backends/postgresql/base.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/heroku_connect/db/backends/postgresql/base.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | null | null | null | from django.db.backends.postgresql.base import * # NoQA
from ..base.base import HerokuConnectDatabaseWrapperMixin
class DatabaseWrapper(HerokuConnectDatabaseWrapperMixin, DatabaseWrapper):
display_name = 'PostgreSQL with Heroku Connect'
| 30.625 | 74 | 0.82449 | 23 | 245 | 8.73913 | 0.695652 | 0.099502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110204 | 245 | 7 | 75 | 35 | 0.922018 | 0.016327 | 0 | 0 | 0 | 0 | 0.125523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3af0141516c68830cb3be233757db32fd4bf966e | 378 | py | Python | main.py | zsl24/voice-activity-detection | a034be23c6283121c6b72e778c6ff6711045cbe3 | [
"MIT"
] | 74 | 2021-02-22T17:35:52.000Z | 2022-03-29T03:08:12.000Z | main.py | zsl24/voice-activity-detection | a034be23c6283121c6b72e778c6ff6711045cbe3 | [
"MIT"
] | 1 | 2021-08-15T07:56:39.000Z | 2021-08-15T07:56:39.000Z | main.py | zsl24/voice-activity-detection | a034be23c6283121c6b72e778c6ff6711045cbe3 | [
"MIT"
] | 9 | 2021-07-22T16:46:11.000Z | 2022-03-27T13:19:24.000Z | import typer
from vad.evaluate import evaluate_vad_from_scratch
from vad.predict import predict_vad_from_scratch
from vad.train import train_vad_from_scratch
app = typer.Typer()
app.command(name="train")(train_vad_from_scratch)
app.command(name="predict")(predict_vad_from_scratch)
app.command(name="evaluate")(evaluat... | 27 | 55 | 0.814815 | 57 | 378 | 4.947368 | 0.22807 | 0.148936 | 0.297872 | 0.180851 | 0.443262 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 378 | 13 | 56 | 29.076923 | 0.815029 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
c9094f6a03a5f02c6fa7d257b8ad6601531f5940 | 2,107 | py | Python | utils/helper_func.py | Jack12xl/a-toy-fluid-engine | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 21 | 2020-09-17T10:51:55.000Z | 2022-03-15T20:27:00.000Z | utils/helper_func.py | Jack12xl/a-toy-fluid-engine | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 8 | 2020-09-18T08:52:34.000Z | 2021-02-07T09:27:49.000Z | utils/helper_func.py | Jack12xl/myFluid | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 1 | 2020-09-20T11:10:35.000Z | 2020-09-20T11:10:35.000Z | import numpy as np
# import config.base_cfg as base_cfg
import taichi as ti
from .basic_types import Vector
import re
import math
class SetterProperty(object):
"""
use this to reduce @property overhead
hope it works
"""
# ref: https://stackoverflow.com/questions/17576009/python-class-property-use... | 20.861386 | 105 | 0.608923 | 317 | 2,107 | 3.911672 | 0.378549 | 0.048387 | 0.029032 | 0.022581 | 0.066129 | 0.029032 | 0 | 0 | 0 | 0 | 0 | 0.030998 | 0.234457 | 2,107 | 100 | 106 | 21.07 | 0.737756 | 0.365449 | 0 | 0.146341 | 0 | 0 | 0.01105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268293 | false | 0 | 0.121951 | 0.146341 | 0.634146 | 0.02439 | 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 |
c91144e41aa2f6fec4c8e541f7210df5696d9fe3 | 155 | py | Python | biopipen/scripts/misc/Str2File.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 4 | 2018-01-16T08:25:53.000Z | 2019-01-03T23:41:31.000Z | biopipen/scripts/misc/Str2File.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 3 | 2018-05-22T20:11:46.000Z | 2019-08-19T17:37:04.000Z | biopipen/scripts/misc/Str2File.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 1 | 2019-01-14T23:14:24.000Z | 2019-01-14T23:14:24.000Z | instr = {{in.str | repr}}
name = {{repr(in.name or envs.name)}}
outfile = {{out.outfile | quote}}
with open(outfile, "wt") as fout:
fout.write(instr)
| 22.142857 | 37 | 0.625806 | 24 | 155 | 4.041667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 155 | 6 | 38 | 25.833333 | 0.751938 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9146385e6f12b7998546198da6ee0ba795e1e8a | 3,268 | py | Python | src/dag_pipe/helpers/elemental/attributes.py | yitistica/dag-pipe | ee2f68f4d3db6ba9c9835bddaa1695b0753877ea | [
"MIT"
] | null | null | null | src/dag_pipe/helpers/elemental/attributes.py | yitistica/dag-pipe | ee2f68f4d3db6ba9c9835bddaa1695b0753877ea | [
"MIT"
] | null | null | null | src/dag_pipe/helpers/elemental/attributes.py | yitistica/dag-pipe | ee2f68f4d3db6ba9c9835bddaa1695b0753877ea | [
"MIT"
] | null | null | null | from collections.abc import MutableMapping
class ObjectAttributeOccupiedError(Exception): # TEMP
def __init__(self, field):
message = f'field name <{field}> is already used as an attribute of the object.'
super().__init__(message)
class ImmutableFieldError(Exception): # TEMP
def __init__(s... | 28.666667 | 95 | 0.665851 | 382 | 3,268 | 5.324607 | 0.193717 | 0.075221 | 0.043265 | 0.039331 | 0.210914 | 0.177483 | 0.163225 | 0.072763 | 0.072763 | 0.052114 | 0 | 0 | 0.233782 | 3,268 | 113 | 96 | 28.920354 | 0.8123 | 0.005814 | 0 | 0.166667 | 0 | 0 | 0.080456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.012821 | 0.102564 | 0.538462 | 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 |
c92c94fb2858414a793d2282475bb430fb0f479e | 16 | py | Python | src/spaceone/plugin/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 6 | 2020-06-10T01:57:23.000Z | 2020-08-10T02:45:26.000Z | src/spaceone/plugin/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 5 | 2020-08-04T06:49:47.000Z | 2021-07-21T08:44:44.000Z | src/spaceone/plugin/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 4 | 2020-06-10T01:57:25.000Z | 2021-10-21T04:24:28.000Z | name = 'plugin'
| 8 | 15 | 0.625 | 2 | 16 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c93e9d9e76b9005e80b1928d6e4fcd18dcb5fef3 | 291 | py | Python | lib/python3.5/site-packages/datatools/stats.py | Ajod/LRI | 0ae39ae1a3ac5f18c889fc775cd691c75be341f4 | [
"MIT"
] | null | null | null | lib/python3.5/site-packages/datatools/stats.py | Ajod/LRI | 0ae39ae1a3ac5f18c889fc775cd691c75be341f4 | [
"MIT"
] | null | null | null | lib/python3.5/site-packages/datatools/stats.py | Ajod/LRI | 0ae39ae1a3ac5f18c889fc775cd691c75be341f4 | [
"MIT"
] | null | null | null | import numpy
from scipy.stats import pearsonr
import sys
data = numpy.genfromtxt("prova.txt", delimiter=',')
[name1,name2,pearson_coeff,pearson_2t_p_value,spearman]
for col1, col2 in itertools.combinations(range(data.shape[1]), 2):
print col1, col2, pearsonr(data[:,col1], data[:,col2]) | 36.375 | 66 | 0.756014 | 43 | 291 | 5.023256 | 0.72093 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041825 | 0.09622 | 291 | 8 | 67 | 36.375 | 0.779468 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.428571 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c97de5c94df4a1bb47739f971e5e094e18f4c72b | 313 | py | Python | backend/initialization/admin.py | geraintcjy/jiayuanchen.com | 9ae0a4234317c6902452d47e07768738eb8e33c5 | [
"MIT"
] | null | null | null | backend/initialization/admin.py | geraintcjy/jiayuanchen.com | 9ae0a4234317c6902452d47e07768738eb8e33c5 | [
"MIT"
] | null | null | null | backend/initialization/admin.py | geraintcjy/jiayuanchen.com | 9ae0a4234317c6902452d47e07768738eb8e33c5 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import Initialization
class InitializationAdmin(admin.ModelAdmin):
list_display = ['id', 'loginTime', 'ipAddress'] # 字段顺序=界面上字段展示顺序,可随意调整
admin.site.register(Initialization, InitializationAdmin)
| 24.076923 | 75 | 0.789137 | 35 | 313 | 7.028571 | 0.628571 | 0.081301 | 0.138211 | 0.186992 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121406 | 313 | 12 | 76 | 26.083333 | 0.894545 | 0.15016 | 0 | 0.333333 | 0 | 0 | 0.076046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
a30dfba9dddd8a487b7c311620b2fba05f38cc6a | 9,392 | py | Python | tests/test_marka.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | 2 | 2021-03-26T18:19:57.000Z | 2021-07-27T01:15:50.000Z | tests/test_marka.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | tests/test_marka.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
#
# copyright: 2020-2022, Frederico Martins
# author: Frederico Martins <http://github.com/fscm>
# license: SPDX-License-Identifier: MIT
"""Tests for the Marka currency representation(s)."""
from decimal import Context
from pytest import raises
from multicurrency import Currency
from multicurr... | 41.0131 | 91 | 0.604025 | 823 | 9,392 | 6.582017 | 0.150668 | 0.295736 | 0.190511 | 0.074949 | 0.690788 | 0.664205 | 0.647591 | 0.647591 | 0.641868 | 0.619531 | 0 | 0.024047 | 0.295997 | 9,392 | 228 | 92 | 41.192982 | 0.794918 | 0.04951 | 0 | 0.628141 | 0 | 0 | 0.138115 | 0.015182 | 0 | 0 | 0 | 0 | 0.241206 | 1 | 0.030151 | false | 0 | 0.025126 | 0 | 0.060302 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3151d5a3626fa57a9c05233a44fdcfda573f6b8 | 547 | py | Python | server/api/admin.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | server/api/admin.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | server/api/admin.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from api.models import Field, Well, Inclinometry, Horizon, Rate, Mer, WellCase, WellPerforation, WellPump, WellWorkType, \
WellState, HorizonType
admin.site.register(Field)
admin.site.register(Well)
admin.site.register(Inclinometry)
admin.site.register(HorizonType)
admin.site.regi... | 30.388889 | 122 | 0.817185 | 69 | 547 | 6.478261 | 0.304348 | 0.241611 | 0.456376 | 0.12528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06947 | 547 | 17 | 123 | 32.176471 | 0.878193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a33fd12fb6fe6958c53d4334c21107de1eaae705 | 8,450 | py | Python | src/algo/export_tx.py | wengzilla/staketaxcsv | c52210106ec8194973f6ff178a307c77699e094e | [
"MIT"
] | 140 | 2021-12-11T23:37:46.000Z | 2022-03-29T23:04:36.000Z | src/algo/export_tx.py | wengzilla/staketaxcsv | c52210106ec8194973f6ff178a307c77699e094e | [
"MIT"
] | 80 | 2021-12-17T15:13:47.000Z | 2022-03-31T13:33:53.000Z | src/algo/export_tx.py | wengzilla/staketaxcsv | c52210106ec8194973f6ff178a307c77699e094e | [
"MIT"
] | 52 | 2021-12-12T00:37:17.000Z | 2022-03-29T23:25:09.000Z |
from algo.asset import Algo, Asset
from algo.config_algo import localconfig
from common.make_tx import (
make_borrow_tx,
make_deposit_collateral_tx,
make_excluded_tx,
make_income_tx,
make_liquidate_tx,
make_lp_deposit_tx,
make_lp_stake_tx,
make_lp_unstake_tx,
make_lp_wit... | 35.805085 | 109 | 0.714083 | 1,230 | 8,450 | 4.503252 | 0.060976 | 0.056328 | 0.063549 | 0.075826 | 0.779383 | 0.740206 | 0.709334 | 0.698682 | 0.670338 | 0.663477 | 0 | 0.010593 | 0.195621 | 8,450 | 235 | 110 | 35.957447 | 0.804325 | 0 | 0 | 0.474576 | 0 | 0 | 0.015583 | 0.015096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135593 | false | 0 | 0.016949 | 0 | 0.20904 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a354ba89a7f77a6f1e91058840577fa0b6e473cd | 308 | py | Python | temperfm/records/artist_plays.py | broiledmeat/temperfm | c47d7aa939e2ac38db940257f9529d05a6774c8e | [
"Apache-2.0"
] | null | null | null | temperfm/records/artist_plays.py | broiledmeat/temperfm | c47d7aa939e2ac38db940257f9529d05a6774c8e | [
"Apache-2.0"
] | null | null | null | temperfm/records/artist_plays.py | broiledmeat/temperfm | c47d7aa939e2ac38db940257f9529d05a6774c8e | [
"Apache-2.0"
] | null | null | null | from .base import RecordBase
class ArtistPlays(RecordBase):
def __init__(self, name, plays):
"""
:type name: str
:type plays: int
"""
self.name = name
self.plays = plays
def __repr__(self):
return f'<ArtistPlays: {self.name}, {self.plays}>'
| 20.533333 | 58 | 0.561688 | 34 | 308 | 4.852941 | 0.5 | 0.145455 | 0.157576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314935 | 308 | 14 | 59 | 22 | 0.781991 | 0.103896 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6e5a1ac66e522ab6657271cd020116378d975d3f | 213 | py | Python | mathematics/setup.py | constatza/fempy | 8c1435da0c570decd80591287ec093d9fcc54c1f | [
"MIT"
] | null | null | null | mathematics/setup.py | constatza/fempy | 8c1435da0c570decd80591287ec093d9fcc54c1f | [
"MIT"
] | null | null | null | mathematics/setup.py | constatza/fempy | 8c1435da0c570decd80591287ec093d9fcc54c1f | [
"MIT"
] | null | null | null | from distutils.core import setup
from Cython.Build import cythonize
import numpy as np
setup(ext_modules = cythonize(r'*.pyx', annotate=True),
include_dirs=[np.get_include()]
)
| 19.363636 | 55 | 0.652582 | 27 | 213 | 5.037037 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253521 | 213 | 10 | 56 | 21.3 | 0.855346 | 0 | 0 | 0 | 0 | 0 | 0.023697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6e7fff7fe891c4a8b7900fe6ff9a156896aa4048 | 151 | py | Python | ruleta_app/apps.py | Franco1605/ruleta-app | 93ac27039b5a502aa03683ec2991aefda65bbf41 | [
"MIT"
] | null | null | null | ruleta_app/apps.py | Franco1605/ruleta-app | 93ac27039b5a502aa03683ec2991aefda65bbf41 | [
"MIT"
] | null | null | null | ruleta_app/apps.py | Franco1605/ruleta-app | 93ac27039b5a502aa03683ec2991aefda65bbf41 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RuletaAppConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'ruleta_app'
| 21.571429 | 56 | 0.768212 | 18 | 151 | 6.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 6 | 57 | 25.166667 | 0.875969 | 0 | 0 | 0 | 0 | 0 | 0.258278 | 0.192053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.