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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3884f5855eeb7e3f7d935225a7e3204a806e00ae | 1,698 | py | Python | vim/bundle/conque/tests/profile.py | jcordry/dotfiles | daa2b7a769f38f6d078b8538dff18a8d25649bad | [
"MIT"
] | 1 | 2019-10-04T09:06:01.000Z | 2019-10-04T09:06:01.000Z | vim/bundle/conque/tests/profile.py | jcordry/dotfiles | daa2b7a769f38f6d078b8538dff18a8d25649bad | [
"MIT"
] | 4 | 2019-11-15T22:47:25.000Z | 2022-02-26T06:01:07.000Z | .vim/plugged/conque-term/tests/profile.py | henriquebeckmann/dotfiles | a41609724abe3473b4bc92a9a458da3b258c601b | [
"MIT"
] | 1 | 2019-10-24T15:12:04.000Z | 2019-10-24T15:12:04.000Z |
from time import sleep
import cProfile
import pstats
import vim
def conque_profile():
terminal = ConqueTerm_1
# start off by doing nothing for 5 seconds
conque_profile_idle(terminal, 5)
# show directory listing
terminal.write("l")
terminal.write("s")
conque_profile_idl... | 23.260274 | 58 | 0.628386 | 227 | 1,698 | 4.559471 | 0.277533 | 0.31401 | 0.180676 | 0.2657 | 0.637681 | 0.58744 | 0.560386 | 0.535266 | 0.535266 | 0.535266 | 0 | 0.01932 | 0.237927 | 1,698 | 72 | 59 | 23.583333 | 0.780526 | 0.086572 | 0 | 0.653061 | 0 | 0 | 0.084296 | 0.028552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.122449 | 0.020408 | 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 |
38903b4d1a3a9a0a9bf0010933f0fffee3557df3 | 2,292 | py | Python | pluto/broker/broker_stub.py | chalant/pluto | e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc | [
"Apache-2.0"
] | null | null | null | pluto/broker/broker_stub.py | chalant/pluto | e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc | [
"Apache-2.0"
] | null | null | null | pluto/broker/broker_stub.py | chalant/pluto | e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc | [
"Apache-2.0"
] | null | null | null | import abc
from pluto.interface.utils import service_access
from pluto.coms.utils import conversions
from protos import broker_pb2_grpc
class BrokerStub(abc.ABC):
def __init__(self, session_id):
self._session_id = session_id
@property
def session_id(self):
return self._session_id
@... | 31.833333 | 77 | 0.745201 | 257 | 2,292 | 6.303502 | 0.202335 | 0.157407 | 0.117284 | 0.092593 | 0.545062 | 0.501852 | 0.397531 | 0.280864 | 0.214815 | 0.088889 | 0 | 0.001067 | 0.182373 | 2,292 | 71 | 78 | 32.28169 | 0.863394 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288462 | false | 0 | 0.076923 | 0.153846 | 0.557692 | 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 |
38972097be6cf1da67e1942ac1520517c282be96 | 1,532 | py | Python | control.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 16 | 2020-05-14T04:29:10.000Z | 2021-09-11T11:46:51.000Z | control.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 1 | 2020-08-31T18:50:31.000Z | 2020-08-31T18:50:31.000Z | control.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 5 | 2020-05-16T10:45:45.000Z | 2021-09-01T07:41:37.000Z | import pygame
from settings import *
import numpy as np
class Control:
def __init__(self):
self.key = np.array([1.0, 0.5, 0.0, 0.5, 0.0, 1.0])
'''key[0] - W S
key[1] - A D
key[2] - W S
key[3] - LEFT RIGHT
key[4] - UP DOWN
k... | 27.854545 | 60 | 0.428851 | 236 | 1,532 | 2.690678 | 0.20339 | 0.231496 | 0.264567 | 0.286614 | 0.537008 | 0.522835 | 0.522835 | 0.456693 | 0.4 | 0.100787 | 0 | 0.091723 | 0.416449 | 1,532 | 55 | 61 | 27.854545 | 0.618568 | 0.063316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.166667 | 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 |
389e174882bcd6327df3dc6edfea74b53f37e8a3 | 449 | py | Python | backend/app/core/migrations/0018_auto_20190226_0846.py | adithyanps/djangoAuthorization | 3a1df57574eb2a5aa7bd32d49d551b5d9e8f878c | [
"MIT"
] | null | null | null | backend/app/core/migrations/0018_auto_20190226_0846.py | adithyanps/djangoAuthorization | 3a1df57574eb2a5aa7bd32d49d551b5d9e8f878c | [
"MIT"
] | null | null | null | backend/app/core/migrations/0018_auto_20190226_0846.py | adithyanps/djangoAuthorization | 3a1df57574eb2a5aa7bd32d49d551b5d9e8f878c | [
"MIT"
] | null | null | null | # Generated by Django 2.1.5 on 2019-02-26 08:46
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0017_customerschart'),
]
operations = [
migrations.RenameModel(
old_name='CustomersChart',
new_name='CustomersYearCh... | 20.409091 | 47 | 0.576837 | 42 | 449 | 6.047619 | 0.714286 | 0.165354 | 0.188976 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061688 | 0.314031 | 449 | 21 | 48 | 21.380952 | 0.762987 | 0.100223 | 0 | 0.266667 | 1 | 0 | 0.169154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 |
38af49995708893bd18b2230e919db84f862ee5e | 7,898 | py | Python | docs/examples/read/dag_literal.py | parsabee/hatchet | abc3ab2c20a5903c70b278130d94a549b004b924 | [
"MIT"
] | null | null | null | docs/examples/read/dag_literal.py | parsabee/hatchet | abc3ab2c20a5903c70b278130d94a549b004b924 | [
"MIT"
] | null | null | null | docs/examples/read/dag_literal.py | parsabee/hatchet | abc3ab2c20a5903c70b278130d94a549b004b924 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import hatchet as ht
if __name__ == "__main__":
# Define a literal GraphFrame using a list of dicts.
gf = ht.GraphFrame.from_literal(
[
{
"name": "foo",
"metrics": {"time (inc)": 130.0, "time": 0.0},
... | 47.011905 | 86 | 0.151431 | 326 | 7,898 | 3.641104 | 0.242331 | 0.231677 | 0.294861 | 0.076664 | 0.617523 | 0.617523 | 0.47599 | 0.47599 | 0.455771 | 0.390059 | 0 | 0.065119 | 0.749177 | 7,898 | 167 | 87 | 47.293413 | 0.534074 | 0.033679 | 0 | 0.403846 | 0 | 0 | 0.114477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00641 | 0 | 0.00641 | 0.012821 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
38b8e8085f302b7d2f6313f6e0db706e3d18d7bf | 1,218 | py | Python | sirbot/__init__.py | ovv/sir-bot-a-lot | 22dfdd6a14d61dbe29423fd131b7a23e618b68d7 | [
"MIT"
] | 9 | 2017-05-05T21:10:07.000Z | 2019-12-06T20:07:57.000Z | sirbot/__init__.py | ovv/sir-bot-a-lot | 22dfdd6a14d61dbe29423fd131b7a23e618b68d7 | [
"MIT"
] | 10 | 2017-05-06T07:30:05.000Z | 2017-08-04T13:52:22.000Z | sirbot/__init__.py | ovv/sir-bot-a-lot | 22dfdd6a14d61dbe29423fd131b7a23e618b68d7 | [
"MIT"
] | 7 | 2017-05-05T19:50:57.000Z | 2020-03-31T21:16:43.000Z | # -*- coding: utf-8 -*-
"""
sirbot
~~~~~~~~~~~~~~~~~~~
the sirbot api
:copyright: (c) 2016 by Python Developers Slack Community
:licence: MIT, see LICENCE for more details
"""
# http://patorjk.com/software/taag/#p=display&f=Star%20Wars&t=sirbot
# _______. __ .______ .______ ______ .___________.
#... | 40.6 | 79 | 0.294745 | 45 | 1,218 | 4.977778 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011254 | 0.489327 | 1,218 | 29 | 80 | 42 | 0.348875 | 0.899836 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
38be3da11303451e79f7f877a8cb009e1c48b8df | 291 | py | Python | variance/old/consumable.py | ExpandingDev/Variance | 3afba3638ae0557673f171c571d4acc29ee363b4 | [
"Unlicense"
] | null | null | null | variance/old/consumable.py | ExpandingDev/Variance | 3afba3638ae0557673f171c571d4acc29ee363b4 | [
"Unlicense"
] | null | null | null | variance/old/consumable.py | ExpandingDev/Variance | 3afba3638ae0557673f171c571d4acc29ee363b4 | [
"Unlicense"
] | null | null | null | from .units import *
from .nutrition import MacroList
class Consumable():
def calories(self, serving_size):
return self.macros.calories_from_macros(serving_size)
def __init__(name):
self.name = name
self.macros = MacroList(0, 0, 0)
self.micros = {}
| 24.25 | 61 | 0.659794 | 36 | 291 | 5.111111 | 0.5 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0.24055 | 291 | 11 | 62 | 26.454545 | 0.819005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
38e3882c78045c499ef0679ebdb46b611ff84937 | 1,483 | py | Python | ora_tools/virtual_fs.py | henry4k/ora_tools | 82fdd959445cfcfd1d2cb6df2f6e5057566a4a79 | [
"Unlicense"
] | null | null | null | ora_tools/virtual_fs.py | henry4k/ora_tools | 82fdd959445cfcfd1d2cb6df2f6e5057566a4a79 | [
"Unlicense"
] | null | null | null | ora_tools/virtual_fs.py | henry4k/ora_tools | 82fdd959445cfcfd1d2cb6df2f6e5057566a4a79 | [
"Unlicense"
] | null | null | null | import zipfile
import posixpath
import os.path
def check_mode(vfs_mode, file_mode):
if vfs_mode == 'r':
if file_mode != 'r':
raise RuntimeError('Mode ot allowed.')
class VirtualFileSystem:
def __init__(self, mode):
self.mode = mode
def open(self, filename, mode):
pass
... | 26.017544 | 59 | 0.602158 | 186 | 1,483 | 4.505376 | 0.225806 | 0.143198 | 0.085919 | 0.076372 | 0.420048 | 0.377088 | 0.334129 | 0.279236 | 0.279236 | 0.279236 | 0 | 0 | 0.291976 | 1,483 | 56 | 60 | 26.482143 | 0.798095 | 0.002697 | 0 | 0.377778 | 0 | 0 | 0.014895 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.244444 | false | 0.066667 | 0.066667 | 0.022222 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
38e4aa30457b5a9ac0dc05a7e2e694207a3b7f61 | 58,405 | py | Python | template_container_human/labels/slice_68.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_68.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_68.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | coordinates_E0E1E1 = ((123, 106),
(123, 108), (123, 109), (123, 110), (123, 112), (124, 106), (124, 110), (124, 125), (124, 127), (124, 128), (124, 129), (124, 130), (124, 132), (125, 106), (125, 108), (125, 110), (125, 126), (125, 132), (126, 106), (126, 109), (126, 126), (126, 128), (126, 129), (126, 130), (126, 13... | 456.289063 | 865 | 0.476192 | 10,126 | 58,405 | 2.742741 | 0.016196 | 0.000648 | 0.000648 | 0.00072 | 0.005401 | 0.004321 | 0.003241 | 0.003241 | 0.003241 | 0 | 0 | 0.567017 | 0.177725 | 58,405 | 127 | 866 | 459.88189 | 0.011286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7f72774a57056925dc54a7471227875d2a3eff5 | 1,710 | py | Python | tests/cases/test_injection.py | zibertscrem/hexdi | 4875598299c53f984f2bb1b37060fd42bb7aba84 | [
"MIT"
] | 3 | 2017-12-12T00:55:08.000Z | 2019-07-28T15:24:19.000Z | tests/cases/test_injection.py | zibertscrem/hexdi | 4875598299c53f984f2bb1b37060fd42bb7aba84 | [
"MIT"
] | null | null | null | tests/cases/test_injection.py | zibertscrem/hexdi | 4875598299c53f984f2bb1b37060fd42bb7aba84 | [
"MIT"
] | null | null | null | from tests.cases import basetest
import hexdi
class A:
def get_value(self): pass
class B:
def get_value(self): pass
class Aimpl(A):
def get_value(self):
return 42
class Bimpl(B):
def get_value(self):
return 69
class InjectionTest(basetest.BaseHexDITest):
def setUp(self):
... | 25.522388 | 83 | 0.595322 | 194 | 1,710 | 5.123711 | 0.231959 | 0.080483 | 0.072435 | 0.060362 | 0.350101 | 0.225352 | 0.177062 | 0.102616 | 0.102616 | 0.102616 | 0 | 0.010879 | 0.30117 | 1,710 | 66 | 84 | 25.909091 | 0.820921 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.297872 | false | 0.085106 | 0.042553 | 0.106383 | 0.617021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
2a2523935792899b541dec9e12868f3491cb5d4c | 91 | py | Python | data/studio21_generated/interview/0488/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0488/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0488/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def kthSmallest(self, matrix: List[List[int]], k: int) -> int:
| 30.333333 | 66 | 0.604396 | 12 | 91 | 4.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241758 | 91 | 3 | 67 | 30.333333 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2a30b2811e1604fb977a06acd162b0927d1dbf3a | 198 | py | Python | usd_schemas/usdInteractive/__init__.py | Plattar/python-usd-ar | 427a6e68d401579c76877cdb6586544e4c3a1f3b | [
"Apache-2.0"
] | 2 | 2021-09-26T01:28:35.000Z | 2021-11-28T08:54:59.000Z | usd_schemas/usdInteractive/__init__.py | Plattar/python-usd-ar | 427a6e68d401579c76877cdb6586544e4c3a1f3b | [
"Apache-2.0"
] | null | null | null | usd_schemas/usdInteractive/__init__.py | Plattar/python-usd-ar | 427a6e68d401579c76877cdb6586544e4c3a1f3b | [
"Apache-2.0"
] | 1 | 2021-12-22T16:46:33.000Z | 2021-12-22T16:46:33.000Z | from . import _usdInteractive
from pxr import Tf
Tf.PrepareModule(_usdInteractive, locals())
del Tf
try:
from . import __DOC
__DOC.Execute(locals())
del __DOC
except Exception:
pass | 18 | 43 | 0.727273 | 25 | 198 | 5.44 | 0.56 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 198 | 11 | 44 | 18 | 0.855346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.3 | 0 | 0.3 | 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 |
2a35bfaf6f16ee6e34d64bfadd496a5c8f1cc35f | 168 | py | Python | config/settings/local.py | rwreynolds/modern-django | 58485801307dcc5f35fce15c97427f8f397573be | [
"MIT"
] | null | null | null | config/settings/local.py | rwreynolds/modern-django | 58485801307dcc5f35fce15c97427f8f397573be | [
"MIT"
] | null | null | null | config/settings/local.py | rwreynolds/modern-django | 58485801307dcc5f35fce15c97427f8f397573be | [
"MIT"
] | null | null | null | from .base import *
SECRET_KEY = env('DJANGO_SECRET_KEY', default='ubw$_z9uq^+ccz24musiaxb-ga9bo2p1dux^_%@ea=045z263-')
DEBUG = env.bool('DJANGO_DEBUG', default=True)
| 33.6 | 99 | 0.755952 | 23 | 168 | 5.26087 | 0.73913 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 0.077381 | 168 | 4 | 100 | 42 | 0.703226 | 0 | 0 | 0 | 0 | 0 | 0.470238 | 0.297619 | 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 |
2a704e79f5c9d6bfe0395248ff7c9eb5462860a5 | 132 | py | Python | pcep/prac_16.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | 1 | 2020-07-30T15:23:55.000Z | 2020-07-30T15:23:55.000Z | pcep/prac_16.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | pcep/prac_16.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | dct = {'one':'two', 'three':'one', 'two':'three' }
v = dct['three']
for k in range(len(dct)):
v = dct[v]
print(v)
print(v) | 16.5 | 50 | 0.515152 | 23 | 132 | 2.956522 | 0.478261 | 0.176471 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 132 | 8 | 51 | 16.5 | 0.647619 | 0 | 0 | 0.333333 | 0 | 0 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
2a7b569e43635a455ffc504e84a4fce51484ded3 | 145 | py | Python | 16_wxPython/wxPython/wxHelloWorld.py | Rockfish/PythonCourse | 1d650e49950d1987d052028139fcdfcb0bbfcc70 | [
"MIT"
] | null | null | null | 16_wxPython/wxPython/wxHelloWorld.py | Rockfish/PythonCourse | 1d650e49950d1987d052028139fcdfcb0bbfcc70 | [
"MIT"
] | null | null | null | 16_wxPython/wxPython/wxHelloWorld.py | Rockfish/PythonCourse | 1d650e49950d1987d052028139fcdfcb0bbfcc70 | [
"MIT"
] | null | null | null | import os
import time
import wx
app = wx.App(redirect=True)
top = wx.Frame(None, title="Hello World", size=(300,200))
top.Show()
app.MainLoop()
| 16.111111 | 57 | 0.710345 | 25 | 145 | 4.12 | 0.72 | 0.097087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0.124138 | 145 | 8 | 58 | 18.125 | 0.76378 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 |
2a82913417d638ffcd819f3925ac43a5673f6642 | 298 | py | Python | domain/test/logica/test_indexador.py | Jouad01/Proyecto_Pydevops | a01750f87b4f7c4a07f6a0a8c516599fe37edb25 | [
"MIT"
] | 1 | 2022-01-14T15:07:47.000Z | 2022-01-14T15:07:47.000Z | domain/test/logica/test_indexador.py | Durutui/Proyecto_Pydevops | a01750f87b4f7c4a07f6a0a8c516599fe37edb25 | [
"MIT"
] | 1 | 2021-12-11T17:14:51.000Z | 2021-12-11T17:14:51.000Z | domain/test/logica/test_indexador.py | Durutui/Proyecto_Pydevops | a01750f87b4f7c4a07f6a0a8c516599fe37edb25 | [
"MIT"
] | 1 | 2022-01-14T15:07:25.000Z | 2022-01-14T15:07:25.000Z | import sys
sys.path.append(".")
from domain.src.logica.indexador_naves import indexador_naves
import pytest
@pytest.mark.indexador
def test_indexador():
siguiente_nave = indexador_naves()
siguiente_nave()
siguiente_nave()
siguiente_nave()
assert siguiente_nave() == "nave4.md" | 24.833333 | 62 | 0.748322 | 37 | 298 | 5.783784 | 0.513514 | 0.303738 | 0.186916 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.144295 | 298 | 12 | 63 | 24.833333 | 0.835294 | 0 | 0 | 0.272727 | 0 | 0 | 0.0301 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.272727 | 0 | 0.363636 | 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 |
2a908d961b1758ae1d8e7d420fdd5d25eb88a924 | 102 | py | Python | eth/beacon/enums/validator_registry_delta_flags.py | shreyasnbhat/py-evm | cd31d83185e102a7cb2f11e2f67923b069ee9cef | [
"MIT"
] | 1 | 2018-12-09T11:56:53.000Z | 2018-12-09T11:56:53.000Z | eth/beacon/enums/validator_registry_delta_flags.py | shreyasnbhat/py-evm | cd31d83185e102a7cb2f11e2f67923b069ee9cef | [
"MIT"
] | null | null | null | eth/beacon/enums/validator_registry_delta_flags.py | shreyasnbhat/py-evm | cd31d83185e102a7cb2f11e2f67923b069ee9cef | [
"MIT"
] | 2 | 2018-12-09T15:58:11.000Z | 2020-09-29T07:10:21.000Z | from enum import IntEnum
class ValidatorRegistryDeltaFlag(IntEnum):
ACTIVATION = 0
EXIT = 1
| 14.571429 | 42 | 0.735294 | 11 | 102 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.215686 | 102 | 6 | 43 | 17 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2a99992c9b2285cdb7c28b1d893b955fdda0c409 | 242 | py | Python | playlist.py | mdsaad13/YoutubeVideoDownloader | dced39f8e9e0b2e9b1b281398d702ccaf45ca629 | [
"MIT"
] | null | null | null | playlist.py | mdsaad13/YoutubeVideoDownloader | dced39f8e9e0b2e9b1b281398d702ccaf45ca629 | [
"MIT"
] | null | null | null | playlist.py | mdsaad13/YoutubeVideoDownloader | dced39f8e9e0b2e9b1b281398d702ccaf45ca629 | [
"MIT"
] | null | null | null | from pytube import Playlist
pl = Playlist(
"https://www.youtube.com/playlist?list=PLTRDPqhJXnHInURvXaJp9XfqXz-I2Zzvt")
# print(pl.title)
# pl.download_all()
# pl.download_all('D:/Python/PersonalProjs/YoutubeVideoDownloader/SE playlist/')
| 34.571429 | 80 | 0.780992 | 29 | 242 | 6.448276 | 0.724138 | 0.106952 | 0.139037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.078512 | 242 | 6 | 81 | 40.333333 | 0.829596 | 0.46281 | 0 | 0 | 0 | 0 | 0.571429 | 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 |
aa4bf00746a38fb9547a2a09bffe8c2d522bbbdf | 383 | py | Python | test/absolute_import/local_module.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 239 | 2018-04-20T06:58:32.000Z | 2022-03-22T18:06:08.000Z | test/absolute_import/local_module.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 19 | 2020-01-28T21:41:50.000Z | 2022-03-11T23:17:39.000Z | test/absolute_import/local_module.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 99 | 2018-07-20T09:16:13.000Z | 2022-03-20T11:58:56.000Z | """
This is a module that imports the *standard library* unittest,
despite there being a local "unittest" module. It specifies that it
wants the stdlib one with the ``absolute_import`` __future__ import.
The twisted equivalent of this module is ``twisted.trial._synctest``.
"""
from __future__ import absolute_import
i... | 25.533333 | 69 | 0.778068 | 53 | 383 | 5.415094 | 0.622642 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148825 | 383 | 14 | 70 | 27.357143 | 0.880368 | 0.704961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
aa55a08c311efe6aadfe5aace8c6577c1f8ad663 | 333 | py | Python | analyse_scripts/secrets.py | svdwi/BlueBox | fd6c15bee19ced65d688e079c19c3f0a57bb28a8 | [
"MIT"
] | 12 | 2021-06-21T00:22:43.000Z | 2022-03-16T16:47:46.000Z | analyse_scripts/secrets.py | svdwi/BlueBox | fd6c15bee19ced65d688e079c19c3f0a57bb28a8 | [
"MIT"
] | null | null | null | analyse_scripts/secrets.py | svdwi/BlueBox | fd6c15bee19ced65d688e079c19c3f0a57bb28a8 | [
"MIT"
] | 3 | 2021-08-15T05:29:24.000Z | 2022-03-16T16:48:37.000Z |
config = {
"Virustotal": { "KEY":"718d3ef46ba51c38936a5bba67ba40e1348867aa0e9c0fa6ac8cd76c5950a983",
"URL": "https://www.virustotal.com/vtapi/v2/file/report" } ,
"hybridanalysis": { "KEY":"yyicbmp80fa6638bnkgcw93y5c07f536iyh0qo7r5bc2fabbtojj2yo97d352208", "URL": "https://www.hybrid-analysis.com/api/... | 25.615385 | 145 | 0.714715 | 24 | 333 | 9.916667 | 0.708333 | 0.067227 | 0.092437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0.123123 | 333 | 12 | 146 | 27.75 | 0.582192 | 0 | 0 | 0 | 0 | 0 | 0.753012 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aa59ab8b64b23c75d1f7cf6e61fd0975d63d4089 | 22,390 | py | Python | sar_crypto.py | AlexAlkire/SAR-Manipulator | a829476bf90561aee14edcf3ef91edf6e4d68b8c | [
"MIT"
] | null | null | null | sar_crypto.py | AlexAlkire/SAR-Manipulator | a829476bf90561aee14edcf3ef91edf6e4d68b8c | [
"MIT"
] | null | null | null | sar_crypto.py | AlexAlkire/SAR-Manipulator | a829476bf90561aee14edcf3ef91edf6e4d68b8c | [
"MIT"
] | null | null | null |
"""
Cryptography methods for encrypting/decrypting .sar files.
"""
__author__ = 'Alex Alkire'
__version__ = '0.1'
__license__ = 'MIT'
import array
import math
import sys
import numpy
import copy
P_TABLE = [0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344, 0xa4093822, 0x299f31d0,
0x082efa98, 0xec4e6c89, 0x452821e6, ... | 52.558685 | 103 | 0.692184 | 2,312 | 22,390 | 6.600346 | 0.536765 | 0.02228 | 0.01671 | 0.02228 | 0.153866 | 0.121298 | 0.099934 | 0.093971 | 0.08519 | 0.068676 | 0 | 0.366749 | 0.204288 | 22,390 | 425 | 104 | 52.682353 | 0.489784 | 0.006565 | 0 | 0.096104 | 0 | 0 | 0.021227 | 0 | 0 | 0 | 0.474618 | 0 | 0 | 1 | 0.031169 | false | 0.002597 | 0.012987 | 0 | 0.067532 | 0.020779 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aa7dd4361ea7b8c7bdc6e74b1881811471593f10 | 106 | py | Python | test/tests/43.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/43.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | null | null | null | test/tests/43.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | # icsetattr-existingattr test
def f():
pass
n = 10
while n:
n = n - 1
f.x = n
print f.x
| 9.636364 | 29 | 0.518868 | 19 | 106 | 2.894737 | 0.631579 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.367925 | 106 | 10 | 30 | 10.6 | 0.776119 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
aa8bb83b1f2894622cacc1352187e3239e4c41b5 | 13 | py | Python | Mobile phone.py | alaminskaib/PythonPrograms | 0112715d7700a4ebfd0da64a62f8ac20a43f7c79 | [
"MIT"
] | 2 | 2019-11-11T17:19:10.000Z | 2019-11-11T17:22:46.000Z | Mobile phone.py | alaminskaib/PythonPrograms | 0112715d7700a4ebfd0da64a62f8ac20a43f7c79 | [
"MIT"
] | null | null | null | Mobile phone.py | alaminskaib/PythonPrograms | 0112715d7700a4ebfd0da64a62f8ac20a43f7c79 | [
"MIT"
] | null | null | null | a = int(inpu) | 13 | 13 | 0.615385 | 3 | 13 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 13 | 1 | 13 | 13 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aa920ded7ebded78727210c6fc5991550208e2ae | 1,083 | py | Python | brownie-port/tests/truster_test.py | sabtikw/damn-vulnerable-defi | d3aca6a6065316a4e343e60b25a2caf51b433e25 | [
"MIT"
] | null | null | null | brownie-port/tests/truster_test.py | sabtikw/damn-vulnerable-defi | d3aca6a6065316a4e343e60b25a2caf51b433e25 | [
"MIT"
] | null | null | null | brownie-port/tests/truster_test.py | sabtikw/damn-vulnerable-defi | d3aca6a6065316a4e343e60b25a2caf51b433e25 | [
"MIT"
] | null | null | null | import pytest
from brownie import DamnValuableToken, TrusterLenderPool, web3
from eth_abi import encode_abi
@pytest.fixture(scope='module')
def deployer(accounts):
return accounts[0]
@pytest.fixture(scope='module')
def attacker(accounts):
return accounts[1]
@pytest.fixture(scope='module')
def token(deployer)... | 23.543478 | 69 | 0.739612 | 134 | 1,083 | 5.873134 | 0.30597 | 0.082592 | 0.114358 | 0.152478 | 0.362135 | 0.172808 | 0 | 0 | 0 | 0 | 0 | 0.024599 | 0.136657 | 1,083 | 46 | 70 | 23.543478 | 0.817112 | 0.036011 | 0 | 0.222222 | 0 | 0 | 0.040462 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.259259 | false | 0.037037 | 0.111111 | 0.148148 | 0.518519 | 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 |
aad8f50be55fe756efb3aa2659e7c9c0d518fc70 | 1,747 | py | Python | students/K33422/laboratory_works/Moruga_Elina/lr_2/3/django_project_Moruga/project_first_app/models.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | students/K33422/laboratory_works/Moruga_Elina/lr_2/3/django_project_Moruga/project_first_app/models.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | students/K33422/laboratory_works/Moruga_Elina/lr_2/3/django_project_Moruga/project_first_app/models.py | Elyavor/ITMO_ICT_WebDevelopment_2021-2022 | 63fad07bcdc0a9a6b85d46eacf97182162262181 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
from django.conf import settings
from django.contrib.auth import get_user_model
class CarOwner(AbstractUser):
last_name = models.CharField(max_length=30)
first_name = models.CharField(max_length=30)
birth_date = models.DateFie... | 44.794872 | 95 | 0.753291 | 233 | 1,747 | 5.463519 | 0.287554 | 0.176748 | 0.212097 | 0.282797 | 0.496465 | 0.249018 | 0.17282 | 0.119403 | 0.119403 | 0.119403 | 0 | 0.019907 | 0.137378 | 1,747 | 39 | 96 | 44.794872 | 0.824818 | 0.195764 | 0 | 0 | 0 | 0 | 0.006442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.037037 | 0.148148 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
aae52b6a41b3791e4a43fe0458b5cc74a6827e25 | 186 | py | Python | New progress sheet answer/Insertion sort hackerrank.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | New progress sheet answer/Insertion sort hackerrank.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | New progress sheet answer/Insertion sort hackerrank.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | def insertionSort1(n, arr):
i = n-1
val = arr[i]
while(i>0 and val<arr[i-1]):
arr[i] = arr[i-1]
print(*arr)
i-=1
arr[i] = val
print(*arr)
| 18.6 | 32 | 0.446237 | 32 | 186 | 2.59375 | 0.34375 | 0.337349 | 0.180723 | 0.192771 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.370968 | 186 | 10 | 33 | 18.6 | 0.65812 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0.222222 | 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 |
2a9b8c9b6cf89e7cad8e7a060e5f12dc8f13754d | 357 | py | Python | Python/Samples/Interpreter/StoreExpression.py | plasroom46/DesignPattern.Sample | 86c05c5ae356cb01f3d075f248c45da3e6534d07 | [
"MIT"
] | 9 | 2019-03-14T01:54:31.000Z | 2021-11-26T13:00:32.000Z | Python/Samples/Interpreter/StoreExpression.py | plasroom46/DesignPattern.Sample | 86c05c5ae356cb01f3d075f248c45da3e6534d07 | [
"MIT"
] | null | null | null | Python/Samples/Interpreter/StoreExpression.py | plasroom46/DesignPattern.Sample | 86c05c5ae356cb01f3d075f248c45da3e6534d07 | [
"MIT"
] | 2 | 2019-08-19T06:00:04.000Z | 2021-07-15T01:23:52.000Z | from datetime import datetime
from decimal import Decimal
from Interpreter_models import PayData, Vip, Store, Context
from Expression import Expression
class StoreExpression(Expression):
def interpret(self,context=Context):
context.output.store.id = context.input[0:4].strip()
context.output.sto... | 39.666667 | 64 | 0.759104 | 46 | 357 | 5.869565 | 0.521739 | 0.103704 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016447 | 0.148459 | 357 | 9 | 64 | 39.666667 | 0.871711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.75 | 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 |
2a9d184b6fc80414ee1d673fd0457c223590fc3e | 298 | py | Python | contrib/workflow/SpiffWorkflow/src/SpiffWorkflow/Server/__init__.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | 2 | 2015-01-26T07:15:19.000Z | 2015-11-09T13:42:11.000Z | contrib/workflow/SpiffWorkflow/src/SpiffWorkflow/Server/__init__.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | null | null | null | contrib/workflow/SpiffWorkflow/src/SpiffWorkflow/Server/__init__.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | null | null | null | from DB import DB
from Driver import Driver
from WorkflowInfo import WorkflowInfo
from JobInfo import JobInfo
from TaskInfo import TaskInfo
import inspect
__all__ = [name for name, obj in locals().items()
if not (name.startswith('_') or inspect.ismodule(obj))]
| 29.8 | 66 | 0.694631 | 38 | 298 | 5.315789 | 0.526316 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 298 | 9 | 67 | 33.111111 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0.003356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
2ad7fe91d74053bd7b84519e9a5939de82e717ab | 247 | py | Python | surgame/src/path.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 3 | 2017-04-30T17:44:53.000Z | 2018-02-03T06:02:11.000Z | surgame/src/path.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 10 | 2021-03-18T20:17:19.000Z | 2022-03-11T23:14:19.000Z | surgame/src/path.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | null | null | null | import sys
from os.path import join
rootPath = '../'
def getPath(path):
return join(rootPath, path)
def getPaths(pathList):
return list(map(getPath, pathList))
def extendSysPath():
sys.path += [getPath("lib"),'./']
extendSysPath()
| 16.466667 | 39 | 0.672065 | 30 | 247 | 5.533333 | 0.533333 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165992 | 247 | 14 | 40 | 17.642857 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0.032389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2ad8e5a1eaf1bd46eff4a6ffd4c0f749a9c101a7 | 376 | py | Python | example/test/core/camera/object.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | example/test/core/camera/object.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | example/test/core/camera/object.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | import IceRayCpp
def make( surface_cargo, geometry_pure ):
object_cargo = {}
object_cargo['this'] = IceRayCpp.CoreObject()
object_cargo['geometry'] = geometry_pure
object_cargo['this'].geometry( geometry_pure )
object_cargo['surface'] = surface_cargo
object_cargo['this'].surface( ... | 22.117647 | 58 | 0.678191 | 41 | 376 | 5.902439 | 0.292683 | 0.318182 | 0.223141 | 0.285124 | 0.256198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207447 | 376 | 16 | 59 | 23.5 | 0.812081 | 0 | 0 | 0 | 0 | 0 | 0.086592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 |
2ad9ac6384a70e9be55c880350d3a51f1be84168 | 193 | py | Python | settings_local--template.py | ondrejsika/spending | 77f31f1de92e8948de1bf86f13fb743ee2e8bbbe | [
"MIT"
] | 1 | 2017-05-21T19:05:38.000Z | 2017-05-21T19:05:38.000Z | settings_local--template.py | ondrejsika/spending | 77f31f1de92e8948de1bf86f13fb743ee2e8bbbe | [
"MIT"
] | null | null | null | settings_local--template.py | ondrejsika/spending | 77f31f1de92e8948de1bf86f13fb743ee2e8bbbe | [
"MIT"
] | null | null | null | DATABASES_ENGINE = 'django.db.backends.postgresql_psycopg2'
DATABASES_NAME = 'spending'
DATABASES_USER = 'postgres'
DATABASES_PASSWORD = 'pg'
DATABASES_HOST = '127.0.0.1'
DATABASES_PORT = 5432
| 27.571429 | 59 | 0.792746 | 25 | 193 | 5.84 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 0.093264 | 193 | 6 | 60 | 32.166667 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.336788 | 0.196891 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
63176150a036631108d289c29ab88f61edcdebf7 | 664 | py | Python | src/util/cora_class_one_hot_process.py | jiangnanboy/gnn4lp | 3d67cd140f62acd146e27547e1403a3f0484ed83 | [
"Apache-2.0"
] | 5 | 2022-01-12T01:35:19.000Z | 2022-03-29T03:29:22.000Z | src/util/cora_class_one_hot_process.py | jiangnanboy/gnn4lp | 3d67cd140f62acd146e27547e1403a3f0484ed83 | [
"Apache-2.0"
] | 1 | 2022-03-31T17:01:35.000Z | 2022-03-31T17:01:35.000Z | src/util/cora_class_one_hot_process.py | jiangnanboy/gnn4lp | 3d67cd140f62acd146e27547e1403a3f0484ed83 | [
"Apache-2.0"
] | 1 | 2022-01-24T10:17:13.000Z | 2022-01-24T10:17:13.000Z | import pandas as pd
def cora_content_onehot_class_process(cora_content_file, cora_content_class_file):
cora_feature_names = [f"w{i}" for i in range(1433)]
cora_raw_content = pd.read_csv(cora_content_file,
sep='\t',
header=None,
... | 51.076923 | 99 | 0.658133 | 85 | 664 | 4.705882 | 0.447059 | 0.2475 | 0.2125 | 0.24 | 0.155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.240964 | 664 | 12 | 100 | 55.333333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.081325 | 0.042169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0.1 | 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 |
632a12dc1077b5a4ba7ca04e84a1f7c486c5c245 | 1,127 | py | Python | exchangelib/services/get_persona.py | j18ter/exchangelib | afb0df65c5533999bca92e25be4c00de5c03043c | [
"BSD-2-Clause"
] | null | null | null | exchangelib/services/get_persona.py | j18ter/exchangelib | afb0df65c5533999bca92e25be4c00de5c03043c | [
"BSD-2-Clause"
] | null | null | null | exchangelib/services/get_persona.py | j18ter/exchangelib | afb0df65c5533999bca92e25be4c00de5c03043c | [
"BSD-2-Clause"
] | null | null | null | from ..items import Persona
from ..properties import PersonaId
from ..util import MNS, create_element, set_xml_value
from .common import EWSAccountService, to_item_id
class GetPersona(EWSAccountService):
"""MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getpersona-operation... | 35.21875 | 117 | 0.71606 | 144 | 1,127 | 5.388889 | 0.479167 | 0.042526 | 0.028351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1748 | 1,127 | 31 | 118 | 36.354839 | 0.834409 | 0.148181 | 0 | 0.095238 | 0 | 0 | 0.109015 | 0.098532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.190476 | 0.190476 | 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 |
632de582481d2cfff8ce731227e713c08ae2865e | 357 | py | Python | workouttracker/admin.py | Adam-Beaumont/openWorkoutTracker | d38cedf98ec7933eb41fd8852d08a54caef1b859 | [
"MIT"
] | null | null | null | workouttracker/admin.py | Adam-Beaumont/openWorkoutTracker | d38cedf98ec7933eb41fd8852d08a54caef1b859 | [
"MIT"
] | null | null | null | workouttracker/admin.py | Adam-Beaumont/openWorkoutTracker | d38cedf98ec7933eb41fd8852d08a54caef1b859 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.models import User
from workouttracker.models import Exercise, WorkoutExercise, Routine, RoutineExercise, Run
admin.site.register(Exercise)
admin.site.register(WorkoutExercise)
admin.site.register(Routine)
admin.site.register(RoutineExercise)
admin.site.regist... | 29.75 | 90 | 0.834734 | 45 | 357 | 6.622222 | 0.4 | 0.151007 | 0.285235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 357 | 11 | 91 | 32.454545 | 0.905775 | 0.072829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2d543bec94025580cd7741d482ac9aeba6991e37 | 285 | py | Python | reader-snap/reader_main/reader_pkg/config.py | olisystems/intersnap-com-demo | 4bc9678e62695a250c5ed14d68d800a6b3a7c477 | [
"MIT"
] | null | null | null | reader-snap/reader_main/reader_pkg/config.py | olisystems/intersnap-com-demo | 4bc9678e62695a250c5ed14d68d800a6b3a7c477 | [
"MIT"
] | null | null | null | reader-snap/reader_main/reader_pkg/config.py | olisystems/intersnap-com-demo | 4bc9678e62695a250c5ed14d68d800a6b3a7c477 | [
"MIT"
] | null | null | null | import os
import toml
snap_userdata = os.environ['SNAP_DATA']
def init():
if os.path.isfile(snap_userdata + '/config.toml'):
f = toml.load(snap_userdata + '/config.toml')
items = f.items()
print(items)
else:
print('file not found') | 17.8125 | 54 | 0.585965 | 37 | 285 | 4.405405 | 0.567568 | 0.220859 | 0.220859 | 0.269939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277193 | 285 | 16 | 55 | 17.8125 | 0.791262 | 0 | 0 | 0 | 0 | 0 | 0.164336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.3 | 0.2 | 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 |
2d55d5f3fbb390cdcb1db7e0a86b2f3c149acaf2 | 139 | py | Python | mc_libs/mqLib.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | mc_libs/mqLib.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | mc_libs/mqLib.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#python -m pip install pika --upgrade
import os,sys
import pika
if __name__ == '__main__':
print("starting")
| 12.636364 | 37 | 0.683453 | 20 | 139 | 4.35 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 10 | 38 | 13.9 | 0.763158 | 0.402878 | 0 | 0 | 0 | 0 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2d6767afafd884fbb5581f026956f843317e572e | 1,427 | py | Python | chembl_webresource_client/elastic_client.py | RowAnalytics/chembl_webresource_client | 74dc4cb463a118cff8be949a3acf79f0d43e1625 | [
"Apache-2.0"
] | 248 | 2015-07-02T12:23:43.000Z | 2022-03-23T18:56:31.000Z | chembl_webresource_client/elastic_client.py | Anomic-cr/chembl_webresource_client | 0344d002d8cfb9ea0b5e0bf1c62440a803560824 | [
"Apache-2.0"
] | 102 | 2015-03-09T14:21:43.000Z | 2022-03-24T10:46:00.000Z | chembl_webresource_client/elastic_client.py | Anomic-cr/chembl_webresource_client | 0344d002d8cfb9ea0b5e0bf1c62440a803560824 | [
"Apache-2.0"
] | 108 | 2015-03-03T13:05:58.000Z | 2022-03-18T15:48:11.000Z | import json
from chembl_webresource_client.query import Query
from chembl_webresource_client.settings import Settings
class ElasticClient(Query):
def __init__(self):
super(ElasticClient, self).__init__()
def _search(self, query, method_name):
url = '{0}/{1}/_search'.format(Settings.Instance(... | 28.54 | 90 | 0.57253 | 150 | 1,427 | 5.18 | 0.366667 | 0.081081 | 0.11583 | 0.146718 | 0.277992 | 0.277992 | 0.277992 | 0 | 0 | 0 | 0 | 0.004077 | 0.312544 | 1,427 | 49 | 91 | 29.122449 | 0.787971 | 0 | 0 | 0 | 0 | 0 | 0.136746 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.026316 | 0.078947 | 0.157895 | 0.526316 | 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 |
2d69deb2c142bce2ef0e92a216c56cca05e804ea | 238 | py | Python | 0x0A-python-inheritance/4-inherits_from.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | 1 | 2022-01-04T11:07:56.000Z | 2022-01-04T11:07:56.000Z | 0x0A-python-inheritance/4-inherits_from.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | 0x0A-python-inheritance/4-inherits_from.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
"""
Contains the inherits_from function
"""
def inherits_from(obj, a_class):
"""returns true if obj is a subclass of a_class, otherwise false"""
return(issubclass(type(obj), a_class) and type(obj) != a_class)
| 23.8 | 71 | 0.705882 | 37 | 238 | 4.378378 | 0.648649 | 0.148148 | 0.166667 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.155462 | 238 | 9 | 72 | 26.444444 | 0.800995 | 0.483193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2d7f34cdf7b33dbd3d763d3692ec6a1243fc623b | 34,989 | py | Python | recognition_results_pb2.py | zuvaai/hocr-to-zuvaocr-converter | b7eafed23a00efd1ee6caa748e2fdb7788aed914 | [
"Apache-2.0"
] | null | null | null | recognition_results_pb2.py | zuvaai/hocr-to-zuvaocr-converter | b7eafed23a00efd1ee6caa748e2fdb7788aed914 | [
"Apache-2.0"
] | null | null | null | recognition_results_pb2.py | zuvaai/hocr-to-zuvaocr-converter | b7eafed23a00efd1ee6caa748e2fdb7788aed914 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: recognition_results.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database ... | 43.73625 | 2,576 | 0.638544 | 3,973 | 34,989 | 5.336773 | 0.066952 | 0.059237 | 0.063387 | 0.049804 | 0.70108 | 0.658492 | 0.644437 | 0.631797 | 0.625336 | 0.623167 | 0 | 0.042974 | 0.24582 | 34,989 | 799 | 2,577 | 43.790989 | 0.760535 | 0.024436 | 0 | 0.683155 | 1 | 0.009358 | 0.12792 | 0.073076 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005348 | 0 | 0.005348 | 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 |
2da1af660e8116994b66a4b1b859645582230fea | 92 | py | Python | locale/pot/api/utilities/_autosummary/pyvista-cubemap-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/utilities/_autosummary/pyvista-cubemap-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/utilities/_autosummary/pyvista-cubemap-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | import pyvista
skybox = pyvista.cubemap('my_directory', 'skybox', '.jpeg') # doctest:+SKIP
| 30.666667 | 76 | 0.717391 | 11 | 92 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 2 | 77 | 46 | 0.792683 | 0.141304 | 0 | 0 | 0 | 0 | 0.298701 | 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 |
2daf0607abef96eebf4ef6c9ab05db0ef812c6d3 | 379 | py | Python | command/team.py | SodaCookie/RoleBot | ab7dc222945cca50311a1de3d5c5414094ccea8a | [
"MIT"
] | 1 | 2021-08-24T03:30:10.000Z | 2021-08-24T03:30:10.000Z | command/team.py | SodaCookie/RoleBot | ab7dc222945cca50311a1de3d5c5414094ccea8a | [
"MIT"
] | null | null | null | command/team.py | SodaCookie/RoleBot | ab7dc222945cca50311a1de3d5c5414094ccea8a | [
"MIT"
] | 1 | 2021-08-24T03:35:45.000Z | 2021-08-24T03:35:45.000Z | import helpers
import wrappers
@wrappers.captain_endpoint
async def team(message, context):
"""Displays the calling captain team roster."""
helpers.send_message(message.channel, '%s your team consists of %s.' % \
(helpers.get_member_name(message.author), str([helpers.maybe_convert_id_to_nick(token, co... | 42.111111 | 156 | 0.754617 | 52 | 379 | 5.346154 | 0.653846 | 0.093525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126649 | 379 | 9 | 156 | 42.111111 | 0.839879 | 0 | 0 | 0 | 0 | 0 | 0.084084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2db6f2b5e5289a30f91c7d984f76024ace5a189f | 135 | py | Python | antelope_background/providers/__init__.py | AntelopeLCA/background | b930afe4387049a09c42d5a190dee69cb6365cc5 | [
"BSD-3-Clause"
] | null | null | null | antelope_background/providers/__init__.py | AntelopeLCA/background | b930afe4387049a09c42d5a190dee69cb6365cc5 | [
"BSD-3-Clause"
] | null | null | null | antelope_background/providers/__init__.py | AntelopeLCA/background | b930afe4387049a09c42d5a190dee69cb6365cc5 | [
"BSD-3-Clause"
] | 1 | 2021-11-08T22:54:32.000Z | 2021-11-08T22:54:32.000Z | from .bm_static import TarjanBackground
class Background(TarjanBackground):
pass
PROVIDERS = ['TarjanBackground', 'Background']
| 16.875 | 46 | 0.777778 | 12 | 135 | 8.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 7 | 47 | 19.285714 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2db9dda1ff4b2bf972831ba79ba6a6d4b29b1cea | 4,411 | py | Python | StockAnalysisSystem/api.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | null | null | null | StockAnalysisSystem/api.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | null | null | null | StockAnalysisSystem/api.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | null | null | null | import os
from StockAnalysisSystem.ui.main_ui import MainWindow
from StockAnalysisSystem.ui.config_ui import ConfigUi
from StockAnalysisSystem.core.config import Config
from StockAnalysisSystem.core.Utiltity.common import *
from StockAnalysisSystem.core.Utiltity.ui_utility import *
from StockAnalysisSystem.core.Utilt... | 28.642857 | 118 | 0.689866 | 523 | 4,411 | 5.58891 | 0.214149 | 0.038317 | 0.120082 | 0.032501 | 0.181663 | 0.099555 | 0.099555 | 0.080397 | 0.080397 | 0.080397 | 0 | 0 | 0.139424 | 4,411 | 153 | 119 | 28.830065 | 0.770021 | 0.146905 | 0 | 0.027397 | 0 | 0 | 0.014698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.287671 | false | 0 | 0.205479 | 0.232877 | 0.726027 | 0.013699 | 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 |
2dc93338b0fd4bda3d88d5119862ba6698ee01f4 | 710 | py | Python | sols/1880.py | Paul11100/LeetCode | 9896c579dff1812c0c76964db8d60603ee715e35 | [
"MIT"
] | null | null | null | sols/1880.py | Paul11100/LeetCode | 9896c579dff1812c0c76964db8d60603ee715e35 | [
"MIT"
] | null | null | null | sols/1880.py | Paul11100/LeetCode | 9896c579dff1812c0c76964db8d60603ee715e35 | [
"MIT"
] | null | null | null | class Solution:
# Use functions to convert all to numerical value (Accepted), O(n) time and space
def isSumEqual(self, a: str, b: str, t: str) -> bool:
def letter_val(letter):
return ord(letter) - ord('a')
def numerical_val(word):
s = ''
for c in word:
... | 37.368421 | 85 | 0.564789 | 105 | 710 | 3.761905 | 0.419048 | 0.121519 | 0.03038 | 0.04557 | 0.156962 | 0.156962 | 0.156962 | 0.156962 | 0 | 0 | 0 | 0.008016 | 0.297183 | 710 | 18 | 86 | 39.444444 | 0.783567 | 0.170423 | 0 | 0 | 0 | 0 | 0.001706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2dcaef0899a3b1e874972fad03f78dbc126b73d3 | 120 | py | Python | polybench/__init__.py | tueda/polybench | d9676a404a82d64807192efd928771139ac79d77 | [
"MIT"
] | null | null | null | polybench/__init__.py | tueda/polybench | d9676a404a82d64807192efd928771139ac79d77 | [
"MIT"
] | 2 | 2021-12-27T14:31:41.000Z | 2021-12-27T14:45:47.000Z | polybench/__init__.py | tueda/polybench | d9676a404a82d64807192efd928771139ac79d77 | [
"MIT"
] | null | null | null | """Multivariate polynomial arithmetic benchmark tests."""
from .version import __version__
__all__ = ("__version__",)
| 20 | 57 | 0.766667 | 11 | 120 | 7.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 5 | 58 | 24 | 0.754717 | 0.425 | 0 | 0 | 0 | 0 | 0.174603 | 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 |
2dd525fd7b59d780a6166a0491fb521d998bf18b | 174 | py | Python | package/kedro_viz/data_access/__init__.py | deepyaman/kedro-viz | 3aef612b6dd405baac0bde68ef37c1f39eb6fa34 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 125 | 2022-01-10T14:18:32.000Z | 2022-03-31T16:08:29.000Z | package/kedro_viz/data_access/__init__.py | deepyaman/kedro-viz | 3aef612b6dd405baac0bde68ef37c1f39eb6fa34 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 81 | 2022-01-10T15:14:24.000Z | 2022-03-31T16:20:59.000Z | package/kedro_viz/data_access/__init__.py | admariner/kedro-viz | 371f7f943ee1c9a69545ed6aa1cd468deafed7f0 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 11 | 2022-01-12T14:57:54.000Z | 2022-03-07T06:48:30.000Z | """`kedro_viz.data_access` provides an interface to save and load data for viz backend."""
from .managers import DataAccessManager
data_access_manager = DataAccessManager()
| 34.8 | 90 | 0.804598 | 23 | 174 | 5.913043 | 0.782609 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 174 | 4 | 91 | 43.5 | 0.883117 | 0.482759 | 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 |
2dd99c055a85288799310a29ff48ecbed729d255 | 187 | py | Python | pdfminer/settings.py | TercioOfParma/pdfminer | 77012e839b0fcd5100389624825d45f0c9a1afde | [
"MIT"
] | 44 | 2018-12-16T19:51:33.000Z | 2022-02-07T21:36:28.000Z | pdfminer/settings.py | TercioOfParma/pdfminer | 77012e839b0fcd5100389624825d45f0c9a1afde | [
"MIT"
] | 16 | 2020-01-28T23:10:19.000Z | 2021-09-08T01:29:55.000Z | pdfminer/settings.py | TercioOfParma/pdfminer | 77012e839b0fcd5100389624825d45f0c9a1afde | [
"MIT"
] | 12 | 2019-02-21T06:30:14.000Z | 2021-04-23T07:50:35.000Z | STRICT = False
try:
from django.conf import settings
STRICT = getattr(settings, 'PDF_MINER_IS_STRICT', STRICT)
except Exception:
# in case it's not a django project
pass
| 20.777778 | 61 | 0.71123 | 27 | 187 | 4.814815 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219251 | 187 | 8 | 62 | 23.375 | 0.890411 | 0.176471 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2df373f938bd859c2ae332b8ab35bf747ff86390 | 159 | py | Python | exercise/week3/ex2.py | jamestiotio/DW2020 | a8c575f1afd34d66dce2798a11b2fa15d1214a43 | [
"MIT"
] | null | null | null | exercise/week3/ex2.py | jamestiotio/DW2020 | a8c575f1afd34d66dce2798a11b2fa15d1214a43 | [
"MIT"
] | 1 | 2021-11-04T16:30:26.000Z | 2021-11-04T16:30:26.000Z | exercise/week3/ex2.py | jamestiotio/DW2020 | a8c575f1afd34d66dce2798a11b2fa15d1214a43 | [
"MIT"
] | null | null | null | def my_reverse(lst):
new_lst = []
count = len(lst) - 1
while count >= 0:
new_lst.append(lst[count])
count -= 1
return new_lst | 17.666667 | 34 | 0.540881 | 23 | 159 | 3.565217 | 0.521739 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.333333 | 159 | 9 | 35 | 17.666667 | 0.745283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 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 |
2dfec58e0e22ff67a7071f7db664202ea5cc80bb | 240 | py | Python | PluginInterop/PluginInterop.Test/Resources/matrix_to_network.py | cox-labs/PluginInterop | 3cb725b5ad8f51e239f45ae4d4482cea1cb2dda5 | [
"MIT"
] | 4 | 2017-05-02T10:16:16.000Z | 2018-05-08T15:14:36.000Z | PluginInterop/PluginInterop.Test/Resources/matrix_to_network.py | cox-labs/PluginInterop | 3cb725b5ad8f51e239f45ae4d4482cea1cb2dda5 | [
"MIT"
] | 2 | 2017-06-10T21:54:50.000Z | 2017-06-11T17:52:55.000Z | PluginInterop/PluginInterop.Test/Resources/matrix_to_network.py | cox-labs/PluginInterop | 3cb725b5ad8f51e239f45ae4d4482cea1cb2dda5 | [
"MIT"
] | 5 | 2017-03-25T16:36:00.000Z | 2018-09-12T15:16:40.000Z | import sys
from perseuspy import pd, nx, write_networks
_, infile, outfolder = sys.argv
G = nx.random_graphs.barabasi_albert_graph(10, 3)
networks_table, networks = nx.to_perseus([G])
write_networks(outfolder, networks_table, networks) | 40 | 51 | 0.7875 | 35 | 240 | 5.142857 | 0.628571 | 0.144444 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 0.116667 | 240 | 6 | 51 | 40 | 0.834906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9309c40fc73d55bbb646a2a5a468f4242b2a94a5 | 167 | py | Python | furniture_store/furniture_store/web/validators.py | trenev/softuni-python-web-basics | 0fcf6b7f3389d06685d40615c376dc4027e772f2 | [
"MIT"
] | 1 | 2022-03-03T10:16:14.000Z | 2022-03-03T10:16:14.000Z | furniture_store/furniture_store/web/validators.py | trenev/softuni-python-web-basics | 0fcf6b7f3389d06685d40615c376dc4027e772f2 | [
"MIT"
] | null | null | null | furniture_store/furniture_store/web/validators.py | trenev/softuni-python-web-basics | 0fcf6b7f3389d06685d40615c376dc4027e772f2 | [
"MIT"
] | null | null | null | from django.core.exceptions import ValidationError
def validate_min_price(value):
if value <= 0:
raise ValidationError('Price must be positive number!')
| 23.857143 | 63 | 0.742515 | 21 | 167 | 5.809524 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.179641 | 167 | 6 | 64 | 27.833333 | 0.883212 | 0 | 0 | 0 | 0 | 0 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
930f4e5b6e77e5f83ae145d07b39068b3879e897 | 775 | py | Python | prml/nn/math/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 11,017 | 2017-07-03T03:06:25.000Z | 2022-03-30T18:47:20.000Z | prml/nn/math/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 21 | 2017-08-13T01:35:41.000Z | 2022-03-21T06:25:09.000Z | prml/nn/math/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 3,417 | 2017-07-05T12:55:52.000Z | 2022-03-30T18:47:27.000Z | from prml.nn.math.negative import negative
from prml.nn.math.add import add
from prml.nn.math.subtract import subtract, rsubtract
from prml.nn.math.divide import divide, rdivide
from prml.nn.math.mean import mean
from prml.nn.math.multiply import multiply
from prml.nn.math.matmul import matmul, rmatmul
from prml.nn.mat... | 27.678571 | 53 | 0.80129 | 118 | 775 | 4.822034 | 0.245763 | 0.140598 | 0.175747 | 0.221441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117419 | 775 | 27 | 54 | 28.703704 | 0.831871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
931631d4be917b5db9f8957c8dfefd15ca87559b | 168 | py | Python | backend/registry/enums/security.py | Don-King-Kong/mrmap | f58a77bf979142876c38b98de0b7514c475b9905 | [
"MIT"
] | 10 | 2021-03-12T17:46:38.000Z | 2022-03-11T10:59:01.000Z | backend/registry/enums/security.py | Don-King-Kong/mrmap | f58a77bf979142876c38b98de0b7514c475b9905 | [
"MIT"
] | 214 | 2021-03-10T19:24:17.000Z | 2022-03-15T07:34:24.000Z | backend/registry/enums/security.py | Don-King-Kong/mrmap | f58a77bf979142876c38b98de0b7514c475b9905 | [
"MIT"
] | 9 | 2021-03-16T19:47:54.000Z | 2022-03-11T11:01:22.000Z | from MrMap.enums import EnumChoice
class EntityUnits(EnumChoice):
""" Defines all supported entity units
"""
MEGA_PIXEL = "MPx"
FEATURE_TYPES = "Ft"
| 16.8 | 42 | 0.678571 | 19 | 168 | 5.894737 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 168 | 9 | 43 | 18.666667 | 0.861538 | 0.202381 | 0 | 0 | 0 | 0 | 0.041322 | 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 |
932075f11c9465e79283edd91d43c62c68b6ee2f | 2,478 | py | Python | src/harness/cu_pass/dpa_calculator/aggregate_interference_calculator/aggregate_interference_calculator_winnforum/support/support/neighborhood_interference_matrix_calculator.py | NSF-Swift/Spectrum-Access-System | 02cf3490c9fd0cec38074d3bdb3bca63bb7d03bf | [
"Apache-2.0"
] | null | null | null | src/harness/cu_pass/dpa_calculator/aggregate_interference_calculator/aggregate_interference_calculator_winnforum/support/support/neighborhood_interference_matrix_calculator.py | NSF-Swift/Spectrum-Access-System | 02cf3490c9fd0cec38074d3bdb3bca63bb7d03bf | [
"Apache-2.0"
] | null | null | null | src/harness/cu_pass/dpa_calculator/aggregate_interference_calculator/aggregate_interference_calculator_winnforum/support/support/neighborhood_interference_matrix_calculator.py | NSF-Swift/Spectrum-Access-System | 02cf3490c9fd0cec38074d3bdb3bca63bb7d03bf | [
"Apache-2.0"
] | null | null | null | from typing import List, Tuple
import numpy
from cached_property import cached_property
INTERFERENCE_MATRIX_INFO_TYPE = Tuple[numpy.ndarray, List[int], numpy.ndarray]
class NeighborhoodInterferenceMatrixCalculator:
def __init__(self,
interference_matrix_info: INTERFERENCE_MATRIX_INFO_TYPE,
... | 40.622951 | 113 | 0.748184 | 272 | 2,478 | 6.3125 | 0.147059 | 0.220151 | 0.140944 | 0.090856 | 0.5894 | 0.50728 | 0.425743 | 0.258008 | 0.154339 | 0.154339 | 0 | 0.001496 | 0.190476 | 2,478 | 60 | 114 | 41.3 | 0.854437 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.23913 | false | 0 | 0.065217 | 0.217391 | 0.543478 | 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 |
934de196745960e487f32616abe3d5e3d4a21909 | 107 | py | Python | wep/blade_noob.py | mattkw/dl | 45bfc28ad9ff827045a3734730deb893a2436c09 | [
"Apache-2.0"
] | null | null | null | wep/blade_noob.py | mattkw/dl | 45bfc28ad9ff827045a3734730deb893a2436c09 | [
"Apache-2.0"
] | null | null | null | wep/blade_noob.py | mattkw/dl | 45bfc28ad9ff827045a3734730deb893a2436c09 | [
"Apache-2.0"
] | null | null | null | import blade
conf = blade.conf
conf.update( {
"x5_recovery" : 62 /60.0 ,
}
)
| 13.375 | 39 | 0.46729 | 12 | 107 | 4.083333 | 0.75 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.411215 | 107 | 7 | 40 | 15.285714 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
9353c424e8d6deac1c49914c31c6768d29dd1ec4 | 3,464 | py | Python | PyFlowPackages/PyFlowFreeCAD/Tools/ComputeTool.py | madhusenthilvel/NodeEditor | e5612d917a24924a7961d196aafa85ca9b650dcf | [
"MIT"
] | null | null | null | PyFlowPackages/PyFlowFreeCAD/Tools/ComputeTool.py | madhusenthilvel/NodeEditor | e5612d917a24924a7961d196aafa85ca9b650dcf | [
"MIT"
] | null | null | null | PyFlowPackages/PyFlowFreeCAD/Tools/ComputeTool.py | madhusenthilvel/NodeEditor | e5612d917a24924a7961d196aafa85ca9b650dcf | [
"MIT"
] | null | null | null | ## Copyright 2015-2019 Ilgar Lunin, Pedro Cabrera, microelly
## 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 applic... | 23.564626 | 75 | 0.625577 | 396 | 3,464 | 5.363636 | 0.373737 | 0.084746 | 0.039548 | 0.060264 | 0.456686 | 0.456686 | 0.330508 | 0.330508 | 0.193032 | 0.193032 | 0 | 0.007106 | 0.268764 | 3,464 | 146 | 76 | 23.726027 | 0.831425 | 0.198614 | 0 | 0.483516 | 0 | 0 | 0.079313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.120879 | 0.142857 | 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 |
936a6b6d1d42473cb2b5970deb8b7684e023c7d9 | 86 | py | Python | tips/assign-shorthand.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | 1 | 2018-10-11T20:27:52.000Z | 2018-10-11T20:27:52.000Z | tips/assign-shorthand.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | null | null | null | tips/assign-shorthand.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | null | null | null | a = 1
b = 2
print(a,b) # 1,2
# like JS destructuring
a, b = b, a
print(a,b) # 2,1
| 8.6 | 24 | 0.523256 | 21 | 86 | 2.142857 | 0.380952 | 0.133333 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.290698 | 86 | 9 | 25 | 9.555556 | 0.639344 | 0.348837 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
936dfbf0fdc0f72628a48c8975f3de98b7a55ce1 | 264 | py | Python | example.py | taxpon/pytidy | 1feb2a98813c278012ad0e21cbabe2ab04851bd3 | [
"MIT"
] | 3 | 2019-02-23T13:18:34.000Z | 2020-08-09T20:10:15.000Z | example.py | taxpon/pytidy | 1feb2a98813c278012ad0e21cbabe2ab04851bd3 | [
"MIT"
] | 4 | 2020-03-24T16:47:07.000Z | 2021-03-31T04:49:22.000Z | example.py | taxpon/pytidy | 1feb2a98813c278012ad0e21cbabe2ab04851bd3 | [
"MIT"
] | null | null | null | from pytidy.decorators import component, autowired
@component
class A:
def get(self):
return "a"
class B:
@autowired
def __init__(self, a: A):
self.a = a
def get(self):
return self.a.get()
b = B()
print(b.get()) # a
| 12.571429 | 50 | 0.568182 | 38 | 264 | 3.842105 | 0.394737 | 0.10274 | 0.09589 | 0.150685 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 264 | 20 | 51 | 13.2 | 0.793478 | 0.003788 | 0 | 0.153846 | 0 | 0 | 0.003831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fa8b0c16909a883c379b9ee963c7d0a942ade5a2 | 783 | py | Python | tests/test_main.py | alexistli/tic-tac-toe-game | f6689d5ea722c3ea52c06c8a3433cf052543297f | [
"MIT"
] | 1 | 2021-12-11T09:10:33.000Z | 2021-12-11T09:10:33.000Z | tests/test_main.py | alexistli/tic-tac-toe-game | f6689d5ea722c3ea52c06c8a3433cf052543297f | [
"MIT"
] | 39 | 2021-11-01T23:18:43.000Z | 2022-03-31T23:27:55.000Z | tests/test_main.py | alexistli/tic-tac-toe-game | f6689d5ea722c3ea52c06c8a3433cf052543297f | [
"MIT"
] | null | null | null | """Test cases for the __main__ module."""
import pytest
from click.testing import CliRunner
from tic_tac_toe_game import __main__
@pytest.fixture
def runner() -> CliRunner:
"""Fixture for invoking command-line interfaces."""
return CliRunner()
# ================ Test CLI ================
def test_main_su... | 24.46875 | 61 | 0.637292 | 99 | 783 | 4.686869 | 0.535354 | 0.064655 | 0.043103 | 0.060345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001553 | 0.177522 | 783 | 31 | 62 | 25.258065 | 0.718944 | 0.574713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fa94b175735f735ce9a712f3df03486dd18eb186 | 240 | py | Python | src/papy/util/runtime.py | mcieslik-mctp/papy | 708e50827b5db46bbea081982cb74b9b0e464064 | [
"MIT"
] | 23 | 2015-01-12T10:28:48.000Z | 2020-05-09T20:50:26.000Z | src/papy/util/runtime.py | mcieslik-mctp/papy | 708e50827b5db46bbea081982cb74b9b0e464064 | [
"MIT"
] | null | null | null | src/papy/util/runtime.py | mcieslik-mctp/papy | 708e50827b5db46bbea081982cb74b9b0e464064 | [
"MIT"
] | 11 | 2015-02-05T05:56:19.000Z | 2019-05-18T08:17:27.000Z | """
:mod:`papy.util.runtime`
========================
Provides a (possibly shared, but not yet) dictionary.
"""
def get_runtime():
"""
Returns a PAPY_RUNTIME dictionary.
"""
PAPY_RUNTIME = {}
return PAPY_RUNTIME
| 15 | 53 | 0.558333 | 25 | 240 | 5.2 | 0.64 | 0.253846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220833 | 240 | 15 | 54 | 16 | 0.695187 | 0.579167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
faa711285acddfd55c0e76ef0384f9c76ac0043b | 268 | py | Python | examples/find_tags.py | pketthong/ruuvitag-sensor | 05eb55ec8daf58e22048e6fff340469046913e95 | [
"MIT"
] | 166 | 2017-02-01T06:45:17.000Z | 2022-03-28T16:57:11.000Z | examples/find_tags.py | pketthong/ruuvitag-sensor | 05eb55ec8daf58e22048e6fff340469046913e95 | [
"MIT"
] | 116 | 2017-01-30T19:17:37.000Z | 2022-03-20T06:19:41.000Z | examples/find_tags.py | pketthong/ruuvitag-sensor | 05eb55ec8daf58e22048e6fff340469046913e95 | [
"MIT"
] | 85 | 2016-09-01T09:28:20.000Z | 2022-03-18T18:58:14.000Z | """
Find RuuviTags
"""
from ruuvitag_sensor.ruuvi import RuuviTagSensor
import ruuvitag_sensor.log
ruuvitag_sensor.log.enable_console()
# This will print sensor's mac and state when new sensor is found
if __name__ == "__main__":
RuuviTagSensor.find_ruuvitags()
| 20.615385 | 65 | 0.783582 | 36 | 268 | 5.472222 | 0.694444 | 0.213198 | 0.172589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 268 | 12 | 66 | 22.333333 | 0.849138 | 0.294776 | 0 | 0 | 0 | 0 | 0.044199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fab7546bd269f179a24e277e4a2e86e70a5bfc64 | 226 | py | Python | signal.py | Kh4l3tH/PySide-Utilities | 90e85e477bef04eeaba1898b839af69c8422c737 | [
"MIT"
] | null | null | null | signal.py | Kh4l3tH/PySide-Utilities | 90e85e477bef04eeaba1898b839af69c8422c737 | [
"MIT"
] | null | null | null | signal.py | Kh4l3tH/PySide-Utilities | 90e85e477bef04eeaba1898b839af69c8422c737 | [
"MIT"
] | null | null | null | class Signal():
def __init__(self):
self.receivers = []
def connect(self, receiver):
self.receivers.append(receiver)
def emit(self):
for receiver in self.receivers:
receiver()
| 20.545455 | 39 | 0.588496 | 24 | 226 | 5.375 | 0.5 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300885 | 226 | 10 | 40 | 22.6 | 0.816456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fac71ed32db58d94e1aea0e1ef30e6233cf58858 | 55 | py | Python | lib/display_driver.py | JohnieBraaf/lv_binding_micropython | f0407d8f446a45b9e1809dc94a4c4fb4587f2378 | [
"MIT"
] | 73 | 2020-05-18T15:40:32.000Z | 2022-03-24T10:06:41.000Z | lib/display_driver.py | JohnieBraaf/lv_binding_micropython | f0407d8f446a45b9e1809dc94a4c4fb4587f2378 | [
"MIT"
] | 131 | 2020-05-18T21:31:55.000Z | 2022-03-03T19:38:18.000Z | lib/display_driver.py | JohnieBraaf/lv_binding_micropython | f0407d8f446a45b9e1809dc94a4c4fb4587f2378 | [
"MIT"
] | 77 | 2020-05-18T21:21:20.000Z | 2022-03-28T15:33:42.000Z | from display_driver_utils import driver
drv = driver()
| 18.333333 | 39 | 0.818182 | 8 | 55 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 40 | 27.5 | 0.895833 | 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 |
4f0a3f409187cf834a7c85742fe4bc331253fa07 | 226 | py | Python | kingfisher_scrapy/spiders/digiwhist_georgia.py | spendnetwork/kingfisher-scrape | 053910b278eed9b3e79ca2f05a04086300b8bc21 | [
"BSD-3-Clause"
] | null | null | null | kingfisher_scrapy/spiders/digiwhist_georgia.py | spendnetwork/kingfisher-scrape | 053910b278eed9b3e79ca2f05a04086300b8bc21 | [
"BSD-3-Clause"
] | null | null | null | kingfisher_scrapy/spiders/digiwhist_georgia.py | spendnetwork/kingfisher-scrape | 053910b278eed9b3e79ca2f05a04086300b8bc21 | [
"BSD-3-Clause"
] | null | null | null | from kingfisher_scrapy.spiders.digiwhist_base import DigiwhistBase
class DigiwhistGeorgiaRepublic(DigiwhistBase):
name = 'digiwhist_georgia'
start_urls = ['https://opentender.eu/data/files/GE_ocds_data.json.tar.gz']
| 32.285714 | 78 | 0.800885 | 27 | 226 | 6.481481 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 226 | 6 | 79 | 37.666667 | 0.857843 | 0 | 0 | 0 | 0 | 0 | 0.327434 | 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 |
8792218c754e91ada3c91a062d421be0db7ecd0d | 894 | py | Python | trafaret/regexp.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | null | null | null | trafaret/regexp.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | null | null | null | trafaret/regexp.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | null | null | null | import re
from .base import Trafaret, str_types
class RegexpRaw(Trafaret):
"""
Check if given string match given regexp
"""
__slots__ = ('regexp', 'raw_regexp')
def __init__(self, regexp, re_flags=0):
self.regexp = re.compile(regexp, re_flags) if isinstance(regexp, str_types) else regexp
... | 29.8 | 95 | 0.661074 | 120 | 894 | 4.691667 | 0.325 | 0.08881 | 0.0746 | 0.060391 | 0.092362 | 0.092362 | 0 | 0 | 0 | 0 | 0 | 0.001462 | 0.234899 | 894 | 29 | 96 | 30.827586 | 0.821637 | 0.044743 | 0 | 0.105263 | 0 | 0 | 0.083532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
87936ece84d37f39588a9113e82d7b487aebd173 | 416 | py | Python | pylox/results.py | BolunThompson/PyLox | afcdebf44ace3c032d7247d79704d60791f605ef | [
"MIT"
] | 2 | 2021-09-07T06:50:46.000Z | 2021-11-15T22:54:42.000Z | pylox/results.py | BolunThompson/PyLox | afcdebf44ace3c032d7247d79704d60791f605ef | [
"MIT"
] | null | null | null | pylox/results.py | BolunThompson/PyLox | afcdebf44ace3c032d7247d79704d60791f605ef | [
"MIT"
] | 1 | 2021-03-26T20:05:13.000Z | 2021-03-26T20:05:13.000Z | from __future__ import annotations
import dataclasses
import typing as tp
import pylox.lox_errors as le
import pylox.lox_types as lt
class ResultNT(tp.NamedTuple):
result: lt.StmtLiteral
status: le.ErrorReturns = le.ErrorReturns.SUCCESS
@dataclasses.dataclass
class ReturnList(tp.List[ResultNT]):
""" L... | 20.8 | 53 | 0.769231 | 55 | 416 | 5.690909 | 0.509091 | 0.178914 | 0.089457 | 0.140575 | 0.261981 | 0.261981 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151442 | 416 | 19 | 54 | 21.894737 | 0.886686 | 0.088942 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.909091 | 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 |
87944d3c7cdb53df0a75d775dbf7f7c61cf4c51a | 152 | py | Python | ex051.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | ex051.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | ex051.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | pt = int(input("Qual o primeiro termo? "))
r = int(input("Qual a razão? "))
soma = pt + (10-1)*r
for c in range(pt, soma + r, r):
print(c, end=" ")
| 25.333333 | 42 | 0.559211 | 29 | 152 | 2.931034 | 0.655172 | 0.188235 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.217105 | 152 | 5 | 43 | 30.4 | 0.689076 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
87a6ff9ce516f7dca9f1b1015e7a866bc0ad65f8 | 1,717 | py | Python | 225-Implement-Stack-using-Queues/solution01.py | Eroica-cpp/LeetCode | 07276bd11558f3d0e32bec768b09e886de145f9e | [
"CC-BY-3.0",
"MIT"
] | 7 | 2015-05-05T22:21:30.000Z | 2021-03-13T04:04:15.000Z | 225-Implement-Stack-using-Queues/solution01.py | Eroica-cpp/LeetCode | 07276bd11558f3d0e32bec768b09e886de145f9e | [
"CC-BY-3.0",
"MIT"
] | null | null | null | 225-Implement-Stack-using-Queues/solution01.py | Eroica-cpp/LeetCode | 07276bd11558f3d0e32bec768b09e886de145f9e | [
"CC-BY-3.0",
"MIT"
] | 2 | 2018-12-26T08:13:25.000Z | 2020-07-18T20:18:24.000Z | #!/usr/bin/python
# ==============================================================================
# Author: Tao Li (taoli@ucsd.edu)
# Date: Jun 11, 2015
# Question: 225-Implement-Stack-using-Queues
# Link: https://leetcode.com/problems/implement-stack-using-queues/
# =========================================... | 33.666667 | 80 | 0.53873 | 210 | 1,717 | 4.385714 | 0.509524 | 0.04886 | 0.052117 | 0.054289 | 0.071661 | 0.071661 | 0.071661 | 0 | 0 | 0 | 0 | 0.010094 | 0.192196 | 1,717 | 50 | 81 | 34.34 | 0.653929 | 0.790332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.181818 | 0.727273 | 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 |
87a8b6ab0a9159e37ea22aabcbeca0e3645edc10 | 2,738 | py | Python | app/api/routes.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | app/api/routes.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | app/api/routes.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | from datetime import datetime
from flask import jsonify, Blueprint, abort, redirect, url_for
from sqlalchemy import and_
from app.models import VirusData
from app.schemas import data_schema, datas_schema
from tools.routes import filter_country_name, filter_date, get_today_date
api = Blueprint('api', __name__)
@api.r... | 25.588785 | 111 | 0.69832 | 381 | 2,738 | 4.860892 | 0.16273 | 0.13067 | 0.064255 | 0.064795 | 0.75162 | 0.737581 | 0.725702 | 0.674946 | 0.674946 | 0.638769 | 0 | 0.010874 | 0.193937 | 2,738 | 107 | 112 | 25.588785 | 0.828274 | 0.175676 | 0 | 0.54 | 0 | 0 | 0.103217 | 0.036193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.12 | 0 | 0.36 | 0.04 | 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 |
87af7281b4080c1d942b3e19d821f3a73f8fdb31 | 547 | py | Python | crash-course/color_translator.py | phuongvo9/python-google-automation- | f0ba61470c4f8636ddb439e615f846c9e67bbcee | [
"Apache-2.0"
] | null | null | null | crash-course/color_translator.py | phuongvo9/python-google-automation- | f0ba61470c4f8636ddb439e615f846c9e67bbcee | [
"Apache-2.0"
] | null | null | null | crash-course/color_translator.py | phuongvo9/python-google-automation- | f0ba61470c4f8636ddb439e615f846c9e67bbcee | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
def color_translator(color):
if color == "red":
hex_color = "#ff0000"
elif color == "green":
hex_color = "#00ff00"
elif color == "blue":
hex_color = "#0000ff"
return hex_color
print(color_translator("blue")) #Should be #0000fff
print(color_translator("yell... | 30.388889 | 53 | 0.681901 | 69 | 547 | 5.246377 | 0.362319 | 0.290055 | 0.331492 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063877 | 0.170018 | 547 | 17 | 54 | 32.176471 | 0.73348 | 0.219378 | 0 | 0 | 0 | 0 | 0.13494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
87c0585e60f001efd4952a0ba02696a00b71b72e | 141 | py | Python | ExerciciosPython/testes.py | MecaFlavio/Exercicios-Python-3-Curso-em-Video | b93272c15b19b04deff73f1b0a684a0b49313edf | [
"MIT"
] | null | null | null | ExerciciosPython/testes.py | MecaFlavio/Exercicios-Python-3-Curso-em-Video | b93272c15b19b04deff73f1b0a684a0b49313edf | [
"MIT"
] | null | null | null | ExerciciosPython/testes.py | MecaFlavio/Exercicios-Python-3-Curso-em-Video | b93272c15b19b04deff73f1b0a684a0b49313edf | [
"MIT"
] | null | null | null | # Arquivo para testes de linhas de condigo
import datetime
ano = int(datetime.datetime.today().strftime('%Y'))
print(ano)
print(type(ano))
| 17.625 | 51 | 0.737589 | 21 | 141 | 4.952381 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 141 | 7 | 52 | 20.142857 | 0.83871 | 0.283688 | 0 | 0 | 0 | 0 | 0.020202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
87d89a83fef33065ca50c56e981acb381802c444 | 54 | py | Python | lfs/core/__init__.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 345 | 2015-01-03T19:19:27.000Z | 2022-03-20T11:00:50.000Z | lfs/core/__init__.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 73 | 2015-01-06T14:54:02.000Z | 2022-03-11T23:11:34.000Z | lfs/core/__init__.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 148 | 2015-01-07T16:30:08.000Z | 2022-03-25T21:20:58.000Z | default_app_config = 'lfs.core.apps.LfsCoreAppConfig'
| 27 | 53 | 0.833333 | 7 | 54 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
87dc243345a1b997d02c297e9250c7272da33e23 | 808 | py | Python | src/delta/lexer/lexicalToken.py | MrRhuezzler/delta | 8c7f9ef5a029b5f1acabbb1a9e0e8876f0f86052 | [
"MIT"
] | 4 | 2021-06-11T20:00:19.000Z | 2022-01-07T16:13:42.000Z | src/delta/lexer/lexicalToken.py | MrRhuezzler/delta | 8c7f9ef5a029b5f1acabbb1a9e0e8876f0f86052 | [
"MIT"
] | null | null | null | src/delta/lexer/lexicalToken.py | MrRhuezzler/delta | 8c7f9ef5a029b5f1acabbb1a9e0e8876f0f86052 | [
"MIT"
] | 1 | 2021-11-05T20:45:53.000Z | 2021-11-05T20:45:53.000Z | from typing import Any
from .tokenType import TokenType
class LexicalToken:
def __init__(self, token_type: TokenType, value: Any = None):
self.token_type = token_type
self.value = value
self.token_name = token_type.token_name
self.token_symbol = token_type.token_symbol
def __e... | 32.32 | 84 | 0.667079 | 109 | 808 | 4.669725 | 0.266055 | 0.176817 | 0.153242 | 0.066798 | 0.243615 | 0.243615 | 0.243615 | 0.243615 | 0.243615 | 0.243615 | 0 | 0 | 0.253713 | 808 | 24 | 85 | 33.666667 | 0.844113 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
87dc484cd81dd4665eb86e00f4b20fe10396ea21 | 208 | py | Python | quotes_bot/__init__.py | FranDepascuali/QuotesBot | a5ed0c7b5fdf75c285c1f0cc37875e7061a792d7 | [
"MIT"
] | null | null | null | quotes_bot/__init__.py | FranDepascuali/QuotesBot | a5ed0c7b5fdf75c285c1f0cc37875e7061a792d7 | [
"MIT"
] | 2 | 2021-03-31T20:23:45.000Z | 2021-12-13T20:41:27.000Z | quotes_bot/__init__.py | FranDepascuali/QuotesBot | a5ed0c7b5fdf75c285c1f0cc37875e7061a792d7 | [
"MIT"
] | null | null | null | from .bot_manager import start
if python_version_manager.is_python_2():
# In python 3.x, the default encoding is already utf8.
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
start()
| 20.8 | 58 | 0.721154 | 31 | 208 | 4.677419 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.1875 | 208 | 9 | 59 | 23.111111 | 0.83432 | 0.25 | 0 | 0 | 0 | 0 | 0.032468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
87e304abda5bd568d47cd4b29a897b616617667f | 335 | py | Python | flow_control_08/sleep.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | null | null | null | flow_control_08/sleep.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 2 | 2019-04-15T06:29:55.000Z | 2019-04-19T17:34:32.000Z | flow_control_08/sleep.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 1 | 2019-11-19T04:51:18.000Z | 2019-11-19T04:51:18.000Z | # The parameter weekday is true if it is a weekday, and the parameter vacation is true if we are on vacation.
# We sleep in if it is not a weekday or we're on vacation.
# Display the message "You can sleep." if we sleep in else display "You cannot sleep."
# for more info on this quiz, go to this url: http://www.program... | 67 | 109 | 0.740299 | 66 | 335 | 3.757576 | 0.560606 | 0.096774 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.191045 | 335 | 4 | 110 | 83.75 | 0.911439 | 0.973134 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
87e9f6c90a6fdcab067119332b7847e630b57f06 | 4,405 | py | Python | model/requestgroup.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/requestgroup.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/requestgroup.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/RequestGroup) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .age import Age
from .annotation i... | 38.640351 | 109 | 0.743246 | 483 | 4,405 | 6.73706 | 0.31677 | 0.038722 | 0.050707 | 0.059004 | 0.190535 | 0.176398 | 0.149355 | 0.149355 | 0.12354 | 0.063307 | 0 | 0.007543 | 0.157321 | 4,405 | 114 | 110 | 38.640351 | 0.869073 | 0.159364 | 0 | 0.077922 | 1 | 0 | 0.042459 | 0.015991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.220779 | 0 | 0.948052 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
355104d62532f5e9a6d12f09c87202ee822562f4 | 3,172 | py | Python | graphgallery/data/hetegraph.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 1 | 2020-07-29T08:00:32.000Z | 2020-07-29T08:00:32.000Z | graphgallery/data/hetegraph.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | graphgallery/data/hetegraph.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | import os
import numpy as np
import networkx as nx
import os.path as osp
import scipy.sparse as sp
from typing import Any
from .base_graph import BaseGraph
from . import utils
class HeteGraph(BaseGraph):
"""Heterogeneous graph stored in Numpy array form."""
multiple = False
# TODO: to be ... | 24.21374 | 77 | 0.531211 | 371 | 3,172 | 4.371968 | 0.283019 | 0.122072 | 0.074599 | 0.055487 | 0.223181 | 0.168927 | 0.128237 | 0.128237 | 0.128237 | 0.051788 | 0 | 0.001987 | 0.365385 | 3,172 | 130 | 78 | 24.4 | 0.803775 | 0.1343 | 0 | 0.25 | 0 | 0 | 0.021369 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 1 | 0.227273 | false | 0 | 0.090909 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
35549f687e0afd45fc6d5cba439c026c98e266c1 | 19 | py | Python | __init__.py | ogbeniore/atlas-sms-python | 5c407f9adda90d04ee8f0a5af32882196e3aac79 | [
"MIT"
] | null | null | null | __init__.py | ogbeniore/atlas-sms-python | 5c407f9adda90d04ee8f0a5af32882196e3aac79 | [
"MIT"
] | null | null | null | __init__.py | ogbeniore/atlas-sms-python | 5c407f9adda90d04ee8f0a5af32882196e3aac79 | [
"MIT"
] | null | null | null | name = "atlas_sms"
| 9.5 | 18 | 0.684211 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 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 |
356d503ad282df57f76ba6c54e7f216131cbb57c | 242 | py | Python | src/agent/test_agent_document.py | AntoineToubhans/py2048 | 1907b83a7c5a2bb53321deb8ecda852360e12fed | [
"MIT"
] | null | null | null | src/agent/test_agent_document.py | AntoineToubhans/py2048 | 1907b83a7c5a2bb53321deb8ecda852360e12fed | [
"MIT"
] | 5 | 2021-03-10T09:27:21.000Z | 2022-02-13T07:12:23.000Z | src/agent/test_agent_document.py | AntoineToubhans/py2048 | 1907b83a7c5a2bb53321deb8ecda852360e12fed | [
"MIT"
] | 1 | 2021-02-26T13:18:05.000Z | 2021-02-26T13:18:05.000Z | from .agent_document import AgentDocument
def test_agent_document():
agent_document = AgentDocument(name="TotoAgent", commit_sha="123456",)
assert agent_document.name == "TotoAgent"
assert agent_document.commit_sha == "123456"
| 26.888889 | 74 | 0.760331 | 28 | 242 | 6.285714 | 0.464286 | 0.369318 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057416 | 0.136364 | 242 | 8 | 75 | 30.25 | 0.784689 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
357abd415c2dbe097a6b4dfc2cd21f11d64d4e4a | 4,139 | py | Python | test/test_gatelevel.py | erikvanzijst/pong | 840d46c9220c0e6912b8f4fdb0626178d489e07c | [
"Apache-2.0"
] | null | null | null | test/test_gatelevel.py | erikvanzijst/pong | 840d46c9220c0e6912b8f4fdb0626178d489e07c | [
"Apache-2.0"
] | null | null | null | test/test_gatelevel.py | erikvanzijst/pong | 840d46c9220c0e6912b8f4fdb0626178d489e07c | [
"Apache-2.0"
] | null | null | null | from textwrap import dedent
import cocotb
from cocotb.clock import Clock
from cocotb.result import TestFailure
from cocotb.triggers import RisingEdge, ClockCycles
from .paddle import Paddle
from .dotmatrix import scanlines, assert_screen, printscreen
clocks_per_phase = 1
DEBOUNCEWIDTH = 2
async def wait_for_value(... | 28.544828 | 99 | 0.641218 | 453 | 4,139 | 5.810155 | 0.309051 | 0.218845 | 0.218845 | 0.071809 | 0.43807 | 0.430471 | 0.266337 | 0.141337 | 0.067629 | 0.067629 | 0 | 0.290655 | 0.273496 | 4,139 | 144 | 100 | 28.743056 | 0.584636 | 0.05267 | 0 | 0.552846 | 0 | 0 | 0.426711 | 0.011747 | 0 | 0 | 0.000766 | 0 | 0.056911 | 1 | 0 | false | 0 | 0.056911 | 0 | 0.065041 | 0.105691 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
3581210b7446baaa201fea53887d4d243aab608f | 1,450 | py | Python | KafNafParserPy/term_sentiment_data.py | opener-project/KafNafParserPy | 1b82fda4d38c0bc626388be58f7dabca27b71b54 | [
"Apache-2.0"
] | 3 | 2017-07-06T15:14:44.000Z | 2019-06-06T20:05:54.000Z | KafNafParserPy/term_sentiment_data.py | opener-project/KafNafParserPy | 1b82fda4d38c0bc626388be58f7dabca27b71b54 | [
"Apache-2.0"
] | null | null | null | KafNafParserPy/term_sentiment_data.py | opener-project/KafNafParserPy | 1b82fda4d38c0bc626388be58f7dabca27b71b54 | [
"Apache-2.0"
] | null | null | null | # Modified for NAF KAF
from lxml import etree
from lxml.objectify import dump
class Cterm_sentiment:
def __init__(self,node=None):
self.type = 'NAF/KAF'
if node is None:
self.node = etree.Element('sentiment')
else:
self.node = node
#self.resource = self.pola... | 33.72093 | 153 | 0.602759 | 173 | 1,450 | 4.913295 | 0.231214 | 0.094118 | 0.094118 | 0.063529 | 0.049412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263448 | 1,450 | 42 | 154 | 34.52381 | 0.79588 | 0.408276 | 0 | 0 | 0 | 0 | 0.089835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.086957 | 0.173913 | 0.652174 | 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 |
358c3609a353b2af07b65caa5e9d4afd195ba40a | 48,531 | py | Python | log/test1__imp_type_1enc_3dmfvEmbS512BN0LR0001wd0sigma125K5AUG1lsl1_distnoise0chairov1np64/dpdist_util.py | dahliau/DPDist | ccb3881915386eeee84fa09cd181b7dcf63d49b8 | [
"MIT"
] | 45 | 2020-07-07T08:06:57.000Z | 2022-03-31T05:12:48.000Z | log/test1__imp_type_1enc_3dmfvEmbS512BN0LR0001wd0sigma125K5AUG1lsl1_distnoise0chairov1np64/dpdist_util.py | dahliau/DPDist | ccb3881915386eeee84fa09cd181b7dcf63d49b8 | [
"MIT"
] | 6 | 2020-08-05T03:29:03.000Z | 2021-11-29T20:26:25.000Z | log/test1__imp_type_1enc_3dmfvEmbS512BN0LR0001wd0sigma125K5AUG1lsl1_distnoise0chairov1np64/dpdist_util.py | dahliau/DPDist | ccb3881915386eeee84fa09cd181b7dcf63d49b8 | [
"MIT"
] | 6 | 2020-08-17T06:01:57.000Z | 2021-05-18T10:02:57.000Z | """ Wrapper functions for TensorFlow layers.
Author: Urbach, Dahlia
Date: July 2019
"""
import numpy as np
import tensorflow as tf
import tf_util
# from pointnet_util import pointnet_sa_module
def placeholder_inputs(batch_size, num_point,NUM_DIMS=2):
pointclouds_pl = tf.placeholder(tf.float32, shap... | 48.774874 | 190 | 0.493952 | 6,566 | 48,531 | 3.439537 | 0.056656 | 0.013815 | 0.027099 | 0.042508 | 0.782634 | 0.741144 | 0.71223 | 0.692127 | 0.671582 | 0.660645 | 0 | 0.036314 | 0.375842 | 48,531 | 995 | 191 | 48.774874 | 0.709254 | 0.145268 | 0 | 0.645777 | 0 | 0 | 0.026995 | 0.001791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024523 | false | 0 | 0.004087 | 0 | 0.055858 | 0.021798 | 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 |
358da529ab4ccce8bc103e5d63fda0cb251f3339 | 768 | py | Python | sentence_similarity.py | higorspinto/sentence-similarity | c90304f1a209725f7e054d409dbcfd5ad561c2de | [
"MIT"
] | null | null | null | sentence_similarity.py | higorspinto/sentence-similarity | c90304f1a209725f7e054d409dbcfd5ad561c2de | [
"MIT"
] | null | null | null | sentence_similarity.py | higorspinto/sentence-similarity | c90304f1a209725f7e054d409dbcfd5ad561c2de | [
"MIT"
] | 1 | 2020-10-26T03:19:32.000Z | 2020-10-26T03:19:32.000Z | """
Sentence Similarity
Sentence similarity is a common task in NLP.
This module is being developed to compute sentence similarity using different formulations.
Methods
------------
mihalcea_sentence_similarity(sentence1, sentence2)
"""
from wordnet import WordNet
def mihalcea_sentence_similarity(sentence1, sent... | 21.333333 | 119 | 0.700521 | 81 | 768 | 6.567901 | 0.444444 | 0.270677 | 0.152256 | 0.203008 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025042 | 0.220052 | 768 | 35 | 120 | 21.942857 | 0.863105 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3595f4f5d52d937bc81971f54dacddaa6784b795 | 1,096 | py | Python | hw2_part1.py | Zendelo/ec_hw2_assignment_code | 2370e94817f002262b27aa93430f15e1546bf00c | [
"MIT"
] | null | null | null | hw2_part1.py | Zendelo/ec_hw2_assignment_code | 2370e94817f002262b27aa93430f15e1546bf00c | [
"MIT"
] | null | null | null | hw2_part1.py | Zendelo/ec_hw2_assignment_code | 2370e94817f002262b27aa93430f15e1546bf00c | [
"MIT"
] | null | null | null | class Student:
free_students = set()
def __init__(self, sid: int, pref_list: list, math_grade, cs_grade, utils):
self.sid = sid
self.math_grade = math_grade
self.cs_grade = cs_grade
self.pref_list = pref_list
self.project = None
self.utils = utils
self.pa... | 24.909091 | 79 | 0.625 | 167 | 1,096 | 3.862275 | 0.329341 | 0.055814 | 0.034109 | 0.04031 | 0.296124 | 0.217054 | 0.093023 | 0.093023 | 0 | 0 | 0 | 0.035132 | 0.27281 | 1,096 | 43 | 80 | 25.488372 | 0.774153 | 0 | 0 | 0.066667 | 0 | 0 | 0.027372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.2 | 0.566667 | 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 |
359dad4fda73e86ffd01f6618c60fc1c3e465331 | 3,643 | py | Python | agenda/models.py | DevHoot/elearning | 5d479c03a608c54545c2d1daa747694cf0ec56f7 | [
"MIT"
] | 1 | 2020-01-26T13:06:54.000Z | 2020-01-26T13:06:54.000Z | agenda/models.py | DevHoot/elearning | 5d479c03a608c54545c2d1daa747694cf0ec56f7 | [
"MIT"
] | null | null | null | agenda/models.py | DevHoot/elearning | 5d479c03a608c54545c2d1daa747694cf0ec56f7 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse
from django.conf import settings
from django.utils import timezone
from taggit.managers import TaggableManager
from django.utils.text import slugify
# Create your models here.
class Event(m... | 29.617886 | 83 | 0.678013 | 437 | 3,643 | 5.469108 | 0.267735 | 0.054393 | 0.046862 | 0.061506 | 0.326778 | 0.271548 | 0.188285 | 0.11046 | 0.075314 | 0.075314 | 0 | 0.004824 | 0.203404 | 3,643 | 122 | 84 | 29.860656 | 0.818746 | 0.018391 | 0 | 0.204545 | 0 | 0 | 0.054576 | 0.008116 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0 | 0.079545 | 0.170455 | 0.806818 | 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 |
ea1bd4c64109d236885b56f4b3b474a848de5979 | 159 | py | Python | pubmed_authors/__init__.py | pokey/jedd | d7a602e87336758b05849124a6403316c4ebcd06 | [
"MIT"
] | 2 | 2017-07-01T10:15:28.000Z | 2019-03-14T10:37:13.000Z | pubmed_authors/__init__.py | pokey/jedd | d7a602e87336758b05849124a6403316c4ebcd06 | [
"MIT"
] | 3 | 2017-02-10T08:34:09.000Z | 2021-11-15T17:46:48.000Z | pubmed_authors/__init__.py | pokey/jedd | d7a602e87336758b05849124a6403316c4ebcd06 | [
"MIT"
] | 2 | 2017-01-17T22:40:07.000Z | 2017-01-17T22:40:21.000Z | # -*- coding: utf-8 -*-
from pubmed_authors.pubmed_authors import run
__author__ = """Pokey Rule"""
__email__ = 'pokey.rule@gmail.com'
__version__ = '0.1.0'
| 19.875 | 45 | 0.691824 | 22 | 159 | 4.363636 | 0.772727 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.132075 | 159 | 7 | 46 | 22.714286 | 0.666667 | 0.132075 | 0 | 0 | 0 | 0 | 0.257353 | 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 |
ea2187b1fc6757a3563de677cad2e2e01e2fa538 | 1,000 | py | Python | routemaster/tests/test_cli.py | thread/routemaster | 1fd997a3bcee5e6760e9f7a60cb54323c3dfdc41 | [
"MIT"
] | 13 | 2018-01-16T14:26:27.000Z | 2022-03-19T12:43:17.000Z | routemaster/tests/test_cli.py | thread/routemaster | 1fd997a3bcee5e6760e9f7a60cb54323c3dfdc41 | [
"MIT"
] | 86 | 2018-01-03T17:00:56.000Z | 2021-12-06T12:58:06.000Z | routemaster/tests/test_cli.py | thread/routemaster | 1fd997a3bcee5e6760e9f7a60cb54323c3dfdc41 | [
"MIT"
] | 3 | 2018-02-21T23:13:45.000Z | 2022-03-19T12:43:23.000Z | from click.testing import CliRunner
from routemaster.cli import main
def test_cli_with_no_config_fails(app_env):
result = CliRunner(env=app_env).invoke(main, ['validate'])
assert result.exit_code == 2
def test_cli_with_trivial_config(app_env):
result = CliRunner(env=app_env).invoke(main, ['-c', 'test_d... | 34.482759 | 99 | 0.743 | 149 | 1,000 | 4.684564 | 0.248322 | 0.08596 | 0.071633 | 0.100287 | 0.787966 | 0.747851 | 0.702006 | 0.654728 | 0.588825 | 0.588825 | 0 | 0.005688 | 0.121 | 1,000 | 28 | 100 | 35.714286 | 0.788396 | 0 | 0 | 0.176471 | 0 | 0 | 0.144 | 0.099 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.294118 | false | 0 | 0.117647 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ea40897ce5a29588ae2adb881eeae114896adb8e | 367 | py | Python | Evento/models.py | higornobrega/Calendario_Feriado | bc6811f3159e0a88239a88f356b20bfa4bd6d4f8 | [
"Apache-2.0"
] | null | null | null | Evento/models.py | higornobrega/Calendario_Feriado | bc6811f3159e0a88239a88f356b20bfa4bd6d4f8 | [
"Apache-2.0"
] | null | null | null | Evento/models.py | higornobrega/Calendario_Feriado | bc6811f3159e0a88239a88f356b20bfa4bd6d4f8 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Evento(models.Model):
tipo = models.CharField(max_length=250)
data_inicio = models.DateField()
data_fim = models.DateField(blank=True, null=True)
descricao = models.CharField(max_length=250)
importante = models.BooleanField()
... | 24.466667 | 54 | 0.702997 | 47 | 367 | 5.319149 | 0.659574 | 0.12 | 0.144 | 0.192 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.19346 | 367 | 14 | 55 | 26.214286 | 0.824324 | 0.065395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0.111111 | 1.111111 | 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 |
ea41f6060d8a96c7cbd9b779c3f2c3e9d08efc11 | 738 | py | Python | kata/07/sum_of_odds.py | vyahello/upgrade-python-kata | 15de7b094f3aaef69a845887f0df5e0958c29ed4 | [
"MIT"
] | null | null | null | kata/07/sum_of_odds.py | vyahello/upgrade-python-kata | 15de7b094f3aaef69a845887f0df5e0958c29ed4 | [
"MIT"
] | 4 | 2021-01-25T16:58:39.000Z | 2022-03-12T13:46:37.000Z | kata/07/sum_of_odds.py | vyahello/upgrade-python-kata | 15de7b094f3aaef69a845887f0df5e0958c29ed4 | [
"MIT"
] | null | null | null | """
Given the triangle of consecutive odd numbers:
1
3 5
7 9 11
13 15 17 19
21 23 25 27 29
...
Calculate the row sums of this triangle from the row index (starting at index 1)
"""
def row_sum_odd_numbers(number: int) -> int:
"""Returns the row sums... | 23.0625 | 80 | 0.577236 | 104 | 738 | 3.817308 | 0.5 | 0.201511 | 0.15869 | 0.282116 | 0.327456 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103586 | 0.319783 | 738 | 31 | 81 | 23.806452 | 0.687251 | 0.742547 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ea464aa8473a76b041c58b340d24d964b2eca28a | 184 | py | Python | piicatcher/catalog/__init__.py | dm03514/piicatcher | c9c30d2dbda4d8c3d0e0d48e66dc282a22503b54 | [
"Apache-2.0"
] | 90 | 2019-11-01T17:09:05.000Z | 2022-03-24T06:59:45.000Z | piicatcher/catalog/__init__.py | dm03514/piicatcher | c9c30d2dbda4d8c3d0e0d48e66dc282a22503b54 | [
"Apache-2.0"
] | 147 | 2019-11-01T08:55:04.000Z | 2022-03-31T07:19:13.000Z | piicatcher/catalog/__init__.py | grofers/piicatcher | 181d008ba0aea4d7101fa83ddc075e9106164106 | [
"Apache-2.0"
] | 38 | 2019-12-26T22:14:20.000Z | 2022-03-17T15:47:35.000Z | from abc import ABC, abstractmethod
# pylint: disable=too-few-public-methods
class Store(ABC):
@classmethod
@abstractmethod
def save_schemas(cls, explorer):
pass
| 18.4 | 40 | 0.706522 | 22 | 184 | 5.863636 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 184 | 9 | 41 | 20.444444 | 0.883562 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ea686c6865e6df086ec1f6365d249bc4e56cb137 | 7,318 | py | Python | Protheus_WebApp/Modules/SIGAATF/ATFA430TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 17 | 2018-09-24T17:27:08.000Z | 2021-09-16T19:09:46.000Z | Protheus_WebApp/Modules/SIGAATF/ATFA430TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 4 | 2018-09-24T17:30:32.000Z | 2022-01-03T11:39:30.000Z | Protheus_WebApp/Modules/SIGAATF/ATFA430TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 18 | 2019-06-07T17:41:34.000Z | 2022-01-31T18:17:31.000Z | from tir import Webapp
import unittest
class ATFA430(unittest.TestCase):
@classmethod
def setUpClass(inst):
# Endereço do webapp e o nome do Browser
inst.oHelper = Webapp()
# Parametros de inicializaçao
inst.oHelper.Setup("SIGAATF", "10/02/2015", "T1", "D MG 01 ","01")
... | 34.356808 | 97 | 0.608226 | 861 | 7,318 | 5.091754 | 0.176539 | 0.263458 | 0.159672 | 0.076642 | 0.793796 | 0.727874 | 0.708257 | 0.650091 | 0.619526 | 0.556341 | 0 | 0.049697 | 0.254851 | 7,318 | 212 | 98 | 34.518868 | 0.754264 | 0.013392 | 0 | 0.519084 | 0 | 0 | 0.205793 | 0.007761 | 0 | 0 | 0 | 0 | 0.061069 | 1 | 0.076336 | false | 0 | 0.022901 | 0 | 0.10687 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ea8e34fa98193ccaa610718244e970b73d24c74b | 212 | py | Python | reviewboard/reviews/evolutions/group_email_list_only.py | amalik2/reviewboard | 676aa2dce38ce619a74f2d4cb3cfae9bce21416e | [
"MIT"
] | 921 | 2015-01-01T15:26:28.000Z | 2022-03-29T11:30:38.000Z | reviewboard/reviews/evolutions/group_email_list_only.py | amalik2/reviewboard | 676aa2dce38ce619a74f2d4cb3cfae9bce21416e | [
"MIT"
] | 5 | 2015-03-17T18:57:47.000Z | 2020-10-02T13:24:31.000Z | reviewboard/reviews/evolutions/group_email_list_only.py | amalik2/reviewboard | 676aa2dce38ce619a74f2d4cb3cfae9bce21416e | [
"MIT"
] | 285 | 2015-01-12T06:24:36.000Z | 2022-03-29T11:03:50.000Z | from __future__ import unicode_literals
from django_evolution.mutations import AddField
from django.db import models
MUTATIONS = [
AddField('Group', 'email_list_only', models.BooleanField, initial=True)
]
| 21.2 | 75 | 0.79717 | 26 | 212 | 6.192308 | 0.692308 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127358 | 212 | 9 | 76 | 23.555556 | 0.87027 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 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 |
ea94c3def66668c4ff318dd6ee74e4af53947cde | 135 | py | Python | pytestBasic/test_reportdemo.py | hewerthon/pytest-appium | 71b0d22a4a53fbd5d457aa6ecac158b6c40a3fe6 | [
"MIT"
] | 10 | 2021-03-23T03:46:19.000Z | 2022-03-08T07:20:25.000Z | pytestBasic/test_reportdemo.py | hewerthon/pytest-appium | 71b0d22a4a53fbd5d457aa6ecac158b6c40a3fe6 | [
"MIT"
] | null | null | null | pytestBasic/test_reportdemo.py | hewerthon/pytest-appium | 71b0d22a4a53fbd5d457aa6ecac158b6c40a3fe6 | [
"MIT"
] | 4 | 2021-04-21T00:49:34.000Z | 2021-11-21T09:18:29.000Z | def test_screenshot_on_test_failure(browser):
# driver = webdriver.Firefox()
browser.get("https://google.com")
assert 2 ==3 | 33.75 | 45 | 0.703704 | 18 | 135 | 5.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.155556 | 135 | 4 | 46 | 33.75 | 0.780702 | 0.207407 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eaa230b16aa669511715dc359577d6d272eb7b6d | 104 | py | Python | src/lesson_email/mailbox_mbox_read.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_email/mailbox_mbox_read.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_email/mailbox_mbox_read.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import mailbox
mbox = mailbox.mbox('example.mbox')
for message in mbox:
print(message['subject'])
| 14.857143 | 35 | 0.711538 | 14 | 104 | 5.285714 | 0.642857 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 36 | 17.333333 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
576ca38274cd1fcfbab55edc26a79fb575430044 | 406 | py | Python | tests/test_base.py | stsewd/fbcm | fd6ff12d35ef43299bc93ee7134b196e4726b90c | [
"MIT"
] | 7 | 2017-02-05T22:56:06.000Z | 2019-01-02T16:16:16.000Z | tests/test_base.py | stsewd/fbcm | fd6ff12d35ef43299bc93ee7134b196e4726b90c | [
"MIT"
] | null | null | null | tests/test_base.py | stsewd/fbcm | fd6ff12d35ef43299bc93ee7134b196e4726b90c | [
"MIT"
] | null | null | null | from flask_testing import TestCase
from pony import orm
from fbcm import app
from fbcm.models import db
class BaseTestCase(TestCase):
def create_app(self):
app.config.from_object('config.TestingConfig')
return app
def setUp(self):
db.create_tables()
orm.sql_debug(self.app.con... | 21.368421 | 54 | 0.697044 | 57 | 406 | 4.807018 | 0.526316 | 0.058394 | 0.094891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 406 | 18 | 55 | 22.555556 | 0.858934 | 0 | 0 | 0 | 0 | 0 | 0.061576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
57886f5227b44c9386ff6b3157ffa672b7da406e | 1,404 | py | Python | sponsors/migrations/0009_auto_20201103_1259.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | 911 | 2015-01-03T22:16:06.000Z | 2022-03-31T23:56:22.000Z | sponsors/migrations/0009_auto_20201103_1259.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | 1,342 | 2015-01-02T16:14:45.000Z | 2022-03-28T08:01:20.000Z | sponsors/migrations/0009_auto_20201103_1259.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | 551 | 2015-01-04T02:17:31.000Z | 2022-03-23T11:59:25.000Z | # Generated by Django 2.0.13 on 2020-11-03 12:59
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("sponsors", "0008_auto_20201028_1814"),
]
operations = [
migrations.RemoveField(
model_name="sp... | 26.490566 | 62 | 0.534188 | 118 | 1,404 | 6.186441 | 0.466102 | 0.09863 | 0.213699 | 0.246575 | 0.365753 | 0.365753 | 0.19726 | 0 | 0 | 0 | 0 | 0.037569 | 0.355413 | 1,404 | 52 | 63 | 27 | 0.769061 | 0.032764 | 0 | 0.5 | 1 | 0 | 0.15413 | 0.016962 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.108696 | 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 |
579f75f60110be40fee8c48f9e96ad235283ff93 | 1,191 | py | Python | ddtrace/contrib/sqlite3/__init__.py | mykytarudenko/new-project | e06a912382239739dd3f93b54d545b9506102372 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ddtrace/contrib/sqlite3/__init__.py | mykytarudenko/new-project | e06a912382239739dd3f93b54d545b9506102372 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-01-27T04:53:24.000Z | 2021-01-27T04:53:24.000Z | ddtrace/contrib/sqlite3/__init__.py | mykytarudenko/new-project | e06a912382239739dd3f93b54d545b9506102372 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | """
The sqlite integration instruments the built-in sqlite module to trace SQLite queries.
Enabling
~~~~~~~~
The integration is enabled automatically when using
:ref:`ddtrace-run<ddtracerun>` or :ref:`patch_all()<patch_all>`.
Or use :ref:`patch()<patch>` to manually enable the integration::
from ddtrace import... | 22.471698 | 86 | 0.691016 | 155 | 1,191 | 5.245161 | 0.503226 | 0.051661 | 0.04182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003058 | 0.176322 | 1,191 | 52 | 87 | 22.903846 | 0.825688 | 0.898405 | 0 | 0 | 0 | 0 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
579fc25eb804f4f0d5940eea16139b1e9925819a | 243 | py | Python | UnityEngine/LightBakingOutput/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/LightBakingOutput/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/LightBakingOutput/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class LightBakingOutput:
def __new__(cls, arg1=None):
'''
:returns: LightBakingOutput
:rtype: UnityEngine.LightBakingOutput
'''
pass
| 20.25 | 45 | 0.650206 | 21 | 243 | 7.333333 | 0.714286 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.271605 | 243 | 11 | 46 | 22.090909 | 0.864407 | 0.26749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
57b002efd96cc8431ab8e56f9f23ea5cf525e1ac | 218 | py | Python | api/src/function/input_output/keyboardFunction.py | SamuelJansen/Application | 6ab3202fb7de12782510f477a3e74d8800ea2927 | [
"MIT"
] | null | null | null | api/src/function/input_output/keyboardFunction.py | SamuelJansen/Application | 6ab3202fb7de12782510f477a3e74d8800ea2927 | [
"MIT"
] | null | null | null | api/src/function/input_output/keyboardFunction.py | SamuelJansen/Application | 6ab3202fb7de12782510f477a3e74d8800ea2927 | [
"MIT"
] | null | null | null | class Attribute:
NAME = 'Keyboard'
class KeyState:
LEFT_ARROW_DOWN = 'leftArrowDown'
RIGHT_ARROW_DOWN = 'rightArrowDown'
UP_ARROW_DOWN = 'upArrowDown'
DOWN_ARROW_DOWN = 'downArrowDown'
| 18.166667 | 40 | 0.683486 | 22 | 218 | 6.409091 | 0.636364 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238532 | 218 | 11 | 41 | 19.818182 | 0.849398 | 0 | 0 | 0 | 0 | 0 | 0.270642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
57b82d04bb51a5688bbc5c6dfcce1568ea9541b8 | 559 | py | Python | OOps/Hierarchical Inheritance.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | OOps/Hierarchical Inheritance.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | OOps/Hierarchical Inheritance.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | #Hierarchical Inheritance
class A: #Super Class or Parent Class
def feature1(self):
print("Feature 1 Working")
def feature2(self):
print("Feature 2 Working")
class B(A): # Subclass or Child Class
def feature3(self):
print("Feature 3 Working")
def feature4(self):
pr... | 15.527778 | 37 | 0.60644 | 74 | 559 | 4.581081 | 0.405405 | 0.159292 | 0.283186 | 0.112094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.275492 | 559 | 35 | 38 | 15.971429 | 0.807407 | 0.191413 | 0 | 0 | 0 | 0 | 0.230248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0 | 0 | 0.526316 | 0.315789 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
57c41dead8bde4c2f6526ad4d281c7ce0092ea99 | 45 | py | Python | meiduo_mall/celery_tasks/sms/constants.py | dctagacbfen/meiduo_mall | 331358fdd127b4c15ce22feb5d8e318b9279c2fe | [
"MIT"
] | null | null | null | meiduo_mall/celery_tasks/sms/constants.py | dctagacbfen/meiduo_mall | 331358fdd127b4c15ce22feb5d8e318b9279c2fe | [
"MIT"
] | null | null | null | meiduo_mall/celery_tasks/sms/constants.py | dctagacbfen/meiduo_mall | 331358fdd127b4c15ce22feb5d8e318b9279c2fe | [
"MIT"
] | null | null | null | # 短信验证码过期时间,单位,秒
SMS_CODE_REDIS_EXPIRES = 300 | 22.5 | 28 | 0.822222 | 8 | 45 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.088889 | 45 | 2 | 28 | 22.5 | 0.756098 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.