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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba490d4877bafd5848a7c2fb4756bf9df9a9c0c2 | 29 | py | Python | tools/rnahmm/scripts/__init__.py | fplaza/CAMISIM | 4f2ab5e94773a355210568be946e732df7437cb6 | [
"Apache-2.0"
] | 88 | 2017-11-20T01:30:40.000Z | 2022-03-31T07:29:25.000Z | tools/rnahmm/scripts/__init__.py | fplaza/CAMISIM | 4f2ab5e94773a355210568be946e732df7437cb6 | [
"Apache-2.0"
] | 121 | 2017-11-15T09:03:38.000Z | 2022-03-24T09:50:59.000Z | tools/rnahmm/scripts/__init__.py | fplaza/CAMISIM | 4f2ab5e94773a355210568be946e732df7437cb6 | [
"Apache-2.0"
] | 35 | 2017-12-14T08:19:40.000Z | 2022-03-03T11:26:46.000Z | __author__ = 'Peter Hofmann'
| 14.5 | 28 | 0.758621 | 3 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 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 |
ba49177be4c4496427d13bd08e378fb18fb3f411 | 158 | py | Python | kehadiran/apps.py | dirtaputra/Django | ba55964865ea910d00d1d469445afdc7ed40818d | [
"BSD-2-Clause"
] | null | null | null | kehadiran/apps.py | dirtaputra/Django | ba55964865ea910d00d1d469445afdc7ed40818d | [
"BSD-2-Clause"
] | null | null | null | kehadiran/apps.py | dirtaputra/Django | ba55964865ea910d00d1d469445afdc7ed40818d | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class KehadiranConfig(AppConfig):
name = 'kehadiran'
| 17.555556 | 39 | 0.740506 | 18 | 158 | 6.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.158228 | 158 | 8 | 40 | 19.75 | 0.834586 | 0.132911 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ba7ea537bf68461b15edb256e6ed42cc19dc0a31 | 556 | py | Python | src/linked_list/tests/test_circular_linked_list.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | src/linked_list/tests/test_circular_linked_list.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | src/linked_list/tests/test_circular_linked_list.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | from linked_list.circular_linked_list import CircularLinkedList
def test_exists():
"""
if CircularLinkedList class exists or not
"""
assert CircularLinkedList
def test_instantiation():
"""
if we can instantiate empty CircularLinkedList
"""
assert CircularLinkedList()
def test_push(... | 18.533333 | 63 | 0.672662 | 66 | 556 | 5.545455 | 0.484848 | 0.081967 | 0.204918 | 0.169399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009501 | 0.242806 | 556 | 29 | 64 | 19.172414 | 0.859857 | 0.260791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba8a94e5d18e8ce51207d853336d1bbbf7e1c1cf | 218 | py | Python | insolvenzen/data/normalize.py | wdr-data/insolvenzen | 517e7789f3db0073dc70f9baa6b6b11c0d143609 | [
"MIT"
] | 2 | 2020-12-07T12:03:13.000Z | 2021-11-09T11:01:54.000Z | insolvenzen/data/normalize.py | wdr-data/insolvenzen | 517e7789f3db0073dc70f9baa6b6b11c0d143609 | [
"MIT"
] | null | null | null | insolvenzen/data/normalize.py | wdr-data/insolvenzen | 517e7789f3db0073dc70f9baa6b6b11c0d143609 | [
"MIT"
] | null | null | null | # Define how to normalize some names like districts etc.
def district(name):
return (
name.replace(", Stadt", "")
.replace(" der FernUniversität", "")
.replace(", Klingenstadt", "")
)
| 21.8 | 56 | 0.577982 | 21 | 218 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270642 | 218 | 9 | 57 | 24.222222 | 0.792453 | 0.247706 | 0 | 0 | 0 | 0 | 0.253086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 3 |
baa55847cc0719495b88deacd7b6a04111e9c550 | 103 | py | Python | utensor_cgen/__init__.py | ufo2011/utensor_cgen | 210bb530e7a532fbb9898f7df65f692e2f48f046 | [
"Apache-2.0"
] | null | null | null | utensor_cgen/__init__.py | ufo2011/utensor_cgen | 210bb530e7a532fbb9898f7df65f692e2f48f046 | [
"Apache-2.0"
] | null | null | null | utensor_cgen/__init__.py | ufo2011/utensor_cgen | 210bb530e7a532fbb9898f7df65f692e2f48f046 | [
"Apache-2.0"
] | null | null | null | import pkg_resources
__version__ = (
pkg_resources
.get_distribution('utensor_cgen')
.version
)
| 12.875 | 35 | 0.757282 | 11 | 103 | 6.363636 | 0.727273 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 7 | 36 | 14.714286 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bab3acb13a88fb37ea20bcbe33bb523d176b528b | 821 | py | Python | epic/utils/bounding_box.py | AlphonsG/EPIC-BBox-Cell-Tracking | 6260afeb96fa621d56430ab2632f624b13628a26 | [
"MIT"
] | null | null | null | epic/utils/bounding_box.py | AlphonsG/EPIC-BBox-Cell-Tracking | 6260afeb96fa621d56430ab2632f624b13628a26 | [
"MIT"
] | null | null | null | epic/utils/bounding_box.py | AlphonsG/EPIC-BBox-Cell-Tracking | 6260afeb96fa621d56430ab2632f624b13628a26 | [
"MIT"
] | null | null | null | from math import ceil
from epic.utils.point import Point
class BoundingBox(Point):
def __init__(self, coords, frame, frame_num, score=None):
x1, y1, x2, y2 = coords
cen_x, cen_y = ((x2 - x1) / 2 + x1, (y2 - y1) / 2 + y1)
super().__init__((cen_x, cen_y), frame_num, score)
self._wid... | 23.457143 | 68 | 0.584653 | 114 | 821 | 3.973684 | 0.289474 | 0.121413 | 0.154525 | 0.03532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.293544 | 821 | 34 | 69 | 24.147059 | 0.739655 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.192308 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bab600df9de7f4bc89396f24fdb2ec73c3d4d9d6 | 4,809 | py | Python | tsip/hlapi.py | ZigmundRat/python-TSIP | 79414f212e0253716298f14a22f29a124e48fb51 | [
"BSD-2-Clause"
] | 7 | 2015-05-06T13:06:53.000Z | 2019-12-11T11:05:25.000Z | tsip/hlapi.py | ZigmundRat/python-TSIP | 79414f212e0253716298f14a22f29a124e48fb51 | [
"BSD-2-Clause"
] | 35 | 2015-06-17T21:51:07.000Z | 2021-12-07T20:05:25.000Z | tsip/hlapi.py | ZigmundRat/python-TSIP | 79414f212e0253716298f14a22f29a124e48fb51 | [
"BSD-2-Clause"
] | 10 | 2015-08-12T09:40:12.000Z | 2022-02-09T10:58:12.000Z | # -*- coding: utf-7 -*-
"""
High-level API.
"""
import struct
import binascii
from tsip.config import *
from tsip.llapi import *
from tsip.structs import *
class PackError(Exception):
def __init__(self, packet):
self.packet = packet
def __repr__(self):
return 'unable to pack packet %s' % (... | 26.865922 | 85 | 0.565606 | 581 | 4,809 | 4.538726 | 0.313253 | 0.08722 | 0.006826 | 0.010239 | 0.132727 | 0.113007 | 0.092529 | 0.092529 | 0.092529 | 0.032613 | 0 | 0.018255 | 0.327927 | 4,809 | 178 | 86 | 27.016854 | 0.797649 | 0.412768 | 0 | 0.231884 | 0 | 0 | 0.012365 | 0 | 0 | 0 | 0.001546 | 0.005618 | 0 | 1 | 0.231884 | false | 0.028986 | 0.072464 | 0.101449 | 0.536232 | 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 |
bac3723f066c94910a8d8532890a50acfad3ceab | 76 | py | Python | venv/Lib/site-packages/whitenoise/__init__.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | null | null | null | venv/Lib/site-packages/whitenoise/__init__.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | venv/Lib/site-packages/whitenoise/__init__.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | null | null | null | from .base import WhiteNoise
__version__ = '3.0'
__all__ = ['WhiteNoise']
| 12.666667 | 28 | 0.710526 | 9 | 76 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.157895 | 76 | 5 | 29 | 15.2 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 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 |
bacaf012428a9abc357eeb216d657a0a52aa38c0 | 2,173 | py | Python | src/find_file_name.py | tw-yshuang/NTUT_2020_MVA_0618_Group-Project | fc24657b5d0cc0d03e84321a40eb772a6aedb224 | [
"MIT"
] | null | null | null | src/find_file_name.py | tw-yshuang/NTUT_2020_MVA_0618_Group-Project | fc24657b5d0cc0d03e84321a40eb772a6aedb224 | [
"MIT"
] | null | null | null | src/find_file_name.py | tw-yshuang/NTUT_2020_MVA_0618_Group-Project | fc24657b5d0cc0d03e84321a40eb772a6aedb224 | [
"MIT"
] | null | null | null | from os import walk
from os import mknod
import glob
def get_filenames(path, file_extension, isImported=False):
file_extension = '/*.{}'.format(file_extension)
filenames = []
if isImported is True:
imported_root_ls = read_imported_root_from_txt()
else:
imported_root_ls = []
f... | 29.364865 | 68 | 0.6185 | 255 | 2,173 | 4.898039 | 0.254902 | 0.2498 | 0.128102 | 0.070456 | 0.326661 | 0.264211 | 0.153723 | 0.100881 | 0 | 0 | 0 | 0.003881 | 0.288541 | 2,173 | 73 | 69 | 29.767123 | 0.80401 | 0 | 0 | 0.105263 | 0 | 0 | 0.064887 | 0.04694 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.491228 | 0 | 0.614035 | 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 |
baf46fa25b580c3c94dad8b7b5d8cf00d9415af9 | 131 | py | Python | alexa/config.py | jschmidtnj/healthtech19 | 06c0030d0adf3c50d80c88d60dd66d658d52fc94 | [
"MIT"
] | null | null | null | alexa/config.py | jschmidtnj/healthtech19 | 06c0030d0adf3c50d80c88d60dd66d658d52fc94 | [
"MIT"
] | 4 | 2021-06-08T20:40:24.000Z | 2022-03-12T00:09:32.000Z | alexa/config.py | jschmidtnj/healthtech19 | 06c0030d0adf3c50d80c88d60dd66d658d52fc94 | [
"MIT"
] | null | null | null | API_URL="https://healthhack19.appspot.com"
ALEXA_PASSWORD="test123"
USER_EMAIL="david@example.com"
ADD_HEATMAP_ENDPOINT="/heatmap"
| 26.2 | 42 | 0.816794 | 18 | 131 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.030534 | 131 | 4 | 43 | 32.75 | 0.76378 | 0 | 0 | 0 | 0 | 0 | 0.48855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
240351c116d45bbe28bb7a559add0c73c22e7f2d | 4,230 | py | Python | src/main_authenticated.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/main_authenticated.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/main_authenticated.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Green Valley Belgium NV
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 44.0625 | 102 | 0.80331 | 454 | 4,230 | 7.440529 | 0.345815 | 0.204263 | 0.21492 | 0.132623 | 0.113381 | 0.015986 | 0 | 0 | 0 | 0 | 0 | 0.003685 | 0.101891 | 4,230 | 95 | 103 | 44.526316 | 0.885496 | 0.143262 | 0 | 0 | 0 | 0 | 0.103965 | 0.08234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.394737 | 0 | 0.394737 | 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 |
2423e4af21560f39ab33802f03dff62439f1f36a | 347 | py | Python | extract_datasets.py | veintiocho/my-pytorch-i-revnet | 8276986898efb5eca8fe8a7a69ba504290e3683b | [
"MIT"
] | null | null | null | extract_datasets.py | veintiocho/my-pytorch-i-revnet | 8276986898efb5eca8fe8a7a69ba504290e3683b | [
"MIT"
] | null | null | null | extract_datasets.py | veintiocho/my-pytorch-i-revnet | 8276986898efb5eca8fe8a7a69ba504290e3683b | [
"MIT"
] | null | null | null | import torch
import torch.backends.cudnn as cudnn
from torch.autograd import Variable
import torchvision
import torchvision.transforms as transforms
import os
import sys
import time
import argparse
from models.utils_cifar import train, test, std, mean, get_hms, extract_feat
from models.iRevEncryptor import iRevEncry... | 18.263158 | 76 | 0.832853 | 50 | 347 | 5.72 | 0.56 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135447 | 347 | 18 | 77 | 19.277778 | 0.953333 | 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 |
245a83033208563cb9c5f3ad3b8992f15eea8a03 | 1,756 | py | Python | users/migrations/0004_auto_20190407_1707.py | rocky-roll-call/rrc-backend | 02e8e11c3dab7661e48650e2e861a4a97788a4ce | [
"MIT"
] | null | null | null | users/migrations/0004_auto_20190407_1707.py | rocky-roll-call/rrc-backend | 02e8e11c3dab7661e48650e2e861a4a97788a4ce | [
"MIT"
] | null | null | null | users/migrations/0004_auto_20190407_1707.py | rocky-roll-call/rrc-backend | 02e8e11c3dab7661e48650e2e861a4a97788a4ce | [
"MIT"
] | null | null | null | # Generated by Django 2.1.7 on 2019-04-07 17:07
from django.db import migrations, models
import sorl.thumbnail.fields
import users.models
class Migration(migrations.Migration):
dependencies = [("users", "0003_auto_20190402_0149")]
operations = [
migrations.AlterField(
model_name="profil... | 30.807018 | 88 | 0.575171 | 169 | 1,756 | 5.840237 | 0.366864 | 0.182371 | 0.227964 | 0.264438 | 0.555218 | 0.555218 | 0.312057 | 0.228977 | 0.14387 | 0.14387 | 0 | 0.033828 | 0.309795 | 1,756 | 56 | 89 | 31.357143 | 0.780528 | 0.025626 | 0 | 0.52 | 1 | 0 | 0.100644 | 0.013458 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79e4fb17cdbbaa14127194042ca9c5bb81f6fd4f | 415 | py | Python | example/gaokao_demo.py | solider245/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 1,179 | 2018-05-28T07:14:41.000Z | 2022-03-27T16:03:51.000Z | example/gaokao_demo.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 42 | 2018-07-05T02:44:56.000Z | 2022-03-29T12:12:30.000Z | example/gaokao_demo.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 297 | 2018-05-28T07:39:38.000Z | 2022-03-28T02:35:59.000Z | # encoding: utf-8
from opendatatools import gaokao
if __name__ == '__main__':
# 查询学校列表/模糊查询
#df, msg = gaokao.get_school_list('北京')
# 获取学校基本信息
#df, msg = gaokao.get_school_baseinfo('北京大学')
# 获取专业信息
#df, msg = gaokao.get_school_major('北京大学')
# 获取录取分数线信息
#df, msg = gaokao.get_school... | 17.291667 | 49 | 0.628916 | 54 | 415 | 4.5 | 0.537037 | 0.102881 | 0.226337 | 0.288066 | 0.329218 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.231325 | 415 | 23 | 50 | 18.043478 | 0.758621 | 0.544578 | 0 | 0 | 0 | 0 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
03220b34f9c90112d4f1fc4db20883773c7981c7 | 3,892 | py | Python | flask-app/tests/test_orion.py | RoboticBase/kcse2019-controller | da2205ed33b6d7e0895b93f0e0ecb95a45e8186f | [
"Apache-2.0"
] | null | null | null | flask-app/tests/test_orion.py | RoboticBase/kcse2019-controller | da2205ed33b6d7e0895b93f0e0ecb95a45e8186f | [
"Apache-2.0"
] | 4 | 2021-10-06T08:36:09.000Z | 2022-02-26T18:23:09.000Z | flask-app/tests/test_orion.py | RoboticBase/kcse2019-controller | da2205ed33b6d7e0895b93f0e0ecb95a45e8186f | [
"Apache-2.0"
] | null | null | null | import json
import importlib
import requests
from unittest.mock import call
import pytest
import lazy_import
orion = lazy_import.lazy_module('src.orion')
const = lazy_import.lazy_module('src.const')
@pytest.fixture
def mocked_requests(mocker):
orion.requests = mocker.MagicMock()
yield orion.requests
@pyt... | 35.381818 | 107 | 0.59815 | 423 | 3,892 | 5.295508 | 0.210402 | 0.11875 | 0.107143 | 0.057143 | 0.76875 | 0.748214 | 0.695536 | 0.695536 | 0.695536 | 0.695536 | 0 | 0.018345 | 0.285714 | 3,892 | 109 | 108 | 35.706422 | 0.78741 | 0.004111 | 0 | 0.736842 | 0 | 0 | 0.121064 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 1 | 0.042105 | false | 0 | 0.147368 | 0.010526 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03388b083768925f7ce75df5effb769096779c52 | 301 | py | Python | Yadu/generic/18.py | SrishtiGameLab/ema-virtual-worlds-s1c1ws-1617 | 483049e05ac032af4f3f2023c059eb8ffa3c369d | [
"MIT"
] | null | null | null | Yadu/generic/18.py | SrishtiGameLab/ema-virtual-worlds-s1c1ws-1617 | 483049e05ac032af4f3f2023c059eb8ffa3c369d | [
"MIT"
] | null | null | null | Yadu/generic/18.py | SrishtiGameLab/ema-virtual-worlds-s1c1ws-1617 | 483049e05ac032af4f3f2023c059eb8ffa3c369d | [
"MIT"
] | null | null | null | '''
lists - loops, create, append, pop
'''
my_units = ["games", "viscom", "banana"]
my_units.append("cake")
for item in my_units:
print item
print "----"
# list.pop(index) -
print "we are removing the item - " + my_units.pop(len(my_units) - 1)
print "----"
for item in my_units:
print item | 13.681818 | 69 | 0.631229 | 46 | 301 | 4 | 0.5 | 0.228261 | 0.097826 | 0.119565 | 0.271739 | 0.271739 | 0.271739 | 0 | 0 | 0 | 0 | 0.004082 | 0.186047 | 301 | 22 | 70 | 13.681818 | 0.746939 | 0.056478 | 0 | 0.666667 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.555556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0370b69d8e76d8a9cd0d1695b810a300e0cd6631 | 1,355 | py | Python | django_gotolong/broker/icidir/itxn/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/broker/icidir/itxn/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/broker/icidir/itxn/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.db import models
from django.contrib.auth.models import User # new
# Create your models here.
class BrokerIcidirTxn(models.Model):
bit_id = models.AutoField(primary_key=True)
bit_user = models.ForeignKey(User, on_delete=models.DO_NOTHING)
# bit_user_id = models.IntegerField(blank=True, null=... | 45.166667 | 77 | 0.741697 | 191 | 1,355 | 5.062827 | 0.303665 | 0.115822 | 0.215098 | 0.281282 | 0.560496 | 0.519131 | 0.482937 | 0.078594 | 0 | 0 | 0 | 0.000863 | 0.144649 | 1,355 | 29 | 78 | 46.724138 | 0.833477 | 0.062731 | 0 | 0 | 0 | 0 | 0.041864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.913043 | 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 |
cee8259700e614cee29bbe137175b93e79a4362e | 299 | py | Python | license_emailing_api/serializers.py | Max635/under-test | 04c1125612135b9e298253ab8cdccd1cb051f75a | [
"PostgreSQL"
] | 1 | 2021-02-11T18:10:27.000Z | 2021-02-11T18:10:27.000Z | license_emailing_api/serializers.py | Max635/under-test | 04c1125612135b9e298253ab8cdccd1cb051f75a | [
"PostgreSQL"
] | null | null | null | license_emailing_api/serializers.py | Max635/under-test | 04c1125612135b9e298253ab8cdccd1cb051f75a | [
"PostgreSQL"
] | null | null | null | from rest_framework import serializers
from .models import CustomerLicenseModel
class LicensesSerializer(serializers.ModelSerializer):
class Meta:
model = CustomerLicenseModel
fields = ['id', 'name', 'email', 'license_code', 'package_name', 'license_type', 'license_due_date']
| 33.222222 | 108 | 0.745819 | 30 | 299 | 7.233333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 299 | 8 | 109 | 37.375 | 0.857708 | 0 | 0 | 0 | 0 | 0 | 0.210702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cef5ab477f114b1b2eb338cca6c56189f4ffe5e0 | 1,069 | py | Python | tools/Canvas/Canvas/__init__.py | Oshlack/Slinker | 725d2c0861156034ef4d16293e2a3b74ac23c9e7 | [
"MIT"
] | 15 | 2021-08-23T14:36:35.000Z | 2022-03-17T06:56:17.000Z | tools/Canvas/Canvas/__init__.py | Oshlack/Slinker | 725d2c0861156034ef4d16293e2a3b74ac23c9e7 | [
"MIT"
] | 2 | 2021-08-17T03:00:23.000Z | 2022-02-08T23:24:16.000Z | tools/Canvas/Canvas/__init__.py | Oshlack/Slinker | 725d2c0861156034ef4d16293e2a3b74ac23c9e7 | [
"MIT"
] | null | null | null | #=======================================================================================================================
#
# CANVAS
# Author: Breon Schmidt
# License: MIT
#
#=======================================================================================================================
''' ---------------... | 26.725 | 120 | 0.407858 | 78 | 1,069 | 5.525641 | 0.5 | 0.162413 | 0.139211 | 0.092807 | 0.12065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003086 | 0.090739 | 1,069 | 39 | 121 | 27.410256 | 0.440329 | 0.538821 | 0 | 0 | 0 | 0 | 0.106576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
303aae288bf0cdd1d0e85cb8e85ec850b3c8e262 | 188 | py | Python | zentral/contrib/filebeat/apps.py | arubdesu/zentral | ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190 | [
"Apache-2.0"
] | 634 | 2015-10-30T00:55:40.000Z | 2022-03-31T02:59:00.000Z | zentral/contrib/filebeat/apps.py | arubdesu/zentral | ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190 | [
"Apache-2.0"
] | 145 | 2015-11-06T00:17:33.000Z | 2022-03-16T13:30:31.000Z | zentral/contrib/filebeat/apps.py | arubdesu/zentral | ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190 | [
"Apache-2.0"
] | 103 | 2015-11-07T07:08:49.000Z | 2022-03-18T17:34:36.000Z | from zentral.utils.apps import ZentralAppConfig
class ZentralFilebeatAppConfig(ZentralAppConfig):
name = "zentral.contrib.filebeat"
verbose_name = "Zentral Filebeat contrib app"
| 26.857143 | 49 | 0.797872 | 19 | 188 | 7.842105 | 0.684211 | 0.147651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 188 | 6 | 50 | 31.333333 | 0.91411 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
304dcdc0694036bd694bc3dc7b9ce6b2b1c1bcd8 | 879 | py | Python | operations/fleet_management/migrations/0049_auto_20180611_1359.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet_management/migrations/0049_auto_20180611_1359.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet_management/migrations/0049_auto_20180611_1359.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-06-11 11:59
from __future__ import unicode_literals
from django.db import migrations
from fleet_management.models import IncidentDocumentUploads
def populate_upload_types(apps, schema_editor):
upload = IncidentDocumentUploads.objects.get_or_create(incident_... | 39.954545 | 113 | 0.786121 | 101 | 879 | 6.574257 | 0.534653 | 0.174699 | 0.216867 | 0.23494 | 0.388554 | 0.388554 | 0.388554 | 0.388554 | 0.210843 | 0 | 0 | 0.042254 | 0.11149 | 879 | 21 | 114 | 41.857143 | 0.807939 | 0.077361 | 0 | 0 | 1 | 0 | 0.127475 | 0.028465 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.2 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30602946181019d24505d5a907215a8c5513e66f | 300 | py | Python | FunctionMapReduce.py | Alpha-chen/PythonStudy | f067b29c9512f2fb074010f7e77778790e748474 | [
"Apache-2.0"
] | 4 | 2019-01-06T09:45:11.000Z | 2021-06-29T10:07:54.000Z | FunctionMapReduce.py | Alpha-chen/PythonStudy | f067b29c9512f2fb074010f7e77778790e748474 | [
"Apache-2.0"
] | null | null | null | FunctionMapReduce.py | Alpha-chen/PythonStudy | f067b29c9512f2fb074010f7e77778790e748474 | [
"Apache-2.0"
] | 1 | 2021-02-25T02:43:15.000Z | 2021-02-25T02:43:15.000Z | # !/usr/bin/env python
# -*- coding:utf-8 -*-
from functools import reduce
# map
def fn(x, y):
return x * 10 + y
arrays = reduce(fn, [1, 3, 5, 7, 9])
# print(list(arrays))
def is_old(x):
return x % 2 == 1;
r = filter(is_old, [1, 2, 3, 4, 5, 6, 7, 8, 9])
print("is_old", list(r))
| 11.538462 | 47 | 0.536667 | 57 | 300 | 2.77193 | 0.578947 | 0.094937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084444 | 0.25 | 300 | 25 | 48 | 12 | 0.617778 | 0.216667 | 0 | 0 | 0 | 0 | 0.026432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0.125 | 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 |
306352425b5c73b15e4a0bd419e2ab2beb58d056 | 91 | py | Python | ngallery/apps.py | naritotakizawa/drf-narito-gallery | d8b6eb0ab329b1c187e9401827261c0e28eed417 | [
"MIT"
] | 1 | 2020-08-15T11:59:15.000Z | 2020-08-15T11:59:15.000Z | ngallery/apps.py | naritotakizawa/drf-narito-gallery | d8b6eb0ab329b1c187e9401827261c0e28eed417 | [
"MIT"
] | null | null | null | ngallery/apps.py | naritotakizawa/drf-narito-gallery | d8b6eb0ab329b1c187e9401827261c0e28eed417 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NgalleryConfig(AppConfig):
name = 'ngallery'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
062d922492bd553e50e10f89d9833e03b3d524b4 | 660 | py | Python | setup.py | fffoobibi/ruia_ocr | 862fbefb4ab8e2451082536a60823c22bb64c6ee | [
"MIT"
] | 4 | 2021-07-07T07:58:56.000Z | 2021-07-07T08:47:48.000Z | setup.py | fffoobibi/ruia_ocr | 862fbefb4ab8e2451082536a60823c22bb64c6ee | [
"MIT"
] | null | null | null | setup.py | fffoobibi/ruia_ocr | 862fbefb4ab8e2451082536a60823c22bb64c6ee | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='ruia_ocr',
version='1.0.1',
author='fffoobibi',
author_email='1564002691@qq.com',
description='simple ruia ocr-plugin',
long_description='',
license='MIT',
url=r'https://github.com/fffoobibi/ruia_ocr',
packages=find_packages()... | 33 | 67 | 0.607576 | 78 | 660 | 5.025641 | 0.564103 | 0.193878 | 0.255102 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054475 | 0.221212 | 660 | 19 | 68 | 34.736842 | 0.708171 | 0 | 0 | 0 | 0 | 0 | 0.448485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.055556 | 0 | 0.055556 | 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 |
0635a2c8291303ac93dc4b28e80865312ef70f5e | 252 | py | Python | fzutils/shell_utils.py | superonesfazai/fzutils | a8aafaacd94af0001af2ab139f0aa8cbcb8b5eda | [
"MIT"
] | 11 | 2018-08-04T08:14:27.000Z | 2021-09-03T09:00:33.000Z | fzutils/shell_utils.py | superonesfazai/fzutils | a8aafaacd94af0001af2ab139f0aa8cbcb8b5eda | [
"MIT"
] | null | null | null | fzutils/shell_utils.py | superonesfazai/fzutils | a8aafaacd94af0001af2ab139f0aa8cbcb8b5eda | [
"MIT"
] | 8 | 2018-08-04T08:16:17.000Z | 2019-05-05T09:17:35.000Z | # coding:utf-8
'''
@author = super_fazai
@File : shell_utils.py
@connect : superonesfazai@gmail.com
'''
"""
shell utils
"""
from click import command as click_command
from click import option as click_option
from click import echo as click_echo
| 14.823529 | 42 | 0.738095 | 37 | 252 | 4.891892 | 0.567568 | 0.149171 | 0.248619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.166667 | 252 | 16 | 43 | 15.75 | 0.857143 | 0.384921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0679babd7d09bb633c0995900ba820cfe3aacb6b | 1,366 | py | Python | datasets/pascal_voc_utils.py | jiabaocui/SEGS | c03d3bcb6fdcc4e6e6e13767bed8eae754beb726 | [
"MIT"
] | null | null | null | datasets/pascal_voc_utils.py | jiabaocui/SEGS | c03d3bcb6fdcc4e6e6e13767bed8eae754beb726 | [
"MIT"
] | null | null | null | datasets/pascal_voc_utils.py | jiabaocui/SEGS | c03d3bcb6fdcc4e6e6e13767bed8eae754beb726 | [
"MIT"
] | null | null | null | import numpy as np
__all__ = [
'pascal_voc_palette',
'pascal_voc_classes'
]
pascal_voc_palette = np.array([[0, 0, 0],
[128, 0, 0],
[0, 128, 0],
[128, 128, 0],
[0, 0, 128],
... | 25.773585 | 60 | 0.266471 | 105 | 1,366 | 3.352381 | 0.352381 | 0.056818 | 0.025568 | 0.051136 | 0.258523 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0.234545 | 0.597365 | 1,366 | 52 | 61 | 26.269231 | 0.405455 | 0 | 0 | 0 | 0 | 0 | 0.121523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 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 |
067b874bf49f74454bb1c81d5e9f736a2c70168e | 108 | py | Python | Python/Syntax/Input.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | Python/Syntax/Input.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | Python/Syntax/Input.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | opcao = input('Digite:\n1- Acertei\n0-Errei\n\n=')
print(opcao)
#https://pt.stackoverflow.com/q/418231/101
| 21.6 | 50 | 0.712963 | 18 | 108 | 4.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0.064815 | 108 | 4 | 51 | 27 | 0.653465 | 0.37963 | 0 | 0 | 0 | 0 | 0.5 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0681f14dc36c5161c241948566a2d83356058357 | 91 | py | Python | configs/repvgg/deploy/repvgg-B2_deploy_4xb64-coslr-120e_in1k.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 1,190 | 2020-07-10T01:16:01.000Z | 2022-03-31T09:48:38.000Z | configs/repvgg/deploy/repvgg-B2_deploy_4xb64-coslr-120e_in1k.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 702 | 2020-07-13T13:31:33.000Z | 2022-03-31T06:48:04.000Z | configs/repvgg/deploy/repvgg-B2_deploy_4xb64-coslr-120e_in1k.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 502 | 2020-07-10T02:40:55.000Z | 2022-03-31T02:07:09.000Z | _base_ = '../repvgg-B2_4xb64-coslr-120e_in1k.py'
model = dict(backbone=dict(deploy=True))
| 22.75 | 48 | 0.736264 | 14 | 91 | 4.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.076923 | 91 | 3 | 49 | 30.333333 | 0.654762 | 0 | 0 | 0 | 0 | 0 | 0.406593 | 0.406593 | 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 |
0698947aed8a51ed989d88c959cd7da84b9c09ca | 454 | py | Python | M1/ex003.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | 1 | 2022-01-21T00:12:18.000Z | 2022-01-21T00:12:18.000Z | M1/ex003.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | null | null | null | M1/ex003.py | jefersondevsouza/CursoPython | 3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf | [
"MIT"
] | null | null | null | algo = input('Digite algo:')
print('O tipo primitivo desse valor é {}'.format(type(algo)))
print('Só tem espaços? {}'.format(algo.isspace()))
print('É um número? {}'.format(algo.isnumeric()))
print('É alfabetico? {}'.format(algo.isalpha()))
print('É alfanumérico? {}'.format(algo.isalnum()))
print('Está em maiúscula? {}... | 50.444444 | 61 | 0.682819 | 60 | 454 | 5.166667 | 0.516667 | 0.225806 | 0.070968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077093 | 454 | 9 | 62 | 50.444444 | 0.739857 | 0 | 0 | 0 | 0 | 0 | 0.386813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
06b33a9d92656e5c7b14ed31395d76bbedda7b1f | 626 | py | Python | rxbp/observers/filterobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 24 | 2018-11-22T21:04:49.000Z | 2021-11-08T11:18:09.000Z | rxbp/observers/filterobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2019-02-06T15:58:46.000Z | 2019-02-12T20:31:50.000Z | rxbp/observers/filterobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2021-01-26T12:41:37.000Z | 2021-01-26T12:41:37.000Z | from dataclasses import dataclass
from typing import Callable, Any
from rxbp.observer import Observer
from rxbp.typing import ElementType
@dataclass
class FilterObserver(Observer):
observer: Observer
predicate: Callable[[Any], bool]
def on_next(self, elem: ElementType):
def gen_filtered_iterable... | 24.076923 | 61 | 0.672524 | 77 | 626 | 5.337662 | 0.402597 | 0.036496 | 0.131387 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250799 | 626 | 25 | 62 | 25.04 | 0.876333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
2323e08880612d5ae8265c95e22be8b37f9179f2 | 416 | py | Python | StoryShift/Story/Neighbors.py | Cyan-Death/2018Zoo | 54f13c5ed600103537a65933c78265ab555695fe | [
"MIT"
] | null | null | null | StoryShift/Story/Neighbors.py | Cyan-Death/2018Zoo | 54f13c5ed600103537a65933c78265ab555695fe | [
"MIT"
] | null | null | null | StoryShift/Story/Neighbors.py | Cyan-Death/2018Zoo | 54f13c5ed600103537a65933c78265ab555695fe | [
"MIT"
] | null | null | null | class.LocationNeighbors(models.Model):
fromLocation = models.ForeignKey('Location' , on_delete=models.SET_NULL , null=True)
direction = models.CharField(max_length=200)
toLocation = models.ForeignKey('Location' , on_delete=models.SET_NULL , null=True , related_name='neighbors_of')
def __str__(self):
... | 59.428571 | 116 | 0.721154 | 50 | 416 | 5.78 | 0.54 | 0.096886 | 0.16609 | 0.179931 | 0.366782 | 0.366782 | 0.366782 | 0.366782 | 0.366782 | 0.366782 | 0 | 0.00838 | 0.139423 | 416 | 7 | 117 | 59.428571 | 0.798883 | 0 | 0 | 0 | 0 | 0 | 0.081535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2328ec53ff08900d3d6b64d682c7ad4a6fc3cc2a | 2,504 | py | Python | strategy/handler/handler.py | firebird631/siis | 8d64e8fb67619aaa5c0a62fda9de51dedcd47796 | [
"PostgreSQL"
] | null | null | null | strategy/handler/handler.py | firebird631/siis | 8d64e8fb67619aaa5c0a62fda9de51dedcd47796 | [
"PostgreSQL"
] | null | null | null | strategy/handler/handler.py | firebird631/siis | 8d64e8fb67619aaa5c0a62fda9de51dedcd47796 | [
"PostgreSQL"
] | null | null | null | # @date 2021-10-13
# @author Frederic Scherma, All rights reserved without prejudices.
# @license Copyright (c) 2021 Dream Overflow
# Strategy shared or local handler.
from __future__ import annotations
from typing import TYPE_CHECKING, Union, Dict, List, Set, Optional
if TYPE_CHECKING:
from strategy.strategytra... | 24.076923 | 105 | 0.653754 | 277 | 2,504 | 5.725632 | 0.353791 | 0.070618 | 0.079445 | 0.141236 | 0.230769 | 0.208071 | 0.128625 | 0.128625 | 0.128625 | 0.128625 | 0 | 0.006448 | 0.256789 | 2,504 | 103 | 106 | 24.31068 | 0.845782 | 0.164537 | 0 | 0.130435 | 0 | 0 | 0.050279 | 0.040122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.23913 | false | 0.130435 | 0.130435 | 0.065217 | 0.586957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2331c5e84126d775708ae21f2bd10b98ccffe4c1 | 1,068 | py | Python | testers/cpiscine/C00Tester.py | xicodomingues/francinette | 684d4b605a3623120ce8ba2c1d7566a4c3bd8c28 | [
"MIT"
] | 14 | 2021-12-20T13:38:15.000Z | 2022-03-17T11:43:22.000Z | testers/cpiscine/C00Tester.py | xicodomingues/francinette | 684d4b605a3623120ce8ba2c1d7566a4c3bd8c28 | [
"MIT"
] | 6 | 2022-03-18T17:20:56.000Z | 2022-03-21T15:23:33.000Z | testers/cpiscine/C00Tester.py | xicodomingues/francinette | 684d4b605a3623120ce8ba2c1d7566a4c3bd8c28 | [
"MIT"
] | null | null | null | from testers.cpiscine.CommonTester import CommonTester
from utils.ExecutionContext import TestRunInfo
class C00Tester(CommonTester):
name = "c00"
def __init__(self, info: TestRunInfo):
super().__init__(info)
def ex00(self):
self.exercise_files = ["ft_putchar.c"]
self.test_files = ["main.c"]
def ex01(sel... | 22.723404 | 55 | 0.696629 | 158 | 1,068 | 4.436709 | 0.272152 | 0.10271 | 0.205421 | 0.269615 | 0.639087 | 0.540656 | 0.273894 | 0.085592 | 0 | 0 | 0 | 0.025109 | 0.142322 | 1,068 | 46 | 56 | 23.217391 | 0.740175 | 0 | 0 | 0.272727 | 0 | 0 | 0.19382 | 0.025281 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.060606 | 0 | 0.424242 | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2336d473a06c7d48acaa214051ef8458f2d022a5 | 795 | py | Python | django_sloop/settings.py | Hipo/django-sloop | 092bcd4c87d6ef09d5dafa8972b78b06fe536716 | [
"Apache-2.0"
] | 17 | 2015-01-07T08:53:18.000Z | 2021-04-27T19:48:54.000Z | django_sloop/settings.py | Hipo/django-sloop | 092bcd4c87d6ef09d5dafa8972b78b06fe536716 | [
"Apache-2.0"
] | 12 | 2015-01-29T16:26:50.000Z | 2021-02-15T11:42:32.000Z | django_sloop/settings.py | Hipo/django-sloop | 092bcd4c87d6ef09d5dafa8972b78b06fe536716 | [
"Apache-2.0"
] | 5 | 2015-02-11T12:44:04.000Z | 2019-07-11T16:21:38.000Z | from django.conf import settings
DJANGO_SLOOP_SETTINGS = getattr(settings, "DJANGO_SLOOP_SETTINGS", {})
# Defaults
DJANGO_SLOOP_SETTINGS.setdefault("AWS_REGION_NAME", None)
DJANGO_SLOOP_SETTINGS.setdefault("AWS_ACCESS_KEY_ID", None)
DJANGO_SLOOP_SETTINGS.setdefault("AWS_SECRET_ACCESS_KEY", None)
DJANGO_SLOOP_SETTINGS... | 41.842105 | 70 | 0.846541 | 106 | 795 | 5.886792 | 0.358491 | 0.229167 | 0.395833 | 0.418269 | 0.55609 | 0.338141 | 0.222756 | 0 | 0 | 0 | 0 | 0 | 0.057862 | 795 | 18 | 71 | 44.166667 | 0.833111 | 0.010063 | 0 | 0 | 0 | 0 | 0.317197 | 0.174522 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 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 |
234ddc421a206db78ca14b66ce018be95ccb60eb | 294 | py | Python | tests/led3.py | AlphaOrionis42/gtataryn_pi_photobooth | 8ae6676804149032475a09274f350a71efe6b4ba | [
"MIT"
] | null | null | null | tests/led3.py | AlphaOrionis42/gtataryn_pi_photobooth | 8ae6676804149032475a09274f350a71efe6b4ba | [
"MIT"
] | null | null | null | tests/led3.py | AlphaOrionis42/gtataryn_pi_photobooth | 8ae6676804149032475a09274f350a71efe6b4ba | [
"MIT"
] | null | null | null | from time import sleep
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(13, GPIO.OUT)
GPIO.output(13, False)
while True:
try:
GPIO.output(13, True)
sleep(.5)
GPIO.output(13, False)
sleep(.5)
except KeyboardInterrupt:
GPIO.cleanup()
| 17.294118 | 30 | 0.62585 | 41 | 294 | 4.487805 | 0.512195 | 0.163043 | 0.195652 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.258503 | 294 | 16 | 31 | 18.375 | 0.798165 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.153846 | 0 | 0.153846 | 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 |
234fb8fcdfa28ed3da3c51df54b7ab234cf8c31d | 977 | py | Python | application/models.py | WarriorSubha/Smart-Library | aa8c6f54c02c9ca2846fcc87bf68f1b81f4fd5b6 | [
"MIT"
] | 1 | 2020-03-19T00:06:10.000Z | 2020-03-19T00:06:10.000Z | application/models.py | WarriorSubha/Smart-Library | aa8c6f54c02c9ca2846fcc87bf68f1b81f4fd5b6 | [
"MIT"
] | 10 | 2019-09-07T20:01:07.000Z | 2019-10-31T06:27:40.000Z | application/models.py | WarriorSubha/Smart-Library | aa8c6f54c02c9ca2846fcc87bf68f1b81f4fd5b6 | [
"MIT"
] | 3 | 2019-09-05T09:06:36.000Z | 2019-10-24T17:45:20.000Z | from application import db
# Class student representing a table student with it's various columns having various attributes
class Student(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
reg_no = db.Column(db.String(50), unique=True)
rfid_id = db.Column(db.String... | 40.708333 | 96 | 0.714432 | 150 | 977 | 4.573333 | 0.333333 | 0.163265 | 0.204082 | 0.139942 | 0.494169 | 0.440233 | 0.309038 | 0.268222 | 0.180758 | 0.180758 | 0 | 0.014493 | 0.152508 | 977 | 23 | 97 | 42.478261 | 0.81401 | 0.134084 | 0 | 0.222222 | 0 | 0 | 0.030842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.055556 | 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 |
23641d016c274c29bd78d0702aa233f405695acd | 313 | py | Python | jobpy/jobpy_scrapy/jobpy_scrapy/spiders/linkup.py | rodrez/jobpy | 02da7ed62a5f057ce66f7b3c0a5f13223363af9a | [
"MIT"
] | 3 | 2020-05-16T01:54:47.000Z | 2021-04-27T01:37:08.000Z | jobpy/jobpy_scrapy/jobpy_scrapy/spiders/linkup.py | rodrez/jobpy | 02da7ed62a5f057ce66f7b3c0a5f13223363af9a | [
"MIT"
] | 7 | 2020-05-11T01:45:45.000Z | 2022-03-02T14:58:30.000Z | jobpy/jobpy_scrapy/jobpy_scrapy/spiders/linkup.py | rodrez/jobpy | 02da7ed62a5f057ce66f7b3c0a5f13223363af9a | [
"MIT"
] | 1 | 2020-07-19T04:31:01.000Z | 2020-07-19T04:31:01.000Z | # -*- coding: utf-8 -*-
import scrapy
class LinkupSpider(scrapy.Spider):
name = 'linkup'
allowed_domains = ['www.linkup.com/search/results/Software-Engineer-jobs-in-PA']
start_urls = ['http://www.linkup.com/search/results/Software-Engineer-jobs-in-PA/']
def parse(self, response):
pass
| 26.083333 | 87 | 0.677316 | 41 | 313 | 5.121951 | 0.707317 | 0.085714 | 0.114286 | 0.171429 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0 | 0.003788 | 0.15655 | 313 | 11 | 88 | 28.454545 | 0.791667 | 0.067093 | 0 | 0 | 0 | 0.142857 | 0.448276 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
236cb4673a4ca553be0335ad47da56540b378b49 | 389 | py | Python | AutomatedTesting/Gem/PythonTests/editor_test_testing/EditorTest_That_Passes.py | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | AutomatedTesting/Gem/PythonTests/editor_test_testing/EditorTest_That_Passes.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | AutomatedTesting/Gem/PythonTests/editor_test_testing/EditorTest_That_Passes.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | """
Copyright (c) Contributors to the Open 3D Engine Project.
For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT
"""
import time
def EditorTest_That_Passes():
pass
if __name__ == "__main__":
from editor_python_test_too... | 24.3125 | 97 | 0.773779 | 57 | 389 | 5 | 0.807018 | 0.098246 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009146 | 0.156812 | 389 | 15 | 98 | 25.933333 | 0.859756 | 0.511568 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.5 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
88cb14e066c8cf532771d93d2f854fdfb9d60a4a | 154 | py | Python | databases/db_connection.py | richierh/PosKivy | 3e40db55c0de85965aa92759a4f15028e03a8ad8 | [
"MIT"
] | null | null | null | databases/db_connection.py | richierh/PosKivy | 3e40db55c0de85965aa92759a4f15028e03a8ad8 | [
"MIT"
] | null | null | null | databases/db_connection.py | richierh/PosKivy | 3e40db55c0de85965aa92759a4f15028e03a8ad8 | [
"MIT"
] | null | null | null | import os
import sqlite3
app_path = os.path.dirname(os.path.abspath(__file__))
print(app_path)
con = sqlite3.connect(os.path.join(app_path, 'main.db')) | 19.25 | 56 | 0.75974 | 26 | 154 | 4.230769 | 0.538462 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.090909 | 154 | 8 | 56 | 19.25 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.045161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
88d287a38ad0561c91616b26d1353715ca55d14e | 7,231 | py | Python | models/api.py | rborstgithub/sinc_bigcommerce | 4fb5ed9e33fe3cff701039ae1b971356d81a9617 | [
"BSD-3-Clause"
] | null | null | null | models/api.py | rborstgithub/sinc_bigcommerce | 4fb5ed9e33fe3cff701039ae1b971356d81a9617 | [
"BSD-3-Clause"
] | null | null | null | models/api.py | rborstgithub/sinc_bigcommerce | 4fb5ed9e33fe3cff701039ae1b971356d81a9617 | [
"BSD-3-Clause"
] | 1 | 2020-10-06T21:33:05.000Z | 2020-10-06T21:33:05.000Z | # -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import UserError
import requests
import logging
class SincBigCommerceApi(models.AbstractModel):
_name = 'sinc_bigcommerce.api'
# Retorna el url base que utiliza BigCommerce en su API V2.
def _url_base_v2(self):
retu... | 44.913043 | 124 | 0.617204 | 872 | 7,231 | 4.902523 | 0.133028 | 0.042573 | 0.051462 | 0.072047 | 0.763977 | 0.73848 | 0.658947 | 0.592982 | 0.496842 | 0.486082 | 0 | 0.006052 | 0.200249 | 7,231 | 160 | 125 | 45.19375 | 0.733183 | 0.300373 | 0 | 0.289157 | 0 | 0 | 0.222244 | 0.130357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289157 | false | 0 | 0.048193 | 0.036145 | 0.650602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
88d87c72481acaddac0dff980a8d61cfcfa6314e | 2,482 | py | Python | ooobuild/cssdyn/bridge/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/cssdyn/bridge/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/cssdyn/bridge/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http: // www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 62.05 | 124 | 0.837228 | 319 | 2,482 | 6.388715 | 0.376176 | 0.078999 | 0.146712 | 0.054956 | 0.121688 | 0.061825 | 0 | 0 | 0 | 0 | 0 | 0.009383 | 0.098308 | 2,482 | 39 | 125 | 63.641026 | 0.901251 | 0.232071 | 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 |
88e0ea2957dc3a61cbd11eff7cd8dc047a81d1fb | 5,391 | py | Python | tests/test_notification.py | rhawiz/onesignal-python | 9d014e4b8a5b4c4d4c615bfb2bd37e126c793889 | [
"MIT"
] | 35 | 2016-11-19T10:59:40.000Z | 2022-01-19T06:52:19.000Z | tests/test_notification.py | rhawiz/onesignal-python | 9d014e4b8a5b4c4d4c615bfb2bd37e126c793889 | [
"MIT"
] | 9 | 2017-05-24T12:22:15.000Z | 2021-12-17T16:14:21.000Z | tests/test_notification.py | rhawiz/onesignal-python | 9d014e4b8a5b4c4d4c615bfb2bd37e126c793889 | [
"MIT"
] | 22 | 2017-03-08T14:48:51.000Z | 2022-01-17T12:14:49.000Z | import pytest
import json
from onesignalclient.notification import Notification
class TestNotification:
def test_notification_instantiation(self, app_id):
n = Notification(app_id)
assert n.mode == Notification.SEGMENTS_MODE
def test_notification_with_unknown_mode(self, app_id):
with p... | 43.829268 | 79 | 0.731775 | 590 | 5,391 | 6.286441 | 0.10339 | 0.296037 | 0.154219 | 0.09113 | 0.800216 | 0.646805 | 0.49663 | 0.430035 | 0.354813 | 0.268266 | 0 | 0.003962 | 0.204044 | 5,391 | 122 | 80 | 44.188525 | 0.860406 | 0.002782 | 0 | 0.258065 | 0 | 0 | 0.036658 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 1 | 0.301075 | false | 0 | 0.032258 | 0 | 0.344086 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
001058529f1957ceaab1320c5a912601932ba5a3 | 182 | py | Python | pyncband/__init__.py | Chronum94/PyNCband | d148150fc3f201507e5dfb566a2c5c338b17e7cd | [
"MIT"
] | 6 | 2018-07-18T20:06:32.000Z | 2021-09-12T06:08:26.000Z | pyncband/__init__.py | Chronum94/PyNCband | d148150fc3f201507e5dfb566a2c5c338b17e7cd | [
"MIT"
] | null | null | null | pyncband/__init__.py | Chronum94/PyNCband | d148150fc3f201507e5dfb566a2c5c338b17e7cd | [
"MIT"
] | 3 | 2018-08-19T17:59:16.000Z | 2020-11-09T11:25:10.000Z | from .CoreShellParticle import CoreShellParticle
from .Material import Material
# __all__ = CoreShellParticle.__all__ + Material.__all__
__all__ = ["CoreShellParticle", "Material"]
| 30.333333 | 56 | 0.813187 | 16 | 182 | 8.25 | 0.3125 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 182 | 5 | 57 | 36.4 | 0.809816 | 0.296703 | 0 | 0 | 0 | 0 | 0.198413 | 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 |
0013551636bbe00c679ec12ec27f5ad322d8c4c9 | 109 | py | Python | spiral/cli/templates/generate/project/{{ label }}/core/exc.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | null | null | null | spiral/cli/templates/generate/project/{{ label }}/core/exc.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T18:39:48.000Z | 2020-04-01T18:39:48.000Z | spiral/cli/templates/generate/project/{{ label }}/core/exc.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T18:36:44.000Z | 2020-04-01T18:36:44.000Z | """{{ label }} core exception module."""
class {{ class_name }}Error(Exception):
"""Generic errors."""
| 18.166667 | 40 | 0.605505 | 11 | 109 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 5 | 41 | 21.8 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
001caadc7489b3f6a39463f7981f417ad85f94b2 | 238 | py | Python | automation/tests/chapter_04/hello_world.py | lisboalien/python-applitools-test | fe729295af2d71027fe6ccadb9fafa51667e9d3c | [
"MIT"
] | null | null | null | automation/tests/chapter_04/hello_world.py | lisboalien/python-applitools-test | fe729295af2d71027fe6ccadb9fafa51667e9d3c | [
"MIT"
] | null | null | null | automation/tests/chapter_04/hello_world.py | lisboalien/python-applitools-test | fe729295af2d71027fe6ccadb9fafa51667e9d3c | [
"MIT"
] | null | null | null | from automation.tests.conftest import *
def test_hello_world(browser, eyes):
validate_window(browser, eyes, tag='hello_world')
browser.find_element_by_css_selector('button').click()
validate_window(browser, eyes, 'click_me') | 34 | 58 | 0.768908 | 32 | 238 | 5.40625 | 0.6875 | 0.190751 | 0.196532 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 238 | 7 | 59 | 34 | 0.819905 | 0 | 0 | 0 | 0 | 0 | 0.104603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
cc41dfa2a67a23c03e767dc0b86a454c3e7cbc56 | 4,279 | py | Python | idp_data/idp_data/models.py | OpenUpSA/idp-data | e88cc6ad3d5b2966437f08a33ba00fcca00b2f34 | [
"MIT"
] | null | null | null | idp_data/idp_data/models.py | OpenUpSA/idp-data | e88cc6ad3d5b2966437f08a33ba00fcca00b2f34 | [
"MIT"
] | 6 | 2020-08-20T12:39:29.000Z | 2020-12-01T11:17:02.000Z | idp_data/idp_data/models.py | OpenUpSA/idp-data | e88cc6ad3d5b2966437f08a33ba00fcca00b2f34 | [
"MIT"
] | 3 | 2020-08-04T21:11:06.000Z | 2020-08-18T11:40:00.000Z | from django.db import models
from datetime import date
from ckeditor.fields import RichTextField
from django.contrib.postgres.fields import JSONField
class Category(models.Model):
name = models.CharField(max_length=500)
icon = models.CharField(max_length=50, default='')
description = RichTextField(max_le... | 50.940476 | 176 | 0.762795 | 572 | 4,279 | 5.5 | 0.288462 | 0.07438 | 0.120153 | 0.160203 | 0.494596 | 0.378894 | 0.309599 | 0.27527 | 0.195804 | 0.164654 | 0 | 0.023707 | 0.132508 | 4,279 | 83 | 177 | 51.554217 | 0.823815 | 0.004908 | 0 | 0.153846 | 0 | 0.015385 | 0.174301 | 0.004933 | 0 | 0 | 0 | 0.012048 | 0 | 1 | 0.092308 | false | 0 | 0.061538 | 0.092308 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
cc488d9a0647b52ee17d34143357c9d95be2eb9d | 383 | py | Python | mtuq/grid/__init__.py | ammcpherson/mtuq | aecfb732ea459e0236c082db5b765bf7bda9950a | [
"BSD-2-Clause"
] | 8 | 2018-01-31T04:31:12.000Z | 2019-07-04T06:09:13.000Z | mtuq/grid/__init__.py | ammcpherson/mtuq | aecfb732ea459e0236c082db5b765bf7bda9950a | [
"BSD-2-Clause"
] | 5 | 2019-01-19T19:36:29.000Z | 2019-08-22T00:04:36.000Z | mtuq/grid/__init__.py | ammcpherson/mtuq | aecfb732ea459e0236c082db5b765bf7bda9950a | [
"BSD-2-Clause"
] | 4 | 2017-09-27T09:01:27.000Z | 2018-12-08T14:41:14.000Z |
from pandas import DataFrame
from xarray import DataArray
from mtuq.grid.base import Grid, UnstructuredGrid
from mtuq.grid.moment_tensor import FullMomentTensorGridSemiregular, FullMomentTensorGridRandom, FullMomentTensorPlottingGrid, DeviatoricGridSemiregular, \
DoubleCoupleGridRegular, DoubleCoupleGridRandom
... | 31.916667 | 155 | 0.866841 | 34 | 383 | 9.735294 | 0.617647 | 0.072508 | 0.108761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096606 | 383 | 11 | 156 | 34.818182 | 0.956647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cc70f4c9f99ce3adcc8d664666b75ebf8b0aea78 | 78 | py | Python | py3algs/datastructs/__init__.py | nitsas/py3algs | ec34d80c15e32c96e25bb7a72b77faac80c5c772 | [
"MIT"
] | null | null | null | py3algs/datastructs/__init__.py | nitsas/py3algs | ec34d80c15e32c96e25bb7a72b77faac80c5c772 | [
"MIT"
] | null | null | null | py3algs/datastructs/__init__.py | nitsas/py3algs | ec34d80c15e32c96e25bb7a72b77faac80c5c772 | [
"MIT"
] | null | null | null | __all__ = ['union_find', 'median_maintainer', 'binary_heap']
from . import *
| 19.5 | 60 | 0.705128 | 9 | 78 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 3 | 61 | 26 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.487179 | 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 |
cccecc0531fb5553e32f7bd1d73d34f795febfe3 | 515 | py | Python | src/helpers.py | GalaxyDigitalLLC/Financial-Industry-Electricity-Balance-Scripts | 13f3359552c718acebf4fec85700c0fc39194635 | [
"CC0-1.0"
] | 3 | 2021-05-18T03:56:06.000Z | 2021-05-26T16:26:39.000Z | src/helpers.py | GalaxyDigitalLLC/Financial-Industry-Electricity-Balance-Scripts | 13f3359552c718acebf4fec85700c0fc39194635 | [
"CC0-1.0"
] | 2 | 2021-05-18T19:00:00.000Z | 2021-07-02T15:58:28.000Z | src/helpers.py | GalaxyDigitalLLC/Financial-Industry-Electricity-Balance-Scripts | 13f3359552c718acebf4fec85700c0fc39194635 | [
"CC0-1.0"
] | null | null | null | import yaml
# Read yaml data file
def read_yaml(file_path):
with open(file_path) as file:
return yaml.load(file, Loader=yaml.FullLoader)
def read_data_yaml():
data_file = './rsc/data.yaml'
return read_yaml(data_file)
def kw_to_gw(kw):
return kw * 10 ** -6
def kw_to_tw(kw):
return kw ... | 16.612903 | 64 | 0.64466 | 79 | 515 | 3.987342 | 0.341772 | 0.101587 | 0.114286 | 0.101587 | 0.285714 | 0.165079 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.215534 | 515 | 30 | 65 | 17.166667 | 0.764851 | 0.036893 | 0 | 0.117647 | 0 | 0 | 0.103239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.117647 | 0.764706 | 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 |
aec1596593cd8874cb1fce103092326c391c6f07 | 274 | py | Python | src/algorithms/main/strings/longest_common_substring.py | JoelGRod/Algorithms-py | 085dbf5d2d62adf41cfd59313827f83e2da6bc81 | [
"MIT"
] | null | null | null | src/algorithms/main/strings/longest_common_substring.py | JoelGRod/Algorithms-py | 085dbf5d2d62adf41cfd59313827f83e2da6bc81 | [
"MIT"
] | null | null | null | src/algorithms/main/strings/longest_common_substring.py | JoelGRod/Algorithms-py | 085dbf5d2d62adf41cfd59313827f83e2da6bc81 | [
"MIT"
] | null | null | null | """
Dynamic Programming:
Multidimensional array
Each cell -> data you want to improve
Each cell -> Sub Problem
Given two strings ‘X’ and ‘Y’, find the length of the longest common substring.
The substrings are necessarily contiguous.
""" | 30.444444 | 83 | 0.664234 | 34 | 274 | 5.352941 | 0.882353 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270073 | 274 | 9 | 84 | 30.444444 | 0.91 | 0.883212 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aec48b5333c0efc96b3c76c0130cda4ac2eef192 | 211 | py | Python | mailie/_errors.py | symonk/mailie | 2b8043c93550a6495f8193342473274be477c323 | [
"Apache-2.0"
] | null | null | null | mailie/_errors.py | symonk/mailie | 2b8043c93550a6495f8193342473274be477c323 | [
"Apache-2.0"
] | 29 | 2021-12-02T23:56:23.000Z | 2022-03-25T08:27:29.000Z | mailie/_errors.py | symonk/mailie | 2b8043c93550a6495f8193342473274be477c323 | [
"Apache-2.0"
] | 1 | 2022-03-31T07:57:16.000Z | 2022-03-31T07:57:16.000Z | import dataclasses
@dataclasses.dataclass(frozen=True)
class SmtpError:
"""
An encapsulation of an SMTP error message, includes both the error code and message.
"""
code: int
message: str
| 17.583333 | 88 | 0.696682 | 26 | 211 | 5.653846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227488 | 211 | 11 | 89 | 19.181818 | 0.90184 | 0.398104 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
aed6d08af7ab450b933fe53685019e0e159d59b2 | 330 | py | Python | api/transformation/permissions.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | 1 | 2021-01-04T07:34:34.000Z | 2021-01-04T07:34:34.000Z | api/transformation/permissions.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | null | null | null | api/transformation/permissions.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class TransformationPermission(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
"""
Return `True` if transformation is related to user, `False` otherwise.
"""
return obj.pipeline.folder.space.owner_id == reques... | 33 | 78 | 0.712121 | 37 | 330 | 6.243243 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 330 | 9 | 79 | 36.666667 | 0.871698 | 0.212121 | 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 | 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 | 1 | 0 | 0 | 3 |
4e0264a1ab248a59eb4903723bb2dc4d787eef68 | 27,027 | py | Python | template_container_human/labels/slice_24.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_24.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_24.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | coordinates_E0E1E1 = ((127, 91),
(127, 92), (127, 142), (128, 91), (128, 93), (128, 141), (128, 142), (129, 92), (129, 94), (129, 140), (129, 142), (130, 94), (130, 95), (130, 132), (130, 139), (130, 142), (131, 96), (131, 103), (131, 132), (131, 134), (131, 135), (131, 136), (131, 137), (131, 138), (131, 140), (131,... | 429 | 865 | 0.488881 | 4,570 | 27,027 | 2.886871 | 0.023851 | 0.001364 | 0.001364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.578024 | 0.173678 | 27,027 | 62 | 866 | 435.919355 | 0.012717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e0965c7c61b76c443965c236867119201073f30 | 84 | py | Python | examples/__init__.py | evansde77/cirrus_test | 091d82905cafd205651f9217c4f31c8470fce448 | [
"Apache-2.0"
] | null | null | null | examples/__init__.py | evansde77/cirrus_test | 091d82905cafd205651f9217c4f31c8470fce448 | [
"Apache-2.0"
] | null | null | null | examples/__init__.py | evansde77/cirrus_test | 091d82905cafd205651f9217c4f31c8470fce448 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
example imit with __version__
"""
__version__ == '0.0.0'
| 14 | 30 | 0.654762 | 12 | 84 | 3.916667 | 0.75 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 84 | 5 | 31 | 16.8 | 0.611111 | 0.607143 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e180a31f83859a900483ee261e9c4466d6bf035 | 61 | py | Python | mantraml/data/utils.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 330 | 2018-09-04T19:07:51.000Z | 2021-09-14T11:21:05.000Z | mantraml/data/utils.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 13 | 2018-09-06T06:08:16.000Z | 2018-12-01T17:04:38.000Z | mantraml/data/utils.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 20 | 2018-09-06T11:56:07.000Z | 2021-12-03T19:48:21.000Z | import hashlib
BUF_SIZE = 65536 # read files in 64kb chunks | 20.333333 | 45 | 0.770492 | 10 | 61 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.196721 | 61 | 3 | 45 | 20.333333 | 0.795918 | 0.409836 | 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 |
4e379028e702e8088af5ef261258b601ac69afcf | 83 | py | Python | ease/apps.py | youngsterjaidev/suren_project | f6bf78273431d46229031042a23b285b5ffb25e4 | [
"MIT"
] | null | null | null | ease/apps.py | youngsterjaidev/suren_project | f6bf78273431d46229031042a23b285b5ffb25e4 | [
"MIT"
] | null | null | null | ease/apps.py | youngsterjaidev/suren_project | f6bf78273431d46229031042a23b285b5ffb25e4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EaseConfig(AppConfig):
name = 'ease'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9d6438f2b3b6e05e543dad296666227b835a8237 | 515 | py | Python | text_analysis.py | nieweglp/stock_app | e349b9fd0c36e46d87be7d4cc0a1d4fc523c2a31 | [
"MIT"
] | null | null | null | text_analysis.py | nieweglp/stock_app | e349b9fd0c36e46d87be7d4cc0a1d4fc523c2a31 | [
"MIT"
] | null | null | null | text_analysis.py | nieweglp/stock_app | e349b9fd0c36e46d87be7d4cc0a1d4fc523c2a31 | [
"MIT"
] | null | null | null | import re
from textblob import TextBlob
def clean_text(text):
text = re.sub(r'@[A-Za-z0-9:]+', '', text)
text = re.sub(r'#', '', text)
text = re.sub(r'RT[\s]', '', text)
text = re.sub(r'https?:\/\/\S+', '', text)
return text
def get_subjectivity(text):
return TextBlob(text).sentiment.subjectivity
def get... | 21.458333 | 46 | 0.64466 | 75 | 515 | 4.373333 | 0.386667 | 0.121951 | 0.121951 | 0.158537 | 0.359756 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.176699 | 515 | 23 | 47 | 22.391304 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0.112621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9d6db034f3c41369d87f30a0705cced7ffce8991 | 1,082 | py | Python | tests/st/networks/models/deeplabv3/src/utils/file_io.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/networks/models/deeplabv3/src/utils/file_io.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/networks/models/deeplabv3/src/utils/file_io.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 29.243243 | 78 | 0.642329 | 154 | 1,082 | 4.474026 | 0.571429 | 0.087083 | 0.034833 | 0.046444 | 0.107402 | 0.107402 | 0.107402 | 0.107402 | 0.107402 | 0.107402 | 0 | 0.010357 | 0.196858 | 1,082 | 36 | 79 | 30.055556 | 0.782509 | 0.652495 | 0 | 0.333333 | 0 | 0 | 0.039437 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.083333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9d729d2431fcbebc2d8ca65a38e821203b6135c8 | 5,819 | py | Python | okr/scrapers/snapchat_shows/quintly.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | 2 | 2021-07-28T08:46:13.000Z | 2022-01-19T17:05:48.000Z | okr/scrapers/snapchat_shows/quintly.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | 3 | 2020-11-10T23:34:17.000Z | 2021-03-31T16:19:21.000Z | okr/scrapers/snapchat_shows/quintly.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | null | null | null | """ Methods for scraping facebook data with Quintly """
import datetime
from typing import Optional
import numpy as np
import pandas as pd
from ..common import quintly as common_quintly
from ..common import utils
@common_quintly.requires_quintly
def get_snapchat_show_insights(
profile_id: int,
*,
start... | 27.319249 | 90 | 0.632583 | 493 | 5,819 | 7.344828 | 0.27789 | 0.037283 | 0.019884 | 0.034521 | 0.707816 | 0.702292 | 0.702292 | 0.692903 | 0.608948 | 0.608948 | 0 | 0.011098 | 0.272212 | 5,819 | 212 | 91 | 27.448113 | 0.84392 | 0.180443 | 0 | 0.63871 | 0 | 0 | 0.375403 | 0.223393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019355 | false | 0 | 0.058065 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9d7f0642c405f12377bd46bc0c0690c771196b56 | 481 | py | Python | tests/run_tests.py | shimont/awesome-aws | 2f30f7ecf7e9785882a6e4f20020f5dd374a821a | [
"CC-BY-4.0"
] | 10,815 | 2015-10-12T12:08:36.000Z | 2022-03-31T15:58:52.000Z | tests/run_tests.py | shimont/awesome-aws | 2f30f7ecf7e9785882a6e4f20020f5dd374a821a | [
"CC-BY-4.0"
] | 176 | 2015-10-12T17:44:16.000Z | 2022-02-16T13:53:30.000Z | tests/run_tests.py | shimont/awesome-aws | 2f30f7ecf7e9785882a6e4f20020f5dd374a821a | [
"CC-BY-4.0"
] | 1,529 | 2015-10-12T15:23:27.000Z | 2022-03-28T13:28:55.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015 Donne Martin. All Rights Reserved.
#
# Creative Commons Attribution 4.0 International License (CC BY 4.0)
# http://creativecommons.org/licenses/by/4.0/
import unittest
from test_awesome import AwesomeTest # NOQA
from test_awesome_cli import AwesomeCliTe... | 21.863636 | 68 | 0.723493 | 66 | 481 | 5.090909 | 0.712121 | 0.017857 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027848 | 0.178794 | 481 | 21 | 69 | 22.904762 | 0.822785 | 0.519751 | 0 | 0 | 0 | 0 | 0.036199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
9d83441c6d86e462b568a2fc58f4966cd2a113bc | 82 | py | Python | tasks/test.py | telephoneorg/pyrkube | 45adf0f958f2a63b76a7ce74bc4803cde9bc9ecf | [
"Apache-2.0"
] | null | null | null | tasks/test.py | telephoneorg/pyrkube | 45adf0f958f2a63b76a7ce74bc4803cde9bc9ecf | [
"Apache-2.0"
] | null | null | null | tasks/test.py | telephoneorg/pyrkube | 45adf0f958f2a63b76a7ce74bc4803cde9bc9ecf | [
"Apache-2.0"
] | null | null | null | from invoke import task
@task(default=True)
def run(ctx):
ctx.run("pytest")
| 11.714286 | 23 | 0.682927 | 13 | 82 | 4.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 6 | 24 | 13.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9db7b782a7658be34664e00a60abd23f04ab7495 | 152 | py | Python | python/ray/util/accelerators/accelerators.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 22 | 2018-05-08T05:52:34.000Z | 2020-04-01T10:09:55.000Z | python/ray/util/accelerators/accelerators.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 73 | 2021-09-25T07:11:39.000Z | 2022-03-26T07:10:59.000Z | python/ray/util/accelerators/accelerators.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 10 | 2018-04-27T10:50:59.000Z | 2020-02-24T02:41:43.000Z | NVIDIA_TESLA_V100 = "V100"
NVIDIA_TESLA_P100 = "P100"
NVIDIA_TESLA_T4 = "T4"
NVIDIA_TESLA_P4 = "P4"
NVIDIA_TESLA_K80 = "K80"
NVIDIA_TESLA_A100 = "A100"
| 21.714286 | 26 | 0.763158 | 24 | 152 | 4.333333 | 0.333333 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 0.118421 | 152 | 6 | 27 | 25.333333 | 0.58209 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9dc0a05111e2fa5585b75f1faddf28e08ca5f381 | 1,221 | py | Python | tests/test_sudoku.py | d2718nis/codewars-did-i-finish-my-sudoku | 166a37dbd2dab7921c41cd867e86e4c4ddf8062c | [
"MIT"
] | 1 | 2019-06-20T20:20:45.000Z | 2019-06-20T20:20:45.000Z | tests/test_sudoku.py | d2718nis/codewars-did-i-finish-my-sudoku | 166a37dbd2dab7921c41cd867e86e4c4ddf8062c | [
"MIT"
] | null | null | null | tests/test_sudoku.py | d2718nis/codewars-did-i-finish-my-sudoku | 166a37dbd2dab7921c41cd867e86e4c4ddf8062c | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.main import done_or_not
class SudokuTestCase(TestCase):
"""Sudoku board related tests."""
def test_done_or_not_valid_board(self):
"""done_or_not() returns "Finished!" for valid Sukodu board."""
self.assertEqual(done_or_not(
[[1, 3, 2, 5, 7, 9... | 37 | 74 | 0.407862 | 228 | 1,221 | 2.096491 | 0.157895 | 0.041841 | 0.131799 | 0.054393 | 0.648536 | 0.58159 | 0.476987 | 0.476987 | 0.476987 | 0.476987 | 0 | 0.214003 | 0.380016 | 1,221 | 32 | 75 | 38.15625 | 0.417437 | 0.119574 | 0 | 0.72 | 0 | 0 | 0.017941 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9dc130da2e906dc8fa65771814022100f57068f5 | 1,246 | py | Python | signalfx/signalflow/channel.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 41 | 2015-06-17T16:44:25.000Z | 2021-08-16T15:12:44.000Z | signalfx/signalflow/channel.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 74 | 2015-05-07T19:36:34.000Z | 2021-12-29T15:29:33.000Z | signalfx/signalflow/channel.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 46 | 2015-05-07T23:23:07.000Z | 2022-02-28T20:55:14.000Z | # Copyright (C) 2016 SignalFx, Inc. All rights reserved.
import random
import string
class _Channel(object):
"""Base class for open channels that receive streaming data from a
SignalFlow computation.
Channel objects bridge the gap between an underlying transport and a
higher-level Computation object... | 28.318182 | 76 | 0.659711 | 146 | 1,246 | 5.363014 | 0.513699 | 0.063857 | 0.07152 | 0.043423 | 0.063857 | 0.063857 | 0 | 0 | 0 | 0 | 0 | 0.007667 | 0.267255 | 1,246 | 43 | 77 | 28.976744 | 0.849945 | 0.375602 | 0 | 0.090909 | 0 | 0 | 0.030956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.227273 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9dd082e06c6a992b905547e41a5c9451a5b54530 | 529 | py | Python | lib/main.py | hisstori/Adventures-in-Python | 097378d8ce8e65c4cf49ba0c3bff7438bcac4356 | [
"MIT"
] | null | null | null | lib/main.py | hisstori/Adventures-in-Python | 097378d8ce8e65c4cf49ba0c3bff7438bcac4356 | [
"MIT"
] | null | null | null | lib/main.py | hisstori/Adventures-in-Python | 097378d8ce8e65c4cf49ba0c3bff7438bcac4356 | [
"MIT"
] | null | null | null | from peewee import *
db = PostgresqlDatabase('adventures', user='postgres', password='',
host='localhost', port=5432)
class BaseModel (Model):
class Meta:
database = db
class Trash (BaseModel):
name = CharField()
health = IntegerField()
attack = IntegerField()
class ... | 20.346154 | 67 | 0.648393 | 56 | 529 | 6.053571 | 0.517857 | 0.076696 | 0.129794 | 0.165192 | 0.342183 | 0.342183 | 0.342183 | 0 | 0 | 0 | 0 | 0.009639 | 0.215501 | 529 | 26 | 68 | 20.346154 | 0.807229 | 0 | 0 | 0.315789 | 0 | 0 | 0.050943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.052632 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9dff558bcefed617d6c50de9da81c9d169bd54aa | 656 | py | Python | niaclass/tests/test_feature_info.py | lukapecnik/NiaClass | 44879895c02707faf878e5064866a1a2039b1eb2 | [
"MIT"
] | null | null | null | niaclass/tests/test_feature_info.py | lukapecnik/NiaClass | 44879895c02707faf878e5064866a1a2039b1eb2 | [
"MIT"
] | 10 | 2021-03-06T11:13:36.000Z | 2022-02-22T20:17:44.000Z | niaclass/tests/test_feature_info.py | firefly-cpp/NiaClass-1 | 288234df5fa01e05f72e234a38e8ab36eff84f6f | [
"MIT"
] | 4 | 2021-04-17T20:17:18.000Z | 2021-06-13T18:46:22.000Z | from unittest import TestCase
from niaclass.feature_info import _FeatureInfo
class FeatureInfoTestCase(TestCase):
def test_init_works_fine(self):
vals = ["val1", "val2", "val3"]
f_info = _FeatureInfo(dtype=0, values=vals)
self.assertEqual(f_info.dtype, 0)
self.assertEqual(f_info.mi... | 34.526316 | 64 | 0.675305 | 93 | 656 | 4.55914 | 0.333333 | 0.117925 | 0.301887 | 0.377358 | 0.490566 | 0.103774 | 0 | 0 | 0 | 0 | 0 | 0.028902 | 0.208841 | 656 | 18 | 65 | 36.444444 | 0.788054 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d180704161eeb747b00a114efd7ea45fcc362fb5 | 6,570 | py | Python | buildcatrust/tests/test_der_x509.py | lukegb/buildcatrust | 2f613c36ddb3d0e032d2e145fe05bc4c7eb3d7d9 | [
"MIT"
] | 2 | 2021-09-05T17:51:01.000Z | 2022-02-12T13:09:55.000Z | buildcatrust/tests/test_der_x509.py | lukegb/buildcatrust | 2f613c36ddb3d0e032d2e145fe05bc4c7eb3d7d9 | [
"MIT"
] | null | null | null | buildcatrust/tests/test_der_x509.py | lukegb/buildcatrust | 2f613c36ddb3d0e032d2e145fe05bc4c7eb3d7d9 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2021 Luke Granger-Brown <git@lukegb.com>
#
# SPDX-License-Identifier: MIT
import dataclasses
from buildcatrust import der_x509
def test_object_id():
c = der_x509.ObjectID.from_str("Hello", "1.2.3.4.2554")
assert str(c) == "1.2.3.4.2554"
assert repr(c) == "1.2.3.4.2554"
asse... | 33.865979 | 346 | 0.719939 | 711 | 6,570 | 6.448664 | 0.2391 | 0.056489 | 0.052345 | 0.062159 | 0.366412 | 0.356598 | 0.322792 | 0.305125 | 0.299891 | 0.266739 | 0 | 0.359361 | 0.161796 | 6,570 | 193 | 347 | 34.041451 | 0.473216 | 0.014155 | 0 | 0.343284 | 0 | 0.059701 | 0.303455 | 0.217658 | 0 | 1 | 0.00096 | 0 | 0.179104 | 1 | 0.104478 | false | 0 | 0.014925 | 0 | 0.119403 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d1b0413f7180c770e38bb759f4849bf1066d3699 | 1,370 | py | Python | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/APPLE/element_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/APPLE/element_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/APPLE/element_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''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 ctypes
_... | 42.8125 | 116 | 0.826277 | 208 | 1,370 | 5.086538 | 0.317308 | 0.090737 | 0.079395 | 0.051985 | 0.483932 | 0.242911 | 0.242911 | 0.114367 | 0.114367 | 0.073724 | 0 | 0.006998 | 0.061314 | 1,370 | 31 | 117 | 44.193548 | 0.815708 | 0.072993 | 0 | 0.185185 | 1 | 0 | 0.097387 | 0.097387 | 0 | 0 | 0.014252 | 0 | 0 | 1 | 0.222222 | false | 0.185185 | 0.222222 | 0.037037 | 0.481481 | 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 |
d1b7dab4de3e7c0c019db06598e4488866652942 | 214 | py | Python | claf/data/dto/__init__.py | GMDennis/claf | d1e064e593127e5d654f000f5506c5ae1caab5ce | [
"MIT"
] | 225 | 2019-02-27T06:22:09.000Z | 2022-03-05T23:19:59.000Z | claf/data/dto/__init__.py | GMDennis/claf | d1e064e593127e5d654f000f5506c5ae1caab5ce | [
"MIT"
] | 25 | 2019-03-08T05:04:24.000Z | 2021-09-02T07:19:27.000Z | claf/data/dto/__init__.py | GMDennis/claf | d1e064e593127e5d654f000f5506c5ae1caab5ce | [
"MIT"
] | 41 | 2019-02-27T16:09:30.000Z | 2022-02-09T15:56:09.000Z |
from claf.data.dto.batch import Batch
from claf.data.dto.bert_feature import BertFeature
from claf.data.dto.helper import Helper
# fmt: off
__all__ = [
"Batch",
"BertFeature",
"Helper",
]
# fmt: on
| 14.266667 | 50 | 0.691589 | 30 | 214 | 4.766667 | 0.466667 | 0.167832 | 0.251748 | 0.314685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191589 | 214 | 14 | 51 | 15.285714 | 0.82659 | 0.074766 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
d1c71284a4ba097ac91a006b4c40d0ed821e922e | 68 | py | Python | main/initramfs-tools/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 46 | 2021-06-10T02:27:32.000Z | 2022-03-27T11:33:24.000Z | main/initramfs-tools/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 58 | 2021-07-03T13:58:20.000Z | 2022-03-13T16:45:35.000Z | main/initramfs-tools/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 6 | 2021-07-04T10:46:40.000Z | 2022-01-09T00:03:59.000Z | url = "https://salsa.debian.org/kernel-team/initramfs-tools/-/tags"
| 34 | 67 | 0.735294 | 10 | 68 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 68 | 1 | 68 | 68 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.867647 | 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 |
d1fdaa465ab50d387dc76362d9db141bf370f893 | 200 | py | Python | input from user.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | 1 | 2021-08-02T16:52:55.000Z | 2021-08-02T16:52:55.000Z | input from user.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | input from user.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | name=input("Enter your Name:")
age=int(input("Enter your age:"))
frnd=input("Enter your friend name")
print("Name =",name)
print(age)
print(frnd)
print(type(name))
print(type(age))
print(type(frnd))
| 18.181818 | 36 | 0.705 | 33 | 200 | 4.272727 | 0.30303 | 0.212766 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 200 | 10 | 37 | 20 | 0.774725 | 0 | 0 | 0 | 0 | 0 | 0.296482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0613635d1507c05bac7a5a1519a28872067223ac | 2,329 | py | Python | interpretations/interpreter.py | Pieti/interpretations | 3f2afa37bf58be24edd44072ac26bcbe050b70a0 | [
"MIT"
] | null | null | null | interpretations/interpreter.py | Pieti/interpretations | 3f2afa37bf58be24edd44072ac26bcbe050b70a0 | [
"MIT"
] | null | null | null | interpretations/interpreter.py | Pieti/interpretations | 3f2afa37bf58be24edd44072ac26bcbe050b70a0 | [
"MIT"
] | null | null | null | from interpretations import tokens
class NodeVisitor:
def visit(self, node):
method_name = 'visit_' + type(node).__name__
visitor = getattr(self, method_name, self.generic_visit)
return visitor(node)
def generic_visit(self, node):
raise Exception('No visit_{} method'.format(ty... | 28.060241 | 79 | 0.609274 | 298 | 2,329 | 4.624161 | 0.234899 | 0.117562 | 0.141509 | 0.082729 | 0.343977 | 0.310595 | 0.219158 | 0.177068 | 0.177068 | 0.177068 | 0 | 0 | 0.282095 | 2,329 | 82 | 80 | 28.402439 | 0.824163 | 0.009017 | 0 | 0.065574 | 0 | 0 | 0.010412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.262295 | false | 0.065574 | 0.016393 | 0.016393 | 0.508197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ae1bf138111a02a3cb8d0f3cd6b308441031d392 | 181 | py | Python | mod/forms.py | kassimbabatunde/TailsCode | 207a59c6974548d6207d08c4981f5e4e2bc75e6f | [
"MIT"
] | null | null | null | mod/forms.py | kassimbabatunde/TailsCode | 207a59c6974548d6207d08c4981f5e4e2bc75e6f | [
"MIT"
] | null | null | null | mod/forms.py | kassimbabatunde/TailsCode | 207a59c6974548d6207d08c4981f5e4e2bc75e6f | [
"MIT"
] | null | null | null | from wtforms import Form, TextAreaField, StringField, validators
class SearchForm(Form):
name_post = StringField(
u'Serach Store', [validators.length(min=3, max=15)])
| 25.857143 | 64 | 0.723757 | 22 | 181 | 5.909091 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.165746 | 181 | 6 | 65 | 30.166667 | 0.84106 | 0 | 0 | 0 | 0 | 0 | 0.066298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ae1dff376ff0b1771b548900df7a59fafa4d2f1e | 206 | py | Python | aula-10/api.py | JotinhaBR/Aulas-AD-Python-FC | 89d4d7388ab20a3d7d573380bb6d6a6bfab73345 | [
"MIT"
] | null | null | null | aula-10/api.py | JotinhaBR/Aulas-AD-Python-FC | 89d4d7388ab20a3d7d573380bb6d6a6bfab73345 | [
"MIT"
] | null | null | null | aula-10/api.py | JotinhaBR/Aulas-AD-Python-FC | 89d4d7388ab20a3d7d573380bb6d6a6bfab73345 | [
"MIT"
] | null | null | null | from __future__ import print_function
import sys
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
print('Test diojwdpoajdw', file=sys.stdout)
return 'Hello, World!' | 20.6 | 47 | 0.73301 | 28 | 206 | 5.035714 | 0.642857 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150485 | 206 | 10 | 48 | 20.6 | 0.805714 | 0 | 0 | 0 | 0 | 0 | 0.149758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ae5ffef81243cfd6d8e128c26e836e0616c6c8b3 | 308 | py | Python | pystratis/api/federationgateway/requestmodels/memberipremoverequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/federationgateway/requestmodels/memberipremoverequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/federationgateway/requestmodels/memberipremoverequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from pystratis.api import Model
from pydantic import Field
# noinspection PyUnresolvedReferences
class MemberIPRemoveRequest(Model):
"""A request model for the federationgateway/member/ip/remove endpoint.
Args:
ipaddr (str): The endpoint.
"""
ipaddr: str = Field(alias='endpoint')
| 23.692308 | 75 | 0.727273 | 34 | 308 | 6.588235 | 0.705882 | 0.080357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185065 | 308 | 12 | 76 | 25.666667 | 0.89243 | 0.467532 | 0 | 0 | 0 | 0 | 0.055172 | 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 |
ae6f0e891227c5be978e437fe9a06f3012347384 | 1,307 | py | Python | BBDD/BBDD/aplicacion/views.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | BBDD/BBDD/aplicacion/views.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | BBDD/BBDD/aplicacion/views.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | # Create your views here.
from aplicacion.models import Hospital, Poliza, Asegurado, Medico, Telefono, Hospitalizacion
from django.shortcuts import render_to_response
def index(request):
return render_to_response('aplicacion/index.html',
{})
def hospital(request):
listado_hos = Hospital.objects.all()
... | 34.394737 | 92 | 0.739097 | 145 | 1,307 | 6.427586 | 0.275862 | 0.06867 | 0.137339 | 0.165236 | 0.304721 | 0.270386 | 0.270386 | 0 | 0 | 0 | 0 | 0 | 0.153022 | 1,307 | 37 | 93 | 35.324324 | 0.841915 | 0.017598 | 0 | 0 | 0 | 0 | 0.216069 | 0.151326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.068966 | 0.034483 | 0.551724 | 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 |
ae7fb63cf9d4d934ae666f2bdaacf21dcb5245ff | 393 | py | Python | src/Agent/StdAgent.py | shiftdownet/othello | 958886193bf4b04eeaa075bd3769a57b1adfb2b6 | [
"MIT"
] | null | null | null | src/Agent/StdAgent.py | shiftdownet/othello | 958886193bf4b04eeaa075bd3769a57b1adfb2b6 | [
"MIT"
] | null | null | null | src/Agent/StdAgent.py | shiftdownet/othello | 958886193bf4b04eeaa075bd3769a57b1adfb2b6 | [
"MIT"
] | null | null | null | from .IAgent import IAgent
class StdAgent(IAgent):
def __init__(self, discType):
self._discType = discType
def evaluate(self, cases):
self._prepare( cases )
scores = []
for case in cases:
scores.append(self._scoring(case))
return scores
def _scoring(se... | 19.65 | 46 | 0.590331 | 44 | 393 | 5.068182 | 0.477273 | 0.107623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003745 | 0.320611 | 393 | 19 | 47 | 20.684211 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.071429 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ae8183149df9b6d3befa99f4d129f161c2c8998e | 114 | py | Python | cyder/cydns/view/urls.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/cydns/view/urls.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/cydns/view/urls.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from django.conf.urls.defaults import *
from cyder.cydns.view.views import *
urlpatterns = patterns(
'',
)
| 12.666667 | 39 | 0.701754 | 14 | 114 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 8 | 40 | 14.25 | 0.851064 | 0 | 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 |
ae836901779c1957ecf6a4ce776aaa7d71f0d64a | 105 | py | Python | gwells/views/admin/__init__.py | fieranmason/gwells | 867d56bbe52343054862c72ac6285058a6556a58 | [
"Apache-2.0"
] | 1 | 2020-01-29T22:42:40.000Z | 2020-01-29T22:42:40.000Z | gwells/views/admin/__init__.py | fieranmason/gwells | 867d56bbe52343054862c72ac6285058a6556a58 | [
"Apache-2.0"
] | 1 | 2018-05-02T05:28:33.000Z | 2018-05-09T15:58:07.000Z | gwells/views/admin/__init__.py | fieranmason/gwells | 867d56bbe52343054862c72ac6285058a6556a58 | [
"Apache-2.0"
] | 1 | 2018-05-02T23:56:48.000Z | 2018-05-02T23:56:48.000Z | from .AdminView import AdminView
from .SurveyView import SurveyView
__all__=['SurveyView', 'AdminView']
| 21 | 35 | 0.8 | 11 | 105 | 7.272727 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 105 | 4 | 36 | 26.25 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 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 |
ae9b392c070717124282c27336668cc048b1134c | 255 | py | Python | molmodmt/forms/classes/api_openmm_Context.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | molmodmt/forms/classes/api_openmm_Context.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | molmodmt/forms/classes/api_openmm_Context.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | from os.path import basename as _basename
from simtk.openmm import Context as _openmm_Context
form_name=_basename(__file__).split('.')[0].replace('api_','').replace('_','.')
is_form={
_openmm_Context : form_name,
'openmm.Context' : form_name
}
| 23.181818 | 79 | 0.721569 | 34 | 255 | 4.941176 | 0.5 | 0.232143 | 0.303571 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004484 | 0.12549 | 255 | 10 | 80 | 25.5 | 0.748879 | 0 | 0 | 0 | 0 | 0 | 0.082677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 |
88363f330ec7d5298541c4a34cc1b2686e1b006f | 160 | py | Python | exercicio51PA.py | adrianomdantas/Exercicios-Python | ef5025a186615258aec0cf35ed839fe49577d983 | [
"MIT"
] | null | null | null | exercicio51PA.py | adrianomdantas/Exercicios-Python | ef5025a186615258aec0cf35ed839fe49577d983 | [
"MIT"
] | null | null | null | exercicio51PA.py | adrianomdantas/Exercicios-Python | ef5025a186615258aec0cf35ed839fe49577d983 | [
"MIT"
] | null | null | null | a1 = int(input('Digite o primeiro termo: '))
razao = int(input('Digite a razão: '))
for n in range(1, 10):
print(a1, end=' ')
a1 = a1 + razao
print(a1)
| 22.857143 | 44 | 0.59375 | 27 | 160 | 3.518519 | 0.666667 | 0.168421 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0.21875 | 160 | 6 | 45 | 26.666667 | 0.696 | 0 | 0 | 0 | 0 | 0 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
884f227093c6d187a82343dcdb30bb3e09c5965d | 882 | py | Python | 08_buzzer/eg_08_02_buzzer_school_bell.py | byrobot-python/e_drone_examples | fca3ef69f45299f0e80df52ac303e2a1388b2b61 | [
"MIT"
] | null | null | null | 08_buzzer/eg_08_02_buzzer_school_bell.py | byrobot-python/e_drone_examples | fca3ef69f45299f0e80df52ac303e2a1388b2b61 | [
"MIT"
] | null | null | null | 08_buzzer/eg_08_02_buzzer_school_bell.py | byrobot-python/e_drone_examples | fca3ef69f45299f0e80df52ac303e2a1388b2b61 | [
"MIT"
] | null | null | null | from time import sleep
from e_drone.drone import *
from e_drone.protocol import *
if __name__ == '__main__':
drone = Drone()
drone.open()
drone.send_buzzer(DeviceType.DRONE, BuzzerMode.MUTE, BuzzerScale.MUTE.value, 100)
sleep(0.2)
drone.send_buzzer_scale(DeviceType.DRONE,... | 38.347826 | 86 | 0.689342 | 121 | 882 | 4.818182 | 0.231405 | 0.123499 | 0.205832 | 0.240137 | 0.701544 | 0.675815 | 0.675815 | 0.675815 | 0.675815 | 0.675815 | 0 | 0.065642 | 0.188209 | 882 | 23 | 87 | 38.347826 | 0.748603 | 0 | 0 | 0.375 | 0 | 0 | 0.009292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88901f3ff044215f2f7a74ed01f8857c1517fee2 | 423 | py | Python | Library/home/migrations/0008_auto_20210120_0126.py | archx64/FaceEmotionRecognitionDjango | b8c0830d05602417949aee172630afcaf1e0652a | [
"MIT"
] | null | null | null | Library/home/migrations/0008_auto_20210120_0126.py | archx64/FaceEmotionRecognitionDjango | b8c0830d05602417949aee172630afcaf1e0652a | [
"MIT"
] | null | null | null | Library/home/migrations/0008_auto_20210120_0126.py | archx64/FaceEmotionRecognitionDjango | b8c0830d05602417949aee172630afcaf1e0652a | [
"MIT"
] | 1 | 2021-01-24T03:27:15.000Z | 2021-01-24T03:27:15.000Z | # Generated by Django 3.1.5 on 2021-01-19 18:56
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('home', '0007_auto_20200820_1431'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='degree',
),
... | 19.227273 | 47 | 0.550827 | 42 | 423 | 5.428571 | 0.738095 | 0.184211 | 0.22807 | 0.263158 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.109929 | 0.333333 | 423 | 21 | 48 | 20.142857 | 0.698582 | 0.106383 | 0 | 0.4 | 1 | 0 | 0.12234 | 0.06117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8898752c678b0622a6d690058a04af2db14d5187 | 2,063 | py | Python | RoboticsCV/ArduinoComm/arduino_comm.py | FinneganHunter/RoboticsCV | 443fcf914770ed6c18d6a0c41b287e265ae30763 | [
"MIT"
] | null | null | null | RoboticsCV/ArduinoComm/arduino_comm.py | FinneganHunter/RoboticsCV | 443fcf914770ed6c18d6a0c41b287e265ae30763 | [
"MIT"
] | null | null | null | RoboticsCV/ArduinoComm/arduino_comm.py | FinneganHunter/RoboticsCV | 443fcf914770ed6c18d6a0c41b287e265ae30763 | [
"MIT"
] | null | null | null | """
from gpiozero import PWMLED
#from ..app import pin_assign
from .. import ComputerVision
# https://gpiozero.readthedocs.io/en/stable/api_output.html#pwmoutputdevice
# TODO: make the pins a function in arduino_comm which are passed from app, setup function or class
def pin_assign(pin1, pin2, pin3, pin4) -> list:
... | 30.338235 | 99 | 0.736306 | 316 | 2,063 | 4.607595 | 0.367089 | 0.034341 | 0.043956 | 0.049451 | 0.321429 | 0.201923 | 0.201923 | 0.201923 | 0.201923 | 0.196429 | 0 | 0.017943 | 0.18953 | 2,063 | 68 | 100 | 30.338235 | 0.852871 | 0.996607 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.058824 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
889d8560deb76a01b1ad434a6852c3645197af57 | 123 | py | Python | python-pj/shiyanlou/decorator.py | RabitDash/practice | 2becb4367d0fa7d6ad0226dfa9b67765b5c59af9 | [
"MIT"
] | null | null | null | python-pj/shiyanlou/decorator.py | RabitDash/practice | 2becb4367d0fa7d6ad0226dfa9b67765b5c59af9 | [
"MIT"
] | null | null | null | python-pj/shiyanlou/decorator.py | RabitDash/practice | 2becb4367d0fa7d6ad0226dfa9b67765b5c59af9 | [
"MIT"
] | 1 | 2021-04-06T08:11:19.000Z | 2021-04-06T08:11:19.000Z | #!/usr/bin/env python
def as_we_can(func):
print(func.__name__)
@as_we_can
def fuck():
print("oh_yeah")
fuck()
| 10.25 | 24 | 0.650407 | 21 | 123 | 3.380952 | 0.666667 | 0.112676 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178862 | 123 | 11 | 25 | 11.181818 | 0.70297 | 0.162602 | 0 | 0 | 0 | 0 | 0.068627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88a3540bb87c05759fa558477072448d2b3abb53 | 71 | py | Python | ex001.py | thaisNY/GuanabaraPy | a0a3acbd9242a39491a365b07562037d7a936bba | [
"MIT"
] | null | null | null | ex001.py | thaisNY/GuanabaraPy | a0a3acbd9242a39491a365b07562037d7a936bba | [
"MIT"
] | null | null | null | ex001.py | thaisNY/GuanabaraPy | a0a3acbd9242a39491a365b07562037d7a936bba | [
"MIT"
] | null | null | null | nome = input ('Qual é o seu nome ?')
print ('Prazer te conhecer',nome)
| 23.666667 | 36 | 0.661972 | 12 | 71 | 3.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 2 | 37 | 35.5 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.521127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
88b421dc3fe321ab34fa3e94bb836ce3cedcbf5b | 821 | py | Python | lalaloc/data/split.py | ActiveVisionLab/LaLaLoc | 21a0da94fbe7ef6cce3d34c6a5f47cc09d072f45 | [
"MIT"
] | 5 | 2021-09-14T15:02:36.000Z | 2022-02-09T18:43:16.000Z | lalaloc/data/split.py | ActiveVisionLab/LaLaLoc | 21a0da94fbe7ef6cce3d34c6a5f47cc09d072f45 | [
"MIT"
] | null | null | null | lalaloc/data/split.py | ActiveVisionLab/LaLaLoc | 21a0da94fbe7ef6cce3d34c6a5f47cc09d072f45 | [
"MIT"
] | 1 | 2021-09-14T18:48:08.000Z | 2021-09-14T18:48:08.000Z | def scenes_split(split):
splits = {
"train": (
list(range(0, 3000)),
[
335,
683,
1192,
1753,
1852,
2205,
2209,
2223,
2339,
2... | 23.457143 | 73 | 0.306943 | 66 | 821 | 3.772727 | 0.727273 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375375 | 0.594397 | 821 | 34 | 74 | 24.147059 | 0.372372 | 0 | 0 | 0 | 0 | 0 | 0.014616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0 | 0 | 0.058824 | 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 |
ee0584197b5d7855cafa687473b0ddbd296e8a91 | 209 | py | Python | maro/simulator/scenarios/vm_scheduling/events.py | MicrosoftHam/maro | 4339c9dffc31ac17871b70024e2717fa97ddfa90 | [
"MIT"
] | 1 | 2021-01-13T06:41:51.000Z | 2021-01-13T06:41:51.000Z | maro/simulator/scenarios/vm_scheduling/events.py | MicrosoftHam/maro | 4339c9dffc31ac17871b70024e2717fa97ddfa90 | [
"MIT"
] | null | null | null | maro/simulator/scenarios/vm_scheduling/events.py | MicrosoftHam/maro | 4339c9dffc31ac17871b70024e2717fa97ddfa90 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from enum import Enum
class Events(Enum):
"""VM-PM pairs related events."""
# VM request events.
REQUEST = "vm_required"
| 19 | 38 | 0.688995 | 27 | 209 | 5.296296 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205742 | 209 | 10 | 39 | 20.9 | 0.861446 | 0.555024 | 0 | 0 | 0 | 0 | 0.129412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ee3c329efc37d4c032681b88c6459bcd39a0fcf9 | 435 | py | Python | granular_speckles/__init__.py | cocconat/granular_speckles | 78c83ca67f1fbf79833e5542511fd050dde3b517 | [
"MIT"
] | null | null | null | granular_speckles/__init__.py | cocconat/granular_speckles | 78c83ca67f1fbf79833e5542511fd050dde3b517 | [
"MIT"
] | null | null | null | granular_speckles/__init__.py | cocconat/granular_speckles | 78c83ca67f1fbf79833e5542511fd050dde3b517 | [
"MIT"
] | null | null | null | #! /usr/bin/python
# -*- coding: utf-8 -*-
# This file belongs to DWGranularSpeckles project.
# The software is realeased with MIT license.
from .video import get_frame_rate, videoToFrame
from .dataprocess import halfheight
from .cli_parser import getParser
from .matrix import GetMatrix, correlation
from .coarsing imp... | 33.461538 | 60 | 0.795402 | 53 | 435 | 6.45283 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.133333 | 435 | 12 | 61 | 36.25 | 0.904509 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ee44dabf5a35b7cc9f061ab172bd2d47576429a1 | 635 | py | Python | users/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | users/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | users/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.forms import UserChangeForm
from users.models import User
# todo Разобраться, как отображать дополнительные поля при передаче в register BaseUserModel
class CustomUserChangeForm(UserChangeForm):... | 30.238095 | 111 | 0.774803 | 69 | 635 | 7.043478 | 0.57971 | 0.061728 | 0.104938 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140157 | 635 | 20 | 112 | 31.75 | 0.89011 | 0.141732 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ee570c5f0cc66963219020cee0e2d9df1fadbabb | 794 | py | Python | ticket/resolve/resolver.py | wtghby/ticket | 6f7bcc694c7c8bac0d617c9312484340094fc837 | [
"MIT"
] | null | null | null | ticket/resolve/resolver.py | wtghby/ticket | 6f7bcc694c7c8bac0d617c9312484340094fc837 | [
"MIT"
] | null | null | null | ticket/resolve/resolver.py | wtghby/ticket | 6f7bcc694c7c8bac0d617c9312484340094fc837 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
class Resolver(object):
def left_ticket(self, results):
for result in results:
if self._has_ticket(result):
return True
return False
def _has_ticket(self, item):
return format(item['soft_bed']) or format(item['no_seat']) or format(it... | 30.538462 | 107 | 0.559194 | 102 | 794 | 4.196078 | 0.382353 | 0.233645 | 0.252336 | 0.261682 | 0.172897 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.31738 | 794 | 25 | 108 | 31.76 | 0.785978 | 0.026448 | 0 | 0.25 | 0 | 0 | 0.125811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0 | 0.05 | 0.55 | 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 |
ee5f93dd604067a7b66773d6c850b04c38e1f538 | 7,788 | py | Python | src/genie/libs/parser/iosxe/tests/ShowNtpAssociationsDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowNtpAssociationsDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowNtpAssociationsDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"default": {
"associations": {
"address": {
"192.168.255.254": {
"local_mode": {
"client": {
"isconfigured": {
... | 58.556391 | 118 | 0.221366 | 458 | 7,788 | 3.661572 | 0.296943 | 0.026834 | 0.032797 | 0.028623 | 0.685152 | 0.6452 | 0.594514 | 0.49195 | 0.43232 | 0.422182 | 0 | 0.236885 | 0.686697 | 7,788 | 132 | 119 | 59 | 0.45041 | 0 | 0 | 0.424242 | 0 | 0.045455 | 0.253338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
ee84d6f6d4e76373a78ea1f3ac39dc79430ae699 | 132 | py | Python | release/stubs.min/System/Runtime/InteropServices/__init___parts/IDLDESC.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Runtime/InteropServices/__init___parts/IDLDESC.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Runtime/InteropServices/__init___parts/IDLDESC.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class IDLDESC(object):
""" Use System.Runtime.InteropServices.ComTypes.IDLDESC instead. """
dwReserved=None
wIDLFlags=None
| 22 | 70 | 0.742424 | 14 | 132 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 5 | 71 | 26.4 | 0.859649 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c9b04135e25a19cbff9239dbb4c4e77c1a7dc1f9 | 191 | py | Python | runtests.py | mrfuxi/lastfm-user-tracks | baacf07ce9dff30c125511bbd88a49fa2daf1597 | [
"MIT"
] | 1 | 2019-11-07T11:03:07.000Z | 2019-11-07T11:03:07.000Z | runtests.py | mrfuxi/lastfm-user-tracks | baacf07ce9dff30c125511bbd88a49fa2daf1597 | [
"MIT"
] | null | null | null | runtests.py | mrfuxi/lastfm-user-tracks | baacf07ce9dff30c125511bbd88a49fa2daf1597 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unittest
from user_tracks import tests
loader = unittest.TestLoader()
suite = loader.loadTestsFromModule(tests)
unittest.TextTestRunner(verbosity=2).run(suite)
| 21.222222 | 47 | 0.806283 | 24 | 191 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.089005 | 191 | 8 | 48 | 23.875 | 0.873563 | 0.104712 | 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 |
c9b1a4cb919bb302d2c616dc63721c673138eb03 | 205 | py | Python | lesson 2/question 1.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | 2 | 2021-08-10T18:16:08.000Z | 2021-09-26T19:49:26.000Z | lesson 2/question 1.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | null | null | null | lesson 2/question 1.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | null | null | null | height = float(input("What is the height of the triangle: "))
length = float(input("What is the length of the triangle: "))
area = height * length / 2
print(f'The area of the triangle is {area}')
| 29.285714 | 62 | 0.668293 | 33 | 205 | 4.151515 | 0.393939 | 0.109489 | 0.284672 | 0.233577 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.209756 | 205 | 6 | 63 | 34.166667 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.532663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
c9e2b6ec413dd9af86a45860cd03acad0219f845 | 1,294 | py | Python | tests/tools.py | adrien-berchet/luigi-tools | 5de731714db38656db06e39acdb0b9e53ed612bf | [
"Apache-2.0"
] | 2 | 2021-07-20T13:08:44.000Z | 2021-07-23T13:08:05.000Z | tests/tools.py | adrien-berchet/luigi-tools | 5de731714db38656db06e39acdb0b9e53ed612bf | [
"Apache-2.0"
] | 3 | 2021-10-04T11:48:34.000Z | 2022-03-18T15:48:00.000Z | tests/tools.py | adrien-berchet/luigi-tools | 5de731714db38656db06e39acdb0b9e53ed612bf | [
"Apache-2.0"
] | 1 | 2022-03-21T15:15:23.000Z | 2022-03-21T15:15:23.000Z | # Copyright 2021 Blue Brain Project / EPFL
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 28.130435 | 74 | 0.694745 | 195 | 1,294 | 4.548718 | 0.471795 | 0.067644 | 0.076663 | 0.036077 | 0.214205 | 0.214205 | 0.155581 | 0.155581 | 0.078918 | 0 | 0 | 0.007752 | 0.202473 | 1,294 | 45 | 75 | 28.755556 | 0.851744 | 0.565688 | 0 | 0.133333 | 0 | 0 | 0.038536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.066667 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c9ec3a89b9dd4b4857b1cab021cbfe9d4a7903eb | 1,858 | py | Python | xoeuf/fields/timedelta/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 3 | 2015-05-16T04:40:14.000Z | 2016-01-26T05:36:20.000Z | xoeuf/fields/timedelta/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | null | null | null | xoeuf/fields/timedelta/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T23:08:50.000Z | 2017-03-23T23:08:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
from datetime import timedelta
from odoo.fi... | 32.034483 | 73 | 0.608181 | 230 | 1,858 | 4.808696 | 0.4 | 0.081374 | 0.135624 | 0.068716 | 0.198915 | 0.176311 | 0.103074 | 0.103074 | 0 | 0 | 0 | 0.00143 | 0.24704 | 1,858 | 57 | 74 | 32.596491 | 0.789135 | 0.357912 | 0 | 0 | 0 | 0 | 0.037838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.125 | 0.708333 | 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 |
a016466c3d058ad77319ad1d3d389d5988e0cbe3 | 435 | py | Python | src/gfl/core/net/abstract/receive.py | mingt2019/GFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 123 | 2020-06-05T13:30:38.000Z | 2022-03-30T08:39:43.000Z | src/gfl/core/net/abstract/receive.py | GalaxyLearning/PFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 13 | 2020-06-19T13:09:47.000Z | 2021-12-22T03:09:24.000Z | src/gfl/core/net/abstract/receive.py | GalaxyLearning/GFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 35 | 2020-06-08T15:52:21.000Z | 2022-03-25T11:52:42.000Z | from typing import Tuple
from gfl.core.lfs.types import File
"""
receive
job:
receive_job() -> List[str]
dataset:
params:
receive_partial_params(client: str, job_id: str, step: int) -> File
"""
class NetReceive(object):
@classmethod
def receive_job(cls) -> Tuple:
pas... | 15.535714 | 81 | 0.625287 | 55 | 435 | 4.8 | 0.490909 | 0.113636 | 0.151515 | 0.106061 | 0.212121 | 0.212121 | 0.212121 | 0.212121 | 0 | 0 | 0 | 0 | 0.264368 | 435 | 27 | 82 | 16.111111 | 0.825 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a01b2ec2054d451558b1a95efa9ec05984f9f0d3 | 9,211 | py | Python | UE4Parse/BinaryReader.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | null | null | null | UE4Parse/BinaryReader.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | null | null | null | UE4Parse/BinaryReader.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | null | null | null | import os
from io import BufferedReader, BytesIO
from struct import *
from typing import BinaryIO, Tuple, TypeVar, Union, TYPE_CHECKING, AnyStr, Optional, Iterable, Type
from UE4Parse import Logger
from UE4Parse.Exceptions.Exceptions import ParserException
from UE4Parse.Versions.EUEVersion import EUEVersion
from UE4Pa... | 30.2 | 124 | 0.595701 | 1,107 | 9,211 | 4.893406 | 0.214995 | 0.055381 | 0.06978 | 0.034521 | 0.311058 | 0.224478 | 0.210079 | 0.13993 | 0.108916 | 0.108916 | 0 | 0.019368 | 0.282488 | 9,211 | 304 | 125 | 30.299342 | 0.800272 | 0.047769 | 0 | 0.126126 | 0 | 0.009009 | 0.042424 | 0.005832 | 0 | 0 | 0.000915 | 0 | 0 | 1 | 0.261261 | false | 0 | 0.063063 | 0.130631 | 0.563063 | 0.004505 | 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 |
4e427e44b74b4c8fe9d9e75af9d42717780e2e53 | 134 | py | Python | api_keys.py | maartenelgar/multi_armed_bandit_testing | 1edbb588a4ba0f238955a42387f5784078e4293f | [
"MIT"
] | null | null | null | api_keys.py | maartenelgar/multi_armed_bandit_testing | 1edbb588a4ba0f238955a42387f5784078e4293f | [
"MIT"
] | null | null | null | api_keys.py | maartenelgar/multi_armed_bandit_testing | 1edbb588a4ba0f238955a42387f5784078e4293f | [
"MIT"
] | null | null | null | ts = TimeSeries(key='6NY0A0CY41RY9SAU', output_format='pandas', indexing_type='integer')
cc = ForeignExchange(key='6NY0A0CY41RY9SAU')
| 44.666667 | 88 | 0.791045 | 14 | 134 | 7.428571 | 0.857143 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.059701 | 134 | 2 | 89 | 67 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0.335821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.