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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67345b00f508ae5ba3807db64792af962461e374 | 386 | py | Python | setup.py | ariarijp/redash-json-logger-destination | df36b0b6bca8bb4da173b84f84a8c8701a56cd95 | [
"MIT"
] | null | null | null | setup.py | ariarijp/redash-json-logger-destination | df36b0b6bca8bb4da173b84f84a8c8701a56cd95 | [
"MIT"
] | null | null | null | setup.py | ariarijp/redash-json-logger-destination | df36b0b6bca8bb4da173b84f84a8c8701a56cd95 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='redash_json_logger_destination',
version='0.1.0',
description='JSON Logger Alert Destination for Redash',
author='Takuya Arita',
author_email='takuya.arita@gmail.com',
url='https://github.com/ariarijp/redash-json-logger-destination',
packages=[
... | 25.733333 | 69 | 0.694301 | 46 | 386 | 5.673913 | 0.608696 | 0.153257 | 0.183908 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009404 | 0.173575 | 386 | 14 | 70 | 27.571429 | 0.808777 | 0 | 0 | 0 | 0 | 0 | 0.518135 | 0.212435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67417bdad11c4318663da4ebd72d33c5831a0b24 | 179 | py | Python | hibernia/server/run.py | diegojromerolopez/hibernia | f14da11616b292cd30b80d7464017874d869d91c | [
"MIT"
] | null | null | null | hibernia/server/run.py | diegojromerolopez/hibernia | f14da11616b292cd30b80d7464017874d869d91c | [
"MIT"
] | 1 | 2021-08-14T23:24:05.000Z | 2021-08-14T23:24:05.000Z | hibernia/server/run.py | diegojromerolopez/hibernia | f14da11616b292cd30b80d7464017874d869d91c | [
"MIT"
] | null | null | null | from aiohttp import web
from hibernia.server.kvstore.routes import ROUTES
if __name__ == '__main__':
app = web.Application()
app.add_routes(ROUTES)
web.run_app(app)
| 19.888889 | 49 | 0.726257 | 25 | 179 | 4.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173184 | 179 | 8 | 50 | 22.375 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 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 |
6748d1d92c7dda181bf1a6f60bbad385c0c269d5 | 344 | py | Python | docassemble/mnAssign2/mnLAAIndividual.py | moriahnoel/docassemble-mnAssign2 | 329beac76b4ad59fbe08a9e7ef293388113b4458 | [
"MIT"
] | null | null | null | docassemble/mnAssign2/mnLAAIndividual.py | moriahnoel/docassemble-mnAssign2 | 329beac76b4ad59fbe08a9e7ef293388113b4458 | [
"MIT"
] | null | null | null | docassemble/mnAssign2/mnLAAIndividual.py | moriahnoel/docassemble-mnAssign2 | 329beac76b4ad59fbe08a9e7ef293388113b4458 | [
"MIT"
] | null | null | null | from docassemble.base.util import Individual, DAObject, DAList, Value
class LAAIndividual(Individual):
def init(self, *pargs, **kwargs):
self.initializeAttribute('annualIncome', Value)
self.initializeAttribute('monthlyIncome', Value)
self.initializeAttribute('assets', Value)
super(LAAIndividual, self... | 43 | 69 | 0.755814 | 35 | 344 | 7.428571 | 0.6 | 0.265385 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 344 | 8 | 70 | 43 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.089855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 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 |
675a27634897b0827120c168a072f899c1fd3332 | 125 | py | Python | reinvent_chemistry/library_design/reaction_definitions/building_block_pair_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | null | null | null | reinvent_chemistry/library_design/reaction_definitions/building_block_pair_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | null | null | null | reinvent_chemistry/library_design/reaction_definitions/building_block_pair_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | 1 | 2022-03-22T15:24:13.000Z | 2022-03-22T15:24:13.000Z | from dataclasses import dataclass
@dataclass
class BuildingBlockPairDTO:
scaffold_block: str
decoration_block: str
| 15.625 | 33 | 0.8 | 13 | 125 | 7.538462 | 0.769231 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 7 | 34 | 17.857143 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
676e296db27c75858c30a14993262aa517212f17 | 1,096 | py | Python | sb/Data/Packages/Default/Transform.py | luc4spas/SISGE-ACONCHEGO | 77096a81f09b286a3793c7cb9cee9941c1fae803 | [
"MIT"
] | null | null | null | sb/Data/Packages/Default/Transform.py | luc4spas/SISGE-ACONCHEGO | 77096a81f09b286a3793c7cb9cee9941c1fae803 | [
"MIT"
] | null | null | null | sb/Data/Packages/Default/Transform.py | luc4spas/SISGE-ACONCHEGO | 77096a81f09b286a3793c7cb9cee9941c1fae803 | [
"MIT"
] | null | null | null | import sublime, sublimeplugin
import string
import textwrap
import re
import functools
def transformSelectionText(f, v):
for s in v.sel():
if not s.empty():
txt = f(v.substr(s))
v.replace(s, txt)
class SwapCaseCommand(sublimeplugin.TextCommand):
def run(self, view, args):
transformSelectionText(string.s... | 23.319149 | 61 | 0.763686 | 127 | 1,096 | 6.590551 | 0.314961 | 0.076464 | 0.114695 | 0.066906 | 0.622461 | 0.622461 | 0.574671 | 0.574671 | 0.574671 | 0.247312 | 0 | 0 | 0.126825 | 1,096 | 46 | 62 | 23.826087 | 0.874608 | 0 | 0 | 0.375 | 0 | 0 | 0.000912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.15625 | 0.15625 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
67721cef95d388c2f232819ec954af12ea21bd73 | 132 | py | Python | src/timeatlas/types/__init__.py | fredmontet/timeatlas | 9a439a913ef9a8a1ef9833b42e5fb4e988d7e35e | [
"MIT"
] | 10 | 2020-08-25T09:23:02.000Z | 2021-01-12T14:00:35.000Z | src/timeatlas/types/__init__.py | fredmontet/timeatlas | 9a439a913ef9a8a1ef9833b42e5fb4e988d7e35e | [
"MIT"
] | 140 | 2020-06-30T11:59:47.000Z | 2021-08-23T20:58:43.000Z | src/timeatlas/types/__init__.py | fredmontet/timeatlas | 9a439a913ef9a8a1ef9833b42e5fb4e988d7e35e | [
"MIT"
] | null | null | null | from .coords import Coords
from .sensor import Sensor
from .unit import Unit
__all__ = [
"Coords",
"Sensor",
"Unit",
]
| 13.2 | 26 | 0.643939 | 16 | 132 | 5.0625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 132 | 9 | 27 | 14.666667 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
677bd5ad71b98eb088c785a9e91d5e45c731b042 | 128 | py | Python | chemml/data/__init__.py | ZHENTAN007/Chem-Graph-Kernel-Machine | 963fdad2d0d6f2bfd962778caee0591b44ecbdcd | [
"MIT"
] | 7 | 2021-02-28T11:44:12.000Z | 2021-12-13T07:17:05.000Z | chemml/data/__init__.py | ZHENTAN007/Chem-Graph-Kernel-Machine | 963fdad2d0d6f2bfd962778caee0591b44ecbdcd | [
"MIT"
] | 2 | 2021-05-13T14:08:48.000Z | 2021-06-14T12:28:20.000Z | chemml/data/__init__.py | ZHENTAN007/Chem-Graph-Kernel-Machine | 963fdad2d0d6f2bfd962778caee0591b44ecbdcd | [
"MIT"
] | 4 | 2021-03-05T08:20:47.000Z | 2021-12-13T07:17:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .data import Dataset, SubDataset
__all__ = [
'Dataset', 'SubDataset'
]
| 14.222222 | 37 | 0.625 | 15 | 128 | 5.066667 | 0.866667 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.1875 | 128 | 8 | 38 | 16 | 0.721154 | 0.328125 | 0 | 0 | 0 | 0 | 0.202381 | 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 |
67951bed8d15bddeb1c9597e284ce108daa51928 | 311 | py | Python | mlops/model_analysis/consts.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | 1 | 2022-01-11T01:17:08.000Z | 2022-01-11T01:17:08.000Z | mlops/model_analysis/consts.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | null | null | null | mlops/model_analysis/consts.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | null | null | null | TIME_FORMAT = "%Y-%m-%d, %H:%M:%S"
FILE_TRAIN_DATA_STATS = "train_data_stats.txt"
FILE_EVAL_DATA_STATS = "eval_data_stats.txt"
FILE_PREV_EVAL_DATA_STATS = "prev_eval_data_stats.txt"
FILE_DATA_SCHEMA = "schema.txt"
FILE_EVAL_RESULT = "eval_result.txt"
VALIDATION_SUCCESS = "success"
VALIDATION_FAIL = "fail"
| 23.923077 | 54 | 0.778135 | 51 | 311 | 4.254902 | 0.372549 | 0.248848 | 0.239631 | 0.221198 | 0.184332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093248 | 311 | 12 | 55 | 25.916667 | 0.769504 | 0 | 0 | 0 | 0 | 0 | 0.376206 | 0.07717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
679b936221a5c45f04850a19ba530085334eb73b | 1,493 | py | Python | tests/test_atari.py | FragileTech/plangym | 9a1482bea099f12f82bae27f1c5d13393daa8032 | [
"MIT"
] | 3 | 2020-03-25T22:19:17.000Z | 2020-11-02T16:11:32.000Z | tests/test_atari.py | FragileTech/plangym | 9a1482bea099f12f82bae27f1c5d13393daa8032 | [
"MIT"
] | 44 | 2020-03-25T14:17:54.000Z | 2022-03-12T00:18:48.000Z | tests/test_atari.py | FragileTech/plangym | 9a1482bea099f12f82bae27f1c5d13393daa8032 | [
"MIT"
] | 2 | 2020-03-25T12:17:12.000Z | 2020-06-19T23:07:52.000Z | from gym.wrappers import TimeLimit
import numpy
import numpy as np
import pytest
from plangym.atari import ale_to_ram, AtariEnvironment
from tests import SKIP_ATARI_TESTS
if SKIP_ATARI_TESTS:
pytest.skip("Atari not installed, skipping", allow_module_level=True)
from tests.api_tests import batch_size, display, Te... | 25.305085 | 88 | 0.717348 | 196 | 1,493 | 5.234694 | 0.392857 | 0.08577 | 0.101365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006557 | 0.182853 | 1,493 | 58 | 89 | 25.741379 | 0.834426 | 0 | 0 | 0 | 0 | 0 | 0.070998 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.205128 | false | 0 | 0.179487 | 0.102564 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
679bd0a2d9860ad291cef8dbd51753a60b1e0052 | 778 | py | Python | decharges/decharge/forms/__init__.py | Brndan/decharges-sudeducation | 6807b619f48b3c0b1dda4cd56d0a1cf46695e1f3 | [
"MIT"
] | null | null | null | decharges/decharge/forms/__init__.py | Brndan/decharges-sudeducation | 6807b619f48b3c0b1dda4cd56d0a1cf46695e1f3 | [
"MIT"
] | null | null | null | decharges/decharge/forms/__init__.py | Brndan/decharges-sudeducation | 6807b619f48b3c0b1dda4cd56d0a1cf46695e1f3 | [
"MIT"
] | null | null | null | from decharges.decharge.forms.import_temps_syndicats_form import (
ImportTempsSyndicatsForm,
)
from decharges.decharge.forms.renommer_beneficiaire_form import RenommerBeneficiaireForm
from decharges.decharge.forms.temps_de_decharge_form import (
QuotaETPFederationForm,
TempsDeDechargeForm,
)
from decharges.... | 32.416667 | 89 | 0.829049 | 60 | 778 | 10.4 | 0.366667 | 0.104167 | 0.168269 | 0.208333 | 0.11859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107969 | 778 | 23 | 90 | 33.826087 | 0.899135 | 0 | 0 | 0 | 0 | 0 | 0.206941 | 0.182519 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.318182 | 0 | 0.318182 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
679f37624cd6c282d387a66146f4723bbdc31957 | 117 | py | Python | python/ql/src/Statements/SysExitUsed.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/src/Statements/SysExitUsed.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/src/Statements/SysExitUsed.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | import sys
def main():
try:
process()
except Exception as ex:
print(ex)
sys.exit(1)
| 13 | 27 | 0.512821 | 15 | 117 | 4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.384615 | 117 | 8 | 28 | 14.625 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67b12ffe31740e30882b421595188501e49df330 | 336 | py | Python | def/2.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | def/2.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | def/2.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | def add(x, y):
return x + y
print add(1, 10)
print add('abc', 'def')
def hello():
print "Hello"
def area(w, h):
return w * h
def print_welcome(name):
print "Welcome", name
hello()
hello()
print_welcome("Fred")
w = 4
h = 5
print "width =", w, "height =", h, "area =", area(w, h)
def func():
pas... | 12.444444 | 55 | 0.568452 | 56 | 336 | 3.375 | 0.392857 | 0.031746 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019531 | 0.238095 | 336 | 27 | 56 | 12.444444 | 0.71875 | 0 | 0 | 0.105263 | 0 | 0 | 0.127596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0 | null | null | 0.421053 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
67b525cf102edd7e7fd68e13192122556f106b64 | 430 | py | Python | voting/ballot_maker/colors.py | dugan/pyvote | 2bf85327db49520fac194d19893aec7c31059650 | [
"MIT"
] | null | null | null | voting/ballot_maker/colors.py | dugan/pyvote | 2bf85327db49520fac194d19893aec7c31059650 | [
"MIT"
] | null | null | null | voting/ballot_maker/colors.py | dugan/pyvote | 2bf85327db49520fac194d19893aec7c31059650 | [
"MIT"
] | null | null | null |
class Color(object):
def __init__(self, r : float, g : float, b : float):
self.r = r
self.g = g
self.b = b
def tuple(self):
return (self.r, self.g, self.b)
class Gray(Color):
# intensity bet
def __init__(self, intensity : float):
self.r = self.g = self.b = intensity
self.intensity = int... | 18.695652 | 54 | 0.618605 | 66 | 430 | 3.848485 | 0.333333 | 0.07874 | 0.070866 | 0.07874 | 0.11811 | 0.11811 | 0 | 0 | 0 | 0 | 0 | 0.006042 | 0.230233 | 430 | 22 | 55 | 19.545455 | 0.761329 | 0.030233 | 0 | 0 | 0 | 0 | 0.036232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.133333 | 0.533333 | 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 |
67d7f23b7e49acd4dda586c78b8c749d82147ac3 | 278 | py | Python | src/slidelint/__init__.py | enkidulan/slidelint | ddc99831ce2129254deba580665842b0cdb05a17 | [
"Apache-2.0"
] | 7 | 2015-02-11T14:36:14.000Z | 2021-07-15T13:57:00.000Z | src/slidelint/__init__.py | timvideos/slidelint | 145a273fb188def19da3f57bbd0ab247f34d7c3f | [
"Apache-2.0"
] | null | null | null | src/slidelint/__init__.py | timvideos/slidelint | 145a273fb188def19da3f57bbd0ab247f34d7c3f | [
"Apache-2.0"
] | 1 | 2020-12-21T05:23:59.000Z | 2020-12-21T05:23:59.000Z | """ Reads in PDF of presentation slides and checks common problems,
outputs a summary report on the problems. """
import logging.config as _logging_config
import os.path
_logging_config.fileConfig(
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logging.conf'))
| 30.888889 | 77 | 0.773381 | 41 | 278 | 5.04878 | 0.682927 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 278 | 8 | 78 | 34.75 | 0.848361 | 0.377698 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
67e012afcd9ee6c6461b09dafc913d1f435685b7 | 172 | py | Python | simprod-scripts/resources/scripts/jcorsika/corsika.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | simprod-scripts/resources/scripts/jcorsika/corsika.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | simprod-scripts/resources/scripts/jcorsika/corsika.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | #!/usr/bin/env python
from optparse import OptionParser
from icecube.simprod.jcorsika import Corsika
parser = OptionParser()
corsika = Corsika(parser)
corsika.Execute()
| 17.2 | 44 | 0.790698 | 21 | 172 | 6.47619 | 0.666667 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 9 | 45 | 19.111111 | 0.894737 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 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 |
67e295c1bbbf29f39052d722b90fd7ca8755352d | 1,046 | py | Python | src/algorithms/factory.py | kristery/dmcontrol-generalization-benchmark | c732d3292e23ef70b9a5e1a9f573b51a5195d28d | [
"MIT"
] | null | null | null | src/algorithms/factory.py | kristery/dmcontrol-generalization-benchmark | c732d3292e23ef70b9a5e1a9f573b51a5195d28d | [
"MIT"
] | null | null | null | src/algorithms/factory.py | kristery/dmcontrol-generalization-benchmark | c732d3292e23ef70b9a5e1a9f573b51a5195d28d | [
"MIT"
] | null | null | null | from algorithms.curl import CURL
from algorithms.drq import DrQ
from algorithms.pad import PAD
from algorithms.rad import RAD
from algorithms.sac import SAC
from algorithms.sac_bc import SAC_BC
from algorithms.sac_exp import SAC_EXP
from algorithms.sac_feat import SAC_FEAT
from algorithms.sac_feat_exp import SAC_FEAT_E... | 27.526316 | 67 | 0.753346 | 163 | 1,046 | 4.558282 | 0.159509 | 0.282638 | 0.205922 | 0.080754 | 0.061911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161568 | 1,046 | 37 | 68 | 28.27027 | 0.847206 | 0 | 0 | 0 | 0 | 0 | 0.092734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.441176 | 0.029412 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
db120370cbfd210ed137e54c5c747aa30ee56825 | 394 | py | Python | patient/urls.py | sajib-w3b-d3v/PACS_HIS_RIS | 4ced716734cc6704d4fdd0818c78ea540ab87085 | [
"MIT"
] | null | null | null | patient/urls.py | sajib-w3b-d3v/PACS_HIS_RIS | 4ced716734cc6704d4fdd0818c78ea540ab87085 | [
"MIT"
] | null | null | null | patient/urls.py | sajib-w3b-d3v/PACS_HIS_RIS | 4ced716734cc6704d4fdd0818c78ea540ab87085 | [
"MIT"
] | null | null | null |
from django.urls import path
from .views import patient_dashboard,patient_records,patient_rad_records
from django.contrib import admin
app_name = "patient"
urlpatterns = [
path("dashboard",patient_dashboard,name="patient_dashboard"),
path("patient_records",patient_records,name="patient_records"),
path("... | 24.625 | 79 | 0.794416 | 50 | 394 | 5.94 | 0.3 | 0.188552 | 0.228956 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101523 | 394 | 15 | 80 | 26.266667 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0.258312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
db1528fb3acffc39b3b8da4d54b217f1a60ff950 | 1,040 | py | Python | credential.py | suzie254/Password-Locker | 8cbef83c89aa9c3be3a507ad6a2e5e6b3bd097a3 | [
"Unlicense"
] | 3 | 2020-01-28T17:36:32.000Z | 2020-04-26T21:15:08.000Z | credential.py | suzie254/Password-Locker | 8cbef83c89aa9c3be3a507ad6a2e5e6b3bd097a3 | [
"Unlicense"
] | null | null | null | credential.py | suzie254/Password-Locker | 8cbef83c89aa9c3be3a507ad6a2e5e6b3bd097a3 | [
"Unlicense"
] | 1 | 2021-09-05T06:09:51.000Z | 2021-09-05T06:09:51.000Z | class Credential:
"""
Class that generates new instances of users.
"""
credential_list = []
def __init__(self,credential_name,user_name,password,email):
self.credential_name = credential_name
self.user_name = user_name
self.password = password
self.email = email
... | 21.666667 | 64 | 0.594231 | 103 | 1,040 | 5.776699 | 0.300971 | 0.141176 | 0.085714 | 0.114286 | 0.29916 | 0.171429 | 0.171429 | 0.171429 | 0.171429 | 0.171429 | 0 | 0 | 0.341346 | 1,040 | 48 | 65 | 21.666667 | 0.868613 | 0.042308 | 0 | 0.28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.12 | 0 | 0.04 | 0.48 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
db1868ac78b2d26cda03c3b664748a6021babe46 | 193 | py | Python | Demo/liaoxf/mysorted.py | felix9064/PythonProject | bbe4607ba8bf6a188ab01cf16f8b39b5938079e4 | [
"MIT"
] | null | null | null | Demo/liaoxf/mysorted.py | felix9064/PythonProject | bbe4607ba8bf6a188ab01cf16f8b39b5938079e4 | [
"MIT"
] | null | null | null | Demo/liaoxf/mysorted.py | felix9064/PythonProject | bbe4607ba8bf6a188ab01cf16f8b39b5938079e4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# 自定义一个排序函数
from functools import partial
my_sort = partial(sorted, key=lambda x: x.lower())
print(my_sort(['bob', 'about', 'Zoo', 'Credit']))
| 19.3 | 50 | 0.65285 | 28 | 193 | 4.428571 | 0.857143 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.134715 | 193 | 9 | 51 | 21.444444 | 0.730539 | 0.274611 | 0 | 0 | 0 | 0 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
db36e75bbb19e88ff4b0e65a4af9cb3dce531361 | 1,242 | py | Python | huxley/core/admin/__init__.py | bmun/huxley | e75200cab21dd9edabb9d71578acb7054f875817 | [
"BSD-3-Clause"
] | 18 | 2015-07-12T00:55:51.000Z | 2021-12-13T15:41:06.000Z | huxley/core/admin/__init__.py | bmun/huxley | e75200cab21dd9edabb9d71578acb7054f875817 | [
"BSD-3-Clause"
] | 288 | 2015-01-13T23:05:09.000Z | 2022-03-25T17:35:36.000Z | huxley/core/admin/__init__.py | bmun/huxley | e75200cab21dd9edabb9d71578acb7054f875817 | [
"BSD-3-Clause"
] | 47 | 2015-05-12T15:39:57.000Z | 2022-03-30T09:12:48.000Z | # Copyright (c) 2011-2015 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from huxley.core.admin.notes import NotesAdmin
from django.contrib import admin
from huxley.core.models import *
from .assignment import AssignmentAdmin
from .committee ... | 40.064516 | 77 | 0.849436 | 142 | 1,242 | 7.408451 | 0.443662 | 0.111217 | 0.210076 | 0.074144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006999 | 0.07971 | 1,242 | 31 | 78 | 40.064516 | 0.913386 | 0.115137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.48 | 0 | 0.48 | 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 |
e1d3a2645ad2fbb0bec5343dde803785daf01385 | 314 | py | Python | yt_dlp/compat/re.py | olipfei/yt-dlp | 7879e79d11a2e5855167820518df49caf623fe48 | [
"Unlicense"
] | 11 | 2022-01-06T22:09:50.000Z | 2022-03-12T22:26:22.000Z | yt_dlp/compat/re.py | olipfei/yt-dlp | 7879e79d11a2e5855167820518df49caf623fe48 | [
"Unlicense"
] | 4 | 2022-02-25T08:20:18.000Z | 2022-03-17T16:16:20.000Z | yt_dlp/compat/re.py | olipfei/yt-dlp | 7879e79d11a2e5855167820518df49caf623fe48 | [
"Unlicense"
] | 3 | 2022-02-19T08:59:13.000Z | 2022-03-06T16:11:21.000Z | # flake8: noqa: F405
from re import * # F403
from .compat_utils import passthrough_module
passthrough_module(__name__, 're')
del passthrough_module
try:
Pattern # >= 3.7
except NameError:
Pattern = type(compile(''))
try:
Match # >= 3.7
except NameError:
Match = type(compile('').match(''))
| 16.526316 | 44 | 0.66879 | 39 | 314 | 5.179487 | 0.564103 | 0.252475 | 0.079208 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043651 | 0.197452 | 314 | 18 | 45 | 17.444444 | 0.757937 | 0.117834 | 0 | 0.333333 | 0 | 0 | 0.007353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e1d77f8cca060201eb4ed3b5cf5a8fffa40bc76b | 429 | py | Python | configs/self6dpp/ssLM/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10_glue.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/self6dpp/ssLM/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10_glue.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/self6dpp/ssLM/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10_glue.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10_ape.py"
OUTPUT_DIR = "output/self6dpp/ssLM/ss_v1_dibr_mlBCE_FreezeBN_woCenter_refinePM10/glue"
DATASETS = dict(
TRAIN=("lm_real_glue_train",), TRAIN2=("lm_pbr_glue_train",), TRAIN2_RATIO=0.0, TEST=("lm_real_glue_test",)
)
MODEL = dict(
WEIGHTS="output/gd... | 47.666667 | 128 | 0.815851 | 67 | 429 | 4.656716 | 0.58209 | 0.048077 | 0.051282 | 0.083333 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0.062189 | 0.062937 | 429 | 8 | 129 | 53.625 | 0.71393 | 0 | 0 | 0 | 0 | 0 | 0.678322 | 0.55711 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1eaa0f87debb1c99389798c1a7f1c978ae41fb5 | 14,925 | py | Python | geosoft/gxapi/GXMESH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 25 | 2017-07-14T06:39:37.000Z | 2022-03-09T21:39:51.000Z | geosoft/gxapi/GXMESH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 100 | 2016-12-13T17:30:41.000Z | 2021-08-01T20:21:13.000Z | geosoft/gxapi/GXMESH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 28 | 2016-12-12T17:34:40.000Z | 2022-03-16T15:39:39.000Z | ### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref
### endblock ClassImports
### block Header
# NOTICE: The code generator will not replace the code in this block
### end... | 31.158664 | 204 | 0.595846 | 1,848 | 14,925 | 4.616883 | 0.091991 | 0.066573 | 0.029536 | 0.044304 | 0.714838 | 0.676746 | 0.650609 | 0.631388 | 0.631388 | 0.574426 | 0 | 0.01884 | 0.310084 | 14,925 | 479 | 205 | 31.158664 | 0.80975 | 0.607236 | 0 | 0.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.066667 | 0 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e1f2d262639230803ca5a1591a8870a778e9efe8 | 127 | py | Python | build/lib/dml/__init__.py | dreadlord1984/dml | ac578594142ecfe11a5ab89f0985c8b0ef389f2a | [
"WTFPL"
] | 1 | 2017-11-27T04:08:37.000Z | 2017-11-27T04:08:37.000Z | build/lib/dml/__init__.py | dreadlord1984/dml | ac578594142ecfe11a5ab89f0985c8b0ef389f2a | [
"WTFPL"
] | null | null | null | build/lib/dml/__init__.py | dreadlord1984/dml | ac578594142ecfe11a5ab89f0985c8b0ef389f2a | [
"WTFPL"
] | null | null | null | """
"""
import numpy as np
import scipy as sp
import pylab as py
__all__ = ['LR','NN','CLUSTER','ADAB','DT','KNN','tool'
]
| 10.583333 | 55 | 0.598425 | 20 | 127 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 127 | 11 | 56 | 11.545455 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e1f2dad1b7f59cf8bc79f3095d56c7e6a0fa3337 | 5,816 | py | Python | orchestrator/plugins/landsat8/maja_landsat8_ascii_file_handler.py | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 57 | 2020-09-30T08:51:22.000Z | 2021-12-19T20:28:30.000Z | orchestrator/plugins/landsat8/maja_landsat8_ascii_file_handler.py | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 34 | 2020-09-29T21:27:22.000Z | 2022-02-03T09:56:45.000Z | orchestrator/plugins/landsat8/maja_landsat8_ascii_file_handler.py | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 14 | 2020-10-11T13:17:59.000Z | 2022-03-09T15:58:19.000Z | # -*- coding: utf-8 -*-
#
# Copyright (C) 2020 Centre National d'Etudes Spatiales (CNES)
#
# 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
#
# ... | 36.810127 | 131 | 0.616059 | 754 | 5,816 | 4.416446 | 0.289125 | 0.071471 | 0.108108 | 0.027628 | 0.398799 | 0.31952 | 0.284084 | 0.209009 | 0.197898 | 0.145646 | 0 | 0.008921 | 0.229023 | 5,816 | 157 | 132 | 37.044586 | 0.73372 | 0.264099 | 0 | 0.046512 | 0 | 0 | 0.136342 | 0.075142 | 0 | 0 | 0 | 0 | 0 | 1 | 0.325581 | false | 0 | 0.046512 | 0.232558 | 0.697674 | 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 |
c02351e479b11f38513fbf67f26dc5561a93246e | 199 | py | Python | setup.py | TileDB-Inc/TileDB-ML | 704d920b1482ad5b7ceefcc8b1f8f4b69d572e6c | [
"MIT"
] | 21 | 2021-03-09T10:59:13.000Z | 2022-01-15T17:42:40.000Z | setup.py | TileDB-Inc/TileDB-ML | 704d920b1482ad5b7ceefcc8b1f8f4b69d572e6c | [
"MIT"
] | 52 | 2021-04-27T15:59:39.000Z | 2022-03-30T14:06:41.000Z | setup.py | TileDB-Inc/TileDB-ML | 704d920b1482ad5b7ceefcc8b1f8f4b69d572e6c | [
"MIT"
] | 3 | 2021-03-24T08:50:58.000Z | 2021-07-15T11:15:48.000Z | import setuptools
setuptools.setup(
use_scm_version={
"version_scheme": "guess-next-dev",
"local_scheme": "no-local-version",
"write_to": "tiledb/ml/version.py",
}
)
| 19.9 | 43 | 0.61809 | 23 | 199 | 5.130435 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226131 | 199 | 9 | 44 | 22.111111 | 0.766234 | 0 | 0 | 0 | 0 | 0 | 0.422111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c0256b3ce8204fb21f44df28a9549d4b7bd7948f | 842 | py | Python | MySqlCreateTableVectors.py | NielSalas/Integrated-system-for-measuring-water-quality-with-precision-supported-by-dual-GNSS-INS | 1e4dcd19ba1a411d0fba17d2cfca5d6b0e68407c | [
"Unlicense"
] | 2 | 2021-05-20T01:57:23.000Z | 2021-06-25T01:51:24.000Z | MySqlCreateTableVectors.py | NielSalas/Integrated-system-for-measuring-water-quality-with-precision-supported-by-dual-GNSS-INS | 1e4dcd19ba1a411d0fba17d2cfca5d6b0e68407c | [
"Unlicense"
] | null | null | null | MySqlCreateTableVectors.py | NielSalas/Integrated-system-for-measuring-water-quality-with-precision-supported-by-dual-GNSS-INS | 1e4dcd19ba1a411d0fba17d2cfca5d6b0e68407c | [
"Unlicense"
] | null | null | null | #-------------------------------------------------------------------------#
# Create Table
#-------------------------------------------------------------------------#
import mysql.connector
mydb = mysql.connector.connect(
host="localhost",
user="edsonj",
password="nvidia",
database="RemoteData"
)
mycursor =... | 46.777778 | 398 | 0.611639 | 95 | 842 | 5.4 | 0.515789 | 0.204678 | 0.035088 | 0.070175 | 0.109162 | 0.109162 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0.103325 | 842 | 17 | 399 | 49.529412 | 0.639735 | 0.188836 | 0 | 0 | 0 | 0.1 | 0.719939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c0332780820fcfe7203c851447c33d9dc259f74b | 393 | py | Python | examples/cls_svm_demo.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 1,559 | 2019-05-27T03:43:29.000Z | 2022-03-31T05:35:04.000Z | examples/cls_svm_demo.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 5 | 2019-07-10T11:55:05.000Z | 2020-05-08T12:01:31.000Z | examples/cls_svm_demo.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 403 | 2019-06-14T03:36:17.000Z | 2022-03-30T08:09:08.000Z | from smartnlp.classfication.svm_classifier import SVMClassifier
if __name__ == '__main__':
svm_model = SVMClassifier('model/svm/model.pkl',
'./data/imdb/aclImdb.txt',
train=True)
# svm_model = SVMClassifier('model/svm/model.pkl')
svm_model.predict... | 43.666667 | 93 | 0.610687 | 47 | 393 | 4.851064 | 0.617021 | 0.175439 | 0.184211 | 0.22807 | 0.324561 | 0.324561 | 0.324561 | 0 | 0 | 0 | 0 | 0 | 0.262087 | 393 | 8 | 94 | 49.125 | 0.786207 | 0.122137 | 0 | 0 | 0 | 0 | 0.279883 | 0.067055 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c046dcc698326e1a61092adeca2e2ee2bdb92f1b | 200 | py | Python | power_watcher/__init__.py | SamoKhod/PowerWatcher | 09673cc90469a242fe23a12aab973cb3c92d8720 | [
"MIT"
] | 1 | 2021-11-05T04:19:48.000Z | 2021-11-05T04:19:48.000Z | power_watcher/__init__.py | WGussev/PowerWatcher | 09673cc90469a242fe23a12aab973cb3c92d8720 | [
"MIT"
] | null | null | null | power_watcher/__init__.py | WGussev/PowerWatcher | 09673cc90469a242fe23a12aab973cb3c92d8720 | [
"MIT"
] | 1 | 2021-11-05T04:19:50.000Z | 2021-11-05T04:19:50.000Z | """
PowerWatcher -- python3 context manager to log power consumption of any ML-pipeline running on a Nvidia GPU.
"""
from power_watcher.power_watcher import PowerWatcher
__all__ = ["PowerWatcher", ]
| 28.571429 | 108 | 0.775 | 26 | 200 | 5.730769 | 0.807692 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.14 | 200 | 6 | 109 | 33.333333 | 0.860465 | 0.54 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
c058c6594abe9966c4197934fafccc6e86b722cc | 2,101 | py | Python | hubcheck/pageobjects/po_hubucoursemanagemembership.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | 1 | 2016-02-13T13:42:23.000Z | 2016-02-13T13:42:23.000Z | hubcheck/pageobjects/po_hubucoursemanagemembership.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | null | null | null | hubcheck/pageobjects/po_hubucoursemanagemembership.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | null | null | null | from hubcheck.pageobjects.po_hubucoursemanage import HubUCourseManagePage
class HubUCourseManageMembershipPage(HubUCourseManagePage):
"""hub u course manager membership page"""
def __init__(self,browser,catalog,groupid=''):
super(HubUCourseManageMembershipPage,self).__init__(browser,catalog,groupid)
... | 33.887097 | 108 | 0.743931 | 225 | 2,101 | 6.626667 | 0.248889 | 0.113347 | 0.136821 | 0.147552 | 0.254192 | 0.217975 | 0.151576 | 0.054997 | 0 | 0 | 0 | 0 | 0.172775 | 2,101 | 61 | 109 | 34.442623 | 0.857883 | 0.079486 | 0 | 0 | 0 | 0 | 0.053618 | 0.034357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.351351 | false | 0 | 0.135135 | 0.297297 | 0.864865 | 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 |
c05a8482b95820e10668f34300911fe029b35fdf | 2,664 | py | Python | python/kkvhash.py | damianzim/kkvhash | eaaef7c591084f2295afee090ae8cbb9bd2171d1 | [
"MIT"
] | null | null | null | python/kkvhash.py | damianzim/kkvhash | eaaef7c591084f2295afee090ae8cbb9bd2171d1 | [
"MIT"
] | null | null | null | python/kkvhash.py | damianzim/kkvhash | eaaef7c591084f2295afee090ae8cbb9bd2171d1 | [
"MIT"
] | null | null | null | def ROTRIGHT(i: int, bits: int) -> int:
return i >> bits | i << 32 - bits
# Two Extreme Bits (8 bits)
def TEB(i: int) -> int:
return ((i & 0x80) >> 6) | (i & 1)
# Two Extreme Bits Reversed (8 bits)
def TEBR(i: int) -> int:
return (i & 0xFF) >> 7 | (i & 1) << 1
# Middles Extreme Bits (32 bits)
def MEB(... | 40.363636 | 99 | 0.589339 | 409 | 2,664 | 3.826406 | 0.721271 | 0.01278 | 0.030671 | 0.02492 | 0.047284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.313901 | 0.246622 | 2,664 | 65 | 100 | 40.984615 | 0.465869 | 0.034159 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425068 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0.088889 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fbf58406f522fb764c8b4b209a1d04afcb47ae4f | 317 | py | Python | String Detailer/stringDetailer.py | oshada97/Saf---Web | cc2de098126c68513be575d1594ca03359063050 | [
"MIT"
] | null | null | null | String Detailer/stringDetailer.py | oshada97/Saf---Web | cc2de098126c68513be575d1594ca03359063050 | [
"MIT"
] | 1 | 2021-02-07T16:41:05.000Z | 2021-02-07T16:41:05.000Z | String Detailer/stringDetailer.py | oshada97/Saf---Web | cc2de098126c68513be575d1594ca03359063050 | [
"MIT"
] | null | null | null | letters = ['o', 's', 'h', 'a', 'd', 'a']
print(letters.index('h'))
print(letters.index('d'))
print(max(letters))
print(min(letters))
print(letters.count('a'))
print(letters.remove('h'))
#after remove r from the list
print(letters)
#reverse the whole list
print(letters.reverse())
print(letters) | 17.611111 | 41 | 0.634069 | 46 | 317 | 4.369565 | 0.413043 | 0.41791 | 0.129353 | 0.228856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154574 | 317 | 18 | 42 | 17.611111 | 0.75 | 0.157729 | 0 | 0.2 | 0 | 0 | 0.040161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.9 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2216872d96ef1f0a288e3c794a182c8211556abb | 743 | py | Python | toolsaurus/database/miniature_tools/pixel_comparator.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | null | null | null | toolsaurus/database/miniature_tools/pixel_comparator.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | 4 | 2021-08-13T14:03:02.000Z | 2022-03-05T16:02:45.000Z | toolsaurus/database/miniature_tools/pixel_comparator.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | null | null | null | from typing import Tuple
from pysaurus.database.miniature_tools.pixel_comparator import AbstractPixelComparator
class ColorClassPixelComparator(AbstractPixelComparator):
def __init__(self, interval_length: int):
self.interval_length = interval_length
def _map_pixel(self, pixel: Tuple[int, int, int])... | 32.304348 | 86 | 0.702557 | 95 | 743 | 5.252632 | 0.4 | 0.140281 | 0.144289 | 0.096192 | 0.108216 | 0.108216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197847 | 743 | 22 | 87 | 33.772727 | 0.837248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.266667 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22223b28d9b9ce6fdf4a9ad8f9704d010edbb1dd | 1,362 | py | Python | prombzex/config.py | cmsj/prometheus-bugzilla-exporter | 729be74bcf3b521163d663f08d4cb45e8057720a | [
"MIT"
] | 2 | 2020-03-25T08:34:33.000Z | 2020-07-20T08:32:57.000Z | prombzex/config.py | cmsj/prometheus-bugzilla-exporter | 729be74bcf3b521163d663f08d4cb45e8057720a | [
"MIT"
] | null | null | null | prombzex/config.py | cmsj/prometheus-bugzilla-exporter | 729be74bcf3b521163d663f08d4cb45e8057720a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Configuration for Prombzex"""
import json
class PromBZExConfig:
"""This class abstracts the json config file. Its format is:
TODO: document the format"""
data = None
def __init__(self, config_file_object):
"""Initialise the class and load the config"""
self... | 30.954545 | 71 | 0.629956 | 188 | 1,362 | 4.510638 | 0.361702 | 0.075472 | 0.035377 | 0.028302 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001015 | 0.276799 | 1,362 | 43 | 72 | 31.674419 | 0.859898 | 0.430984 | 0 | 0 | 0 | 0 | 0.040462 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2227d27e75c353b1f2ca05717e7702c63aa9a466 | 173 | py | Python | tkinter.py | manab531/tkinter_sample | 7db38500d8e04bfc69573bdd4ef497c03eee3241 | [
"MIT"
] | 1 | 2021-02-08T07:45:52.000Z | 2021-02-08T07:45:52.000Z | tkinter.py | manab531/tkinter_sample | 7db38500d8e04bfc69573bdd4ef497c03eee3241 | [
"MIT"
] | null | null | null | tkinter.py | manab531/tkinter_sample | 7db38500d8e04bfc69573bdd4ef497c03eee3241 | [
"MIT"
] | null | null | null | import tkinter as tk
root = tk.Tk()
root.mainloop()
"""import tkinter
root=tkinter.TK()
root.mainloop()"""
"""
def mainloop():
return'hello world'
Tk Version='0.11'
""" | 14.416667 | 23 | 0.65896 | 25 | 173 | 4.56 | 0.52 | 0.157895 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.138728 | 173 | 12 | 24 | 14.416667 | 0.744966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
222f963e012467d33be769f0398b6e8efc26b1b4 | 461 | py | Python | Special/Set.py | jakedoesgithub/prog_langs_project_scheme_interpreter | 87bc03ab291abd7691db067ab8d5c72282b13c1a | [
"MIT"
] | null | null | null | Special/Set.py | jakedoesgithub/prog_langs_project_scheme_interpreter | 87bc03ab291abd7691db067ab8d5c72282b13c1a | [
"MIT"
] | null | null | null | Special/Set.py | jakedoesgithub/prog_langs_project_scheme_interpreter | 87bc03ab291abd7691db067ab8d5c72282b13c1a | [
"MIT"
] | null | null | null | # Set -- Parse tree node strategy for printing the special form set!
from Tree import Nil
#from Tree import Unspecific
from Print import Printer
from Special import Special
class Set(Special):
def __init__(self):
pass
def print(self, t, n, p):
Printer.printSet(t, n, p)
... | 25.611111 | 81 | 0.626898 | 64 | 461 | 4.453125 | 0.5 | 0.05614 | 0.098246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260304 | 461 | 17 | 82 | 27.117647 | 0.835777 | 0.201735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.272727 | 0 | 0.727273 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
227a15732ef052d0733d2e1fb566acd6d8708ba3 | 346 | py | Python | games/necrowar/controllers/skyler_controller.py | firecannons/MMAI24 | 70f2ce463029e8d61bf18354ad2ce74da8d02702 | [
"MIT"
] | null | null | null | games/necrowar/controllers/skyler_controller.py | firecannons/MMAI24 | 70f2ce463029e8d61bf18354ad2ce74da8d02702 | [
"MIT"
] | null | null | null | games/necrowar/controllers/skyler_controller.py | firecannons/MMAI24 | 70f2ce463029e8d61bf18354ad2ce74da8d02702 | [
"MIT"
] | null | null | null | import logging
from ..game import Game
from ..player import Player
from .central_command import BaseController
class SkylerController(BaseController):
def __init__(self, logger: logging.Logger, game: Game, player: Player):
super().__init__(logger, game, player)
def run_turn(self):
self.logger.... | 31.454545 | 75 | 0.734104 | 43 | 346 | 5.674419 | 0.465116 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16474 | 346 | 11 | 76 | 31.454545 | 0.844291 | 0 | 0 | 0 | 0 | 0 | 0.051873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0 | 0.777778 | 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 |
97d516d638d9140a09fb7a82a1b84900f0340c28 | 125 | py | Python | upload/functions.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | upload/functions.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | upload/functions.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | def file_upload(f):
with open('static/upload/'+f.name,'wb+') as destination:
for i in f.chunks():
destination.write(i)
| 25 | 57 | 0.68 | 21 | 125 | 4 | 0.761905 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 4 | 58 | 31.25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97eb1253743860d2b757ec50339e7e66c99cd999 | 63 | py | Python | heima/login.py | LogicDance/git_learning1 | 48480af7f5e83fb191e5077f4cace186878bd767 | [
"MIT"
] | null | null | null | heima/login.py | LogicDance/git_learning1 | 48480af7f5e83fb191e5077f4cace186878bd767 | [
"MIT"
] | null | null | null | heima/login.py | LogicDance/git_learning1 | 48480af7f5e83fb191e5077f4cace186878bd767 | [
"MIT"
] | null | null | null | lisi = 1
lisi1 = 1
lisi2 = 2
zhangsan3 = 3
lisi3 = 3
dev = 1
| 7 | 13 | 0.587302 | 12 | 63 | 3.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.31746 | 63 | 8 | 14 | 7.875 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97f3570af0e3e6d4840f72160630f1d0fbebe783 | 109 | py | Python | src/mediaconversion/__init__.py | alfredo-milani/VideoConverter | d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290 | [
"MIT"
] | null | null | null | src/mediaconversion/__init__.py | alfredo-milani/VideoConverter | d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290 | [
"MIT"
] | null | null | null | src/mediaconversion/__init__.py | alfredo-milani/VideoConverter | d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290 | [
"MIT"
] | 1 | 2020-01-04T15:50:39.000Z | 2020-01-04T15:50:39.000Z | from mediaconversion.MediaObserver import MediaObserver
__all__ = ["MediaEventHandler.py", "MediaObserver"]
| 27.25 | 55 | 0.825688 | 9 | 109 | 9.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 109 | 3 | 56 | 36.333333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.302752 | 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 |
97f4d293ac69230c871698429f2abe7af9f6a056 | 1,254 | py | Python | IronManFly/model_storage/young-pond/v1/db.py | leepand/IronManFly | ea29bf1415a51b23a0fbc95f2bae82013a0887a4 | [
"MIT"
] | null | null | null | IronManFly/model_storage/young-pond/v1/db.py | leepand/IronManFly | ea29bf1415a51b23a0fbc95f2bae82013a0887a4 | [
"MIT"
] | null | null | null | IronManFly/model_storage/young-pond/v1/db.py | leepand/IronManFly | ea29bf1415a51b23a0fbc95f2bae82013a0887a4 | [
"MIT"
] | null | null | null | import os
from tinydb import TinyDB, Query
from tinydb.operations import set
DB_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'olympus_db.json')
TABLE = 'models'
db = TinyDB(DB_PATH)
Model = Query()
def get_all_models():
return db.table(TABLE).all()
def create_new_model(model_object):
db... | 33 | 87 | 0.688198 | 180 | 1,254 | 4.622222 | 0.261111 | 0.105769 | 0.100962 | 0.108173 | 0.471154 | 0.441106 | 0.365385 | 0.28125 | 0.28125 | 0.28125 | 0 | 0.004785 | 0.166667 | 1,254 | 38 | 88 | 33 | 0.791388 | 0.043062 | 0 | 0.074074 | 0 | 0 | 0.017515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f083bf6110ef67c4df86abb57c9b39f6d5efbd7 | 101 | py | Python | tensorflow/test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | 2 | 2021-12-16T22:38:27.000Z | 2021-12-17T13:09:49.000Z | tensorflow/test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | null | null | null | tensorflow/test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | null | null | null | import tensorflow as tf
print(tf.__version__)
import pandas as pd
x = pd.Series([1,2,3])
print(x) | 11.222222 | 23 | 0.712871 | 19 | 101 | 3.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.158416 | 101 | 9 | 24 | 11.222222 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 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 |
3f17f539f21935456d45a92c75e80ddbf945a8dd | 374 | py | Python | moco_wrapper/util/objector/raw.py | nethad/moco-wrapper | 012f9aab6e9fa60e3ccdf7254f0366b108651899 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | moco_wrapper/util/objector/raw.py | nethad/moco-wrapper | 012f9aab6e9fa60e3ccdf7254f0366b108651899 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | moco_wrapper/util/objector/raw.py | nethad/moco-wrapper | 012f9aab6e9fa60e3ccdf7254f0366b108651899 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from .base import BaseObjector
class RawObjector(BaseObjector):
"""Objector class that does no conversion (for testing purposes)"""
def convert(self, response):
"""Returns the response object that was given
:param response: response object to convert
:returns: response object that... | 31.166667 | 71 | 0.676471 | 42 | 374 | 6.02381 | 0.642857 | 0.166008 | 0.142292 | 0.166008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254011 | 374 | 12 | 72 | 31.166667 | 0.90681 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3f3e99e5926dd9352384c124270a38224212ee70 | 967 | py | Python | tests/unit/clients/test_decorators.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 12 | 2019-04-30T16:07:42.000Z | 2021-12-08T08:02:09.000Z | tests/unit/clients/test_decorators.py | octoenergy/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 74 | 2019-04-25T11:18:22.000Z | 2022-01-18T11:31:14.000Z | tests/unit/clients/test_decorators.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 4 | 2019-05-05T13:13:21.000Z | 2022-01-14T00:33:07.000Z | import pytest
from tentaclio.clients import base_client, decorators
class TestCheckConn:
def test_missing_connection_attribute(self):
class TestClient:
@decorators.check_conn
def func(self):
return True
def __enter__(self):
...
... | 21.488889 | 53 | 0.542916 | 87 | 967 | 5.758621 | 0.402299 | 0.07984 | 0.083832 | 0.087824 | 0.293413 | 0.293413 | 0.171657 | 0.171657 | 0.171657 | 0 | 0 | 0 | 0.377456 | 967 | 44 | 54 | 21.977273 | 0.832226 | 0 | 0 | 0.482759 | 0 | 0 | 0.016546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.068966 | 0.103448 | 0.551724 | 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 |
3f3ec53f990865e80f94911c46c848c7beddb7cc | 6,294 | py | Python | drop-boxes/register-iontorrent-data/pushXML2cxxRest.py | qbicsoftware/etl-scripts | e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6 | [
"MIT"
] | 2 | 2018-04-20T15:48:02.000Z | 2021-11-30T17:39:28.000Z | drop-boxes/register-iontorrent-data/pushXML2cxxRest.py | qbicsoftware/etl-scripts | e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6 | [
"MIT"
] | 41 | 2017-07-19T11:17:26.000Z | 2021-09-28T12:10:49.000Z | drop-boxes/register-iontorrent-data/pushXML2cxxRest.py | qbicsoftware/etl-scripts | e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6 | [
"MIT"
] | 2 | 2017-04-27T10:32:33.000Z | 2018-02-20T09:26:12.000Z | import os
import sys
import requests
from requests.auth import HTTPBasicAuth
import configparser
import codecs
authData = {}
class CxxRestApiError(Exception):
def __init__(self, value):
self.value = '[CxxRestApiError]: ' + value
def __str__(self):
return self.value
def loadConfigFile():
... | 33.83871 | 120 | 0.712901 | 666 | 6,294 | 6.696697 | 0.204204 | 0.042601 | 0.059641 | 0.04574 | 0.624888 | 0.595291 | 0.567937 | 0.523991 | 0.513677 | 0.445964 | 0 | 0.004833 | 0.145218 | 6,294 | 185 | 121 | 34.021622 | 0.824164 | 0.128376 | 0 | 0.425926 | 0 | 0 | 0.221775 | 0.054895 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.092593 | 0.37963 | null | null | 0.046296 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
3f550c3a2ee6ee3d40149ae4c1e00f3531dbc4b1 | 351 | py | Python | demo/demo_chunkator/manage.py | alpaca-technology/django-chunkator | 10c0b3ce63f6bcb1833ff1518725c68a3d452807 | [
"MIT"
] | 67 | 2017-11-25T10:53:45.000Z | 2021-11-28T15:22:59.000Z | demo/demo_chunkator/manage.py | alpaca-technology/django-chunkator | 10c0b3ce63f6bcb1833ff1518725c68a3d452807 | [
"MIT"
] | 17 | 2017-11-21T08:41:36.000Z | 2022-02-24T19:02:39.000Z | demo/demo_chunkator/manage.py | alpaca-technology/django-chunkator | 10c0b3ce63f6bcb1833ff1518725c68a3d452807 | [
"MIT"
] | 9 | 2017-11-20T17:13:47.000Z | 2022-02-24T19:08:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from django.core.management import execute_from_command_line
def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"{package}.settings".format(package=__package__))
execute_from_command_line(sys.argv)
if __na... | 20.647059 | 75 | 0.678063 | 43 | 351 | 5.069767 | 0.651163 | 0.100917 | 0.165138 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.193732 | 351 | 16 | 76 | 21.9375 | 0.766784 | 0.119658 | 0 | 0 | 0 | 0 | 0.156352 | 0.071661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.444444 | 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 |
3f672ff829f07b7b8ef6ef2e9e347afd90a281c3 | 85 | py | Python | yt_shared/yt_shared/rabbit/__init__.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | 2 | 2022-03-10T03:07:23.000Z | 2022-03-22T07:36:16.000Z | yt_shared/yt_shared/rabbit/__init__.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | 1 | 2022-03-18T08:03:26.000Z | 2022-03-18T08:03:26.000Z | yt_shared/yt_shared/rabbit/__init__.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | null | null | null | from yt_shared.rabbit.rabbit import get_rabbitmq
__all__ = [
'get_rabbitmq',
]
| 12.142857 | 48 | 0.729412 | 11 | 85 | 5 | 0.727273 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 6 | 49 | 14.166667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 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 |
58c804d34e921331a8dca1ed3b39995aee382f40 | 428 | py | Python | first_steps_in_oop_exercise/project/main.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | first_steps_in_oop_exercise/project/main.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | first_steps_in_oop_exercise/project/main.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | from pokemon import Pokemon
from trainer import Trainer
pokemon = Pokemon("Pikachu", 90)
print(pokemon.pokemon_details())
trainer = Trainer("Ash")
print(trainer.add_pokemon(pokemon))
second_pokemon = Pokemon("Charizard", 110)
print(trainer.add_pokemon(second_pokemon))
print(trainer.add_pokemon(second_pokemon))
print(... | 28.533333 | 42 | 0.803738 | 55 | 428 | 6.072727 | 0.272727 | 0.215569 | 0.134731 | 0.197605 | 0.443114 | 0.443114 | 0.443114 | 0.245509 | 0 | 0 | 0 | 0.0125 | 0.065421 | 428 | 15 | 43 | 28.533333 | 0.8225 | 0 | 0 | 0.333333 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
58de1b358e322c6ec252c7baad5bf8da0d81b890 | 1,280 | py | Python | auth_backend/src/setup_test.py | cispa/bitahoy | ffc2004930a033cfb94d13671bc6068b473ce226 | [
"MIT"
] | null | null | null | auth_backend/src/setup_test.py | cispa/bitahoy | ffc2004930a033cfb94d13671bc6068b473ce226 | [
"MIT"
] | null | null | null | auth_backend/src/setup_test.py | cispa/bitahoy | ffc2004930a033cfb94d13671bc6068b473ce226 | [
"MIT"
] | 2 | 2021-12-30T16:48:15.000Z | 2022-01-14T14:21:15.000Z | from fastapi.testclient import TestClient
from app import app
import json
import psycopg2
import random
import string
import base64
from cryptography.hazmat.primitives import serialization, hashes
from cryptography.hazmat.primitives.asymmetric import padding, rsa
from cryptography.hazmat.backends import default_backend... | 32 | 114 | 0.727344 | 172 | 1,280 | 5.389535 | 0.534884 | 0.056095 | 0.071197 | 0.06904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024302 | 0.132031 | 1,280 | 39 | 115 | 32.820513 | 0.810081 | 0.04375 | 0 | 0.125 | 0 | 0 | 0.346154 | 0.108838 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0 | false | 0.0625 | 0.375 | 0 | 0.375 | 0.1875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
451059e7b501c827006943d7637a57d5b9bd8ef1 | 137 | py | Python | Test.py | ShivaPrab/Drinks-MI | a32fced5ea480a209d11594f449c192bc305c32e | [
"MIT"
] | null | null | null | Test.py | ShivaPrab/Drinks-MI | a32fced5ea480a209d11594f449c192bc305c32e | [
"MIT"
] | null | null | null | Test.py | ShivaPrab/Drinks-MI | a32fced5ea480a209d11594f449c192bc305c32e | [
"MIT"
] | null | null | null | import math as math
import pandas as pd
import csv
import matplotlib as plt
data = pd.read_csv('data/data_cocktails.csv')
print(data)
| 17.125 | 45 | 0.773723 | 24 | 137 | 4.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 137 | 7 | 46 | 19.571429 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 0.167883 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1885466470b13e001ac367bf77aedeb3c910578d | 603 | py | Python | lib/Config/settings.py | cedadev/mistamover | 37ad31c4c66658c4c77340efc783040f94df3f3f | [
"BSD-3-Clause-Clear"
] | null | null | null | lib/Config/settings.py | cedadev/mistamover | 37ad31c4c66658c4c77340efc783040f94df3f3f | [
"BSD-3-Clause-Clear"
] | null | null | null | lib/Config/settings.py | cedadev/mistamover | 37ad31c4c66658c4c77340efc783040f94df3f3f | [
"BSD-3-Clause-Clear"
] | null | null | null | global_default = {
'general_poll_interval': 3
}
incoming_default = {
'require_arrival_monitor': False,
'control_file_extension': 'stager-ctrl-bss',
'receipt_file_extension': 'stager-rcpt-bss',
'thankyou_file_extension': 'stager-thanks-bss',
'stop_file': '.stop'
}
outgoing_default = {
'target_uses_arrival_monitor': F... | 24.12 | 47 | 0.764511 | 79 | 603 | 5.405063 | 0.379747 | 0.18267 | 0.266979 | 0.12178 | 0.566745 | 0.566745 | 0.566745 | 0.566745 | 0.566745 | 0.566745 | 0 | 0.016158 | 0.076285 | 603 | 24 | 48 | 25.125 | 0.750449 | 0 | 0 | 0.285714 | 0 | 0 | 0.681063 | 0.460133 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18881503450fa40956f0ca68e86554a2f6e3cbc4 | 396 | py | Python | src/cms/views/feedback/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 14 | 2020-12-03T07:56:30.000Z | 2021-10-30T13:09:50.000Z | integreat_cms/cms/views/feedback/__init__.py | Carlosbogo/integreat-cms | 066f188b138e105e72f5420bc36d25709f25402d | [
"Apache-2.0"
] | 367 | 2020-11-20T00:34:20.000Z | 2021-12-14T15:20:42.000Z | src/cms/views/feedback/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 3 | 2021-02-09T18:46:52.000Z | 2021-12-07T10:41:39.000Z | from .admin_feedback_list_view import AdminFeedbackListView
from .region_feedback_list_view import RegionFeedbackListView
from .admin_feedback_actions import (
mark_admin_feedback_as_read,
mark_admin_feedback_as_unread,
delete_admin_feedback,
)
from .region_feedback_actions import (
mark_region_feedback... | 30.461538 | 61 | 0.843434 | 50 | 396 | 6.08 | 0.3 | 0.213816 | 0.111842 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 396 | 12 | 62 | 33 | 0.873563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
1892178d68cd1dfea7b2f690eac74f310d741b28 | 436 | py | Python | preprocessor.py | betoesquivel/onforums-application | 161320b4ad65692ca3b490c662e3003fe55f5bcc | [
"MIT"
] | null | null | null | preprocessor.py | betoesquivel/onforums-application | 161320b4ad65692ca3b490c662e3003fe55f5bcc | [
"MIT"
] | null | null | null | preprocessor.py | betoesquivel/onforums-application | 161320b4ad65692ca3b490c662e3003fe55f5bcc | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''
The article dictionary ends up in this mongo format
comment_id : [<e|"#comment-68330010">]
author : [<content>]
author_id : [<content>]
reply_count : [<content>]
timestamp : [<content>]
reply_to_author : [<content>]
reply_to_comment : [<content>]
content : [<c... | 22.947368 | 51 | 0.651376 | 52 | 436 | 5.288462 | 0.615385 | 0.130909 | 0.101818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022792 | 0.194954 | 436 | 18 | 52 | 24.222222 | 0.760684 | 0.740826 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 |
189a0c6c0eb09d9f12186c4a6580f0aa15e7dedf | 14,310 | py | Python | transformers/examples/control/train_run.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 26 | 2021-11-23T09:01:32.000Z | 2022-03-25T11:34:15.000Z | transformers/examples/control/train_run.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 3 | 2021-12-10T17:43:23.000Z | 2022-03-18T11:37:19.000Z | transformers/examples/control/train_run.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 5 | 2021-12-19T03:22:08.000Z | 2022-02-14T04:41:04.000Z | import os, sys
# example: python train_run.py keyword temp_keyword _
if not sys.warnoptions:
import warnings
warnings.simplefilter("ignore")
if __name__ == '__main__':
mode = sys.argv[1]
model_file = sys.argv[2]
old_model = sys.argv[3]
bsz = sys.argv[4]
dataless = sys.argv[5]
load_pref... | 37.265625 | 301 | 0.621314 | 1,741 | 14,310 | 4.838024 | 0.137277 | 0.058768 | 0.044402 | 0.056987 | 0.777158 | 0.737979 | 0.716016 | 0.665915 | 0.651074 | 0.611896 | 0 | 0.025964 | 0.251782 | 14,310 | 383 | 302 | 37.362924 | 0.760717 | 0.415584 | 0 | 0.557292 | 0 | 0.03125 | 0.30571 | 0.218893 | 0 | 0 | 0 | 0 | 0.005208 | 1 | 0 | false | 0 | 0.010417 | 0 | 0.010417 | 0.010417 | 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 |
18cbcfa71f19ea5b49686cfe7a4b74ce4d6fcda3 | 115 | py | Python | {{cookiecutter.plugin_name}}/{{cookiecutter.module_name}}/__init__.py | ltalirz/aiida-plugin-cutter | 572522cc0dbe6aedc93ab83345e771d1e10cef6f | [
"MIT"
] | null | null | null | {{cookiecutter.plugin_name}}/{{cookiecutter.module_name}}/__init__.py | ltalirz/aiida-plugin-cutter | 572522cc0dbe6aedc93ab83345e771d1e10cef6f | [
"MIT"
] | null | null | null | {{cookiecutter.plugin_name}}/{{cookiecutter.module_name}}/__init__.py | ltalirz/aiida-plugin-cutter | 572522cc0dbe6aedc93ab83345e771d1e10cef6f | [
"MIT"
] | null | null | null | """
{{cookiecutter.module_name}}
{{cookiecutter.short_description}}
"""
__version__ = "{{cookiecutter.version}}"
| 14.375 | 40 | 0.713043 | 9 | 115 | 8.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 115 | 7 | 41 | 16.428571 | 0.716981 | 0.556522 | 0 | 0 | 0 | 0 | 0.55814 | 0.55814 | 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 |
18de7a82e12762cf69a99d3c0b800c4dd7474a73 | 200 | py | Python | programming-laboratory-I/vkff/fatorial.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/vkff/fatorial.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/vkff/fatorial.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | # coding: utf-8
# Aluno: Misael Augusto
# Matrícula: 117110525
# Problema: Fatorial
numero = int(raw_input())
fatorial = 1
for i in range(numero):
fatorial *= numero
numero -= 1
print fatorial
| 14.285714 | 25 | 0.7 | 27 | 200 | 5.148148 | 0.740741 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.19 | 200 | 13 | 26 | 15.384615 | 0.783951 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18e8eead33b9102d21cf78e6cb26f08e6dba7d68 | 2,999 | py | Python | models/00_tables.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | 1 | 2021-11-08T16:38:22.000Z | 2021-11-08T16:38:22.000Z | models/00_tables.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | null | null | null | models/00_tables.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Global tables and re-usable fields
"""
# =============================================================================
# Import models
#
from s3.s3model import S3Model
import s3db as models
current.models = models
# Explicit import statements to have them reload automatically in debug... | 27.768519 | 87 | 0.615539 | 370 | 2,999 | 4.881081 | 0.424324 | 0.287929 | 0.019934 | 0.025471 | 0.100775 | 0.100775 | 0.074197 | 0.074197 | 0.074197 | 0.074197 | 0 | 0.032613 | 0.212738 | 2,999 | 107 | 88 | 28.028037 | 0.732317 | 0.386796 | 0 | 0 | 0 | 0 | 0.078333 | 0 | 0 | 0 | 0 | 0.009346 | 0 | 1 | 0 | false | 0 | 0.686567 | 0 | 0.686567 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
18f2c2ecde4247fb78365dd0784ed9a821c1cb89 | 566 | py | Python | values.py | lechat/multiconf | c41cbe9ab3fb768a7d4dbd7b9f5d983b1306bde3 | [
"BSD-3-Clause"
] | null | null | null | values.py | lechat/multiconf | c41cbe9ab3fb768a7d4dbd7b9f5d983b1306bde3 | [
"BSD-3-Clause"
] | null | null | null | values.py | lechat/multiconf | c41cbe9ab3fb768a7d4dbd7b9f5d983b1306bde3 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.
class MCInvalidValue(object):
def __init__(self, name):
self.name = name
def __nonzero__(self):
return False
def __repr__(self):
return self.name
... | 23.583333 | 73 | 0.712014 | 76 | 566 | 4.842105 | 0.513158 | 0.065217 | 0.07337 | 0.086957 | 0.081522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.19788 | 566 | 23 | 74 | 24.608696 | 0.801762 | 0.220848 | 0 | 0 | 0 | 0 | 0.068493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.615385 | 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 |
e16b24eeb73beaf2ec45450aaa26afffb0e1464a | 240 | py | Python | korg/__init__.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | null | null | null | korg/__init__.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | 2 | 2020-01-18T10:32:13.000Z | 2020-01-18T10:34:17.000Z | korg/__init__.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
import os
def here(p):
return os.path.abspath(os.path.join(os.path.dirname(__file__), p))
from .korg import LineGrokker
from .pattern import PatternRepo
| 21.818182 | 70 | 0.75 | 35 | 240 | 4.857143 | 0.685714 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.133333 | 240 | 10 | 71 | 24 | 0.8125 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
e17a6901829ca0ca3e913780516fbc9a0720ec6a | 6,348 | py | Python | b2ac/matrix/matrix_ref.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 16 | 2016-02-16T18:55:18.000Z | 2021-12-15T20:07:45.000Z | b2ac/matrix/matrix_ref.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 6 | 2015-10-18T22:28:20.000Z | 2016-05-17T22:07:38.000Z | b2ac/matrix/matrix_ref.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 7 | 2016-05-15T16:21:19.000Z | 2021-09-09T11:12:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
.. module:: matrix
:platform: Unix, Windows
:synopsis: Operations on matrices.
.. moduleauthor:: hbldh <henrik.blidh@nedomull.com>
Created on 2013-05-15, 10:45
"""
from __future__ import division
from __future__ import print_function
from __future__ import uni... | 27.244635 | 117 | 0.558916 | 1,101 | 6,348 | 3.142598 | 0.117166 | 0.056647 | 0.01474 | 0.062428 | 0.76763 | 0.730058 | 0.712717 | 0.692197 | 0.660983 | 0.643931 | 0 | 0.064509 | 0.255198 | 6,348 | 232 | 118 | 27.362069 | 0.667301 | 0.439509 | 0 | 0.367816 | 0 | 0 | 0.004888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.068966 | 0 | 0.183908 | 0.011494 | 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 |
e185ae216466d9c7f507e1311ac5f8e9a8f7fbf0 | 331 | py | Python | comprehension/lab/filter_numbers.py | PetkoAndreev/Python-advanced | 94fd0fa69b366b978921ee8d4e214d3d3b4335d6 | [
"MIT"
] | null | null | null | comprehension/lab/filter_numbers.py | PetkoAndreev/Python-advanced | 94fd0fa69b366b978921ee8d4e214d3d3b4335d6 | [
"MIT"
] | null | null | null | comprehension/lab/filter_numbers.py | PetkoAndreev/Python-advanced | 94fd0fa69b366b978921ee8d4e214d3d3b4335d6 | [
"MIT"
] | null | null | null | start = int(input())
end = int(input())
def is_divide(number):
return any(number % i == 0 for i in range(2, 11))
def get_divise_numbers(start, end):
return [s for s in range(start, end + 1) if is_divide(s)]
def print_result(numbers):
print(numbers)
numbers = get_divise_numbers(start, end)
print_resu... | 18.388889 | 61 | 0.685801 | 55 | 331 | 3.981818 | 0.454545 | 0.109589 | 0.146119 | 0.191781 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01845 | 0.181269 | 331 | 18 | 62 | 18.388889 | 0.789668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.5 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e1b1c3a3d7747850743eb0102fde3d112a59d4ff | 1,055 | py | Python | telethon/_events/filters/messages.py | udf/Telethon | 0bc598c1217818e62c3b4dd9e8a05c87109714f9 | [
"MIT"
] | 2 | 2022-01-17T13:08:34.000Z | 2022-01-20T05:33:43.000Z | telethon/_events/filters/messages.py | udf/Telethon | 0bc598c1217818e62c3b4dd9e8a05c87109714f9 | [
"MIT"
] | null | null | null | telethon/_events/filters/messages.py | udf/Telethon | 0bc598c1217818e62c3b4dd9e8a05c87109714f9 | [
"MIT"
] | null | null | null | import re
from .base import Filter
class Incoming:
"""
The update must be something the client received from another user,
and not something the current user sent.
"""
def __call__(self, event):
return not event.out
class Outgoing:
"""
The update must be something the current use... | 23.444444 | 87 | 0.654976 | 143 | 1,055 | 4.636364 | 0.314685 | 0.054299 | 0.066365 | 0.096531 | 0.615385 | 0.485671 | 0.404223 | 0.310709 | 0.310709 | 0.310709 | 0 | 0 | 0.262559 | 1,055 | 44 | 88 | 23.977273 | 0.852185 | 0.417062 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 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 |
e1b5dbd2f474244cca88d065923244cc2785b8e9 | 250 | py | Python | cell_tools/_multiome/__init__.py | mvinyard/cell-tools | 2482ccbe13c7a5cc06d575adefe0158026c8e03b | [
"MIT"
] | 1 | 2022-01-11T20:00:44.000Z | 2022-01-11T20:00:44.000Z | cell_tools/_multiome/__init__.py | mvinyard/cell-tools | 2482ccbe13c7a5cc06d575adefe0158026c8e03b | [
"MIT"
] | null | null | null | cell_tools/_multiome/__init__.py | mvinyard/cell-tools | 2482ccbe13c7a5cc06d575adefe0158026c8e03b | [
"MIT"
] | null | null | null |
# multiome __init__.py
__module_name__ = "__init__.py"
__author__ = ", ".join(["Michael E. Vinyard"])
__email__ = ", ".join(["vinyard@g.harvard.edu",])
from ._filter_features_multiomic import _filter_features_multiomic as filter_features_multiomic | 31.25 | 95 | 0.768 | 30 | 250 | 5.433333 | 0.666667 | 0.257669 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 250 | 8 | 95 | 31.25 | 0.721239 | 0.08 | 0 | 0 | 0 | 0 | 0.236842 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 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 |
e1bebc1e714c547771435633cb932eca7c1acdad | 306 | py | Python | test_default_settings.py | vv-p/zealot | 8b3e32e1c083c079c354ed650bdb6a6a374d188f | [
"MIT"
] | 1 | 2020-03-09T05:56:54.000Z | 2020-03-09T05:56:54.000Z | test_default_settings.py | vv-p/zealot | 8b3e32e1c083c079c354ed650bdb6a6a374d188f | [
"MIT"
] | null | null | null | test_default_settings.py | vv-p/zealot | 8b3e32e1c083c079c354ed650bdb6a6a374d188f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.6
import unittest
from zealot.conf import settings
class TestWaitingFor(unittest.TestCase):
def test_default_timeout(self):
self.assertEqual(settings.DEFAULT_TIMEOUT, 1)
def test_default_timeout_enable(self):
self.assertTrue(settings.ENABLE_TIMEOUTS)
| 18 | 53 | 0.754902 | 38 | 306 | 5.894737 | 0.631579 | 0.1875 | 0.125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011673 | 0.160131 | 306 | 16 | 54 | 19.125 | 0.859922 | 0.075163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e1c29f804a1d511033976434a95a3b21f4276c2d | 267 | py | Python | pmdp/__init__.py | dangoldin/poor-mans-data-pipeline | 6ddb95b5c600a7189461b70abf0cc236e4095211 | [
"MIT"
] | 13 | 2016-11-06T02:44:55.000Z | 2018-01-26T07:05:48.000Z | pmdp/__init__.py | dangoldin/poor-mans-data-pipeline | 6ddb95b5c600a7189461b70abf0cc236e4095211 | [
"MIT"
] | null | null | null | pmdp/__init__.py | dangoldin/poor-mans-data-pipeline | 6ddb95b5c600a7189461b70abf0cc236e4095211 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__title__ = 'pmdp'
__version__ = '0.3'
__author__ = 'Dan Goldin'
__license__ = 'MIT'
__copyright__ = 'Copyright 2016 Dan Goldin'
from . import parser
from . import writer
from . import parse_elb_log_local
from . import parse_elb_log_lambda
| 19.071429 | 43 | 0.730337 | 36 | 267 | 4.694444 | 0.666667 | 0.236686 | 0.177515 | 0.213018 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.161049 | 267 | 13 | 44 | 20.538462 | 0.723214 | 0.078652 | 0 | 0 | 0 | 0 | 0.184426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bece48cb5cbcde2c10faa98c5b68b9de95574728 | 20,587 | py | Python | pyocd/target/builtin/target_musca_b1.py | juhhov/pyOCD | 0965f7f038622ef1d933af5c6916c482a28244ff | [
"Apache-2.0"
] | 1 | 2020-07-11T09:24:25.000Z | 2020-07-11T09:24:25.000Z | pyocd/target/builtin/target_musca_b1.py | ARMmbed/pyOCD-Samsung | 03242b6eb57d2170a4b531d00f1a0577e2b0abde | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_musca_b1.py | ARMmbed/pyOCD-Samsung | 03242b6eb57d2170a4b531d00f1a0577e2b0abde | [
"Apache-2.0"
] | null | null | null | # pyOCD debugger
# Copyright (c) 2018-2019 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# 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... | 71.731707 | 99 | 0.757517 | 1,747 | 20,587 | 8.879794 | 0.701774 | 0.010314 | 0.007735 | 0.002063 | 0.073229 | 0.073229 | 0.064204 | 0.058918 | 0.058918 | 0.050151 | 0 | 0.558389 | 0.158109 | 20,587 | 286 | 100 | 71.982517 | 0.336661 | 0.04124 | 0 | 0.135458 | 0 | 0 | 0.028305 | 0 | 0 | 0 | 0.682408 | 0 | 0 | 1 | 0.003984 | false | 0 | 0.015936 | 0 | 0.031873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bee0ac9d16c1bf381ee61172b646252b558496e3 | 285 | py | Python | home/views.py | RJPM0/vss | 3b625d8c02b25af03954f2feb3820e8ca183b7af | [
"Apache-2.0"
] | null | null | null | home/views.py | RJPM0/vss | 3b625d8c02b25af03954f2feb3820e8ca183b7af | [
"Apache-2.0"
] | 1 | 2021-05-16T16:46:07.000Z | 2021-05-16T16:46:07.000Z | home/views.py | RJPM0/vss | 3b625d8c02b25af03954f2feb3820e8ca183b7af | [
"Apache-2.0"
] | 1 | 2021-05-16T16:37:44.000Z | 2021-05-16T16:37:44.000Z | from django.shortcuts import render
from django.template import RequestContext
from anuncios.models import Curso
#Llamamos al modelo para tenerlo tambiwen conectado la base de datos
# Create your views conection by URL
def home_init(request):
return render(request, "home.html")
| 31.666667 | 68 | 0.807018 | 41 | 285 | 5.585366 | 0.804878 | 0.087336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14386 | 285 | 8 | 69 | 35.625 | 0.938525 | 0.357895 | 0 | 0 | 0 | 0 | 0.049724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
830dab45cc1474c0733e457581d7d9196a7e9f31 | 2,730 | py | Python | fluentcheck/tests/tests_is/test_collections_is.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 83 | 2018-05-31T13:21:06.000Z | 2022-03-20T14:27:49.000Z | fluentcheck/tests/tests_is/test_collections_is.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 20 | 2019-02-10T15:07:44.000Z | 2021-04-02T13:18:52.000Z | fluentcheck/tests/tests_is/test_collections_is.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 11 | 2019-02-16T21:33:11.000Z | 2022-03-25T03:39:52.000Z | import unittest
from fluentcheck import Is
from fluentcheck.exceptions import CheckError
# noinspection PyStatementEffect
class TestIsCollectionsAssertions(unittest.TestCase):
def test_is_set_pass(self):
obj = set()
self.assertIsInstance(Is(obj).set, Is)
def test_is_set_fail(self):
... | 30 | 68 | 0.6 | 400 | 2,730 | 3.855 | 0.095 | 0.02594 | 0.093385 | 0.070039 | 0.806096 | 0.664721 | 0.586252 | 0.350843 | 0.289883 | 0.289883 | 0 | 0.0571 | 0.275092 | 2,730 | 90 | 69 | 30.333333 | 0.722082 | 0.010989 | 0 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 1 | 0.228571 | false | 0.114286 | 0.042857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8310d33237cf5c2521330a7f43bbcd7a582c671f | 512 | py | Python | core/tt/error.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 84 | 2017-10-22T11:01:39.000Z | 2022-02-27T03:43:48.000Z | core/tt/error.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 22 | 2017-12-11T07:21:56.000Z | 2021-09-23T02:53:50.000Z | core/tt/error.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 23 | 2017-12-06T06:59:52.000Z | 2022-02-24T00:02:25.000Z | # ----------------------------------------------------------------------
# TTSystem errors
# ----------------------------------------------------------------------
# Copyright (C) 2007-2020, The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------
class TTErro... | 25.6 | 72 | 0.384766 | 35 | 512 | 5.628571 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018391 | 0.150391 | 512 | 19 | 73 | 26.947368 | 0.434483 | 0.767578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
831d25e880103fe8d3338fe77880e3021b7859e3 | 917 | py | Python | app/routes/user_routes.py | Suspir0n/botTelegram | a37c7f06abc807a2f8221e1641e248e8989e3100 | [
"MIT"
] | null | null | null | app/routes/user_routes.py | Suspir0n/botTelegram | a37c7f06abc807a2f8221e1641e248e8989e3100 | [
"MIT"
] | null | null | null | app/routes/user_routes.py | Suspir0n/botTelegram | a37c7f06abc807a2f8221e1641e248e8989e3100 | [
"MIT"
] | null | null | null | from flask import Blueprint, jsonify
from ..controllers import user_controller
import logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', datefmt='%d-%b-%y %H:%M:%S')
bp_users = Blueprint('users', __name__)
@bp_users.route('/', methods=['GET'])
def root():
... | 25.472222 | 131 | 0.700109 | 129 | 917 | 4.767442 | 0.302326 | 0.079675 | 0.117073 | 0.138211 | 0.323577 | 0.182114 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107961 | 917 | 36 | 132 | 25.472222 | 0.751834 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0.26087 | 0.652174 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
832ac4768a21d60e8b26a75989de50f7f69cd029 | 1,137 | py | Python | app/model/corporate_Info.py | G1NTOKI0522/WeChatterBot | 1a5377713fd3d6c7a6bca1c20e8fdcf70e8215f5 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T02:54:18.000Z | 2020-04-03T02:54:18.000Z | app/model/corporate_Info.py | G1NTOKI0522/WeChatterBot | 1a5377713fd3d6c7a6bca1c20e8fdcf70e8215f5 | [
"BSD-3-Clause"
] | 7 | 2020-04-11T13:22:50.000Z | 2020-05-14T00:19:37.000Z | app/model/corporate_Info.py | G1NTOKI0522/WeChatterBot | 1a5377713fd3d6c7a6bca1c20e8fdcf70e8215f5 | [
"BSD-3-Clause"
] | 3 | 2020-04-11T12:09:56.000Z | 2020-12-16T13:26:20.000Z | # coding: utf-8
from sqlalchemy import Column, Integer, String, Sequence
from app.libs.db import db
class Info(db.Model):
id = Column(Integer, Sequence('info_id'), primary_key=True, autoincrement=True)
address = Column(String(100), nullable=False) # 联系地址
area = Column(String(100), nullable=False) # 所属地... | 39.206897 | 83 | 0.664028 | 149 | 1,137 | 4.993289 | 0.449664 | 0.193548 | 0.181452 | 0.278226 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037904 | 0.211082 | 1,137 | 28 | 84 | 40.607143 | 0.791527 | 0.068602 | 0 | 0 | 0 | 0 | 0.006705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.833333 | 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 |
832d3a12a0d9415b915bf8ece7ba8ae7b917e6e7 | 44 | py | Python | curator/_version.py | uzhinskiy/curator-opensearch | 5bc27874cb6caab67945cf0fe8f8ad9ce6aefbc8 | [
"Apache-2.0"
] | 8 | 2021-11-10T15:15:16.000Z | 2022-03-10T10:09:50.000Z | curator/_version.py | uzhinskiy/curator-opensearch | 5bc27874cb6caab67945cf0fe8f8ad9ce6aefbc8 | [
"Apache-2.0"
] | 1 | 2021-11-18T11:28:44.000Z | 2021-11-21T09:30:54.000Z | curator/_version.py | uzhinskiy/curator-opensearch | 5bc27874cb6caab67945cf0fe8f8ad9ce6aefbc8 | [
"Apache-2.0"
] | 3 | 2022-01-28T18:40:38.000Z | 2022-03-22T18:40:59.000Z | """Curator Version"""
__version__ = '0.0.5'
| 14.666667 | 21 | 0.636364 | 6 | 44 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.113636 | 44 | 2 | 22 | 22 | 0.538462 | 0.340909 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
833584b0bd037e4bc290950d14c6d36678cdfe27 | 132 | py | Python | setup.py | tomi77/bizzfuzz | a7b123889fd3833c174b1fda3e0eb8b0617484e8 | [
"MIT"
] | null | null | null | setup.py | tomi77/bizzfuzz | a7b123889fd3833c174b1fda3e0eb8b0617484e8 | [
"MIT"
] | null | null | null | setup.py | tomi77/bizzfuzz | a7b123889fd3833c174b1fda3e0eb8b0617484e8 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name="bizzfuzz",
author="Tomasz Jakub Rup",
author_email="tomasz.rup@gmail.com",
)
| 16.5 | 40 | 0.689394 | 17 | 132 | 5.294118 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 132 | 7 | 41 | 18.857143 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
833bcd35a2f17d100014cb213fc5d7d3bf9b2de3 | 968 | py | Python | CI-Python-master/qa327_test/backend/test_backend.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | null | null | null | CI-Python-master/qa327_test/backend/test_backend.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | 6 | 2020-11-19T22:13:59.000Z | 2020-12-17T03:58:03.000Z | CI-Python-master/qa327_test/backend/test_backend.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | null | null | null | import pytest
from qa327.models import db, User
from werkzeug.security import generate_password_hash, check_password_hash
from qa327.backend import login_user
from qa327.backend import register_user
from qa327.backend import get_user
from qa327.backend import get_ticket
from qa327.backend import add_ticket
def test_lo... | 35.851852 | 94 | 0.752066 | 132 | 968 | 5.242424 | 0.287879 | 0.078035 | 0.115607 | 0.15896 | 0.199422 | 0.083815 | 0 | 0 | 0 | 0 | 0 | 0.037759 | 0.15186 | 968 | 26 | 95 | 37.230769 | 0.805116 | 0.051653 | 0 | 0 | 1 | 0 | 0.23388 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0.25 | 0.4 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
835e907526f628b1819ff3b49b7d0d95fe00b15b | 525 | py | Python | django/contrib/gis/db/models/__init__.py | fizista/django | 16f3a6a4c7bab11644d11c2be029374e5095cb56 | [
"BSD-3-Clause"
] | 2 | 2016-09-27T09:30:19.000Z | 2016-10-17T01:47:43.000Z | env/lib/python2.7/site-packages/django/contrib/gis/db/models/__init__.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 10 | 2019-12-26T17:31:31.000Z | 2022-03-21T22:17:33.000Z | env/lib/python2.7/site-packages/django/contrib/gis/db/models/__init__.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 1 | 2020-12-24T01:28:30.000Z | 2020-12-24T01:28:30.000Z | # Want to get everything from the 'normal' models package.
from django.db.models import * # NOQA
# Geographic aggregate functions
from django.contrib.gis.db.models.aggregates import * # NOQA
# The GeoManager
from django.contrib.gis.db.models.manager import GeoManager # NOQA
# The geographic-enabled fields.
from d... | 35 | 67 | 0.784762 | 60 | 525 | 6.866667 | 0.516667 | 0.097087 | 0.123786 | 0.145631 | 0.203884 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 525 | 14 | 68 | 37.5 | 0.909492 | 0.291429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
83676fb25dcd80b7e797c2d83e0220a13de35b45 | 136 | py | Python | src/funky_collections/__init__.py | erinxocon/funky-collections | 719ef32d818df1e3144b54bd1c0540c147f948d6 | [
"MIT"
] | null | null | null | src/funky_collections/__init__.py | erinxocon/funky-collections | 719ef32d818df1e3144b54bd1c0540c147f948d6 | [
"MIT"
] | null | null | null | src/funky_collections/__init__.py | erinxocon/funky-collections | 719ef32d818df1e3144b54bd1c0540c147f948d6 | [
"MIT"
] | null | null | null | from .immutable import ImmutableFixedList, ImmutableList
from .mutable import MutableFixedList, MutableList
__version__ = "0.1.0.dev0"
| 27.2 | 56 | 0.823529 | 15 | 136 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.102941 | 136 | 4 | 57 | 34 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55cbf0bced4ab9beb31d4975ed594483f87e72a8 | 20 | py | Python | ABLIRC/bin/ablib/__init__.py | ablifedev/ABLIRC | 875278b748a8e22ada2c76c3c76dbf970be4a6a4 | [
"MIT"
] | 1 | 2020-02-25T13:08:20.000Z | 2020-02-25T13:08:20.000Z | ABLIRC/bin/__init__.py | ablifedev/ABLIRC | 875278b748a8e22ada2c76c3c76dbf970be4a6a4 | [
"MIT"
] | 1 | 2020-02-25T13:16:03.000Z | 2020-02-25T13:16:03.000Z | ABLIRC/bin/ablib/pipeline/__init__.py | ablifedev/ABLIRC | 875278b748a8e22ada2c76c3c76dbf970be4a6a4 | [
"MIT"
] | null | null | null | __author__ = 'cheng' | 20 | 20 | 0.75 | 2 | 20 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
55cf645764b171e0f76241855b4f531e14759067 | 158 | py | Python | github_actions_test/__version__.py | esciara/github_actions_test | e5dc16ef2835893ea48f05ec0661a2594a08ea6c | [
"MIT"
] | null | null | null | github_actions_test/__version__.py | esciara/github_actions_test | e5dc16ef2835893ea48f05ec0661a2594a08ea6c | [
"MIT"
] | 16 | 2020-04-04T22:57:39.000Z | 2020-04-05T19:35:16.000Z | github_actions_test/__version__.py | esciara/github_actions_test | e5dc16ef2835893ea48f05ec0661a2594a08ea6c | [
"MIT"
] | null | null | null | # This file is automatically generated during the release process
# Do not edit manually
"""Version module for github_actions_test."""
__version__ = "0.2.0"
| 26.333333 | 65 | 0.765823 | 23 | 158 | 5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.14557 | 158 | 5 | 66 | 31.6 | 0.82963 | 0.791139 | 0 | 0 | 1 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
3615c8cacd580951f55a5edff59b46b217b88e19 | 471 | py | Python | api/admin.py | cmput404-ahyyy/FriendZone2 | 617881b5776100e89a796f687bb084ee853db1a6 | [
"Apache-2.0"
] | null | null | null | api/admin.py | cmput404-ahyyy/FriendZone2 | 617881b5776100e89a796f687bb084ee853db1a6 | [
"Apache-2.0"
] | 7 | 2020-02-11T23:52:31.000Z | 2022-02-10T09:10:58.000Z | api/admin.py | cmput404-ahyyy/FriendZone2 | 617881b5776100e89a796f687bb084ee853db1a6 | [
"Apache-2.0"
] | 1 | 2019-03-26T00:23:02.000Z | 2019-03-26T00:23:02.000Z | from django.contrib import admin
from .models import Author, FriendRequest,Friends,Post, Comment,VisibleToPost,Categories, Following,Node,Image
# Register your models here.
admin.site.register(Author)
admin.site.register(FriendRequest)
admin.site.register(Friends)
admin.site.register(Post)
admin.site.register(Comment)
... | 33.642857 | 110 | 0.832272 | 62 | 471 | 6.322581 | 0.322581 | 0.229592 | 0.433673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055202 | 471 | 13 | 111 | 36.230769 | 0.880899 | 0.055202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
362eb5e06dc574265c31d4005d985e7e38591c21 | 50 | py | Python | corere/main/__init__.py | Xarthisius/dataverse-corere | 016b80445c7b226ae7fb44d34daa84399b9acab6 | [
"MIT"
] | 9 | 2019-06-18T20:11:27.000Z | 2021-02-10T19:20:08.000Z | corere/main/__init__.py | Xarthisius/dataverse-corere | 016b80445c7b226ae7fb44d34daa84399b9acab6 | [
"MIT"
] | 9 | 2020-01-10T22:11:56.000Z | 2021-07-28T18:19:53.000Z | corere/main/__init__.py | Xarthisius/dataverse-corere | 016b80445c7b226ae7fb44d34daa84399b9acab6 | [
"MIT"
] | 2 | 2021-09-17T15:48:28.000Z | 2021-10-07T13:32:38.000Z | default_app_config = "corere.main.apps.MainConfig" | 50 | 50 | 0.84 | 7 | 50 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 50 | 1 | 50 | 50 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0.529412 | 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 |
363d108183f6395f8b0e5d98815943aed75c5a26 | 4,204 | py | Python | stile/data_handler.py | EiffL/Stile | 9d5bab3ccb47d3fb1b8fc98db3c0e03605ff0169 | [
"BSD-3-Clause"
] | 12 | 2015-09-18T20:31:27.000Z | 2020-04-08T10:58:57.000Z | stile/data_handler.py | EiffL/Stile | 9d5bab3ccb47d3fb1b8fc98db3c0e03605ff0169 | [
"BSD-3-Clause"
] | 71 | 2015-01-05T21:53:04.000Z | 2018-11-05T18:47:27.000Z | stile/data_handler.py | EiffL/Stile | 9d5bab3ccb47d3fb1b8fc98db3c0e03605ff0169 | [
"BSD-3-Clause"
] | 6 | 2017-06-23T21:41:39.000Z | 2020-10-30T14:38:22.000Z | """
data_handler.py: defines the classes that serve data to the various Stile systematics tests in the
default drivers.
"""
import os
import glob
class DataHandler:
"""
.. warning::
The behavior of this class is still under development; we do not suggest using or relying
on ``DataHandler`` insta... | 52.55 | 100 | 0.661751 | 587 | 4,204 | 4.683135 | 0.420784 | 0.007275 | 0.010186 | 0.015278 | 0.083303 | 0.083303 | 0.051291 | 0.051291 | 0.051291 | 0.051291 | 0 | 0 | 0.256422 | 4,204 | 79 | 101 | 53.21519 | 0.879399 | 0.74001 | 0 | 0.176471 | 0 | 0 | 0.008363 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0 | 0.529412 | 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 |
364ae6bc088f1daab67fa08d5fffadf9c9d8fd7f | 1,914 | py | Python | tests/test_pascals_triangle.py | KATO-Hiro/Somen-Soupy | d9a3f44a3f4ab1a491b8fb2ef151966cce4804b1 | [
"CC0-1.0"
] | 1 | 2021-05-04T01:33:17.000Z | 2021-05-04T01:33:17.000Z | tests/test_pascals_triangle.py | KATO-Hiro/Somen-Soupy | d9a3f44a3f4ab1a491b8fb2ef151966cce4804b1 | [
"CC0-1.0"
] | 113 | 2019-06-08T11:50:10.000Z | 2022-03-24T04:49:55.000Z | tests/test_pascals_triangle.py | KATO-Hiro/Somen-Soupy | d9a3f44a3f4ab1a491b8fb2ef151966cce4804b1 | [
"CC0-1.0"
] | null | null | null | import pytest
from snippets.math.pascals_triangle import calc_pascals_triangle
class TestNAryNumber:
@pytest.mark.parametrize(
("n_max", "expected"),
[
(1, [[1, 0], [1, 1]]),
(2, [[1, 0, 0], [1, 1, 0], [1, 2, 1]]),
(3, [[1, 0, 0, 0], [1, 1, 0, 0], [1, 2, 1, 0],... | 28.147059 | 74 | 0.280042 | 234 | 1,914 | 2.217949 | 0.153846 | 0.134875 | 0.115607 | 0.077071 | 0.39499 | 0.38343 | 0.344894 | 0.144509 | 0.109827 | 0.067437 | 0 | 0.206897 | 0.545455 | 1,914 | 67 | 75 | 28.567164 | 0.389655 | 0.001567 | 0 | 0.15873 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 1 | 0.031746 | false | 0 | 0.031746 | 0 | 0.079365 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
368204ea04c7080d4d403fa4c27651121fdf4713 | 3,522 | py | Python | assemblyline/odm/models/service_delta.py | cccs-douglass/assemblyline-base | b5c7cdbfcb02e4d34036a8eee445845c9cbcf132 | [
"MIT"
] | null | null | null | assemblyline/odm/models/service_delta.py | cccs-douglass/assemblyline-base | b5c7cdbfcb02e4d34036a8eee445845c9cbcf132 | [
"MIT"
] | null | null | null | assemblyline/odm/models/service_delta.py | cccs-douglass/assemblyline-base | b5c7cdbfcb02e4d34036a8eee445845c9cbcf132 | [
"MIT"
] | null | null | null | from assemblyline import odm
@odm.model(index=False, store=False)
class EnvironmentVariable(odm.Model):
name = odm.Keyword()
value = odm.Keyword()
@odm.model(index=False, store=False)
class DockerConfigDelta(odm.Model):
allow_internet_access = odm.Optional(odm.Boolean())
command = odm.Optional(odm.L... | 38.703297 | 102 | 0.72544 | 424 | 3,522 | 5.933962 | 0.228774 | 0.201113 | 0.255962 | 0.133545 | 0.356121 | 0.254769 | 0.185612 | 0.081876 | 0.034181 | 0 | 0 | 0 | 0.124645 | 3,522 | 90 | 103 | 39.133333 | 0.816088 | 0.018455 | 0 | 0.134328 | 0 | 0 | 0.01563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.014925 | 0.014925 | 0 | 0.880597 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
368c43418255f90d1d715c7e0598c26769650214 | 132 | py | Python | VideoExample.py | jovil210/lab2_logiciel | 0bc3e9279322c71bfa813a3e9c963d5cd7764b1a | [
"MIT"
] | null | null | null | VideoExample.py | jovil210/lab2_logiciel | 0bc3e9279322c71bfa813a3e9c963d5cd7764b1a | [
"MIT"
] | null | null | null | VideoExample.py | jovil210/lab2_logiciel | 0bc3e9279322c71bfa813a3e9c963d5cd7764b1a | [
"MIT"
] | null | null | null | from Playback.x64.Release import Playback
def main():
Playback.play_video("Example.avi")
if __name__ == "__main__":
main() | 18.857143 | 41 | 0.704545 | 17 | 132 | 4.941176 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.159091 | 132 | 7 | 42 | 18.857143 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
369a40b23690fd5dc8eecd1366ebd003911857de | 125 | py | Python | plugins/event_examples/__init__.py | Someguy123/Cardinal | 10cd2f903670d5508a3824a4c8b0a36485ab9ef6 | [
"MIT"
] | null | null | null | plugins/event_examples/__init__.py | Someguy123/Cardinal | 10cd2f903670d5508a3824a4c8b0a36485ab9ef6 | [
"MIT"
] | null | null | null | plugins/event_examples/__init__.py | Someguy123/Cardinal | 10cd2f903670d5508a3824a4c8b0a36485ab9ef6 | [
"MIT"
] | null | null | null | # Plugin author
__author__ = 'John Maguire'
# Plugin homepage
__url__ = 'https://github.com/JohnMaguire2013/Cardinal/'
| 20.833333 | 57 | 0.728 | 13 | 125 | 6.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.152 | 125 | 5 | 58 | 25 | 0.745283 | 0.232 | 0 | 0 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
36a5b1824ddf8b3d3464a89a0e3f625c076379c8 | 590 | py | Python | zcrmsdk/src/com/zoho/crm/api/send_mail/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/send_mail/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/send_mail/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | from .template import Template
from .action_wrapper import ActionWrapper
from .data_subject_request import DataSubjectRequest
from .mail import Mail
from .send_mail_operations import SendMailOperations
from .user_address import UserAddress
from .body_wrapper import BodyWrapper
from .api_exception import APIException
fr... | 39.333333 | 52 | 0.881356 | 70 | 590 | 7.228571 | 0.471429 | 0.059289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094915 | 590 | 14 | 53 | 42.142857 | 0.947566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
36a713560786f2358dda080e76c19a583f7d7dac | 306 | py | Python | chapter-05/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-05/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-05/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | x = False
y = True
# a. Write an expression that produces True iff both variables are True.
print((x and not y) or (y and not x))
# b. Write an expression that produces True iff x is False.
print(not x)
# c. Write an expression that produces True iff at least one of the variables is True.
print(x or y) | 27.818182 | 86 | 0.722222 | 60 | 306 | 3.683333 | 0.433333 | 0.095023 | 0.230769 | 0.285068 | 0.488688 | 0.488688 | 0.488688 | 0 | 0 | 0 | 0 | 0 | 0.20915 | 306 | 11 | 87 | 27.818182 | 0.913223 | 0.696078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
36b75809bff535e1115b7fa27eb7844eaf38fd9c | 371 | py | Python | src/utils/version.py | mazurwiktor/albion-online-stats | c582677329956026aef9aeeb973718cae646f22b | [
"Apache-2.0",
"MIT"
] | 156 | 2019-09-15T19:56:00.000Z | 2022-03-26T14:36:36.000Z | src/utils/version.py | mazurwiktor/albion-online-stats | c582677329956026aef9aeeb973718cae646f22b | [
"Apache-2.0",
"MIT"
] | 84 | 2019-09-15T20:02:26.000Z | 2022-03-16T21:15:01.000Z | src/utils/version.py | mazurwiktor/albion-online-stats | c582677329956026aef9aeeb973718cae646f22b | [
"Apache-2.0",
"MIT"
] | 60 | 2019-11-15T17:23:21.000Z | 2022-03-17T04:53:04.000Z | import os
import requests
from ..version import version
latest_url = "https://github.com/mazurwiktor/albion-online-stats/releases/latest"
def get_version():
return version
def latest_version():
req = requests.get(latest_url)
if req.status_code == 200:
return os.path.basename(req.url)
retur... | 16.863636 | 81 | 0.716981 | 50 | 371 | 5.2 | 0.54 | 0.069231 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.183288 | 371 | 21 | 82 | 17.666667 | 0.848185 | 0 | 0 | 0.153846 | 0 | 0 | 0.177898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 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 |
36bc41433868afa94a4fffcb916bae4aa378630f | 10,764 | py | Python | pypenelopetools/pencyl/results.py | pymontecarlo/pypenelopetools | ff19e2a9d46726f6044e6e6acbcc02b3abeffff1 | [
"Apache-2.0"
] | 3 | 2020-09-03T14:46:40.000Z | 2021-06-29T07:54:12.000Z | pypenelopetools/pencyl/results.py | pymontecarlo/pypenelopetools | ff19e2a9d46726f6044e6e6acbcc02b3abeffff1 | [
"Apache-2.0"
] | 4 | 2016-12-18T11:30:12.000Z | 2021-12-29T16:31:06.000Z | pypenelopetools/pencyl/results.py | pymontecarlo/pypenelopetools | ff19e2a9d46726f6044e6e6acbcc02b3abeffff1 | [
"Apache-2.0"
] | 1 | 2017-11-29T15:41:36.000Z | 2017-11-29T15:41:36.000Z | """
Results of PENEPMA simulation.
"""
# Standard library modules.
import os
# Third party modules.
from uncertainties import ufloat, unumpy
import numpy as np
import pyxray
# Local modules.
from pypenelopetools.penelope.result import PenelopeResultBase
from pypenelopetools.penelope.enums import KPAR
# Globals and ... | 43.578947 | 87 | 0.682553 | 1,280 | 10,764 | 5.450781 | 0.129688 | 0.019779 | 0.017199 | 0.025799 | 0.800201 | 0.775262 | 0.706894 | 0.651713 | 0.584492 | 0.533037 | 0 | 0.016693 | 0.237551 | 10,764 | 246 | 88 | 43.756098 | 0.833435 | 0.329246 | 0 | 0.297101 | 0 | 0 | 0.057521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.043478 | 0 | 0.07971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36c86a220315c93c4c9f4cb7d2f854e0cffe0c96 | 453 | py | Python | models/user.py | Zelipha/AirBnB_clone | 518894fdf738e722c24dad0d34f831b4bf7ba88d | [
"MIT"
] | null | null | null | models/user.py | Zelipha/AirBnB_clone | 518894fdf738e722c24dad0d34f831b4bf7ba88d | [
"MIT"
] | null | null | null | models/user.py | Zelipha/AirBnB_clone | 518894fdf738e722c24dad0d34f831b4bf7ba88d | [
"MIT"
] | 1 | 2022-02-03T08:31:44.000Z | 2022-02-03T08:31:44.000Z | #!/usr/bin/python3
"""Defines a class User"""
from models.base_model import BaseModel
class User(BaseModel):
"""Represents a class that inherits from BaseModel
Public class attributes:
email: string - empty string
password: string - empty string
first_name: string - empty... | 22.65 | 54 | 0.611479 | 50 | 453 | 5.44 | 0.5 | 0.161765 | 0.25 | 0.154412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.295806 | 453 | 19 | 55 | 23.842105 | 0.84953 | 0.556291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
36cb8400cf534e0821f4560916efa5284d4d4121 | 261 | py | Python | new_test.py | kingsam91/Habari-zote | ab6e41bc37cfa86d319c1fd26e868c32e3712a26 | [
"Unlicense"
] | null | null | null | new_test.py | kingsam91/Habari-zote | ab6e41bc37cfa86d319c1fd26e868c32e3712a26 | [
"Unlicense"
] | null | null | null | new_test.py | kingsam91/Habari-zote | ab6e41bc37cfa86d319c1fd26e868c32e3712a26 | [
"Unlicense"
] | null | null | null | from news import News # Importing the contact class
class TestNews(unittest.TestCase):
'''
Test class that defines test cases for the news class behaviours.
Args:
unittest.TestCase: TestCase class that helps in creating test cases
''' | 26.1 | 75 | 0.712644 | 34 | 261 | 5.470588 | 0.588235 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229885 | 261 | 10 | 76 | 26.1 | 0.925373 | 0.662835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
36ed9cfc4b31a7c18724ed1f983e2b10eb7d5075 | 1,252 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NVX/linked_gpu_multicast.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NVX/linked_gpu_multicast.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NVX/linked_gpu_multicast.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import... | 50.08 | 202 | 0.807508 | 194 | 1,252 | 4.835052 | 0.443299 | 0.059701 | 0.076759 | 0.089552 | 0.38806 | 0.153518 | 0.095949 | 0.095949 | 0.095949 | 0.095949 | 0 | 0.006938 | 0.079073 | 1,252 | 24 | 203 | 52.166667 | 0.806592 | 0.079872 | 0 | 0.15 | 1 | 0 | 0.094558 | 0.076717 | 0 | 0 | 0.010705 | 0 | 0 | 1 | 0.2 | false | 0.15 | 0.3 | 0.05 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
36fa6e34033509672f0242ac85f07054f7acd582 | 538 | py | Python | src/jobsbundle/job/Router.py | daipe-ai/jobs-bundle | f37459c2a7e52a2b9da0f192106a352df4fa777a | [
"MIT"
] | null | null | null | src/jobsbundle/job/Router.py | daipe-ai/jobs-bundle | f37459c2a7e52a2b9da0f192106a352df4fa777a | [
"MIT"
] | null | null | null | src/jobsbundle/job/Router.py | daipe-ai/jobs-bundle | f37459c2a7e52a2b9da0f192106a352df4fa777a | [
"MIT"
] | null | null | null | class Router:
def __init__(
self,
databricks_url: str,
routes: dict,
):
self.__databricks_url = databricks_url
self.__routes = routes
def generate_url(self, route_name: str, **kwargs):
if route_name not in self.__routes:
raise Exception(f"Route no... | 31.647059 | 114 | 0.64684 | 65 | 538 | 4.876923 | 0.384615 | 0.328076 | 0.268139 | 0.14511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004963 | 0.250929 | 538 | 16 | 115 | 33.625 | 0.781638 | 0 | 0 | 0 | 1 | 0 | 0.05948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36fc6e8ad2ae01f31c61a039701e70915a3df20e | 673 | py | Python | mercury_ml/tensorflow/model_loading.py | mercury-ml-team/mercury-ml | 8d27816490f0be46f871e889e4635e9223b7044c | [
"MIT"
] | 43 | 2019-02-01T15:22:09.000Z | 2020-02-21T12:51:42.000Z | mercury_ml/tensorflow/model_loading.py | mercury-ml-team/mercury-ml | 8d27816490f0be46f871e889e4635e9223b7044c | [
"MIT"
] | 17 | 2019-02-15T12:52:18.000Z | 2019-05-09T15:42:51.000Z | mercury_ml/tensorflow/model_loading.py | mercury-ml-team/mercury-ml | 8d27816490f0be46f871e889e4635e9223b7044c | [
"MIT"
] | 12 | 2019-02-02T16:48:10.000Z | 2019-12-16T15:40:15.000Z | def load_hdf5_model(local_dir, filename, extension=".h5", custom_objects=None):
"""
Loads a Keras model that was saved in ".h5" format
:param string local_dir: Local directory where the model is saved
:param string filename: Filename with which the model is saved
:param string extension: Extension ... | 51.769231 | 127 | 0.744428 | 98 | 673 | 5 | 0.438776 | 0.132653 | 0.061224 | 0.091837 | 0.338776 | 0.216327 | 0.15102 | 0.15102 | 0 | 0 | 0 | 0.005505 | 0.190193 | 673 | 12 | 128 | 56.083333 | 0.893578 | 0.606241 | 0 | 0 | 0 | 0 | 0.017467 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7fdc82f9f8d61f9dd8a2d66ef5428c46d82a3350 | 359 | py | Python | data/resources_list.py | mavrukin/CIJE_Base | 722d037fd659286c6295c2eea2f447a057315278 | [
"Apache-2.0"
] | null | null | null | data/resources_list.py | mavrukin/CIJE_Base | 722d037fd659286c6295c2eea2f447a057315278 | [
"Apache-2.0"
] | null | null | null | data/resources_list.py | mavrukin/CIJE_Base | 722d037fd659286c6295c2eea2f447a057315278 | [
"Apache-2.0"
] | 5 | 2018-03-05T18:42:31.000Z | 2018-03-18T15:51:31.000Z | from resource import Resource
jewish_resources = [
Resource("Feed Me Now", "restaurant", "123 1st Street, New York, NY - 555-5555", 123.123, -123.123, "stub"),
Resource("Daven Now", "shul", "234 2nd Street, New York, NY - 444-4444", 44.55, 44.55, "stub 2"),
Resource("Buy Now", "store", "345 3rd Street, New York,... | 44.875 | 110 | 0.643454 | 59 | 359 | 3.898305 | 0.627119 | 0.117391 | 0.169565 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200669 | 0.167131 | 359 | 7 | 111 | 51.285714 | 0.568562 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7fee7e6b122c3520dc258014cd009cc3cbc97453 | 2,698 | py | Python | Python/BowlingGame/test/test_tdd_bowling_game.py | wallezen/learn-tdd | 8705873c2f8d188ee9c98e0e4caf86c285843dc5 | [
"Apache-2.0"
] | null | null | null | Python/BowlingGame/test/test_tdd_bowling_game.py | wallezen/learn-tdd | 8705873c2f8d188ee9c98e0e4caf86c285843dc5 | [
"Apache-2.0"
] | null | null | null | Python/BowlingGame/test/test_tdd_bowling_game.py | wallezen/learn-tdd | 8705873c2f8d188ee9c98e0e4caf86c285843dc5 | [
"Apache-2.0"
] | null | null | null | '''
Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
@File: test_tdd_bowling_game.py
@File Created: 2019-06-17 11:30:06
@Author: judezhang (judezhang@tencent.com)
@Last Modified: 2019-06-17 11:30:26
@Modified By: judezhang (judezhang@tencent.com)
@Brief: python -m unittest -v test_tdd_bowlin... | 25.45283 | 75 | 0.670497 | 367 | 2,698 | 4.485014 | 0.258856 | 0.240583 | 0.300729 | 0.300122 | 0.519441 | 0.439854 | 0.348724 | 0.207776 | 0.207776 | 0.123937 | 0 | 0.05226 | 0.21275 | 2,698 | 105 | 76 | 25.695238 | 0.722693 | 0.12046 | 0 | 0.4 | 0 | 0 | 0.006521 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.166667 | false | 0 | 0.05 | 0 | 0.233333 | 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 |
3d0394e85b72d1abb8d9f1baf0f9647381ab9e98 | 27,825 | gyp | Python | cc/cc.gyp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | cc/cc.gyp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/cc.gyp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
# GN version: //cc
'target_name': 'cc',
'type': '<(component)',
... | 38.861732 | 100 | 0.642228 | 3,249 | 27,825 | 5.146814 | 0.114805 | 0.018419 | 0.009329 | 0.011183 | 0.344935 | 0.126959 | 0.040486 | 0.040486 | 0.040486 | 0.029781 | 0 | 0.000931 | 0.228356 | 27,825 | 715 | 101 | 38.916084 | 0.777886 | 0.012471 | 0 | 0.068085 | 0 | 0 | 0.692879 | 0.626001 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.009929 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d1520540194e277b10cc0d120ef64d9a250ef00 | 441 | py | Python | triangles.py | amirh357/Python | 4fa2368cd74223bcae9a1f615de32523ea3be28c | [
"MIT"
] | null | null | null | triangles.py | amirh357/Python | 4fa2368cd74223bcae9a1f615de32523ea3be28c | [
"MIT"
] | null | null | null | triangles.py | amirh357/Python | 4fa2368cd74223bcae9a1f615de32523ea3be28c | [
"MIT"
] | null | null | null | max_size = 10
print(
"(a)" + " " * (max_size) +
"(b)" + " " * (max_size) +
"(c)" + " " * (max_size) +
"(d)" + " " * (max_size)
)
for i in range(1, max_size + 1):
print("*" * i, end = " " * (max_size - i + 3))
print("*" * (max_size - i + 1), end = " " * (i - 1 + 3))
print(" " * (i - ... | 19.173913 | 66 | 0.385488 | 58 | 441 | 2.758621 | 0.310345 | 0.4375 | 0.2 | 0.1625 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037415 | 0.333333 | 441 | 22 | 67 | 20.045455 | 0.506803 | 0 | 0 | 0 | 0 | 0 | 0.100228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.384615 | 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 |
3d210f72ac74a0555d2bc9670020fd81fef8239f | 9,253 | py | Python | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/dec.py | changeworld/mu_basecore | 1a883ec85d8d2f49663c76e1a1bc5068333f5508 | [
"BSD-2-Clause"
] | 1 | 2019-03-19T04:11:31.000Z | 2019-03-19T04:11:31.000Z | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/dec.py | HouQiming/edk2 | ba07eef98ec49068d6453aba2aed73f6e7d7f600 | [
"BSD-2-Clause"
] | null | null | null | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/dec.py | HouQiming/edk2 | ba07eef98ec49068d6453aba2aed73f6e7d7f600 | [
"BSD-2-Clause"
] | 1 | 2021-11-01T19:33:11.000Z | 2021-11-01T19:33:11.000Z | ## @file
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
# distribution. The full text of the license may be found at
# http://open... | 28.915625 | 100 | 0.588782 | 946 | 9,253 | 5.623679 | 0.192389 | 0.045113 | 0.057895 | 0.022368 | 0.408271 | 0.357707 | 0.330827 | 0.330827 | 0.330827 | 0.306391 | 0 | 0.005568 | 0.301308 | 9,253 | 319 | 101 | 29.00627 | 0.817324 | 0.05555 | 0 | 0.502146 | 0 | 0 | 0.023557 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 1 | 0.223176 | false | 0 | 0.012876 | 0.124464 | 0.519313 | 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 |
3d2a6f23858740c36008f6f10a0678ca99592846 | 186 | py | Python | src/scene/common.py | Speterius/ray_tracing | 28fe3bd20ba312266e7802d456ab267135ffa28f | [
"MIT"
] | 3 | 2019-08-12T08:54:04.000Z | 2021-04-04T21:07:00.000Z | src/scene/common.py | Speterius/ray_tracing | 28fe3bd20ba312266e7802d456ab267135ffa28f | [
"MIT"
] | 4 | 2019-08-08T14:50:34.000Z | 2021-10-21T08:32:19.000Z | src/scene/common.py | Speterius/ray_tracing | 28fe3bd20ba312266e7802d456ab267135ffa28f | [
"MIT"
] | null | null | null | from typing import Union, List, Tuple
import numpy as np
# Typing aliases:
Vector3D = Union[np.ndarray, list, Tuple[float, float, float]]
Color = Union[List[int], Tuple[int, int, int]]
| 26.571429 | 62 | 0.725806 | 29 | 186 | 4.655172 | 0.517241 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.145161 | 186 | 6 | 63 | 31 | 0.842767 | 0.080645 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.