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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c08290c5070077839e57b1ecf4dfa51ee424a37f | 443 | py | Python | mundo-01/aula08-UtilizandoModulos.py | fabiocoutoaraujo/CursoVideoPython | 7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf | [
"MIT"
] | 1 | 2020-04-18T16:39:23.000Z | 2020-04-18T16:39:23.000Z | mundo-01/aula08-UtilizandoModulos.py | fabiocoutoaraujo/CursoVideoPython | 7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf | [
"MIT"
] | null | null | null | mundo-01/aula08-UtilizandoModulos.py | fabiocoutoaraujo/CursoVideoPython | 7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf | [
"MIT"
] | null | null | null | from math import factorial, sqrt, floor
import random
print('A raíz quadrada de 20 é {}'.format(sqrt(20)))
print('A raíz quadrada de 20 formatada é {:.2f}'.format(floor(sqrt(20))))
print('O fatorial de 5 é {}'.format(factorial(5)))
print('Número randômico {}'.format(random.random()))
print('Número randômico inteiro {... | 29.533333 | 73 | 0.713318 | 67 | 443 | 4.686567 | 0.522388 | 0.070064 | 0.063694 | 0.11465 | 0.140127 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0.035443 | 0.108352 | 443 | 14 | 74 | 31.642857 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
c08800f14dcd38ff1aea2c14e6216301e21bfd5e | 437 | py | Python | apps/tours/admin.py | Guest007/vgid | bb03c4e2bc879a553c1830928528b0bc5d2ba679 | [
"MIT"
] | null | null | null | apps/tours/admin.py | Guest007/vgid | bb03c4e2bc879a553c1830928528b0bc5d2ba679 | [
"MIT"
] | 7 | 2015-09-13T14:35:42.000Z | 2015-09-13T15:51:47.000Z | apps/tours/admin.py | Guest007/vgid | bb03c4e2bc879a553c1830928528b0bc5d2ba679 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
import reversion
from tours.models import Tour, TourType, GeoIndicator, Complectation
from sorl.thumbnail.admin import AdminImageMixin
class TourAdmin(AdminImageMixin, reversion.VersionAdmin):
prepopulated_fields = {"slug": ("title",)}
admin.site.register... | 27.3125 | 68 | 0.791762 | 50 | 437 | 6.9 | 0.54 | 0.104348 | 0.197101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002532 | 0.09611 | 437 | 15 | 69 | 29.133333 | 0.870886 | 0.048055 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c095305f073d8835b67e6b8057efb8c4de98538d | 66 | py | Python | app01/views/__init__.py | HashFlag/tracer | 713b422b010a77bce6e4c36c9daa5144f03622d5 | [
"Apache-2.0"
] | null | null | null | app01/views/__init__.py | HashFlag/tracer | 713b422b010a77bce6e4c36c9daa5144f03622d5 | [
"Apache-2.0"
] | null | null | null | app01/views/__init__.py | HashFlag/tracer | 713b422b010a77bce6e4c36c9daa5144f03622d5 | [
"Apache-2.0"
] | null | null | null | # Author:wylkjj
# Date:2020/8/3
# -*- coding:utf-8 -*-
| 4.4 | 22 | 0.484848 | 9 | 66 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0.287879 | 66 | 14 | 23 | 4.714286 | 0.531915 | 0.727273 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c0ccc01e93591abb8384534ef55411f71e6af62a | 182 | py | Python | py-polars/tests/test_serde.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | null | null | null | py-polars/tests/test_serde.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | null | null | null | py-polars/tests/test_serde.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | null | null | null | import pickle
import polars as pl
def test_pickling_simple_expression() -> None:
e = pl.col("foo").sum()
buf = pickle.dumps(e)
assert str(pickle.loads(buf)) == str(e)
| 18.2 | 46 | 0.659341 | 28 | 182 | 4.178571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 182 | 9 | 47 | 20.222222 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
c0cd7156a5558f17812b0443d696f1fb387f846c | 436 | py | Python | clstk/utils/colors.py | nisargjhaveri/summarizer | 6e2a234b2748e3a0e1660dc0404696aa4c10a585 | [
"MIT"
] | 5 | 2018-06-01T14:29:59.000Z | 2021-03-19T04:59:03.000Z | clstk/utils/colors.py | nisargjhaveri/summarizer | 6e2a234b2748e3a0e1660dc0404696aa4c10a585 | [
"MIT"
] | null | null | null | clstk/utils/colors.py | nisargjhaveri/summarizer | 6e2a234b2748e3a0e1660dc0404696aa4c10a585 | [
"MIT"
] | 1 | 2019-04-02T05:07:02.000Z | 2019-04-02T05:07:02.000Z | BLACK = '\033[30m'
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
END = '\033[0m'
disableColors = False
def enclose(str, color):
return color + str + END if not disableColors else str
def isDisabled():
return disableColors
def disable():
... | 15.034483 | 58 | 0.655963 | 55 | 436 | 5.2 | 0.581818 | 0.125874 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113372 | 0.211009 | 436 | 28 | 59 | 15.571429 | 0.718023 | 0 | 0 | 0.210526 | 0 | 0 | 0.144495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0.105263 | 0.315789 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c0d839bcd518a9a600465b22bfda12abfd55ddd1 | 66 | py | Python | pysen_ls/types.py | bonprosoft/pysen-ls | 214ca28c32ab893f19bacedc8cf24084ef463d7c | [
"MIT"
] | 10 | 2021-03-27T17:51:03.000Z | 2021-10-31T11:49:43.000Z | pysen_ls/types.py | bonprosoft/pysen-ls | 214ca28c32ab893f19bacedc8cf24084ef463d7c | [
"MIT"
] | 3 | 2021-04-08T05:25:19.000Z | 2021-04-13T14:14:46.000Z | pysen_ls/types.py | bonprosoft/pysen-ls | 214ca28c32ab893f19bacedc8cf24084ef463d7c | [
"MIT"
] | 1 | 2021-04-12T23:55:59.000Z | 2021-04-12T23:55:59.000Z | from typing import Union
DocumentVersionType = Union[float, int]
| 16.5 | 39 | 0.80303 | 8 | 66 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 3 | 40 | 22 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
238f9b3ff32efc8d234b7c93f539bf11bd81e2a1 | 619 | py | Python | src/charma/movies/root/exceptions.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-01-16T23:36:10.000Z | 2020-01-16T23:36:10.000Z | src/charma/movies/root/exceptions.py | mononobi/imovie-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 24 | 2020-06-08T18:27:04.000Z | 2021-06-06T12:01:39.000Z | src/charma/movies/root/exceptions.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-12-20T05:29:04.000Z | 2020-12-20T05:29:04.000Z | # -*- coding: utf-8 -*-
"""
movies root exceptions module.
"""
from pyrin.core.exceptions import CoreException, CoreBusinessException
class MovieRootException(CoreException):
"""
movie root exception.
"""
pass
class MovieRootBusinessException(CoreBusinessException, MovieRootException):
"""
... | 17.685714 | 76 | 0.696284 | 49 | 619 | 8.795918 | 0.612245 | 0.062645 | 0.083527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002037 | 0.206785 | 619 | 34 | 77 | 18.205882 | 0.875764 | 0.276252 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
23b68200589cc505cbf030e16962ecdf18f171fe | 168,427 | py | Python | _GTW/__test__/Company.py | Tapyr/tapyr | 4235fba6dce169fe747cce4d17d88dcf4a3f9f1d | [
"BSD-3-Clause"
] | 6 | 2016-12-10T17:51:10.000Z | 2021-10-11T07:51:48.000Z | _GTW/__test__/Company.py | Tapyr/tapyr | 4235fba6dce169fe747cce4d17d88dcf4a3f9f1d | [
"BSD-3-Clause"
] | null | null | null | _GTW/__test__/Company.py | Tapyr/tapyr | 4235fba6dce169fe747cce4d17d88dcf4a3f9f1d | [
"BSD-3-Clause"
] | 3 | 2020-03-29T07:37:03.000Z | 2021-01-21T16:08:40.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2013-2017 Mag. Christian Tanzer All rights reserved
# Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at
# #*** <License> ************************************************************#
# This module is part of the package GTW.__test__.
#
# This module is licensed under th... | 39.297014 | 261 | 0.403142 | 14,592 | 168,427 | 4.384183 | 0.030907 | 0.036953 | 0.040173 | 0.068293 | 0.818348 | 0.75909 | 0.699722 | 0.645684 | 0.597899 | 0.557883 | 0 | 0.006706 | 0.498026 | 168,427 | 4,285 | 262 | 39.306184 | 0.749888 | 0.009494 | 0 | 0.568477 | 0 | 0.010572 | 0.982423 | 0.121202 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000721 | false | 0.002162 | 0.001442 | 0 | 0.004085 | 0.006968 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
23bad18a72fdce530fb696fe160e2ceeb1e468ca | 16,548 | py | Python | Ableitung_Frame.py | astroPythoner/Kurvendiskussion_und_Integrale | b6258d42c90d09bb37700fcea7882ad85fa349fb | [
"MIT"
] | 1 | 2020-02-02T21:03:50.000Z | 2020-02-02T21:03:50.000Z | Ableitung_Frame.py | astroPythoner/Kurvendiskussion_und_Integrale | b6258d42c90d09bb37700fcea7882ad85fa349fb | [
"MIT"
] | null | null | null | Ableitung_Frame.py | astroPythoner/Kurvendiskussion_und_Integrale | b6258d42c90d09bb37700fcea7882ad85fa349fb | [
"MIT"
] | null | null | null | from Grundklassen import Graph
from Funktion import Funktion, n_mal_x_plus_m_to_string, polynom_array_to_str, vorzeichen_str, bruch_kuerzen
import tkinter as tk
from tkinter import font
from tkinter import ttk
import math
try:
import sympy
except Exception:
pass
class Ableitung_Frame(tk.Frame):
__funktio... | 90.42623 | 329 | 0.664431 | 2,025 | 16,548 | 5.157037 | 0.096296 | 0.12257 | 0.183855 | 0.13071 | 0.732452 | 0.705353 | 0.690319 | 0.67787 | 0.640046 | 0.601072 | 0 | 0.012641 | 0.196882 | 16,548 | 183 | 330 | 90.42623 | 0.772837 | 0 | 0 | 0.212644 | 0 | 0.022989 | 0.115596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0.005747 | 0.04023 | 0 | 0.097701 | 0.005747 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 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 |
23c7ace792fe84e7fa2bce38268c749293ba97ac | 1,792 | py | Python | python/easy/strings/text_alignment.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | python/easy/strings/text_alignment.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | python/easy/strings/text_alignment.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
def text_alignment(thickness: int, c: str = 'H') -> None:
"""
>>> text_alignment(5) #doctest: +NORMALIZE_WHITESPACE
H
HHH
HHHHH
HHHHHHH
HHHHHHHHH
HHHHH HHHHH
HHHHH HHHHH
HHHHH HHHHH
HHHHH ... | 29.377049 | 78 | 0.454799 | 161 | 1,792 | 4.968944 | 0.267081 | 0.275 | 0.375 | 0.45 | 0.4675 | 0.4425 | 0.4425 | 0.4425 | 0.3675 | 0.3675 | 0 | 0.017137 | 0.446429 | 1,792 | 60 | 79 | 29.866667 | 0.789315 | 0.410714 | 0 | 0.5 | 0 | 0 | 0.009626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.045455 | 0.227273 | 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 |
23d7fd4b59d7da4c83ff70ada605ee02cd3d4342 | 131 | py | Python | text/_cascade/text/indent.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_cascade/text/indent.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_cascade/text/indent.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
@dataclass
class TextIndent(
BlockElementOperator,
Length,
Percentage,
):
pass
| 11.909091 | 33 | 0.717557 | 11 | 131 | 8.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229008 | 131 | 10 | 34 | 13.1 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
23ddc60372b63644dcebd6fd1002609f59ee77d7 | 1,545 | py | Python | reference/sketchbook/regex/backtrack.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | 1 | 2015-10-28T00:00:16.000Z | 2015-10-28T00:00:16.000Z | reference/sketchbook/regex/backtrack.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | null | null | null | reference/sketchbook/regex/backtrack.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | null | null | null | """
Regular expression matching by backtracking. Simple but can take up to
infinite time.
"""
def match(re, s):
return any(s1 == '' for s1 in re(s))
## match(fail, '')
#. False
## match(empty, '')
#. True
## match(empty, 'A')
#. False
## match(lit('x'), '')
#. False
## match(lit('x'), 'y')
#. False
## match(lit('... | 19.807692 | 106 | 0.53657 | 234 | 1,545 | 3.542735 | 0.239316 | 0.119421 | 0.050663 | 0.057901 | 0.282268 | 0.199035 | 0.072376 | 0 | 0 | 0 | 0 | 0.012688 | 0.183819 | 1,545 | 77 | 107 | 20.064935 | 0.644726 | 0.620065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.235294 | 0.705882 | 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 |
23df35615823893c638ce81b885927abc4117601 | 87 | py | Python | dr27demo/dr27app/pytest_settings.py | SRJ9/driver27 | 3fd32005a89112fe9f94281b33a497d4ab1ebb55 | [
"MIT"
] | 1 | 2016-10-12T22:49:09.000Z | 2016-10-12T22:49:09.000Z | dr27demo/dr27app/pytest_settings.py | SRJ9/driver27 | 3fd32005a89112fe9f94281b33a497d4ab1ebb55 | [
"MIT"
] | 1 | 2016-10-12T22:47:08.000Z | 2016-10-12T22:47:08.000Z | dr27demo/dr27app/pytest_settings.py | SRJ9/driver27 | 3fd32005a89112fe9f94281b33a497d4ab1ebb55 | [
"MIT"
] | null | null | null | from .base_settings import *
PYTEST_SETTING = True
ALLOWED_HOSTS.append('testserver')
| 17.4 | 34 | 0.804598 | 11 | 87 | 6.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 4 | 35 | 21.75 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 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 |
9b103fb8132db60ab3538459266b539c7fdd9674 | 204 | py | Python | timeofday/utils.py | myles/time-of-day | 514c0a194f23868a573edc26b0811110f97c1135 | [
"BSD-3-Clause"
] | null | null | null | timeofday/utils.py | myles/time-of-day | 514c0a194f23868a573edc26b0811110f97c1135 | [
"BSD-3-Clause"
] | null | null | null | timeofday/utils.py | myles/time-of-day | 514c0a194f23868a573edc26b0811110f97c1135 | [
"BSD-3-Clause"
] | null | null | null | import datetime
from flask.json import JSONEncoder
class CustomJSONEncoder(JSONEncoder):
def default(self, obj):
if isinstance(obj, datetime.datetime):
return obj.isoformat()
| 17 | 46 | 0.70098 | 22 | 204 | 6.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 204 | 11 | 47 | 18.545455 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 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 |
f1c60964d3e0c9aee68ff146cae330509952af20 | 304 | py | Python | test_project/test_project/models.py | simon-db/django-ckeditor | f7c1d23640f56db89cf15846c6d5989c01e5da87 | [
"BSD-3-Clause"
] | 4 | 2015-03-10T21:31:14.000Z | 2021-01-03T08:07:48.000Z | test_project/test_project/models.py | m4rk3r/django-ckeditor | 4fb8cac73ca476a576b44cfadecc5a15565c4bda | [
"BSD-3-Clause"
] | null | null | null | test_project/test_project/models.py | m4rk3r/django-ckeditor | 4fb8cac73ca476a576b44cfadecc5a15565c4bda | [
"BSD-3-Clause"
] | 3 | 2015-06-07T07:32:20.000Z | 2021-11-29T13:17:35.000Z | from django.db import models
from ckeditor.fields import RichTextField
class Post(models.Model):
content_basic = RichTextField('Basic', config_name='basic')
content_full = RichTextField('Full', config_name='full')
content_custom = RichTextField(config_name='custom', verbose_name='Custom')
| 33.777778 | 79 | 0.769737 | 37 | 304 | 6.135135 | 0.486486 | 0.132159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 304 | 8 | 80 | 38 | 0.847015 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f1d092eafa9e8ab32cbd083e8108f685d9d08432 | 78 | py | Python | synonyms_handling.py | frederikja163/coolshop-application-assignment | 472d8a9f8f6dba11b891827a8e2df45d71a31b97 | [
"MIT"
] | null | null | null | synonyms_handling.py | frederikja163/coolshop-application-assignment | 472d8a9f8f6dba11b891827a8e2df45d71a31b97 | [
"MIT"
] | 3 | 2017-03-07T15:20:43.000Z | 2017-07-04T11:53:47.000Z | synonyms_handling.py | frederikja163/coolshop-application-assignment | 472d8a9f8f6dba11b891827a8e2df45d71a31b97 | [
"MIT"
] | 4 | 2017-03-07T15:04:17.000Z | 2021-09-30T17:20:30.000Z | def create_synonyms_file(language, synonyms):
raise NotImplementedError()
| 26 | 45 | 0.807692 | 8 | 78 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 2 | 46 | 39 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f1d9dec0cd4836ad32b1790714f7cf21539eb48c | 7,410 | py | Python | tests/test_preround_model.py | MHeasell/hearts-server | ecaff52803a97f7f250439d60faf50a1872cf38b | [
"MIT"
] | null | null | null | tests/test_preround_model.py | MHeasell/hearts-server | ecaff52803a97f7f250439d60faf50a1872cf38b | [
"MIT"
] | null | null | null | tests/test_preround_model.py | MHeasell/hearts-server | ecaff52803a97f7f250439d60faf50a1872cf38b | [
"MIT"
] | null | null | null | import unittest
from hearts.model.preround import HeartsPreRound
import hearts.util as u
import hearts.model.exceptions as m
example_hands = [
['h5', 's7', 'c2', 'h1', 'd2', 'h8', 'd3', 's2', 'd9', 'c5', 'd8', 'dq', 'c4'],
['c10', 'h6', 'c3', 'h10', 'hk', 'd7', 'dk', 'h4', 'sj', 'hq', 'hj', 's5', 'd5'],
[... | 30 | 85 | 0.583401 | 956 | 7,410 | 4.339958 | 0.169456 | 0.092552 | 0.083876 | 0.092552 | 0.798024 | 0.789106 | 0.704989 | 0.642082 | 0.631477 | 0.58014 | 0 | 0.025202 | 0.298516 | 7,410 | 246 | 86 | 30.121951 | 0.77299 | 0.159109 | 0 | 0.679104 | 0 | 0 | 0.025816 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 1 | 0.104478 | false | 0.298507 | 0.029851 | 0 | 0.141791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f1ed0b26033551f70f9d66d347b767697edc97ee | 226 | py | Python | common/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | common/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | common/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | from .common import numeric_vars, categorical_vars, binary_vars, validate_headers, \
make_prediction_df, md5, get_file_metadata, compare_versions, FILE_CONFIG, FileConfig, load_file_config
from ._version import __version__ | 75.333333 | 107 | 0.845133 | 30 | 226 | 5.8 | 0.733333 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.097345 | 226 | 3 | 108 | 75.333333 | 0.848039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f1f65ffcf6494eb0a61935db323414ffb771f0d5 | 103 | py | Python | assets/code_box/cf_4A.py | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 2 | 2020-10-24T03:25:30.000Z | 2021-08-01T05:18:18.000Z | assets/code_box/cf_4A.py | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 2 | 2020-12-05T14:31:19.000Z | 2020-12-06T05:09:43.000Z | assets/code_box/cf_4A.py | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 4 | 2020-08-26T10:02:11.000Z | 2020-10-22T05:55:18.000Z | w = int(input())
if(w == 2):
print("NO")
elif(w % 2 == 0):
print("YES")
else :
print("NO") | 12.875 | 17 | 0.446602 | 17 | 103 | 2.705882 | 0.647059 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.271845 | 103 | 8 | 18 | 12.875 | 0.573333 | 0 | 0 | 0.285714 | 0 | 0 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 |
7b22640bc8622916a69e030043780d49b6e3de9a | 399 | py | Python | pygol/gui/__init__.py | umcconnell/pygol | f0ef91b4d785b102ab3d65ff1f7de1fd536ca9b3 | [
"MIT"
] | null | null | null | pygol/gui/__init__.py | umcconnell/pygol | f0ef91b4d785b102ab3d65ff1f7de1fd536ca9b3 | [
"MIT"
] | null | null | null | pygol/gui/__init__.py | umcconnell/pygol | f0ef91b4d785b102ab3d65ff1f7de1fd536ca9b3 | [
"MIT"
] | null | null | null | """PyGoL GUI Module"""
# pylint: disable=wrong-import-position
# Import position is important! The `PYGAME_HIDE_SUPPORT_PROMT` environment
# variable must be set before we import pygame
# In VSCode save this file using Ctrl+K S to prevent formatting
from os import environ
environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1'
f... | 33.25 | 75 | 0.79198 | 60 | 399 | 5.166667 | 0.7 | 0.090323 | 0.109677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0.140351 | 399 | 11 | 76 | 36.272727 | 0.900875 | 0.591479 | 0 | 0 | 0 | 0 | 0.175325 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9e2b1fea34caa106565bef95e598673666b92bfa | 178 | py | Python | arcade/intro/b. 10. common-character-count/common_character_count.py | jeury301/code-fights | 379dd541aed0f3918cf1659b635ec51368b0b349 | [
"MIT"
] | null | null | null | arcade/intro/b. 10. common-character-count/common_character_count.py | jeury301/code-fights | 379dd541aed0f3918cf1659b635ec51368b0b349 | [
"MIT"
] | null | null | null | arcade/intro/b. 10. common-character-count/common_character_count.py | jeury301/code-fights | 379dd541aed0f3918cf1659b635ec51368b0b349 | [
"MIT"
] | null | null | null | from collections import Counter
def commonCharacterCount(s1, s2):
c1, c2 = Counter(s1), Counter(s2)
return sum([min([c1[x], c2[x]]) for x in list(set(s1) and set(s2))])
| 29.666667 | 72 | 0.662921 | 30 | 178 | 3.933333 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0.168539 | 178 | 5 | 73 | 35.6 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 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 |
9e3412be4d6fda99e9e85e2bf91f0c126f6da50b | 213 | py | Python | babylon_server/babylon/tests/conftest.py | ajponte/babylon | e743f5b3bb5b2eb864247414c4f51962eea9108e | [
"MIT"
] | null | null | null | babylon_server/babylon/tests/conftest.py | ajponte/babylon | e743f5b3bb5b2eb864247414c4f51962eea9108e | [
"MIT"
] | 2 | 2021-11-08T18:09:22.000Z | 2021-11-09T19:22:33.000Z | babylon_server/babylon/tests/conftest.py | ajponte/babylon | e743f5b3bb5b2eb864247414c4f51962eea9108e | [
"MIT"
] | null | null | null | import pytest
from flask import current_app
@pytest.fixture
def app_client():
# We only need to create_app once, so importing here instead of above.
from ..app import create_app
return create_app()
| 19.363636 | 74 | 0.741784 | 33 | 213 | 4.636364 | 0.666667 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201878 | 213 | 10 | 75 | 21.3 | 0.9 | 0.319249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 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 |
9e3c3354f72af20f97fbbfeb2ff2f80855578513 | 201 | py | Python | ex107/moeda.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | 1 | 2020-09-04T22:36:21.000Z | 2020-09-04T22:36:21.000Z | ex107/moeda.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | null | null | null | ex107/moeda.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | null | null | null | def metade(m):
return m / 2
def dobro(d):
return d * 2
def aumentar(a, desc_mais):
return a * desc_mais / 100 + (a)
def diminuir (d, desc_menos):
return (d) - d * desc_menos / 100 | 14.357143 | 37 | 0.59204 | 34 | 201 | 3.382353 | 0.411765 | 0.069565 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0.278607 | 201 | 14 | 37 | 14.357143 | 0.737931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9e5eb9f23b3ec94e653dea0e371b42d26c558c7c | 1,427 | py | Python | main/settings.py | ysm1180/lol-study | 41d818cdc1e5f201da40156fd98003f498d24d6f | [
"MIT"
] | 3 | 2019-04-12T08:22:29.000Z | 2019-06-19T12:06:53.000Z | main/settings.py | ysm1180/lol-study | 41d818cdc1e5f201da40156fd98003f498d24d6f | [
"MIT"
] | 7 | 2019-12-04T22:41:36.000Z | 2022-02-10T09:26:11.000Z | main/settings.py | ysm1180/lol-study | 41d818cdc1e5f201da40156fd98003f498d24d6f | [
"MIT"
] | null | null | null | import os
PROJECT_PATH = os.path.dirname(os.path.realpath(__file__))
BASE_API_URL = 'https://kr.api.riotgames.com'
LOL_URL = {
'VERSION':
'https://ddragon.leagueoflegends.com/api/versions.json',
'PROFILE_ICON':
'http://ddragon.leagueoflegends.com/cdn/%s/img/profileicon/%s.png',
'STATIC_CHAMPION_A... | 38.567568 | 76 | 0.704975 | 210 | 1,427 | 4.514286 | 0.247619 | 0.185654 | 0.21097 | 0.214135 | 0.509494 | 0.509494 | 0.509494 | 0.444093 | 0.165612 | 0.165612 | 0 | 0.004747 | 0.114226 | 1,427 | 37 | 77 | 38.567568 | 0.745253 | 0 | 0 | 0 | 0 | 0.030303 | 0.702381 | 0.260504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9e669ac1f6c8d16d8dd5c5ca8b878bae4c7bbecf | 79 | py | Python | aoc/py-src/1.py | GaurangTandon/rust-aoc-2021 | afe09513b5a71be4c40a0406d0777263e05465d3 | [
"MIT"
] | null | null | null | aoc/py-src/1.py | GaurangTandon/rust-aoc-2021 | afe09513b5a71be4c40a0406d0777263e05465d3 | [
"MIT"
] | null | null | null | aoc/py-src/1.py | GaurangTandon/rust-aoc-2021 | afe09513b5a71be4c40a0406d0777263e05465d3 | [
"MIT"
] | null | null | null | d=list(map(int,open("1").readlines()))
print(sum(a<b for a,b in zip(d,d[1:])))
| 26.333333 | 39 | 0.607595 | 19 | 79 | 2.526316 | 0.736842 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.075949 | 79 | 2 | 40 | 39.5 | 0.630137 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 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 |
9eb3bf462eb59d9702861b7086d5d005e1d8a0c0 | 77 | py | Python | Assignments/Assignment1/PracticeBlockchainData/ExerciseFiles/app.py | cryptolarity/dojo | 937a9e34f1e96c15a6be4657aa6065a5e3da86cc | [
"MIT"
] | 1 | 2021-02-21T14:00:25.000Z | 2021-02-21T14:00:25.000Z | Assignments/Assignment1/PracticeBlockchainData/ExerciseFiles/app.py | cryptolarity/dojo | 937a9e34f1e96c15a6be4657aa6065a5e3da86cc | [
"MIT"
] | null | null | null | Assignments/Assignment1/PracticeBlockchainData/ExerciseFiles/app.py | cryptolarity/dojo | 937a9e34f1e96c15a6be4657aa6065a5e3da86cc | [
"MIT"
] | 5 | 2021-02-04T12:21:13.000Z | 2021-08-18T18:42:04.000Z |
from blockchain import Blockchain
test = Blockchain()
print(test.chain)
| 8.555556 | 33 | 0.753247 | 9 | 77 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 8 | 34 | 9.625 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9eb7a69feb8a7156c362250678ed7d05641c9dd7 | 919 | py | Python | hood/migrations/0004_auto_20220110_0535.py | valentine-ochieng/ulinzihood | e91b31e38d61b92287baf809df2b2a0d088367e3 | [
"MIT"
] | null | null | null | hood/migrations/0004_auto_20220110_0535.py | valentine-ochieng/ulinzihood | e91b31e38d61b92287baf809df2b2a0d088367e3 | [
"MIT"
] | null | null | null | hood/migrations/0004_auto_20220110_0535.py | valentine-ochieng/ulinzihood | e91b31e38d61b92287baf809df2b2a0d088367e3 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2022-01-10 02:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hood', '0003_auto_20220110_0000'),
]
operations = [
migrations.AlterField(
model_name='business',
name='image',
... | 27.029412 | 69 | 0.560392 | 89 | 919 | 5.662921 | 0.449438 | 0.15873 | 0.198413 | 0.230159 | 0.593254 | 0.593254 | 0.593254 | 0.593254 | 0.593254 | 0.593254 | 0 | 0.048973 | 0.311208 | 919 | 33 | 70 | 27.848485 | 0.747235 | 0.048966 | 0 | 0.592593 | 1 | 0 | 0.119266 | 0.026376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7b3c7bc3cfaa915997445bcc2fe559e07a23324b | 404 | py | Python | mixedcardserror.py | PhilBeaudoin/empirestate | 166e866754ef58d5005d4e5a4a9a85b8d2ab3deb | [
"Apache-2.0"
] | null | null | null | mixedcardserror.py | PhilBeaudoin/empirestate | 166e866754ef58d5005d4e5a4a9a85b8d2ab3deb | [
"Apache-2.0"
] | null | null | null | mixedcardserror.py | PhilBeaudoin/empirestate | 166e866754ef58d5005d4e5a4a9a85b8d2ab3deb | [
"Apache-2.0"
] | null | null | null | from resources import Resources
from cards import *
class MixedCardsError:
def __init__(self, firm, card):
self.firm = firm
self.card = card
def __str__(self):
return "Stack or column with mixed cards. Expected " + \
Resources.reverse_mapping[self.firm] + \
" but got " + Resources... | 31.076923 | 70 | 0.65099 | 49 | 404 | 5.163265 | 0.510204 | 0.094862 | 0.181818 | 0.213439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247525 | 404 | 12 | 71 | 33.666667 | 0.832237 | 0 | 0 | 0 | 0 | 0 | 0.15099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0.090909 | 0.545455 | 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 |
7b3e543827c02d504f15422a423297765974da0a | 148 | py | Python | resposta/apps.py | enehias/desafio-backend | 125c2bfeb6abf9ab90fb9c7afc2e4bca7269efcc | [
"MIT"
] | null | null | null | resposta/apps.py | enehias/desafio-backend | 125c2bfeb6abf9ab90fb9c7afc2e4bca7269efcc | [
"MIT"
] | null | null | null | resposta/apps.py | enehias/desafio-backend | 125c2bfeb6abf9ab90fb9c7afc2e4bca7269efcc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RespostaConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'resposta'
| 21.142857 | 56 | 0.763514 | 17 | 148 | 6.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 57 | 24.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.195946 | 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 |
7b63e8a4fb1d7b0f4c568c2c00abb1fa3b1f4790 | 720 | py | Python | toto/plugins/statistics/_do_joint_prob.py | calypso-science/Toto | 85e90421343bf3dcf6d730767287647b5bc189bb | [
"MIT"
] | 1 | 2022-03-24T23:41:16.000Z | 2022-03-24T23:41:16.000Z | toto/plugins/statistics/_do_joint_prob.py | calypso-science/Toto | 85e90421343bf3dcf6d730767287647b5bc189bb | [
"MIT"
] | 12 | 2021-02-24T22:30:52.000Z | 2021-11-16T01:51:38.000Z | toto/plugins/statistics/_do_joint_prob.py | calypso-science/Toto | 85e90421343bf3dcf6d730767287647b5bc189bb | [
"MIT"
] | 1 | 2021-09-21T11:37:09.000Z | 2021-09-21T11:37:09.000Z | import numpy as np
from toto.core.toolbox import dir_interval,get_increment,get_number_of_loops
from toto.core.make_table import create_table
from matplotlib import pyplot as plt
from matplotlib.figure import Figure
from matplotlib import gridspec
from grid_strategy import strategies
from ...core.toolbox import display... | 32.727273 | 122 | 0.834722 | 107 | 720 | 5.373832 | 0.504673 | 0.097391 | 0.088696 | 0.066087 | 0.278261 | 0.278261 | 0.18087 | 0.18087 | 0.18087 | 0.18087 | 0 | 0.012158 | 0.086111 | 720 | 21 | 123 | 34.285714 | 0.861702 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.571429 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7b653a8991dbf3fd6d27f48efe9bdb6039339d5a | 8,001 | py | Python | pokerlib/EvaluationStateMachine.py | jgroehl/PokerGame | dedaf8f1fd664aefc11d4a23495df756cf287120 | [
"BSD-3-Clause"
] | null | null | null | pokerlib/EvaluationStateMachine.py | jgroehl/PokerGame | dedaf8f1fd664aefc11d4a23495df756cf287120 | [
"BSD-3-Clause"
] | null | null | null | pokerlib/EvaluationStateMachine.py | jgroehl/PokerGame | dedaf8f1fd664aefc11d4a23495df756cf287120 | [
"BSD-3-Clause"
] | null | null | null | from pokerlib import Evalutaor
class StateDevice(object):
def __init__(self):
self.state = None
self.used_card_indices = []
def on_event(self, event, index):
if self.state is None:
raise BrokenPipeError("self.state not defined")
self.state = self.state.on_event(eve... | 25.31962 | 60 | 0.597925 | 872 | 8,001 | 5.305046 | 0.098624 | 0.039343 | 0.054042 | 0.075659 | 0.688067 | 0.641159 | 0.635971 | 0.598357 | 0.598357 | 0.528751 | 0 | 0.008 | 0.312586 | 8,001 | 315 | 61 | 25.4 | 0.833091 | 0.007374 | 0 | 0.74026 | 0 | 0 | 0.002771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0.004329 | 0.004329 | 0.082251 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7b719636d8774954131a4bf6d788a75a3671f27b | 40 | py | Python | lib/__init__.py | bdscharf/cryptoscrape | 6eb2bc652384cbf07a5635c3d95e1d12273da677 | [
"MIT"
] | 27 | 2017-12-04T02:35:44.000Z | 2021-08-03T08:37:41.000Z | lib/__init__.py | bdscharf/cryptoscrape | 6eb2bc652384cbf07a5635c3d95e1d12273da677 | [
"MIT"
] | null | null | null | lib/__init__.py | bdscharf/cryptoscrape | 6eb2bc652384cbf07a5635c3d95e1d12273da677 | [
"MIT"
] | 8 | 2017-12-06T00:01:45.000Z | 2021-10-11T11:30:14.000Z | __all__ = ["links", "reddit", "source"]
| 20 | 39 | 0.6 | 4 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.425 | 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 |
c89dfef260d78656557fe7fae60911aa2ba9ddf0 | 1,956 | py | Python | src/factory.py | kevinkwshin/kaggle-pneumothorax | 24b91a9425097023f0cc7781a9380cb247babe22 | [
"MIT"
] | 74 | 2019-09-13T11:29:45.000Z | 2022-02-25T09:49:14.000Z | src/factory.py | amirassov/kaggle-pneumothorax | 24b91a9425097023f0cc7781a9380cb247babe22 | [
"MIT"
] | null | null | null | src/factory.py | amirassov/kaggle-pneumothorax | 24b91a9425097023f0cc7781a9380cb247babe22 | [
"MIT"
] | 13 | 2019-09-16T07:47:29.000Z | 2021-01-08T20:15:08.000Z | import pydoc
import torch
from torch.nn import DataParallel
from .data import make_data
class Metrics:
def __init__(self, functions):
self.functions = functions
self.best_score = float('inf')
self.best_epoch = 0
self.train_metrics = {}
self.val_metrics = {}
class Factor... | 30.5625 | 118 | 0.642127 | 236 | 1,956 | 5.148305 | 0.25 | 0.106996 | 0.02716 | 0.027984 | 0.212346 | 0.062551 | 0.062551 | 0.062551 | 0 | 0 | 0 | 0.001322 | 0.226483 | 1,956 | 63 | 119 | 31.047619 | 0.801718 | 0 | 0 | 0.106383 | 0 | 0 | 0.058793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.085106 | 0.12766 | 0.553191 | 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 |
c89fa00490725538d969c6fa0c230543ed564e87 | 61 | py | Python | local.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | 1 | 2021-10-05T08:14:39.000Z | 2021-10-05T08:14:39.000Z | local.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | null | null | null | local.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | null | null | null | def kowsi():
a="Pet Animal"
print("Cat is a "+a)
kowsi() | 15.25 | 22 | 0.57377 | 11 | 61 | 3.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 4 | 23 | 15.25 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c8a778c7ac0244a4fb6de3a69d1fee0a59ab5725 | 65 | py | Python | git_jeffz/login.py | jeff1151593/TDB39 | 8debcb650061d41a75d4d4a84331287e12e95a87 | [
"MIT"
] | null | null | null | git_jeffz/login.py | jeff1151593/TDB39 | 8debcb650061d41a75d4d4a84331287e12e95a87 | [
"MIT"
] | null | null | null | git_jeffz/login.py | jeff1151593/TDB39 | 8debcb650061d41a75d4d4a84331287e12e95a87 | [
"MIT"
] | null | null | null | number = 10
nuber1 = 20
number4 = 40
number3 = 30
number7 = 1000
| 10.833333 | 14 | 0.692308 | 10 | 65 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0.230769 | 65 | 5 | 15 | 13 | 0.58 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c8b3875315a173e1f4878b349fd484d8a049fb30 | 201 | py | Python | ex030 # par ou impar if else.py | jbmarcos/Python-Curso-em-video-Mundo-1-2-3- | a5bd705b2437c281f8f7ac02dc7ff54a09a37046 | [
"MIT"
] | null | null | null | ex030 # par ou impar if else.py | jbmarcos/Python-Curso-em-video-Mundo-1-2-3- | a5bd705b2437c281f8f7ac02dc7ff54a09a37046 | [
"MIT"
] | null | null | null | ex030 # par ou impar if else.py | jbmarcos/Python-Curso-em-video-Mundo-1-2-3- | a5bd705b2437c281f8f7ac02dc7ff54a09a37046 | [
"MIT"
] | null | null | null | # par ou impar ? if: else:
num = int(input('Digite um nímero: '))
resultado = num % 2
if resultado == 0:
print(' O número {} é PAR!'.format(num))
else:
print('O número {} é ÍMPAR'.format(num)) | 25.125 | 44 | 0.606965 | 32 | 201 | 3.8125 | 0.625 | 0.098361 | 0.196721 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.208955 | 201 | 8 | 45 | 25.125 | 0.754717 | 0.119403 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c8b4e88016e0a7e30721437a35a4a391d3c324e8 | 322 | py | Python | selectionsort.py | Tony-Otis/SortingAlgo-Visualizer | 14464cdc7da2b220e9afc7884d20998ad83414ae | [
"MIT"
] | null | null | null | selectionsort.py | Tony-Otis/SortingAlgo-Visualizer | 14464cdc7da2b220e9afc7884d20998ad83414ae | [
"MIT"
] | null | null | null | selectionsort.py | Tony-Otis/SortingAlgo-Visualizer | 14464cdc7da2b220e9afc7884d20998ad83414ae | [
"MIT"
] | null | null | null | def selection_sort(array):
for step in range(len(array)):
min_index = step
for i in range(step + 1, len(array)):
if array[i] < array[min_index]:
min_index = i
(array[step], array[min_index]) = (array[min_index], array[step])
yield array
yield arra... | 21.466667 | 73 | 0.555901 | 44 | 322 | 3.931818 | 0.340909 | 0.231214 | 0.300578 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.326087 | 322 | 14 | 74 | 23 | 0.792627 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 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 |
c8b7c532e79d451f9852f836b995fe9e4f49c4f2 | 601 | py | Python | tests/test_loading.py | yadage/packtivity | e7020f549bb0933afc1f63c399ee0926d113c23c | [
"MIT"
] | 1 | 2021-08-23T03:45:20.000Z | 2021-08-23T03:45:20.000Z | tests/test_loading.py | lukasheinrich/packtivity | e7020f549bb0933afc1f63c399ee0926d113c23c | [
"MIT"
] | 12 | 2019-07-23T09:13:53.000Z | 2022-02-03T05:47:36.000Z | tests/test_loading.py | lukasheinrich/packtivity | e7020f549bb0933afc1f63c399ee0926d113c23c | [
"MIT"
] | 2 | 2020-03-24T10:45:28.000Z | 2020-05-30T05:49:34.000Z | import os
import pytest
from jsonschema.exceptions import ValidationError
from packtivity.utils import load_packtivity
from yadageschemas import schemadir
def test_cliload_valid():
load_packtivity("tests/testspecs/noop-test.yml", os.getcwd(), schemadir, True)
def test_cliload_non_valid():
with pytest.raises... | 26.130435 | 82 | 0.738769 | 73 | 601 | 5.90411 | 0.383562 | 0.12993 | 0.097448 | 0.194896 | 0.529002 | 0.529002 | 0.529002 | 0.422274 | 0.292343 | 0.292343 | 0 | 0 | 0.163062 | 601 | 22 | 83 | 27.318182 | 0.856859 | 0 | 0 | 0.125 | 0 | 0 | 0.171381 | 0.171381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | true | 0 | 0.3125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c8d804012f194b83faffc757b6412522de218a20 | 1,359 | py | Python | var/spack/repos/builtin/packages/py-typed-ast/package.py | electronicvisions/spack | d6121eb35b4948f7d8aef7ec7a305a5123a7439e | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-02-10T13:47:48.000Z | 2019-04-17T13:05:17.000Z | var/spack/repos/builtin/packages/py-typed-ast/package.py | einc-eu/spack | 15468b92ed21d970c0111ae19144e85e66746433 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 8 | 2021-05-28T06:39:59.000Z | 2022-03-30T15:12:35.000Z | var/spack/repos/builtin/packages/py-typed-ast/package.py | einc-eu/spack | 15468b92ed21d970c0111ae19144e85e66746433 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2018-04-06T09:04:11.000Z | 2020-01-24T12:52:12.000Z | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyTypedAst(PythonPackage):
"""A fork of Python 2 and 3 ast modules with type comment suppo... | 54.36 | 148 | 0.76674 | 151 | 1,359 | 6.874172 | 0.536424 | 0.046243 | 0.034682 | 0.037572 | 0.131021 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0.279472 | 0.107432 | 1,359 | 24 | 149 | 56.625 | 0.576257 | 0.186166 | 0 | 0 | 0 | 0.230769 | 0.69918 | 0.262534 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cdb5db9d3cd62f605f971c42899847ed690623a8 | 94 | py | Python | backend/services/stock_service/stock_info/apps.py | v-shash/stracker | 0d42ebaed4f5620be6e5222e7aaa2ce32887fcf7 | [
"MIT"
] | 1 | 2021-02-15T01:16:22.000Z | 2021-02-15T01:16:22.000Z | backend/services/stock_service/stock_info/apps.py | v-shash/stracker | 0d42ebaed4f5620be6e5222e7aaa2ce32887fcf7 | [
"MIT"
] | 3 | 2020-07-19T18:20:38.000Z | 2020-07-19T18:21:43.000Z | backend/services/stock_service/stock_info/apps.py | v-shash/stracker | 0d42ebaed4f5620be6e5222e7aaa2ce32887fcf7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class StockInfoConfig(AppConfig):
name = 'stock_info'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cdc03b36ddec63792412321e6eb8687d041405d6 | 1,262 | py | Python | pyjarvis/core/config.py | corka149/pyjarvis | 953443f497796e662e95afc744532dd0e193d3b2 | [
"MIT"
] | null | null | null | pyjarvis/core/config.py | corka149/pyjarvis | 953443f497796e662e95afc744532dd0e193d3b2 | [
"MIT"
] | null | null | null | pyjarvis/core/config.py | corka149/pyjarvis | 953443f497796e662e95afc744532dd0e193d3b2 | [
"MIT"
] | null | null | null | class RequestConfig:
def __init__(self, protocol="http", host="localhost", port=4000, __headers__=None):
"""
Defines the config for requesting jARVIS
:param protocol: Default is http
:param host: Where jARVIS lives
:param port: Will be omitted when set to none
:para... | 34.108108 | 108 | 0.617274 | 148 | 1,262 | 4.851351 | 0.364865 | 0.066852 | 0.077994 | 0.077994 | 0.130919 | 0.130919 | 0.130919 | 0 | 0 | 0 | 0 | 0.014989 | 0.259905 | 1,262 | 36 | 109 | 35.055556 | 0.753747 | 0.293185 | 0 | 0 | 0 | 0 | 0.115572 | 0.030414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cdcb7add0e2083d48d72910a6740d52d77bb907d | 66 | py | Python | usr/pir/03/Exercice.py | Bugnon/oc-2018 | 7961de5ba9923512bd50c579c37f1dadf070b692 | [
"MIT"
] | 3 | 2018-09-20T12:16:48.000Z | 2019-06-21T08:32:17.000Z | usr/pir/03/Exercice.py | Bugnon/oc-2018 | 7961de5ba9923512bd50c579c37f1dadf070b692 | [
"MIT"
] | null | null | null | usr/pir/03/Exercice.py | Bugnon/oc-2018 | 7961de5ba9923512bd50c579c37f1dadf070b692 | [
"MIT"
] | 2 | 2018-09-20T11:55:05.000Z | 2019-09-01T19:40:13.000Z | def aligner_a_droit (s):
m=((70-len(s))*' ')+s
print (m) | 22 | 27 | 0.5 | 12 | 66 | 2.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.242424 | 66 | 3 | 28 | 22 | 0.58 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cdcce76dbc38f5b7e30cf389139e7086491aa7d0 | 306 | py | Python | homeassistant/components/upnp/config_flow.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 3 | 2019-10-15T16:55:31.000Z | 2020-02-18T21:10:31.000Z | homeassistant/components/upnp/config_flow.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 39 | 2016-12-16T12:40:34.000Z | 2017-02-13T17:53:42.000Z | homeassistant/components/upnp/config_flow.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 6 | 2020-04-10T06:21:11.000Z | 2021-07-01T08:53:38.000Z | """Config flow for UPNP."""
from homeassistant.helpers import config_entry_flow
from homeassistant import config_entries
from .const import DOMAIN
from .device import Device
config_entry_flow.register_discovery_flow(
DOMAIN, "UPnP/IGD", Device.async_discover, config_entries.CONN_CLASS_LOCAL_POLL
)
| 25.5 | 83 | 0.823529 | 42 | 306 | 5.714286 | 0.52381 | 0.141667 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 306 | 11 | 84 | 27.818182 | 0.879121 | 0.068627 | 0 | 0 | 0 | 0 | 0.028674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cdf88d274ae61fee469d2056d9b44d9c498825d2 | 252 | py | Python | python/package/geo/wt.py | fiomenankiti/playground | 7c3139ffe5db4b18cf042b8027c9f670860371e0 | [
"MIT"
] | null | null | null | python/package/geo/wt.py | fiomenankiti/playground | 7c3139ffe5db4b18cf042b8027c9f670860371e0 | [
"MIT"
] | null | null | null | python/package/geo/wt.py | fiomenankiti/playground | 7c3139ffe5db4b18cf042b8027c9f670860371e0 | [
"MIT"
] | null | null | null | class Wt:
def __init__(self, to, fro):
self.to = to
self.fro = fro
def convert_to(self):
return self.to
def convert_from(self):
return self.fro
class Gh:
def __init__(self, gh, la, lo):
self.gh = gh
self.la = la
self.lo = lo
| 13.263158 | 32 | 0.626984 | 44 | 252 | 3.363636 | 0.295455 | 0.121622 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 252 | 19 | 33 | 13.263158 | 0.783069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cdfe89439a828de128f69e136953866721eea398 | 1,809 | py | Python | coordinates/geodetic_elipsoids.py | birocoles/coordinates | 2a3af5ad7f187a52cb2bccffe160d9487ee8a6ca | [
"BSD-3-Clause"
] | null | null | null | coordinates/geodetic_elipsoids.py | birocoles/coordinates | 2a3af5ad7f187a52cb2bccffe160d9487ee8a6ca | [
"BSD-3-Clause"
] | null | null | null | coordinates/geodetic_elipsoids.py | birocoles/coordinates | 2a3af5ad7f187a52cb2bccffe160d9487ee8a6ca | [
"BSD-3-Clause"
] | null | null | null | def WGS84():
'''
This function returns the following parameters defining the
reference elipsoid WGS84:
a = semimajor axis [m]
f = flattening
output:
a, f
'''
a = 6378137.0
f = 1/298.257223563
return a, f
def GRS80():
'''
This function returns the following paramet... | 18.459184 | 64 | 0.60199 | 246 | 1,809 | 4.418699 | 0.268293 | 0.014719 | 0.121435 | 0.149034 | 0.74057 | 0.74057 | 0.654094 | 0.654094 | 0.606256 | 0.606256 | 0 | 0.102625 | 0.305141 | 1,809 | 97 | 65 | 18.649485 | 0.762132 | 0.607518 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a8135a89815d8dcacd0a92a86cfe9e57d33eb679 | 50 | py | Python | RPi/SPI/__init__.py | philwil/RPi.GPIO-PineA64 | dd22ca81bd979c31e749e017962cfefd4d0e6ac4 | [
"MIT"
] | null | null | null | RPi/SPI/__init__.py | philwil/RPi.GPIO-PineA64 | dd22ca81bd979c31e749e017962cfefd4d0e6ac4 | [
"MIT"
] | null | null | null | RPi/SPI/__init__.py | philwil/RPi.GPIO-PineA64 | dd22ca81bd979c31e749e017962cfefd4d0e6ac4 | [
"MIT"
] | null | null | null | """
"""
from RPi.SPI import *
VERSION = '0.6.2'
| 7.142857 | 21 | 0.52 | 8 | 50 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.22 | 50 | 6 | 22 | 8.333333 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 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 |
a81c54827ed48b376de9ad9be766bfda8d0af63a | 283 | py | Python | Python/extractFeatures.py | mpslxz/LDH_classifier | 45f938ae670cf3c67deea6a411048e7e64c23efd | [
"MIT"
] | null | null | null | Python/extractFeatures.py | mpslxz/LDH_classifier | 45f938ae670cf3c67deea6a411048e7e64c23efd | [
"MIT"
] | null | null | null | Python/extractFeatures.py | mpslxz/LDH_classifier | 45f938ae670cf3c67deea6a411048e7e64c23efd | [
"MIT"
] | 1 | 2019-09-16T18:40:43.000Z | 2019-09-16T18:40:43.000Z | import features
import filterBuilder
import numpy as np
from PIL import ImageOps, Image
def extractFeatures(img):
img = ImageOps.fit(Image.fromarray(img), (256, 256))
hMats, wFilters = filterBuilder.buildFilters()
return features.features(np.asarray(img),hMats,wFilters) | 31.444444 | 60 | 0.766784 | 36 | 283 | 6.027778 | 0.583333 | 0.119816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02449 | 0.134276 | 283 | 9 | 60 | 31.444444 | 0.861224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a81ce0269114bf351e3d1ebfcbc3cb8027f24941 | 2,827 | py | Python | swagger_client_test/test_fiddle_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | swagger_client_test/test_fiddle_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | swagger_client_test/test_fiddle_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Fiddle Options Platform
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 27.990099 | 119 | 0.637071 | 354 | 2,827 | 4.90113 | 0.341808 | 0.036888 | 0.041499 | 0.051873 | 0.282997 | 0.138329 | 0.043804 | 0 | 0 | 0 | 0 | 0.015144 | 0.275911 | 2,827 | 100 | 120 | 28.27 | 0.832438 | 0.347011 | 0 | 0.119048 | 1 | 0 | 0.091831 | 0 | 0 | 0 | 0 | 0.02 | 0 | 1 | 0.190476 | false | 0.119048 | 0.142857 | 0 | 0.357143 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a834f86a40f62751e37880c86102b699d3610d49 | 382 | py | Python | sdk/core/azure-core-tracing-opentelemetry/tests/conftest.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | sdk/core/azure-core-tracing-opentelemetry/tests/conftest.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | sdk/core/azure-core-tracing-opentelemetry/tests/conftest.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from opentelemetry import trace
from opentelemetry.sdk.trace import Tracer
import pytest
@pytest.fixture(scope="session")
def tracer():
trace.set_preferred_tracer... | 25.466667 | 65 | 0.620419 | 38 | 382 | 6.157895 | 0.684211 | 0.145299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115183 | 382 | 14 | 66 | 27.285714 | 0.692308 | 0.371728 | 0 | 0 | 0 | 0 | 0.029787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a8350b5312f0e6408ea8607e072da291797c6295 | 2,267 | py | Python | deltapv/physics.py | n-hiroshi/deltapv | 780bc05df9bf42fab9837f87e509c17007470562 | [
"MIT"
] | null | null | null | deltapv/physics.py | n-hiroshi/deltapv | 780bc05df9bf42fab9837f87e509c17007470562 | [
"MIT"
] | null | null | null | deltapv/physics.py | n-hiroshi/deltapv | 780bc05df9bf42fab9837f87e509c17007470562 | [
"MIT"
] | null | null | null | #physics
from deltapv import objects, scales, util
from jax import numpy as jnp, custom_jvp
PVCell = objects.PVCell
LightSource = objects.LightSource
Potentials = objects.Potentials
Array = util.Array
f64 = util.f64
def n(cell: PVCell, pot: Potentials) -> Array:
return cell.Nc * jnp.exp(cell.Chi + pot.phi_n + po... | 30.635135 | 82 | 0.619321 | 382 | 2,267 | 3.633508 | 0.282723 | 0.057637 | 0.054035 | 0.034582 | 0.326369 | 0.257925 | 0.145533 | 0.06196 | 0.06196 | 0.06196 | 0 | 0.023686 | 0.236436 | 2,267 | 73 | 83 | 31.054795 | 0.778163 | 0.267755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.051282 | 0.153846 | 0.512821 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b53b7bb21d3953480fa4d1eca8fb207b620d8011 | 1,286 | py | Python | home/george/.scripts/python/myTime.py | GeorgiKarapetrov/Dotfiles | 22a4d3dd6ee5f60243d4387523536e3a741a440f | [
"MIT"
] | null | null | null | home/george/.scripts/python/myTime.py | GeorgiKarapetrov/Dotfiles | 22a4d3dd6ee5f60243d4387523536e3a741a440f | [
"MIT"
] | null | null | null | home/george/.scripts/python/myTime.py | GeorgiKarapetrov/Dotfiles | 22a4d3dd6ee5f60243d4387523536e3a741a440f | [
"MIT"
] | null | null | null | import datetime
t1 = datetime.timedelta(minutes=3, seconds=48)
t2 = datetime.timedelta(minutes=4, seconds=28)
t3 = datetime.timedelta(minutes=5, seconds=23)
t4 = datetime.timedelta(minutes=3, seconds=22)
t5 = datetime.timedelta(minutes=3, seconds=59)
t6 = datetime.timedelta(minutes=3, seconds=44)
t7 = datetime.timedel... | 32.15 | 47 | 0.732504 | 239 | 1,286 | 3.941423 | 0.171548 | 0.306794 | 0.433121 | 0.067941 | 0.781316 | 0.325902 | 0.218684 | 0.178344 | 0.107219 | 0.084926 | 0 | 0.168081 | 0.083981 | 1,286 | 40 | 48 | 32.15 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.027778 | 0.472222 | 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 |
b55495818c32eede143bf41b005fb78b1f9dc962 | 595 | py | Python | pirates/instance/DistributedTeleportZone.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/instance/DistributedTeleportZone.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/instance/DistributedTeleportZone.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.instance.DistributedTeleportZone
from pirates.instance import DistributedInstanceBase
from pandac.PandaModules import NodePath
... | 39.666667 | 104 | 0.779832 | 69 | 595 | 6.492754 | 0.666667 | 0.013393 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0.137815 | 595 | 15 | 105 | 39.666667 | 0.785575 | 0.363025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 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 |
b586456c9558aee163b89984170ddc4a67f10c16 | 129 | py | Python | StackOverfl_rel_join_top_user/mapper2.py | aphaea/exc-MapReduce-UoE | c154f8951e0a3da7c956db80d6d1dcb4115772af | [
"MIT"
] | null | null | null | StackOverfl_rel_join_top_user/mapper2.py | aphaea/exc-MapReduce-UoE | c154f8951e0a3da7c956db80d6d1dcb4115772af | [
"MIT"
] | null | null | null | StackOverfl_rel_join_top_user/mapper2.py | aphaea/exc-MapReduce-UoE | c154f8951e0a3da7c956db80d6d1dcb4115772af | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Dummy mapper just to have a scalable system
import sys
for line in sys.stdin:
print(line.strip())
| 14.333333 | 45 | 0.682171 | 21 | 129 | 4.190476 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217054 | 129 | 8 | 46 | 16.125 | 0.871287 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b58d98e6b18c7d64d6143559079aabdb499f9ac0 | 208 | py | Python | starling_sim/models/SB_VS/__init__.py | tellae/starling | 56121c728eb5de3dfc77cdf08da89548f3315c87 | [
"CECILL-B"
] | 19 | 2021-02-16T12:32:22.000Z | 2022-01-06T11:16:44.000Z | starling_sim/models/SB_VS/__init__.py | tellae/starling | 56121c728eb5de3dfc77cdf08da89548f3315c87 | [
"CECILL-B"
] | 20 | 2021-01-13T20:58:07.000Z | 2022-03-21T15:53:07.000Z | starling_sim/models/SB_VS/__init__.py | tellae/starling | 56121c728eb5de3dfc77cdf08da89548f3315c87 | [
"CECILL-B"
] | null | null | null | """
This model describes a station-based vehicle-sharing system.
This package contains the classes that extend the basemodel and implement the model's features.
More information on the :ref:`SB_VS` page.
"""
| 34.666667 | 95 | 0.783654 | 32 | 208 | 5.0625 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139423 | 208 | 5 | 96 | 41.6 | 0.905028 | 0.956731 | 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 |
a909c898376b47850c40e67b0eeea883c7538832 | 153 | py | Python | setup.py | cnheider/deepracer_env | 76367f2825d8fb0a4b504f4083ac3d87caf795e9 | [
"MIT"
] | 12 | 2019-02-09T23:02:25.000Z | 2019-11-13T23:40:12.000Z | setup.py | cnheider/deepracer_env | 76367f2825d8fb0a4b504f4083ac3d87caf795e9 | [
"MIT"
] | 3 | 2019-01-12T05:54:00.000Z | 2019-05-30T21:09:21.000Z | setup.py | cnheider/deepracer_env | 76367f2825d8fb0a4b504f4083ac3d87caf795e9 | [
"MIT"
] | 6 | 2019-03-06T06:41:32.000Z | 2021-09-22T08:16:33.000Z | from setuptools import setup
setup(name='gym_deepracer',
version='0.0.1',
install_requires=['gym','pyOpenGL','pygame','numpy', 'Shapely']
)
| 21.857143 | 69 | 0.666667 | 19 | 153 | 5.263158 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.143791 | 153 | 6 | 70 | 25.5 | 0.740458 | 0 | 0 | 0 | 0 | 0 | 0.30719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
a91e5f08a18ba810b55b228c0cc7bf4806857a28 | 6,741 | py | Python | src/question/migrations/0001_initial.py | DevTeamSCH/vikoverflow-backend | bac0a5f8d0f18bea4d99e0d94ee322feb6a8039e | [
"MIT"
] | null | null | null | src/question/migrations/0001_initial.py | DevTeamSCH/vikoverflow-backend | bac0a5f8d0f18bea4d99e0d94ee322feb6a8039e | [
"MIT"
] | 24 | 2018-10-09T12:34:09.000Z | 2022-02-10T11:01:32.000Z | src/question/migrations/0001_initial.py | DevTeamSCH/vikoverflow-backend | bac0a5f8d0f18bea4d99e0d94ee322feb6a8039e | [
"MIT"
] | null | null | null | # Generated by Django 2.1.3 on 2018-11-19 22:15
from django.db import migrations, models
import django.db.models.deletion
import taggit.managers
class Migration(migrations.Migration):
initial = True
dependencies = [
("account", "__first__"),
("taggit", "0002_auto_20150616_2121"),
("... | 34.218274 | 87 | 0.405429 | 457 | 6,741 | 5.796499 | 0.223195 | 0.03624 | 0.058135 | 0.091355 | 0.740657 | 0.716119 | 0.665912 | 0.610797 | 0.610797 | 0.564741 | 0 | 0.012881 | 0.49325 | 6,741 | 196 | 88 | 34.392857 | 0.762588 | 0.006676 | 0 | 0.703704 | 1 | 0 | 0.112638 | 0.017777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a923de21a88260df37bf04bfb05fb85a04b6cf76 | 176 | py | Python | manual_hook_test.py | lostsquirrel/letsencrypt-aliyun-dns-manual-hook | b34649efd27dc93700cef397d5bda116787bf306 | [
"MIT"
] | null | null | null | manual_hook_test.py | lostsquirrel/letsencrypt-aliyun-dns-manual-hook | b34649efd27dc93700cef397d5bda116787bf306 | [
"MIT"
] | null | null | null | manual_hook_test.py | lostsquirrel/letsencrypt-aliyun-dns-manual-hook | b34649efd27dc93700cef397d5bda116787bf306 | [
"MIT"
] | null | null | null | # coding=utf-8
import unittest
from manual_hook import query_dns
class AliDNSTests(unittest.TestCase):
def test_check(self):
print(query_dns('xx.shangao.tech')) | 17.6 | 43 | 0.738636 | 25 | 176 | 5.04 | 0.84 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.159091 | 176 | 10 | 43 | 17.6 | 0.844595 | 0.068182 | 0 | 0 | 0 | 0 | 0.092025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0.2 | 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 |
a924ef0db4323317cbc76ec0961a43da18cc8cfc | 285 | py | Python | server/app/api/ping_v1_api.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | server/app/api/ping_v1_api.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | server/app/api/ping_v1_api.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | from flask_restplus import Resource, fields
from . import api, ping_v1_ns
from .token_required import token_required
@ping_v1_ns.route('/')
class Ping(Resource):
@api.doc(description='Pings a service')
@token_required
def get(self, current_user):
return "pong"
| 20.357143 | 43 | 0.726316 | 40 | 285 | 4.95 | 0.65 | 0.19697 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008511 | 0.175439 | 285 | 13 | 44 | 21.923077 | 0.834043 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
a94e14e62e490df392ae3811be13fe106ca306fd | 140 | py | Python | test/profile_testing/variables.py | AliabbasMerchant/space-api-python | e5f047d567540d503be7fe72e82f2b198e48b5f9 | [
"Apache-2.0"
] | 8 | 2019-04-02T06:06:45.000Z | 2019-11-12T16:53:26.000Z | test/profile_testing/variables.py | SaiprasadDuduka/space-api-python | 278ad650fa5579089a7ff465dbe74ec5469940ae | [
"Apache-2.0"
] | 28 | 2019-03-25T11:35:07.000Z | 2020-05-11T05:10:00.000Z | test/profile_testing/variables.py | SaiprasadDuduka/space-api-python | 278ad650fa5579089a7ff465dbe74ec5469940ae | [
"Apache-2.0"
] | 4 | 2019-03-22T17:09:22.000Z | 2019-10-24T17:10:43.000Z | app = 'books-app'
# url = '192.168.43.226:4124'
url = 'localhost:4124'
service = 'service'
id = "id"
def db(api):
return api.my_sql()
| 14 | 29 | 0.614286 | 23 | 140 | 3.695652 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.185714 | 140 | 9 | 30 | 15.555556 | 0.578947 | 0.192857 | 0 | 0 | 0 | 0 | 0.288288 | 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 |
a955db7a6dca6e1220a7ba8b1ef4f46bb3cf7f3f | 347 | py | Python | shipment/forms.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | null | null | null | shipment/forms.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | 9 | 2020-06-05T23:54:44.000Z | 2022-01-13T02:44:28.000Z | shipment/forms.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | null | null | null | from django import forms
from shipment.models import Shipment
class ShipmentForm(forms.ModelForm):
class Meta:
model = Shipment
fields = ["name", "surname", "email", "phone", "city", "district", "neighborhood", "others",]
field_order = {"name", "surname", "email", "phone", "city", "district", ... | 34.7 | 102 | 0.648415 | 36 | 347 | 6.222222 | 0.611111 | 0.098214 | 0.142857 | 0.1875 | 0.455357 | 0.455357 | 0.455357 | 0.455357 | 0 | 0 | 0 | 0 | 0.175793 | 347 | 9 | 103 | 38.555556 | 0.783217 | 0 | 0 | 0 | 0 | 0 | 0.293948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a978f8719b2f8fc7c9c0cf228d6cfcc49b044587 | 114 | py | Python | cooka/test/run_test_evaluator.py | highboo52na/Cooka | daea721b174df5faaa1144ecc6dfe5ebe9fa4a29 | [
"Apache-2.0"
] | 222 | 2020-10-26T06:14:11.000Z | 2022-02-01T13:43:51.000Z | cooka/test/run_test_evaluator.py | highboo52na/Cooka | daea721b174df5faaa1144ecc6dfe5ebe9fa4a29 | [
"Apache-2.0"
] | 6 | 2021-11-30T05:16:05.000Z | 2021-12-29T03:08:34.000Z | cooka/test/run_test_evaluator.py | highboo52na/Cooka | daea721b174df5faaa1144ecc6dfe5ebe9fa4a29 | [
"Apache-2.0"
] | 111 | 2020-12-22T02:41:47.000Z | 2021-12-07T09:52:23.000Z | # -*- encoding: utf-8 -*-
from cooka.common.model import TrainStep, AnalyzeStep
s = AnalyzeStep(type=1)
print(s)
| 19 | 53 | 0.710526 | 16 | 114 | 5.0625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.131579 | 114 | 5 | 54 | 22.8 | 0.79798 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8d195b2f84337072b3aa3a69594eb7dc57c20fb2 | 33 | py | Python | constants.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | 1 | 2019-01-08T08:46:38.000Z | 2019-01-08T08:46:38.000Z | constants.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | null | null | null | constants.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | null | null | null | ANIMALS = ('pig', 'cow', 'sheep') | 33 | 33 | 0.545455 | 4 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 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 |
8d29eb37abc7c2092a3582358d6a7bf455340956 | 370 | py | Python | flask_app_2_routes/app.py | tagler/Data_Science_Flask_Tutorials_Python_HTML_CSS | 3cc0aae5825048d7b84cfb636add3270f0f410a1 | [
"MIT"
] | null | null | null | flask_app_2_routes/app.py | tagler/Data_Science_Flask_Tutorials_Python_HTML_CSS | 3cc0aae5825048d7b84cfb636add3270f0f410a1 | [
"MIT"
] | null | null | null | flask_app_2_routes/app.py | tagler/Data_Science_Flask_Tutorials_Python_HTML_CSS | 3cc0aae5825048d7b84cfb636add3270f0f410a1 | [
"MIT"
] | null | null | null | # debug mode: export FLASK_ENV=development
# run via: export FLASK_APP=app.py, flask run
# web server will run at http://127.0.0.1:5000/
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return "Index Page"
@app.route('/about/')
def about():
return "About Page"
@app.route('/<name>')... | 20.555556 | 47 | 0.672973 | 59 | 370 | 4.101695 | 0.508475 | 0.099174 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032154 | 0.159459 | 370 | 18 | 48 | 20.555556 | 0.745981 | 0.351351 | 0 | 0 | 0 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 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 |
8d3165e3e1a7a6c4455ba00bf066610b9d033694 | 26 | py | Python | Algorithm-Selection/gripsPredictorPkg/tests/__init__.py | GregorCH/algoselection | 4919d6bede01298f269985fdce94d8176d2ad62b | [
"MIT"
] | 2 | 2018-02-23T08:53:22.000Z | 2021-05-12T11:17:46.000Z | test/__init__.py | Naroj/notifly | 48c8de31327ca7a344c63fee4490d2767e0c6424 | [
"MIT"
] | null | null | null | test/__init__.py | Naroj/notifly | 48c8de31327ca7a344c63fee4490d2767e0c6424 | [
"MIT"
] | 1 | 2018-04-09T20:28:36.000Z | 2018-04-09T20:28:36.000Z | __all__ = ['test_config']
| 13 | 25 | 0.692308 | 3 | 26 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 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 |
8d37372a70f43fc6e7a61a8bbbd58615ca01c010 | 393 | py | Python | testing/tests/001-main/001-empty/001-anonymous/001-dashboard.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 216 | 2015-01-05T12:48:10.000Z | 2022-03-08T00:12:23.000Z | testing/tests/001-main/001-empty/001-anonymous/001-dashboard.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 55 | 2015-02-28T12:10:26.000Z | 2020-11-18T17:45:16.000Z | testing/tests/001-main/001-empty/001-anonymous/001-dashboard.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 34 | 2015-05-02T15:15:10.000Z | 2020-06-15T19:20:37.000Z | frontend.page("dashboard", expect={ "document_title": testing.expect.document_title(u"Dashboard"),
"message_title": testing.expect.message_title(u"No reviews!"),
"pageheader_links": testing.expect.pageheader_links("anonymous"),
... | 78.6 | 101 | 0.575064 | 35 | 393 | 6.2 | 0.457143 | 0.239631 | 0.175115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305344 | 393 | 4 | 102 | 98.25 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.234097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8d377833408d9926e3512afdcc7132c533bec2ca | 43,618 | py | Python | pyAspenPlus/tests/test_AP.py | Shen-SJ/pyAspenPlus | ab9117b5377d9caee69ea8ff308779bf00d87669 | [
"MIT"
] | 12 | 2019-06-17T04:38:41.000Z | 2022-02-09T01:32:59.000Z | pyAspenPlus/tests/test_AP.py | Ice-Pudding/pyAspenPlus | ab9117b5377d9caee69ea8ff308779bf00d87669 | [
"MIT"
] | null | null | null | pyAspenPlus/tests/test_AP.py | Ice-Pudding/pyAspenPlus | ab9117b5377d9caee69ea8ff308779bf00d87669 | [
"MIT"
] | 8 | 2019-06-17T12:13:31.000Z | 2021-12-03T10:05:56.000Z | import os, inspect
import sys
import unittest
try:
import pyAspenPlus
except ImportError:
# 將pyAspenPlus包添加至路徑當中,不然沒辦法import
package_path = os.path.abspath('..\\..')
sys.path.append(package_path)
import pyAspenPlus
path = os.path.join(os.path.dirname(os.path.abspath(inspect.getfile(inspect.current... | 35.95878 | 152 | 0.615457 | 4,683 | 43,618 | 5.66624 | 0.07303 | 0.060147 | 0.056567 | 0.05766 | 0.847334 | 0.763482 | 0.703109 | 0.508008 | 0.376295 | 0.356925 | 0 | 0.026263 | 0.296414 | 43,618 | 1,212 | 153 | 35.988449 | 0.838379 | 0.299234 | 0 | 0.611621 | 0 | 0.004587 | 0.162629 | 0.001863 | 0 | 0 | 0 | 0 | 0.185015 | 1 | 0.071865 | false | 0 | 0.009174 | 0 | 0.091743 | 0.001529 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8d3dfb8169d461c1a9fc019c199f2821a695e37f | 89 | py | Python | src/powergslb/database/mysql/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 81 | 2016-01-21T12:02:39.000Z | 2022-02-11T13:07:07.000Z | src/powergslb/database/mysql/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 24 | 2017-03-05T00:12:49.000Z | 2022-01-18T12:34:32.000Z | src/powergslb/database/mysql/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 28 | 2017-04-28T17:16:29.000Z | 2022-02-16T04:49:23.000Z | from powergslb.database.mysql.database import MySQLDatabase
__all__ = ['MySQLDatabase']
| 22.25 | 59 | 0.820225 | 9 | 89 | 7.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 3 | 60 | 29.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 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 |
8d4ab6f6ed95ed81f7eeb31442c2ec12456451b9 | 58 | py | Python | teste.py | larmc20/pythonbirds | c441b42994357520fbbaee6ebb1614571b43ad7e | [
"MIT"
] | null | null | null | teste.py | larmc20/pythonbirds | c441b42994357520fbbaee6ebb1614571b43ad7e | [
"MIT"
] | null | null | null | teste.py | larmc20/pythonbirds | c441b42994357520fbbaee6ebb1614571b43ad7e | [
"MIT"
] | null | null | null | from oo.pessoa import Pessoa
p = Pessoa()
print(p.fala()) | 14.5 | 28 | 0.706897 | 10 | 58 | 4.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 4 | 29 | 14.5 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8d5b9b94b9c5591fbaef6715b64c04754bf08a05 | 100 | py | Python | setup.py | bayer-science-for-a-better-life/pKAI | 11cd7973c936dd6fa1b38654e7d0ae30bec55bfc | [
"MIT"
] | 5 | 2021-04-07T07:48:58.000Z | 2022-01-06T13:21:09.000Z | setup.py | bayer-science-for-a-better-life/pKAI | 11cd7973c936dd6fa1b38654e7d0ae30bec55bfc | [
"MIT"
] | null | null | null | setup.py | bayer-science-for-a-better-life/pKAI | 11cd7973c936dd6fa1b38654e7d0ae30bec55bfc | [
"MIT"
] | 2 | 2021-11-20T04:10:54.000Z | 2022-01-06T13:21:10.000Z | from setuptools import setup
setup(
use_scm_version=True, setup_requires=["setuptools_scm"],
)
| 16.666667 | 60 | 0.77 | 13 | 100 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 5 | 61 | 20 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8d8005a06fb88301a673e2ade065dd7d3fcb94be | 60 | py | Python | __init__.py | ent1c3d/Jobs.Ge-Rest-App | 7cd365b3fa7de789b0834d85fdf131d53abb94c1 | [
"MIT"
] | 5 | 2016-07-29T13:29:06.000Z | 2017-05-11T14:00:40.000Z | __init__.py | ent1c3d/Jobs.Ge-Rest-App | 7cd365b3fa7de789b0834d85fdf131d53abb94c1 | [
"MIT"
] | 1 | 2016-07-29T12:44:05.000Z | 2016-07-29T12:44:05.000Z | __init__.py | ent1c3d/Jobs.Ge-Rest-App | 7cd365b3fa7de789b0834d85fdf131d53abb94c1 | [
"MIT"
] | null | null | null | __author__ = 'gpatarkatsishvili'
from jobsge import *
| 12 | 33 | 0.716667 | 5 | 60 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 4 | 34 | 15 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 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 |
8d87396f75677d494c1947de9e02932abbb17d7c | 164 | py | Python | test/Django/05/01/BookManager/Book/urls.py | Kingworrior007/lchw001 | e59e6f300123bd98d49e81be16e73a4440ffa85a | [
"MIT"
] | 2 | 2018-03-09T02:13:54.000Z | 2020-12-28T01:47:30.000Z | test/Django/05/01/BookManager/Book/urls.py | X-Warrior007/lchw001 | e59e6f300123bd98d49e81be16e73a4440ffa85a | [
"MIT"
] | null | null | null | test/Django/05/01/BookManager/Book/urls.py | X-Warrior007/lchw001 | e59e6f300123bd98d49e81be16e73a4440ffa85a | [
"MIT"
] | null | null | null | from django.conf.urls import url
from Book.views import staticFile
urlpatterns = [
# http://127.0.0.1:8000/staticfile/
url(r'^staticfile/$', staticFile)
] | 20.5 | 39 | 0.70122 | 23 | 164 | 5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 0.152439 | 164 | 8 | 40 | 20.5 | 0.755396 | 0.20122 | 0 | 0 | 0 | 0 | 0.1 | 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 |
8d922a4fbac8142d21a3a959a4503317083d9790 | 572 | py | Python | drl_attacks/__init__.py | haider4445/MultipleAdvAttacks | 1bc3a3dc9c2b6787851d9e70c6127a9144ff34ba | [
"MIT"
] | 33 | 2021-01-12T14:21:24.000Z | 2022-03-22T00:38:50.000Z | drl_attacks/__init__.py | haider4445/MultipleAdvAttacks | 1bc3a3dc9c2b6787851d9e70c6127a9144ff34ba | [
"MIT"
] | 8 | 2020-11-04T16:13:39.000Z | 2021-01-03T05:46:25.000Z | drl_attacks/__init__.py | davide97l/Tianshou-adversarial-attacks | a5e420a39b6d0eaf38b300ae5d74d4732e5eb6ec | [
"MIT"
] | 5 | 2021-02-09T08:13:02.000Z | 2022-03-21T22:47:50.000Z | from drl_attacks.critical_point_attack import critical_point_attack_collector
from drl_attacks.critical_strategy_attack import critical_strategy_attack_collector
from drl_attacks.strategically_timed_attack import strategically_timed_attack_collector
from drl_attacks.uniform_attack import uniform_attack_collector
from d... | 40.857143 | 87 | 0.874126 | 70 | 572 | 6.528571 | 0.2 | 0.328228 | 0.153173 | 0.19256 | 0.253829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087413 | 572 | 14 | 88 | 40.857143 | 0.875479 | 0 | 0 | 0 | 0 | 0 | 0.254799 | 0.254799 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8d92a34965f66c9931a665b291fbb8f452e22aa1 | 37 | py | Python | tests/config.py | pitzer42/gloop_old | 9ad5ad9e10387e17dfd5a40e65d2910e10f59d77 | [
"MIT"
] | null | null | null | tests/config.py | pitzer42/gloop_old | 9ad5ad9e10387e17dfd5a40e65d2910e10f59d77 | [
"MIT"
] | null | null | null | tests/config.py | pitzer42/gloop_old | 9ad5ad9e10387e17dfd5a40e65d2910e10f59d77 | [
"MIT"
] | null | null | null | test_database_name = 'micro_tcg_test' | 37 | 37 | 0.864865 | 6 | 37 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 37 | 1 | 37 | 37 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 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 |
8da386f48e14f11b4629b1d4429965e3349a92ea | 55 | py | Python | scheduler/gunicorn.py | afourmy/e-napalm | 622c531bf2251917b17461a895dc26f891588ddf | [
"MIT"
] | 25 | 2017-11-21T09:05:55.000Z | 2017-12-13T09:43:42.000Z | scheduler/gunicorn.py | afourmy/e-napalm | 622c531bf2251917b17461a895dc26f891588ddf | [
"MIT"
] | 11 | 2017-11-18T21:49:42.000Z | 2017-12-08T09:49:13.000Z | scheduler/gunicorn.py | afourmy/e-napalm | 622c531bf2251917b17461a895dc26f891588ddf | [
"MIT"
] | 2 | 2017-11-30T20:46:32.000Z | 2017-12-07T23:33:07.000Z | bind = "0.0.0.0:5000"
loglevel = "info"
timeout = 3000
| 13.75 | 21 | 0.636364 | 10 | 55 | 3.5 | 0.7 | 0.171429 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.163636 | 55 | 3 | 22 | 18.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5cebc1a77776446d9e48957eb23337d46bc2c8a | 2,173 | py | Python | customer_segmentation_toolkit/_nbdev.py | artemlops/customer-segmentation-toolkit | 32074ee141f715c4cf9052885595df42866b69f9 | [
"Apache-2.0"
] | null | null | null | customer_segmentation_toolkit/_nbdev.py | artemlops/customer-segmentation-toolkit | 32074ee141f715c4cf9052885595df42866b69f9 | [
"Apache-2.0"
] | 2 | 2021-06-07T10:10:31.000Z | 2021-07-20T13:39:40.000Z | customer_segmentation_toolkit/_nbdev.py | artemlops/customer-segmentation-toolkit | 32074ee141f715c4cf9052885595df42866b69f9 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"download_data_csv": "00_data_zoo.ipynb",
"BASE_URL": "00_data_zoo.ipynb",
"SUPPORTED_SUFFIXES": "00_data_zoo.ipynb",
"ENCODING": "00_data_zoo.ipynb",
"load_data_csv": "01_... | 49.386364 | 100 | 0.709158 | 261 | 2,173 | 5.386973 | 0.337165 | 0.125178 | 0.11522 | 0.147226 | 0.393314 | 0.163585 | 0.061166 | 0 | 0 | 0 | 0 | 0.02995 | 0.170272 | 2,173 | 43 | 101 | 50.534884 | 0.749861 | 0.016567 | 0 | 0 | 1 | 0 | 0.703045 | 0.437002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0 | 0.027778 | 0.027778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5e42932f272f6b9d42f9a217f1a1a7e144e1875 | 219 | py | Python | pyds/treenode/RedBlackTreeNode.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | pyds/treenode/RedBlackTreeNode.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | pyds/treenode/RedBlackTreeNode.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | class RedBlackTreeNode(object):
def __init__(self, key, val=None):
self.key = key
self.val = val
self.left = None
self.right = None
self.red = True
self.parent = None
| 24.333333 | 38 | 0.557078 | 27 | 219 | 4.37037 | 0.518519 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347032 | 219 | 8 | 39 | 27.375 | 0.825175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5f3729a6363f060a0db333dcf01ff1eaac60274 | 444 | py | Python | Capitulo_02/exercise2_8.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_02/exercise2_8.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_02/exercise2_8.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | """
2.8 – Número oito: Escreva operações de adição, subtração, multiplicação e divisão que resultem no número 8. Lembre-se de colocar suas operações em instruções print para ver os resultados. Você deve criar quatro linhas como esta: print(5 + 3) Sua saída deve simplesmente ser composta de quatro linhas, com o número 8... | 29.6 | 340 | 0.752252 | 75 | 444 | 4.466667 | 0.666667 | 0.041791 | 0.041791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.166667 | 444 | 15 | 341 | 29.6 | 0.862162 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a5fb8ba2bf7d012976bd6a6b221d9bb922bc775b | 3,542 | py | Python | apps/cms/models.py | kaixiang1992/bbs | b195bd287267d1facf2253c79727ed8bd4d0ad32 | [
"MIT"
] | null | null | null | apps/cms/models.py | kaixiang1992/bbs | b195bd287267d1facf2253c79727ed8bd4d0ad32 | [
"MIT"
] | null | null | null | apps/cms/models.py | kaixiang1992/bbs | b195bd287267d1facf2253c79727ed8bd4d0ad32 | [
"MIT"
] | null | null | null | from exts import db
from datetime import datetime
from werkzeug.security import generate_password_hash, check_password_hash
# TODO: 用户类
class CmsUser(db.Model):
__tablename__ = 'cms_user'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
username = db.Column(db.String(50), nullable=False)
... | 29.764706 | 107 | 0.668831 | 430 | 3,542 | 5.344186 | 0.297674 | 0.048738 | 0.043516 | 0.02785 | 0.187119 | 0.187119 | 0.127937 | 0.083551 | 0.083551 | 0.043516 | 0 | 0.041349 | 0.221626 | 3,542 | 118 | 108 | 30.016949 | 0.792165 | 0.158667 | 0 | 0.106061 | 1 | 0 | 0.05629 | 0.007121 | 0 | 0 | 0 | 0.008475 | 0 | 1 | 0.136364 | false | 0.166667 | 0.045455 | 0.075758 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
57020be08ce6cc68cd395436f3c8216121e4dd6b | 172 | py | Python | tags_section_plugin/buildbot_tags_section_plugin/__init__.py | vlasov-evgeny/buildbot-tags-section | a8d683685ce33ed927d2b5167e0a2fe9d62f1368 | [
"Apache-2.0"
] | null | null | null | tags_section_plugin/buildbot_tags_section_plugin/__init__.py | vlasov-evgeny/buildbot-tags-section | a8d683685ce33ed927d2b5167e0a2fe9d62f1368 | [
"Apache-2.0"
] | null | null | null | tags_section_plugin/buildbot_tags_section_plugin/__init__.py | vlasov-evgeny/buildbot-tags-section | a8d683685ce33ed927d2b5167e0a2fe9d62f1368 | [
"Apache-2.0"
] | null | null | null | from buildbot.www.plugin import Application
# create the interface for the setuptools entry point
ep = Application(__name__, "Buildbot tags section menu plugin", ui=True)
| 34.4 | 72 | 0.802326 | 24 | 172 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 172 | 4 | 73 | 43 | 0.899329 | 0.296512 | 0 | 0 | 0 | 0 | 0.277311 | 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 |
570b84f995135fe94ffd1cc852c71597e9522d51 | 169 | py | Python | stackoverflow/venv/lib/python3.6/site-packages/automat/__init__.py | zhi-xianwei/learn_python3_spider | a3301f8112e4ded25c3578162db8c6a263a0693b | [
"MIT"
] | 9,953 | 2019-04-03T23:41:04.000Z | 2022-03-31T11:54:44.000Z | stackoverflow/venv/lib/python3.6/site-packages/automat/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 124 | 2015-01-22T23:59:00.000Z | 2022-03-15T06:43:01.000Z | stackoverflow/venv/lib/python3.6/site-packages/automat/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 2,803 | 2019-04-06T13:15:33.000Z | 2022-03-31T07:42:01.000Z | # -*- test-case-name: automat -*-
from ._methodical import MethodicalMachine
from ._core import NoTransition
__all__ = [
'MethodicalMachine',
'NoTransition',
]
| 18.777778 | 42 | 0.710059 | 15 | 169 | 7.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16568 | 169 | 8 | 43 | 21.125 | 0.808511 | 0.183432 | 0 | 0 | 0 | 0 | 0.213235 | 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 |
571473dd1be8cc5dc52cd0529738a066eaaba169 | 431 | py | Python | atest/testdata/test_libraries/ModuleWitNotKeywordDecorator.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/testdata/test_libraries/ModuleWitNotKeywordDecorator.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/testdata/test_libraries/ModuleWitNotKeywordDecorator.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | # None of these decorators should be exposed as keywords.
from robot.api.deco import keyword, library, not_keyword
from os.path import abspath
not_keyword(abspath)
def exposed_in_module():
pass
@not_keyword
def not_exposed_in_module():
pass
@keyword
@not_keyword
def keyword_and_not_keyword():
pass
... | 14.366667 | 57 | 0.781903 | 64 | 431 | 4.921875 | 0.453125 | 0.190476 | 0.095238 | 0.120635 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157773 | 431 | 29 | 58 | 14.862069 | 0.867769 | 0.12761 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | true | 0.266667 | 0.133333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
571b88f7cff50b237ba36c0870438c41a0ef566e | 75 | py | Python | CDS_GRF/modules/agents/__init__.py | lich14/CDS | 1f50446fb17e0793c91157e0cdf8754d4a040e5c | [
"Apache-2.0"
] | 35 | 2021-06-04T01:54:42.000Z | 2022-03-25T07:08:41.000Z | CDS_GRF/modules/agents/__init__.py | lich14/CDS | 1f50446fb17e0793c91157e0cdf8754d4a040e5c | [
"Apache-2.0"
] | 6 | 2021-12-23T12:11:20.000Z | 2022-03-01T08:12:32.000Z | CDS_GRF/modules/agents/__init__.py | lich14/CDS | 1f50446fb17e0793c91157e0cdf8754d4a040e5c | [
"Apache-2.0"
] | 10 | 2021-06-13T08:07:29.000Z | 2022-01-23T03:33:50.000Z | from .rnn_agent import RNNAgent
REGISTRY = {}
REGISTRY["rnn"] = RNNAgent
| 12.5 | 31 | 0.72 | 9 | 75 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 5 | 32 | 15 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.04 | 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 |
573a4ac5518f22bdb6159f7cbeaa9e8f7d4eda0f | 555 | py | Python | accounts/models/option.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | 3 | 2016-12-05T03:33:44.000Z | 2019-11-06T18:05:28.000Z | accounts/models/option.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | 2 | 2016-01-02T15:09:07.000Z | 2021-07-15T23:02:48.000Z | accounts/models/option.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | null | null | null | # coding=utf-8
from django.db import models
from accounts.models.bases import BaseModel
class Option(BaseModel):
option_name = models.CharField("key", max_length=50, unique=True)
option_value = models.TextField("value", default="")
def __str__(self):
return "%s %s" % (self.option_name, self.optio... | 26.428571 | 71 | 0.700901 | 75 | 555 | 5 | 0.466667 | 0.106667 | 0.101333 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006608 | 0.181982 | 555 | 20 | 72 | 27.75 | 0.819383 | 0.021622 | 0 | 0.153846 | 0 | 0 | 0.024074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.230769 | 0.846154 | 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 |
574fcdaa0eccd4b5a8fd7941f0c791241ae6942d | 607 | py | Python | sendbird/api_resources/message.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-05-16T00:17:23.000Z | 2020-12-10T05:59:34.000Z | sendbird/api_resources/message.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 11 | 2019-05-18T05:21:31.000Z | 2019-09-06T14:38:19.000Z | sendbird/api_resources/message.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-09-05T15:54:57.000Z | 2021-07-29T22:55:50.000Z | from sendbird.api_resources.abstract.createable_api_resource import CreateableAPIResource # NOQA
from sendbird.api_resources.abstract.deletable_api_resource import DeletableAPIResource # NOQA
from sendbird.api_resources.abstract.listable_api_resource import ListableAPIResource # NOQA
from sendbird.api_resources.abst... | 33.722222 | 97 | 0.812191 | 62 | 607 | 7.693548 | 0.435484 | 0.100629 | 0.125786 | 0.201258 | 0.293501 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136738 | 607 | 17 | 98 | 35.705882 | 0.910305 | 0.031301 | 0 | 0 | 0 | 0 | 0.02916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.071429 | 0.285714 | 0 | 0.571429 | 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 |
575079fce3a8efff1e44341a425ec9846f26fd9e | 762 | py | Python | sugar/sweet_girl/views.py | Nazira06/sweet-sugar | 9822390356effae379bff1ebcda276b5d6dee8ce | [
"MIT"
] | null | null | null | sugar/sweet_girl/views.py | Nazira06/sweet-sugar | 9822390356effae379bff1ebcda276b5d6dee8ce | [
"MIT"
] | null | null | null | sugar/sweet_girl/views.py | Nazira06/sweet-sugar | 9822390356effae379bff1ebcda276b5d6dee8ce | [
"MIT"
] | null | null | null | from django.shortcuts import render
from rest_framework import viewsets
from .serializers import *
# Create your views here.
class ServiceViewSet(viewsets.ModelViewSet):
queryset = Service.objects.all()
serializer_class = ServiceSerializers
class MasterViewSet(viewsets.ModelViewSet):
queryset = Master... | 24.580645 | 49 | 0.786089 | 72 | 762 | 8.236111 | 0.472222 | 0.168634 | 0.236088 | 0.210793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 762 | 31 | 50 | 24.580645 | 0.906728 | 0.030184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
57545fe961ca5f07e192a6679e5b9e080381848d | 133 | py | Python | autoextract_spiders/spiders/autoextract_product.py | zanachka/autoextract-spiders | 5885ca6ef1fd4f301022ef4124591dc3b443e6ec | [
"BSD-3-Clause"
] | 19 | 2019-11-15T22:40:55.000Z | 2021-05-06T04:54:54.000Z | autoextract_spiders/spiders/autoextract_product.py | zanachka/autoextract-spiders | 5885ca6ef1fd4f301022ef4124591dc3b443e6ec | [
"BSD-3-Clause"
] | 19 | 2019-10-29T12:00:10.000Z | 2021-11-25T08:45:24.000Z | autoextract_spiders/spiders/autoextract_product.py | zanachka/autoextract-spiders | 5885ca6ef1fd4f301022ef4124591dc3b443e6ec | [
"BSD-3-Clause"
] | 16 | 2019-10-26T09:39:01.000Z | 2021-09-12T22:08:21.000Z | from .crawler_spider import CrawlerSpider
class ProductAutoExtract(CrawlerSpider):
name = 'products'
page_type = 'product'
| 19 | 41 | 0.759398 | 13 | 133 | 7.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 6 | 42 | 22.166667 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.112782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9385b0f08d23087fa7b6431536a2156fe9162a2c | 260 | py | Python | tests/flytekit/unit/core/tasks.py | slai/flytekit | 9d73d096b748d263a638e6865d15db4880845305 | [
"Apache-2.0"
] | 1 | 2021-11-11T10:10:10.000Z | 2021-11-11T10:10:10.000Z | tests/flytekit/unit/core/tasks.py | slai/flytekit | 9d73d096b748d263a638e6865d15db4880845305 | [
"Apache-2.0"
] | 2 | 2021-06-26T04:32:43.000Z | 2021-07-14T04:47:52.000Z | tests/flytekit/unit/core/tasks.py | slai/flytekit | 9d73d096b748d263a638e6865d15db4880845305 | [
"Apache-2.0"
] | null | null | null | """
NOTE: This file exists to test failure in case of instantiating a task inside a function in a non test_* module.
Refer to test_python_function_task.py to look at the usage.
"""
from flytekit import task
def tasks():
@task
def foo():
pass
| 21.666667 | 112 | 0.703846 | 43 | 260 | 4.162791 | 0.72093 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226923 | 260 | 11 | 113 | 23.636364 | 0.890547 | 0.661538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.2 | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
93a31c43b34ba7556b39602d3bcc386be79a3158 | 60 | py | Python | mak/build_framework/configure/arch/i386.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/build_framework/configure/arch/i386.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/build_framework/configure/arch/i386.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | def configure(conf):
conf.recurse('x86.py', once=False)
| 20 | 38 | 0.683333 | 9 | 60 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 60 | 2 | 39 | 30 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
93b419aaf78f619d671bddb0a756b4cc9b48e24f | 205 | py | Python | modules/task.py | oyang/testFalsk | 44fd5ba82f78d182364020293c88fe2d8c9b25d6 | [
"MIT"
] | null | null | null | modules/task.py | oyang/testFalsk | 44fd5ba82f78d182364020293c88fe2d8c9b25d6 | [
"MIT"
] | null | null | null | modules/task.py | oyang/testFalsk | 44fd5ba82f78d182364020293c88fe2d8c9b25d6 | [
"MIT"
] | null | null | null | from db import db
from uuid import uuid4
__all__ = ['Task']
class Task(db.Model):
id = db.Column(db.String(36), default=lambda: str(uuid4()), primary_key=True)
subject = db.Column(db.String(64))
| 22.777778 | 81 | 0.687805 | 33 | 205 | 4.121212 | 0.636364 | 0.117647 | 0.147059 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034682 | 0.156098 | 205 | 8 | 82 | 25.625 | 0.751445 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9e11ea856019ceba0ca048c06d1a91700e29d3a9 | 41 | py | Python | protlibtcpserver/__init__.py | idanohh/protlibtcpserver | 0b9b9f3daed971c53779e9beb7166e33fc666045 | [
"Apache-2.0"
] | null | null | null | protlibtcpserver/__init__.py | idanohh/protlibtcpserver | 0b9b9f3daed971c53779e9beb7166e33fc666045 | [
"Apache-2.0"
] | null | null | null | protlibtcpserver/__init__.py | idanohh/protlibtcpserver | 0b9b9f3daed971c53779e9beb7166e33fc666045 | [
"Apache-2.0"
] | null | null | null | __author__ = 'idans'
__version__ = '0.1'
| 13.666667 | 20 | 0.682927 | 5 | 41 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.146341 | 41 | 2 | 21 | 20.5 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 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 |
9e2114fab3f3da825bad30c4b81f07e641ea40af | 246 | py | Python | goexplore/cell/base_representation_info.py | PeterZhizhin/GoExploreExperiment | 1ee8de602eaa4aa9ce29e337ed6b082bab272594 | [
"Apache-2.0"
] | null | null | null | goexplore/cell/base_representation_info.py | PeterZhizhin/GoExploreExperiment | 1ee8de602eaa4aa9ce29e337ed6b082bab272594 | [
"Apache-2.0"
] | null | null | null | goexplore/cell/base_representation_info.py | PeterZhizhin/GoExploreExperiment | 1ee8de602eaa4aa9ce29e337ed6b082bab272594 | [
"Apache-2.0"
] | null | null | null | class BaseRepresentationInfo(object):
"""A class that is used as keys in an archive."""
def __hash__(self):
"""Used to store elements in a dictionary.
All elements have same hash by default.
"""
return 0
| 24.6 | 53 | 0.617886 | 32 | 246 | 4.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.296748 | 246 | 9 | 54 | 27.333333 | 0.849711 | 0.504065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 |
f514a3152f743dd3e994247f947782751aef6953 | 269 | py | Python | yalr/tests/l_words.py | jan-g/python-yalr | 9491d7bd99c64a34e7722919c137466e71bf781b | [
"Apache-2.0"
] | null | null | null | yalr/tests/l_words.py | jan-g/python-yalr | 9491d7bd99c64a34e7722919c137466e71bf781b | [
"Apache-2.0"
] | null | null | null | yalr/tests/l_words.py | jan-g/python-yalr | 9491d7bd99c64a34e7722919c137466e71bf781b | [
"Apache-2.0"
] | null | null | null | """ A lexer that just splits its input up into
alphanumeric words.
"""
from .. import Lexer
def make_l():
l = Lexer()
@l('\s+')
def whitespace():
pass
@l(r'(?P<token> \w+ )')
def word(token=None):
return token
return l
| 13.45 | 46 | 0.531599 | 37 | 269 | 3.837838 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315985 | 269 | 19 | 47 | 14.157895 | 0.771739 | 0.230483 | 0 | 0 | 0 | 0 | 0.097436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.1 | 0.1 | 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 |
f54426350e8686ebdd72283410d95a93e7cd9596 | 434 | py | Python | bayes.py | OscarPalominoC/BayesTheorem | 71290be2f5c5708e3663ace45f31cf8edf9fd9fb | [
"MIT"
] | null | null | null | bayes.py | OscarPalominoC/BayesTheorem | 71290be2f5c5708e3663ace45f31cf8edf9fd9fb | [
"MIT"
] | null | null | null | bayes.py | OscarPalominoC/BayesTheorem | 71290be2f5c5708e3663ace45f31cf8edf9fd9fb | [
"MIT"
] | null | null | null | class Bayes:
def __init__(self, priorA, probBdadoA,probBnoA):
self.priorA = priorA
self.probBdadoA = probBdadoA
self.probNoA = 1 - priorA
self.probBnoA = probBnoA
self.probB = (probBdadoA * priorA) + (self.probBnoA * self.probNoA)
def probabilityB(self):
return s... | 33.384615 | 77 | 0.631336 | 48 | 434 | 5.625 | 0.354167 | 0.148148 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015576 | 0.260369 | 434 | 13 | 77 | 33.384615 | 0.825545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f5462f1a64e833286804cb1975b74d56580e65d1 | 226 | py | Python | connect4/__init__.py | Onii-Chan-Discord/phen-cogs | e0d8dc38a4b68c6a59ab73f6affc079d30009779 | [
"MIT"
] | 105 | 2020-08-11T02:14:38.000Z | 2022-03-21T13:17:14.000Z | connect4/__init__.py | Kami-DiscordBot/phen-cogs | c4dbf2cee8d49b0bff8853f850b76247d8a7fdbc | [
"MIT"
] | 101 | 2020-10-03T22:55:03.000Z | 2022-03-21T01:48:55.000Z | connect4/__init__.py | Kami-DiscordBot/phen-cogs | c4dbf2cee8d49b0bff8853f850b76247d8a7fdbc | [
"MIT"
] | 81 | 2020-09-11T10:24:59.000Z | 2022-03-31T22:22:58.000Z | from redbot.core.utils import get_end_user_data_statement
from .connect4 import Connect4
__red_end_user_data_statement__ = get_end_user_data_statement(__file__)
def setup(bot):
cog = Connect4(bot)
bot.add_cog(cog)
| 20.545455 | 71 | 0.80531 | 35 | 226 | 4.6 | 0.514286 | 0.130435 | 0.204969 | 0.372671 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015228 | 0.128319 | 226 | 10 | 72 | 22.6 | 0.80203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f55d9ad31ecd1d11554cfc68ffda44bf11ad94f7 | 95 | py | Python | read_quotes.py | MarkDuenas/mycode | 99f5a83ee8448b565a8d53e1c62a12bdfd2cc6ad | [
"MIT"
] | null | null | null | read_quotes.py | MarkDuenas/mycode | 99f5a83ee8448b565a8d53e1c62a12bdfd2cc6ad | [
"MIT"
] | null | null | null | read_quotes.py | MarkDuenas/mycode | 99f5a83ee8448b565a8d53e1c62a12bdfd2cc6ad | [
"MIT"
] | null | null | null | with open("quote_lines.txt", "r") as quotes:
quote_list = quotes.read()
print(quote_list)
| 19 | 44 | 0.694737 | 15 | 95 | 4.2 | 0.733333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 4 | 45 | 23.75 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f5a1384e0787aaf71719f5fb203ad3ecc78765ef | 108 | py | Python | django/django_fundamentals/django_intro/mycounter_project/mycounter_project/urls.py | fatimaalheeh/python_stack | 9ba84e6dc030a65494f105152a97f0a38aa2e4f3 | [
"MIT"
] | null | null | null | django/django_fundamentals/django_intro/mycounter_project/mycounter_project/urls.py | fatimaalheeh/python_stack | 9ba84e6dc030a65494f105152a97f0a38aa2e4f3 | [
"MIT"
] | null | null | null | django/django_fundamentals/django_intro/mycounter_project/mycounter_project/urls.py | fatimaalheeh/python_stack | 9ba84e6dc030a65494f105152a97f0a38aa2e4f3 | [
"MIT"
] | null | null | null | from django.urls.conf import path, include
urlpatterns = [
path('',include('mycounter_app.urls')),
]
| 18 | 44 | 0.685185 | 13 | 108 | 5.615385 | 0.769231 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 5 | 45 | 21.6 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1918c9134b30df15b79df60cf0b018615fb6cefe | 155 | py | Python | src/gunicorn_conf.py | lambdaspace/ldap-admin-be | 8a736bf7b9da97237e5e97043ca55bc6d8cedbbc | [
"MIT"
] | 2 | 2018-02-12T03:17:00.000Z | 2018-03-20T08:19:28.000Z | src/gunicorn_conf.py | panagiks/ldap-admin-be | 8a736bf7b9da97237e5e97043ca55bc6d8cedbbc | [
"MIT"
] | 5 | 2018-02-10T18:28:03.000Z | 2018-03-16T20:38:57.000Z | src/gunicorn_conf.py | lambdaspace/ldap-admin-be | 8a736bf7b9da97237e5e97043ca55bc6d8cedbbc | [
"MIT"
] | 1 | 2018-02-10T18:29:58.000Z | 2018-02-10T18:29:58.000Z | pidfile = '/run/ldapadmin/pid'
workers = 4
threads = 4
worker_class = 'aiohttp.worker.GunicornWebWorker'
bind = 'unix:/run/ldapadmin/socket'
umask = '117'
| 22.142857 | 49 | 0.735484 | 20 | 155 | 5.65 | 0.8 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0.116129 | 155 | 6 | 50 | 25.833333 | 0.788321 | 0 | 0 | 0 | 0 | 0 | 0.509677 | 0.374194 | 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 |
19329e889e236e0a17aca473d656a7b0384a02b3 | 1,039 | py | Python | covid_in_russia/models.py | anatoly-scherbakov/covid-in-russia | ff0a2b92098b369fd1b18a2b9370c993567963ab | [
"MIT"
] | null | null | null | covid_in_russia/models.py | anatoly-scherbakov/covid-in-russia | ff0a2b92098b369fd1b18a2b9370c993567963ab | [
"MIT"
] | null | null | null | covid_in_russia/models.py | anatoly-scherbakov/covid-in-russia | ff0a2b92098b369fd1b18a2b9370c993567963ab | [
"MIT"
] | null | null | null | import dataclasses
import datetime
import time
from datetime import date
from typing import Optional, Dict, NewType, List
def timestamp():
return int(time.time() * 1000)
@dataclasses.dataclass(frozen=True)
class Record:
region: str
total: int = 0
recovered: int = 0
deceased: int = 0
@dataclass... | 18.890909 | 81 | 0.707411 | 129 | 1,039 | 5.612403 | 0.356589 | 0.033149 | 0.143646 | 0.165746 | 0.287293 | 0.190608 | 0.190608 | 0.190608 | 0.190608 | 0.190608 | 0 | 0.012092 | 0.204042 | 1,039 | 54 | 82 | 19.240741 | 0.863362 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | true | 0 | 0.135135 | 0.027027 | 0.891892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
193403109f6e00f6c4fe80b48f1f6cd6db6bce1c | 501 | py | Python | timely_beliefs/__init__.py | SeitaBV/timely-beliefs | 145ae53449393d27c140645fe4c289f4624cc77b | [
"MIT"
] | 12 | 2018-12-20T21:42:21.000Z | 2022-01-06T18:31:53.000Z | timely_beliefs/__init__.py | SeitaBV/timely-beliefs | 145ae53449393d27c140645fe4c289f4624cc77b | [
"MIT"
] | 51 | 2019-03-26T12:28:17.000Z | 2022-01-21T22:50:13.000Z | timely_beliefs/__init__.py | SeitaBV/timely-beliefs | 145ae53449393d27c140645fe4c289f4624cc77b | [
"MIT"
] | 5 | 2019-06-03T14:38:07.000Z | 2019-10-28T21:10:35.000Z | # flake8: noqa
from timely_beliefs.sensors.classes import DBSensor, Sensor, SensorDBMixin # isort:skip
from timely_beliefs.sources.classes import ( # isort:skip
BeliefSource,
BeliefSourceDBMixin,
DBBeliefSource,
)
from timely_beliefs.beliefs.classes import (
BeliefsDataFrame,
BeliefsSeries,
D... | 27.833333 | 88 | 0.790419 | 54 | 501 | 7.148148 | 0.574074 | 0.129534 | 0.220207 | 0.124352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002347 | 0.149701 | 501 | 17 | 89 | 29.470588 | 0.903756 | 0.067864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 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 |
1937a9bcd37e56f6fec6a83b4a6daeeab5a88a52 | 262 | pyde | Python | Processing Py_!/listing_15/listing_15.pyde | GermogenovAs/2019-fall-polytech-cs | 3d02ed149b5d0468e213d96b5a1aa8263880a3e1 | [
"MIT"
] | null | null | null | Processing Py_!/listing_15/listing_15.pyde | GermogenovAs/2019-fall-polytech-cs | 3d02ed149b5d0468e213d96b5a1aa8263880a3e1 | [
"MIT"
] | null | null | null | Processing Py_!/listing_15/listing_15.pyde | GermogenovAs/2019-fall-polytech-cs | 3d02ed149b5d0468e213d96b5a1aa8263880a3e1 | [
"MIT"
] | null | null | null | def setup():
size(500, 500)
smooth()
background(255)
strokeWeight(30)
noLoop()
def draw():
stroke(20)
line(50, 200, 150+(1-1)*50, 300)
line(50*2, 200, 150+(2-1)*50, 300)
line(50*3, 200, 150+(3-1)*50, 300)
| 15.411765 | 38 | 0.5 | 41 | 262 | 3.195122 | 0.512195 | 0.137405 | 0.137405 | 0.152672 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32967 | 0.305344 | 262 | 16 | 39 | 16.375 | 0.39011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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.