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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f735b0eb7fc02a672bfd46a2c92ca520902e6dc | 113 | py | Python | simple_repr/__init__.py | mr-strawberry66/python-repr-generation | d282b69eee0fdc2faa8f14da844d12ea1385c942 | [
"MIT"
] | 1 | 2022-03-16T05:25:39.000Z | 2022-03-16T05:25:39.000Z | simple_repr/__init__.py | mr-strawberry66/python-repr-generation | d282b69eee0fdc2faa8f14da844d12ea1385c942 | [
"MIT"
] | 1 | 2022-03-16T03:45:18.000Z | 2022-03-16T07:47:45.000Z | simple_repr/__init__.py | mr-strawberry66/python-repr-generation | d282b69eee0fdc2faa8f14da844d12ea1385c942 | [
"MIT"
] | null | null | null | """Expose public methods of simple_repr module."""
from .simple_repr import SimpleRepr
__all__ = ["SimpleRepr"]
| 22.6 | 50 | 0.761062 | 14 | 113 | 5.714286 | 0.785714 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 4 | 51 | 28.25 | 0.808081 | 0.389381 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
2f189ed59c5a6fa6ba51523bd5133ec3870a5609 | 26 | py | Python | data/studio21_generated/introductory/3257/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3257/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3257/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def slogan_maker(array):
| 13 | 24 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 2 | 25 | 13 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2f52f9fec1675e6197cdcd0f49350d4d7f889b23 | 220 | py | Python | pySpatialTools/Discretization/Discretization_3d/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 8 | 2015-07-21T05:15:16.000Z | 2018-06-12T18:22:52.000Z | pySpatialTools/Discretization/Discretization_3d/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 6 | 2016-01-11T22:25:28.000Z | 2016-01-28T16:17:46.000Z | pySpatialTools/Discretization/Discretization_3d/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | null | null | null |
"""
3D discretization
=================
Space discretization module groups functions to discretize 3-dimensional spaces
in regions and facilitate the retrieve by regions or define neighbourhood with
fixed regions.
"""
| 22 | 79 | 0.75 | 26 | 220 | 6.346154 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.136364 | 220 | 9 | 80 | 24.444444 | 0.857895 | 0.95 | 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 | 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 | 4 |
2f8332726e6889c1c13de66c13d2b3c4ab8d4859 | 23,898 | py | Python | test/media/qa_test/test_create_thumbnail.py | yunfan/bce-sdk-python | 00df2be78cd44373c3d99cd1bb69d17968f30d2b | [
"Apache-2.0"
] | 22 | 2015-10-26T03:00:11.000Z | 2021-09-08T09:30:51.000Z | test/media/qa_test/test_create_thumbnail.py | yunfan/bce-sdk-python | 00df2be78cd44373c3d99cd1bb69d17968f30d2b | [
"Apache-2.0"
] | 8 | 2018-07-18T02:47:09.000Z | 2020-12-10T02:30:37.000Z | test/media/qa_test/test_create_thumbnail.py | yunfan/bce-sdk-python | 00df2be78cd44373c3d99cd1bb69d17968f30d2b | [
"Apache-2.0"
] | 14 | 2016-01-12T11:57:38.000Z | 2021-03-10T03:35:12.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
########################################################################
#
# Copyright 2015 Baidu, Inc.
#
########################################################################
"""
File: test_create_thumbnail.py
Date: 2015/06/10 15:15:40
"""
import os
import sys
impo... | 41.926316 | 100 | 0.597958 | 2,564 | 23,898 | 5.350234 | 0.085803 | 0.130121 | 0.056787 | 0.062546 | 0.810468 | 0.773655 | 0.725397 | 0.696895 | 0.665695 | 0.640327 | 0 | 0.011057 | 0.2999 | 23,898 | 569 | 101 | 42 | 0.808858 | 0.077622 | 0 | 0.622601 | 0 | 0 | 0.12459 | 0.019381 | 0 | 0 | 0 | 0 | 0.130064 | 1 | 0.089552 | false | 0 | 0.036247 | 0 | 0.127932 | 0.006397 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2f96a36570cbb481f97fbefd580d9f4116f7037c | 287 | py | Python | shisell/extenders/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | 2 | 2018-09-27T06:57:33.000Z | 2021-12-16T13:08:31.000Z | shisell/extenders/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | shisell/extenders/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | from .create_scoped import create_scoped
from .with_context import with_context
from .with_extras import with_extra, with_extras, Extras
from .with_filter import with_filter, Filter
from .with_identities import with_identity, with_identities, Identities
from .with_meta import with_meta
| 41 | 71 | 0.860627 | 43 | 287 | 5.418605 | 0.27907 | 0.171674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101045 | 287 | 6 | 72 | 47.833333 | 0.903101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
85e12310c50d5a860368bdde91debc609637792d | 205 | py | Python | utils/utils.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | null | null | null | utils/utils.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | null | null | null | utils/utils.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | 1 | 2020-07-06T07:15:43.000Z | 2020-07-06T07:15:43.000Z | import torch
def get_state_dict(model):
if type(model) == torch.nn.DataParallel:
state_dict = model.module.state_dict()
else:
state_dict = model.state_dict()
return state_dict
| 22.777778 | 46 | 0.678049 | 28 | 205 | 4.714286 | 0.5 | 0.409091 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22439 | 205 | 8 | 47 | 25.625 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c80adb0542eb0c29a52acc9d2982ad17981f9abd | 212 | py | Python | vendas/forms.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | vendas/forms.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | vendas/forms.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | from django import forms
from vendas.models import Venda
class VendaAdminForm(forms.ModelForm):
class Meta:
model = Venda
fields = ('nome_client','telefone','cidade','email','produto','deu',) | 30.285714 | 77 | 0.688679 | 25 | 212 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 212 | 7 | 77 | 30.285714 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.187793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c816c358d239d57a7d662c80fe01216db2e20147 | 23 | py | Python | ibsng/handler/session/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/session/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/session/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Session library."""
| 11.5 | 22 | 0.608696 | 2 | 23 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.666667 | 0.695652 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c82361f12914b52392ccccaf34ede314022e2b61 | 205 | py | Python | examples/miniapps/engines_cars/example/cars.py | kinow/python-dependency-injector | ebd98bebe9a8fc0b57e68cfc12c4979833baa6a5 | [
"BSD-3-Clause"
] | null | null | null | examples/miniapps/engines_cars/example/cars.py | kinow/python-dependency-injector | ebd98bebe9a8fc0b57e68cfc12c4979833baa6a5 | [
"BSD-3-Clause"
] | null | null | null | examples/miniapps/engines_cars/example/cars.py | kinow/python-dependency-injector | ebd98bebe9a8fc0b57e68cfc12c4979833baa6a5 | [
"BSD-3-Clause"
] | null | null | null | """Dependency injection example, cars module."""
class Car:
"""Example car."""
def __init__(self, engine):
"""Initialize instance."""
self._engine = engine # Engine is injected
| 20.5 | 51 | 0.614634 | 21 | 205 | 5.761905 | 0.714286 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239024 | 205 | 9 | 52 | 22.777778 | 0.775641 | 0.468293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 4 |
c8244fe9fb16aef791f8698a07f156a32c0eae37 | 153 | py | Python | tests/__init__.py | robinsax/canvas | 6e8b9b260fdda868d687b562926a2038736ec56c | [
"Apache-2.0"
] | 4 | 2018-01-24T01:34:39.000Z | 2021-01-14T21:29:47.000Z | tests/__init__.py | robinsax/canvas | 6e8b9b260fdda868d687b562926a2038736ec56c | [
"Apache-2.0"
] | 2 | 2018-06-09T22:28:56.000Z | 2018-06-12T01:40:10.000Z | tests/__init__.py | robinsax/canvas | 6e8b9b260fdda868d687b562926a2038736ec56c | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
'''
Unit tests on the canvas framework.
'''
from . import exceptions, utils, json, views, controller_service, assets, \
model, service
| 19.125 | 75 | 0.712418 | 20 | 153 | 5.4 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.163399 | 153 | 7 | 76 | 21.857143 | 0.835938 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
c82d2f88ee47dc4ebe8f3ae6586b4d1d7443883b | 294 | py | Python | Python-LoopControlBreak.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-LoopControlBreak.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-LoopControlBreak.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | dog_breeds_available_for_adoption = ["french_bulldog", "dalmatian", "shihtzu", "poodle", "collie"]
dog_breed_I_want = "collie"
for dog_breed in dog_breeds_available_for_adoption:
print(dog_breed)
if dog_breed == dog_breed_I_want:
print("They have the dog I want!")
break
| 29.4 | 99 | 0.727891 | 43 | 294 | 4.55814 | 0.488372 | 0.204082 | 0.183673 | 0.214286 | 0.295918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 294 | 9 | 100 | 32.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.257042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 1 | 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 | 4 |
c8342a5dc2f0817b88dfc115739cfd7f3c210793 | 70 | py | Python | performance_curves/__init__.py | erp12/performance-curves | 49d1602a0ca1d2f5fb5471b4a9bbaaf338acb817 | [
"MIT"
] | null | null | null | performance_curves/__init__.py | erp12/performance-curves | 49d1602a0ca1d2f5fb5471b4a9bbaaf338acb817 | [
"MIT"
] | 2 | 2020-10-26T16:44:59.000Z | 2020-12-06T23:02:11.000Z | performance_curves/__init__.py | erp12/performance-curves | 49d1602a0ca1d2f5fb5471b4a9bbaaf338acb817 | [
"MIT"
] | null | null | null | """Hello world!
A brief overview of the package should go here.
"""
| 11.666667 | 47 | 0.685714 | 11 | 70 | 4.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 5 | 48 | 14 | 0.857143 | 0.871429 | 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 | 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 | 4 |
c06dd1555aade3fc4d415a4caa1fe097f345904b | 825 | py | Python | facetracker/__init__.py | amitibo/pyfacetracker | 2493a11c0e0c07372f9aaf90a8025d13c1cd8102 | [
"BSD-2-Clause"
] | 2 | 2018-04-15T03:33:10.000Z | 2018-04-24T13:41:02.000Z | facetracker/__init__.py | The-Skas/pyFaceTracker | 1f982e9e77a97400e6ffa4bca7762e7131d31590 | [
"BSD-2-Clause"
] | null | null | null | facetracker/__init__.py | The-Skas/pyFaceTracker | 1f982e9e77a97400e6ffa4bca7762e7131d31590 | [
"BSD-2-Clause"
] | null | null | null | """
pyfacetracker: Python wrapper for FaceTracker.
==============================================
FaceTracker is a library for deformable face tracking written in C++ using
OpenCV 2, authored by Jason Saragih and maintained by Kyle McDonald. It is
available free for non-commercial use, and may be redistributed u... | 39.285714 | 76 | 0.732121 | 112 | 825 | 5.383929 | 0.669643 | 0.054726 | 0.053068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007257 | 0.164848 | 825 | 21 | 77 | 39.285714 | 0.867925 | 0.932121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c083220578496cd22ce62c0139b69596f55bf923 | 295 | py | Python | src/compas_singular/rhino/rhino/__init__.py | christiandimitri/compas_singular | 4a80b30664b07e15eb799229171bbc02c27e0efc | [
"MIT"
] | 1 | 2021-04-19T15:09:21.000Z | 2021-04-19T15:09:21.000Z | src/compas_singular/rhino/rhino/__init__.py | christiandimitri/compas_singular | 4a80b30664b07e15eb799229171bbc02c27e0efc | [
"MIT"
] | null | null | null | src/compas_singular/rhino/rhino/__init__.py | christiandimitri/compas_singular | 4a80b30664b07e15eb799229171bbc02c27e0efc | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .density import *
from .display import *
from .getters import *
from .pattern import *
from .patternartist import *
__all__ = [name for name in dir() if not name.startswith('_')]
| 24.583333 | 62 | 0.783051 | 39 | 295 | 5.435897 | 0.512821 | 0.235849 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149153 | 295 | 11 | 63 | 26.818182 | 0.844622 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c0892a7a77e915276d15bedd6589b5c545ba8baa | 141 | py | Python | codeforces/acmsguru/112.py | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | codeforces/acmsguru/112.py | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | codeforces/acmsguru/112.py | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | #!/usr/bin/env python3
# https://codeforces.com/problemsets/acmsguru/problem/99999/112
a,b=map(int,input().split())
print(pow(a,b)-pow(b,a))
| 28.2 | 63 | 0.716312 | 25 | 141 | 4.04 | 0.8 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.042553 | 141 | 4 | 64 | 35.25 | 0.681481 | 0.588652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c0a3e48b65f2a5e0a1fb1714364c8febb947f196 | 368 | py | Python | 0_PythonFundamental/1_15_conditioning2.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 0_PythonFundamental/1_15_conditioning2.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 0_PythonFundamental/1_15_conditioning2.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | jam = 13
if 5 <= jam < 12: # selama jam di antara 5 s.d. 12
print("Selamat pagi!")
elif jam >= 12 and jam < 17: # selama jam di antara 12 s.d. 17 # simplified: elif 12 <= jam < 17
print("Selamat siang!")
elif jam >= 17 and jam < 19: # selama jam di antara 17 s.d. 19
print("Selamat sore!")
else: # sel... | 36.8 | 100 | 0.611413 | 64 | 368 | 3.515625 | 0.390625 | 0.213333 | 0.146667 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 0.255435 | 368 | 9 | 101 | 40.888889 | 0.718978 | 0.415761 | 0 | 0 | 0 | 0 | 0.258373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c0c13a2691eede681f3987f92172601b92bcf004 | 273 | py | Python | emptytime/timetable/models.py | hyeongonkim/OSS-emptytime | fee91bcf2533ee6ae6220efeb2c87bda4d9d8092 | [
"MIT"
] | null | null | null | emptytime/timetable/models.py | hyeongonkim/OSS-emptytime | fee91bcf2533ee6ae6220efeb2c87bda4d9d8092 | [
"MIT"
] | 2 | 2021-06-04T23:45:05.000Z | 2021-06-10T20:11:57.000Z | emptytime/timetable/models.py | hyeongonkim/OSS-emptytime | fee91bcf2533ee6ae6220efeb2c87bda4d9d8092 | [
"MIT"
] | 2 | 2021-04-04T14:23:59.000Z | 2021-04-07T07:35:31.000Z | from django.db import models
class User(models.Model):
token_text = models.CharField(max_length=100, null=True)
username_text = models.CharField(max_length=8)
pw_text = models.CharField(max_length=30)
def __str__(self):
return self.username_text | 24.818182 | 60 | 0.732601 | 39 | 273 | 4.846154 | 0.615385 | 0.15873 | 0.301587 | 0.349206 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.172161 | 273 | 11 | 61 | 24.818182 | 0.809735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 4 |
c0d9ac7f6d2b810abc17778088dcbd1ea51db0bd | 159 | py | Python | SocialNetwork/api/models.py | cmput404-ahyyy/group-webproject | 822f12fa2579aebee596150509c2109625e79414 | [
"Apache-2.0"
] | null | null | null | SocialNetwork/api/models.py | cmput404-ahyyy/group-webproject | 822f12fa2579aebee596150509c2109625e79414 | [
"Apache-2.0"
] | 9 | 2019-02-02T00:32:05.000Z | 2019-02-18T17:24:11.000Z | SocialNetwork/api/models.py | cmput404-ahyyy/group-webproject | 822f12fa2579aebee596150509c2109625e79414 | [
"Apache-2.0"
] | 1 | 2019-03-26T00:22:10.000Z | 2019-03-26T00:22:10.000Z | from django.db import models
# Create your models here.
from Author.models import Author, FriendRequest, Friends
from Posts.models import Post, Comment, Image | 31.8 | 56 | 0.811321 | 23 | 159 | 5.608696 | 0.652174 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 159 | 5 | 57 | 31.8 | 0.934783 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c0e085e5e4a62a8baaf5e7aa3f990983618645e0 | 89 | py | Python | ProyectoHuevos/apps/carrito/apps.py | EstefaniaLaverde/ProyectoHuevos | c82fb326ef8aac6234d025422d1cf99716cefed9 | [
"Apache-2.0",
"MIT"
] | null | null | null | ProyectoHuevos/apps/carrito/apps.py | EstefaniaLaverde/ProyectoHuevos | c82fb326ef8aac6234d025422d1cf99716cefed9 | [
"Apache-2.0",
"MIT"
] | null | null | null | ProyectoHuevos/apps/carrito/apps.py | EstefaniaLaverde/ProyectoHuevos | c82fb326ef8aac6234d025422d1cf99716cefed9 | [
"Apache-2.0",
"MIT"
] | null | null | null | from django.apps import AppConfig
class CarritoConfig(AppConfig):
name = 'carrito'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 | 1 | 0 | 0 | 4 |
c0e1984933a3aeb58a5de7ebeba0518d408e88a3 | 521 | py | Python | modular_exponentiation.py | KnugiHK/SingleScript | e7df7b2438f8032287978dc2d5237d6895e69520 | [
"MIT"
] | null | null | null | modular_exponentiation.py | KnugiHK/SingleScript | e7df7b2438f8032287978dc2d5237d6895e69520 | [
"MIT"
] | null | null | null | modular_exponentiation.py | KnugiHK/SingleScript | e7df7b2438f8032287978dc2d5237d6895e69520 | [
"MIT"
] | null | null | null | def fast_expo(b, e, n):
seq = bin(e)[3:]
result = b
for element in seq:
result = pow(result, 2)
if element == "1":
result *= b
result %= n
return result
result = fast_expo(
123456789123456789,
123456789123456789123456789123456789,
12345678912345678912345... | 20.84 | 53 | 0.642994 | 43 | 521 | 7.744186 | 0.511628 | 0.048048 | 0.594595 | 0.624625 | 0.660661 | 0 | 0 | 0 | 0 | 0 | 0 | 0.534574 | 0.278311 | 521 | 24 | 54 | 21.708333 | 0.351064 | 0 | 0 | 0.272727 | 0 | 0 | 0.001919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.090909 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c0f16ff93d5c921df8cab6c5cbc25ef3d1de29e8 | 299 | py | Python | App1/admin.py | surajjare7/community | 4519f075b7e132fab0ea058512837b569e1626a4 | [
"Apache-2.0"
] | null | null | null | App1/admin.py | surajjare7/community | 4519f075b7e132fab0ea058512837b569e1626a4 | [
"Apache-2.0"
] | null | null | null | App1/admin.py | surajjare7/community | 4519f075b7e132fab0ea058512837b569e1626a4 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Post
from . models import Query
from .models import Solution
# Register your models here.
admin.site.register(Post)
admin.site.register(Query)
# admin.site.register(Services)
# admin.site.register(Contact)
admin.site.register(Solution) | 27.181818 | 33 | 0.77592 | 41 | 299 | 5.658537 | 0.365854 | 0.193966 | 0.366379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 299 | 11 | 34 | 27.181818 | 0.892308 | 0.284281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 4 |
c0f941798b29856af95f1e6d6dcbec40ede1b0bd | 94 | py | Python | wsgi.py | anhbaysgalan1/Docker-nginx-flask-auto-ssl | 0973a4ef65dbcb87f4cc34b64e0008ef9f2185d7 | [
"MIT"
] | 3 | 2019-07-16T10:27:11.000Z | 2022-03-30T18:19:53.000Z | wsgi.py | anhbaysgalan1/Docker-nginx-flask-auto-ssl | 0973a4ef65dbcb87f4cc34b64e0008ef9f2185d7 | [
"MIT"
] | null | null | null | wsgi.py | anhbaysgalan1/Docker-nginx-flask-auto-ssl | 0973a4ef65dbcb87f4cc34b64e0008ef9f2185d7 | [
"MIT"
] | 1 | 2021-01-24T18:31:03.000Z | 2021-01-24T18:31:03.000Z | from application import app
# Starts the application
if __name__ == "__main__":
app.run() | 18.8 | 27 | 0.723404 | 12 | 94 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 5 | 28 | 18.8 | 0.779221 | 0.234043 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
238b94aa5f5833aa5ca2b7fee4ea070bd55153e1 | 105 | py | Python | fru/FirewallManager/apps.py | Owen-Cummings/Firewall-GUI-Prototype | fe1f7ff2dcbd7b57af84705204dafdc35c7bdbb6 | [
"Unlicense"
] | null | null | null | fru/FirewallManager/apps.py | Owen-Cummings/Firewall-GUI-Prototype | fe1f7ff2dcbd7b57af84705204dafdc35c7bdbb6 | [
"Unlicense"
] | 10 | 2019-12-25T02:49:25.000Z | 2022-02-10T13:45:19.000Z | fru/FirewallManager/apps.py | Owen-Cummings/Firewall-GUI-Prototype | fe1f7ff2dcbd7b57af84705204dafdc35c7bdbb6 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class FirewallmanagerConfig(AppConfig):
name = 'FirewallManager'
| 17.5 | 39 | 0.790476 | 10 | 105 | 8.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 5 | 40 | 21 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 4 |
239731ea3e7016965767f9b451a62d5c6f6767ae | 25 | py | Python | My Resources/f3.py | PradeepDuraisamy/Python | b088f3e9ead302a97cdde2e7f709fc05d5f1068a | [
"Apache-2.0"
] | null | null | null | My Resources/f3.py | PradeepDuraisamy/Python | b088f3e9ead302a97cdde2e7f709fc05d5f1068a | [
"Apache-2.0"
] | null | null | null | My Resources/f3.py | PradeepDuraisamy/Python | b088f3e9ead302a97cdde2e7f709fc05d5f1068a | [
"Apache-2.0"
] | null | null | null | a = 10
b = 5
print(a+b)
| 5 | 10 | 0.48 | 7 | 25 | 1.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.32 | 25 | 4 | 11 | 6.25 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | 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 | 4 |
2398953b45e0dc052574afd55d23587a6b23acfa | 107 | py | Python | libs.py | BlackGameNeon/first-jump | 2f10969b697373407fa04eedd2bf07c6a732f377 | [
"MIT"
] | null | null | null | libs.py | BlackGameNeon/first-jump | 2f10969b697373407fa04eedd2bf07c6a732f377 | [
"MIT"
] | null | null | null | libs.py | BlackGameNeon/first-jump | 2f10969b697373407fa04eedd2bf07c6a732f377 | [
"MIT"
] | null | null | null | #Import the libraries
#Pygame
import pygame
pygame.init()
#os to access files
import os
#Inits
#import win | 11.888889 | 21 | 0.775701 | 17 | 107 | 4.882353 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 9 | 22 | 11.888889 | 0.912088 | 0.551402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
23bc3f75034424b7ec30512710122bf412047c2a | 131 | py | Python | src/cors.py | danztensai/covid-19-api | 411bf2fd8f71cb60627bc8f9f370ecfc195b75b8 | [
"MIT"
] | 53 | 2020-03-16T11:31:14.000Z | 2021-11-16T13:58:52.000Z | src/cors.py | danztensai/covid-19-api | 411bf2fd8f71cb60627bc8f9f370ecfc195b75b8 | [
"MIT"
] | 4 | 2020-03-21T06:34:31.000Z | 2020-03-29T13:30:28.000Z | src/cors.py | danztensai/covid-19-api | 411bf2fd8f71cb60627bc8f9f370ecfc195b75b8 | [
"MIT"
] | 19 | 2020-03-17T12:28:49.000Z | 2020-06-11T09:03:54.000Z |
from flask_cors import CORS
cors = CORS(resources={r"/maskmap/*": {"origins": "*"}})
def init_app(app):
cors.init_app(app)
| 14.555556 | 56 | 0.648855 | 19 | 131 | 4.315789 | 0.578947 | 0.195122 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 8 | 57 | 16.375 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
23e5097906cf549e9b8a11f3d5741f8f1ed10fc0 | 314 | py | Python | uri/iniciante/1037.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | 2 | 2016-07-24T17:46:35.000Z | 2017-04-16T03:01:54.000Z | uri/iniciante/1037.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | null | null | null | uri/iniciante/1037.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | null | null | null |
valor = float(input())
if valor >= 0 and valor <= 25:
print "Intervalo [0,25]"
elif valor >= 0 and valor <= 50:
print "Intervalo (25,50]"
elif valor >= 0 and valor <= 75:
print "Intervalo (50, 75]"
elif valor >= 0 and valor <= 100:
print "Intervalo (75,100]"
else:
print "Fora de intervalo"
| 20.933333 | 33 | 0.605096 | 48 | 314 | 3.958333 | 0.333333 | 0.126316 | 0.189474 | 0.294737 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121849 | 0.242038 | 314 | 14 | 34 | 22.428571 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.27476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
23efb8d1bdf2c8aa4dcd820ac99474f7de86fcf7 | 178 | py | Python | webservice/api/others/func_d.py | galenothiago/switch-automation | 91d5494425e4d5dd00d2387631cd2983cfca51a2 | [
"MIT"
] | null | null | null | webservice/api/others/func_d.py | galenothiago/switch-automation | 91d5494425e4d5dd00d2387631cd2983cfca51a2 | [
"MIT"
] | null | null | null | webservice/api/others/func_d.py | galenothiago/switch-automation | 91d5494425e4d5dd00d2387631cd2983cfca51a2 | [
"MIT"
] | 1 | 2020-12-13T12:19:29.000Z | 2020-12-13T12:19:29.000Z | from flask import Flask, Request, Response, request
import json
def devices():
dict_device = request.get_data(as_text=True)
dados_device = json.loads(dict_device)
| 25.428571 | 52 | 0.735955 | 25 | 178 | 5.04 | 0.68 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 178 | 6 | 53 | 29.666667 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
9b14494e54ad60cd9532203ac81b0a450fe8ed18 | 1,781 | py | Python | day18/test/test_main.py | JoseTomasTocino/AdventOfCode2020 | 19b22c3f9ef2331f08c2ad78f49f200a5f4adfc9 | [
"MIT"
] | null | null | null | day18/test/test_main.py | JoseTomasTocino/AdventOfCode2020 | 19b22c3f9ef2331f08c2ad78f49f200a5f4adfc9 | [
"MIT"
] | null | null | null | day18/test/test_main.py | JoseTomasTocino/AdventOfCode2020 | 19b22c3f9ef2331f08c2ad78f49f200a5f4adfc9 | [
"MIT"
] | null | null | null | import logging
import os.path
from day18.code.main import evaluate_expression
logger = logging.getLogger(__name__)
local_path = os.path.abspath(os.path.dirname(__file__))
sample_input = None
def test_sample_input(caplog):
# caplog.set_level(logging.INFO)
assert evaluate_expression("1 + 2 * 3 + 4 * 5 + 6")... | 43.439024 | 125 | 0.635598 | 267 | 1,781 | 4.044944 | 0.262172 | 0.25 | 0.266667 | 0.162037 | 0.586111 | 0.534259 | 0.534259 | 0.496296 | 0.4 | 0.372222 | 0 | 0.112288 | 0.204941 | 1,781 | 40 | 126 | 44.525 | 0.650424 | 0.051656 | 0 | 0 | 0 | 0.16 | 0.217211 | 0 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0.12 | false | 0 | 0.12 | 0 | 0.24 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b1b5eed2063aff5c3b98efac908cb8d9bc48d5e | 97 | py | Python | ulmo.py | simusid/ulmo | c01ac09a5d29bc9698d8e435ff18af191f48ddcc | [
"MIT"
] | null | null | null | ulmo.py | simusid/ulmo | c01ac09a5d29bc9698d8e435ff18af191f48ddcc | [
"MIT"
] | null | null | null | ulmo.py | simusid/ulmo | c01ac09a5d29bc9698d8e435ff18af191f48ddcc | [
"MIT"
] | null | null | null | # provide status of all jobs
import ulmodb
dbname = "ulmodb.db"
db = ulmodb.UlmoDB(dbname)
| 10.777778 | 28 | 0.701031 | 14 | 97 | 4.857143 | 0.642857 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 97 | 8 | 29 | 12.125 | 0.883117 | 0.268041 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
f1be99dd211d5417c8b3ac726157a5b97d1829ef | 52 | py | Python | dialogentail/util/math.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 56 | 2019-04-15T04:37:47.000Z | 2022-03-24T12:07:42.000Z | dialogentail/util/math.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 5 | 2019-09-04T08:57:58.000Z | 2021-08-25T02:48:12.000Z | dialogentail/util/math.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 5 | 2019-04-24T08:23:04.000Z | 2021-07-25T20:38:13.000Z |
def safe_div(a, b):
return (a / b) if b else 0
| 13 | 30 | 0.557692 | 12 | 52 | 2.333333 | 0.75 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.307692 | 52 | 3 | 31 | 17.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f1d3085f6c3fc43183a6899e046e873605235f72 | 357 | py | Python | environment_model/mini_pacman/model/env_copy_model.py | FlorianKlemt/pytorch-latent-i2a | 36809bf3adda1fcffaccd27e352b7ad2338060a7 | [
"MIT"
] | 3 | 2019-02-24T07:37:36.000Z | 2020-03-17T16:00:38.000Z | environment_model/mini_pacman/model/env_copy_model.py | FlorianKlemt/pytorch-latent-i2a | 36809bf3adda1fcffaccd27e352b7ad2338060a7 | [
"MIT"
] | null | null | null | environment_model/mini_pacman/model/env_copy_model.py | FlorianKlemt/pytorch-latent-i2a | 36809bf3adda1fcffaccd27e352b7ad2338060a7 | [
"MIT"
] | null | null | null | import torch
# the copy model returns the identity,
# this is its own class so we dont have to change the code to use the copymodel
class CopyEnvModel(torch.nn.Module):
def __init__(self):
super(CopyEnvModel, self).__init__()
def forward(self, input_frame, input_action):
return input_frame, tor... | 39.666667 | 79 | 0.731092 | 54 | 357 | 4.611111 | 0.685185 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003413 | 0.179272 | 357 | 9 | 80 | 39.666667 | 0.846416 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 4 |
f1d86e3aa3cae4a433249d2a11f004658a829154 | 218 | py | Python | wikiquote/__init__.py | guilhembn/python-wikiquotes | 44c460dd865866affbf08c8a2976763b88aae8c2 | [
"MIT"
] | null | null | null | wikiquote/__init__.py | guilhembn/python-wikiquotes | 44c460dd865866affbf08c8a2976763b88aae8c2 | [
"MIT"
] | null | null | null | wikiquote/__init__.py | guilhembn/python-wikiquotes | 44c460dd865866affbf08c8a2976763b88aae8c2 | [
"MIT"
] | null | null | null | from .quotes import quotes, random_titles, search, quotes_and_authors
from .qotd import quote_of_the_day
from . import langs
def supported_languages():
l = langs.SUPPORTED_LANGUAGES[:]
l.sort()
return l
| 19.818182 | 69 | 0.747706 | 31 | 218 | 5 | 0.645161 | 0.232258 | 0.245161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 218 | 10 | 70 | 21.8 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f1db269a09458c0fd5264742ab21b9e062626891 | 33 | py | Python | subtract.py | Rj-Aman/tails | 3608b6d9b263b6d15d7d5165dc3ad00f8af93295 | [
"MIT"
] | null | null | null | subtract.py | Rj-Aman/tails | 3608b6d9b263b6d15d7d5165dc3ad00f8af93295 | [
"MIT"
] | null | null | null | subtract.py | Rj-Aman/tails | 3608b6d9b263b6d15d7d5165dc3ad00f8af93295 | [
"MIT"
] | null | null | null | a = 3
b = 2
sub = a-b
print(sub)
| 6.6 | 10 | 0.515152 | 9 | 33 | 1.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.30303 | 33 | 4 | 11 | 8.25 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | 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 | 4 |
f1e020c20881acfde09183817b835a14ec31e02d | 133 | py | Python | reddit2telegram/channels/ani_bm/app.py | AkhzarFarhan/reddit2telegram | 85c1dacd87c7472a0723bec770fcefda4d3206ad | [
"MIT"
] | null | null | null | reddit2telegram/channels/ani_bm/app.py | AkhzarFarhan/reddit2telegram | 85c1dacd87c7472a0723bec770fcefda4d3206ad | [
"MIT"
] | null | null | null | reddit2telegram/channels/ani_bm/app.py | AkhzarFarhan/reddit2telegram | 85c1dacd87c7472a0723bec770fcefda4d3206ad | [
"MIT"
] | null | null | null | #encoding:utf-8
subreddit = 'ani_bm'
t_channel = '@ani_bm'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 14.777778 | 38 | 0.729323 | 20 | 133 | 4.6 | 0.75 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.142857 | 133 | 8 | 39 | 16.625 | 0.780702 | 0.105263 | 0 | 0 | 0 | 0 | 0.110169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 4 |
9e5bb0bf4cfccb8a504affefc13d8f55f38d2185 | 14 | py | Python | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Combinatorial functions/Stirling number of the second kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Combinatorial functions/Stirling number of the second kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Combinatorial functions/Stirling number of the second kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | stirling(n, k) | 14 | 14 | 0.714286 | 3 | 14 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 14 | 1 | 14 | 14 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e5fb0e5a593630b43d4a38e07ab0e327f8a70c1 | 44 | py | Python | clarisse/var/lib/linux/menus/main_menu/file/open_recent_clear_recent.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | 2 | 2020-05-12T11:38:44.000Z | 2022-03-07T04:13:50.000Z | clarisse/var/lib/linux/menus/main_menu/file/open_recent_clear_recent.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | clarisse/var/lib/linux/menus/main_menu/file/open_recent_clear_recent.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | ix.application.clear_recent_files("project") | 44 | 44 | 0.863636 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 44 | 1 | 44 | 44 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e9434d0838fe262fd542f63ce66f838240031be | 724 | py | Python | MC_Event_Generator_with_Vegas/event_output.py | GuojinTseng/MY_MC_Generator | 421554d0b178cf2f0c8fbc721fec6f3941f399c3 | [
"Apache-2.0"
] | null | null | null | MC_Event_Generator_with_Vegas/event_output.py | GuojinTseng/MY_MC_Generator | 421554d0b178cf2f0c8fbc721fec6f3941f399c3 | [
"Apache-2.0"
] | null | null | null | MC_Event_Generator_with_Vegas/event_output.py | GuojinTseng/MY_MC_Generator | 421554d0b178cf2f0c8fbc721fec6f3941f399c3 | [
"Apache-2.0"
] | null | null | null | #==========================================================#
# Process: e+e- -> Z/gamma -> mu+mu-
# Author: Guojin Tseng
# Date: 2018.7.16
# Version: 1.0
#==========================================================#
class Event_Output(object):
def output(self, i, p1, p2, p3, p4):
with open("event.txt","... | 30.166667 | 82 | 0.406077 | 79 | 724 | 3.708861 | 0.493671 | 0.412969 | 0.245734 | 0.307167 | 0.392491 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02931 | 0.198895 | 724 | 23 | 83 | 31.478261 | 0.475862 | 0.277624 | 0 | 0.428571 | 0 | 0 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e988958ad53505b9505cc444f439dbbe1e0dc06 | 43 | py | Python | sceptre/__init__.py | bfurtwa/SCeptre | 419e89c3383bbb788072f9c5db973370cc2f3641 | [
"MIT"
] | 5 | 2021-06-08T10:24:23.000Z | 2021-12-22T09:47:27.000Z | sceptre/__init__.py | bfurtwa/SCeptre | 419e89c3383bbb788072f9c5db973370cc2f3641 | [
"MIT"
] | 1 | 2021-09-22T14:38:55.000Z | 2021-09-22T14:38:55.000Z | sceptre/__init__.py | bfurtwa/SCeptre | 419e89c3383bbb788072f9c5db973370cc2f3641 | [
"MIT"
] | 2 | 2021-09-14T08:26:53.000Z | 2021-12-22T09:47:29.000Z | from .sceptre import *
__version__ = '1.1' | 14.333333 | 22 | 0.697674 | 6 | 43 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.162791 | 43 | 3 | 23 | 14.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
9eb3397dcc5364048474e1320d58fff98f90a528 | 194 | py | Python | pincer/middleware/activity_join_request.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/activity_join_request.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/activity_join_request.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
"""sent when the user receives a Rich Presence Ask to Join request"""
# TODO: Implement event
| 27.714286 | 69 | 0.747423 | 31 | 194 | 4.677419 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0.180412 | 194 | 6 | 70 | 32.333333 | 0.886792 | 0.927835 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b41f82165ffbaf3cbc23b4b77ad0389078c58af | 369 | py | Python | surveytoolbox/PointStore.py | JayArghArgh/survey-toolbox | 4d3643185c44a11ff930db52e5d89aa16faed237 | [
"MIT"
] | null | null | null | surveytoolbox/PointStore.py | JayArghArgh/survey-toolbox | 4d3643185c44a11ff930db52e5d89aa16faed237 | [
"MIT"
] | null | null | null | surveytoolbox/PointStore.py | JayArghArgh/survey-toolbox | 4d3643185c44a11ff930db52e5d89aa16faed237 | [
"MIT"
] | null | null | null | class NewPointStore:
# TODO implement local database storage options.
def __init__(self):
self.point_store = {}
self.number_points = 0
def set_new_point(self, point):
point_name = point.get_point_name()
self.point_store[point_name] = point
return True
def get_po... | 26.357143 | 52 | 0.658537 | 47 | 369 | 4.829787 | 0.468085 | 0.15859 | 0.185022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.265583 | 369 | 13 | 53 | 28.384615 | 0.833948 | 0.124661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.3 | false | 0 | 0 | 0.1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7b435ed4eadbc120564da6096f0840ed864f5769 | 1,306 | py | Python | shoutout/models.py | samarv/travo | 24c286bd7faf2a2c783889587802c5dda83466bb | [
"MIT"
] | null | null | null | shoutout/models.py | samarv/travo | 24c286bd7faf2a2c783889587802c5dda83466bb | [
"MIT"
] | null | null | null | shoutout/models.py | samarv/travo | 24c286bd7faf2a2c783889587802c5dda83466bb | [
"MIT"
] | null | null | null | from django.db import models
class organization(models.Model):
def __str__(self):
return self.name
name = models.CharField(max_length=50, unique=True)
slack_org_id = models.CharField(max_length=50, unique=True)
channel_name = models.CharField(max_length=50)
channel_id = models.CharField(ma... | 36.277778 | 70 | 0.735069 | 174 | 1,306 | 5.247126 | 0.298851 | 0.197152 | 0.236583 | 0.315444 | 0.610077 | 0.550931 | 0.450164 | 0.254107 | 0 | 0 | 0 | 0.027422 | 0.162328 | 1,306 | 35 | 71 | 37.314286 | 0.80713 | 0 | 0 | 0.172414 | 0 | 0 | 0.022971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.034483 | 0.103448 | 0.931034 | 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 | 1 | 1 | 0 | 0 | 4 |
7b5a576ac609c17ee6fb2d097b8a10cc94582bdb | 24,126 | py | Python | ImitationLearning/VisualAttention/Decoder.py | Suryavf/SelfDrivingCar | 362ac830516366b1c31ef01ea0456eb99f0d9722 | [
"MIT"
] | 11 | 2019-08-14T18:55:13.000Z | 2021-09-10T05:54:49.000Z | ImitationLearning/VisualAttention/Decoder.py | Suryavf/SelfDrivingCar | 362ac830516366b1c31ef01ea0456eb99f0d9722 | [
"MIT"
] | 3 | 2020-05-05T15:20:20.000Z | 2021-06-22T07:47:26.000Z | ImitationLearning/VisualAttention/Decoder.py | Suryavf/SelfDrivingCar | 362ac830516366b1c31ef01ea0456eb99f0d9722 | [
"MIT"
] | 1 | 2020-12-18T15:46:09.000Z | 2020-12-18T15:46:09.000Z | import torch
import torch.nn as nn
from IPython.core.debugger import set_trace
import ImitationLearning.VisualAttention.network.Gate as G
""" Basic Decoder Module
--------------------
Ref: Kim, J., & Canny, J. (2017). "Interpretable learning for self-driving
cars by visualizing causal attention". In... | 40.277129 | 127 | 0.519523 | 2,892 | 24,126 | 4.214039 | 0.087137 | 0.031017 | 0.037909 | 0.024616 | 0.797079 | 0.767785 | 0.727168 | 0.706162 | 0.694428 | 0.674653 | 0 | 0.022367 | 0.345851 | 24,126 | 598 | 128 | 40.344482 | 0.749842 | 0.148222 | 0 | 0.548896 | 0 | 0 | 0.008043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037855 | false | 0 | 0.012618 | 0 | 0.088328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
7b5b82667cb13d51adee501431d083a8a62883fd | 3,637 | py | Python | tests/regressiontests/forms/localflavor/jp.py | huicheese/Django-test3 | ac11d2dce245b48392e52d1f4acfd5e7433b243e | [
"BSD-3-Clause"
] | 23 | 2015-01-26T12:16:59.000Z | 2022-02-10T10:58:40.000Z | tests/regressiontests/forms/localflavor/jp.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 1 | 2018-01-03T15:26:49.000Z | 2018-01-03T15:26:49.000Z | tests/regressiontests/forms/localflavor/jp.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | # -*- coding: utf-8 -*-
# Tests for the contrib/localflavor/ JP form fields.
tests = r"""
# JPPostalCodeField ###############################################################
A form field that validates its input is a Japanese postcode.
Accepts 7 digits(with/out hyphen).
>>> from django.contrib.localflavor.jp.forms i... | 33.990654 | 84 | 0.703052 | 465 | 3,637 | 5.498925 | 0.270968 | 0.20219 | 0.305827 | 0.05397 | 0.271803 | 0.271803 | 0.271803 | 0.222917 | 0.222917 | 0.222917 | 0 | 0.027928 | 0.08441 | 3,637 | 106 | 85 | 34.311321 | 0.73994 | 0.019797 | 0 | 0.316327 | 0 | 0 | 0.994666 | 0.478944 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.010204 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b68317b90ac37b865fde3475ade0ddc3463e4a3 | 100 | py | Python | snakefmt/__main__.py | jeremiahlewis-vw/snakefmt | 4808a5dc9573f5a92d224e1a85b0f7f9c902951e | [
"MIT"
] | 83 | 2020-04-14T14:50:50.000Z | 2022-03-22T21:34:23.000Z | snakefmt/__main__.py | jeremiahlewis-vw/snakefmt | 4808a5dc9573f5a92d224e1a85b0f7f9c902951e | [
"MIT"
] | 118 | 2020-04-20T13:29:06.000Z | 2022-03-25T07:14:17.000Z | snakefmt/__main__.py | jeremiahlewis-vw/snakefmt | 4808a5dc9573f5a92d224e1a85b0f7f9c902951e | [
"MIT"
] | 18 | 2020-04-19T22:27:00.000Z | 2022-03-29T06:23:37.000Z | import sys
from snakefmt import snakefmt
if __name__ == "__main__":
sys.exit(snakefmt.main())
| 14.285714 | 29 | 0.72 | 13 | 100 | 4.923077 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 6 | 30 | 16.666667 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7b8108b36fe6c198dda42bf810ffeadb2cfd64cb | 3,145 | py | Python | dataviva/apps/user/forms.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 126 | 2015-03-24T12:30:43.000Z | 2022-01-06T03:29:54.000Z | dataviva/apps/user/forms.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 694 | 2015-01-14T11:55:28.000Z | 2021-02-08T20:23:11.000Z | dataviva/apps/user/forms.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 52 | 2015-06-19T01:54:56.000Z | 2019-09-23T13:10:46.000Z | from flask_wtf import Form
from wtforms import TextField, DateField, BooleanField, HiddenField, validators, PasswordField, SelectField
class SignupForm(Form):
email = TextField('email', validators=[validators.Required(), validators.Email()])
fullname = TextField('fullname', validators=[validators.Required(),
... | 64.183673 | 172 | 0.696343 | 308 | 3,145 | 7.055195 | 0.256494 | 0.174873 | 0.231937 | 0.209848 | 0.554073 | 0.494248 | 0.341463 | 0.341463 | 0.209848 | 0.11873 | 0 | 0.012992 | 0.167886 | 3,145 | 48 | 173 | 65.520833 | 0.817348 | 0 | 0 | 0.166667 | 0 | 0 | 0.216534 | 0.006677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.305556 | 0.055556 | 0 | 0.861111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7ba9e4233236e7ad948b2df5cef66f27e78cb619 | 102 | py | Python | db/tables/Base.py | Wanket/RnD-py | 20ffe47adf96b32272304a9f6b1f1a98598f721f | [
"MIT"
] | null | null | null | db/tables/Base.py | Wanket/RnD-py | 20ffe47adf96b32272304a9f6b1f1a98598f721f | [
"MIT"
] | null | null | null | db/tables/Base.py | Wanket/RnD-py | 20ffe47adf96b32272304a9f6b1f1a98598f721f | [
"MIT"
] | null | null | null | from sqlalchemy.orm import declarative_base
class Base(declarative_base()):
__abstract__ = True
| 17 | 43 | 0.784314 | 12 | 102 | 6.166667 | 0.75 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 44 | 20.4 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
7bb7b46e7bd0bb0d602df92de0f3823c81ef6bd1 | 917 | py | Python | pythia-gen/flow/models/ptconv.py | okitouni/HEP-Geometric | 1386c5811f750f74f8317a43b51ec5c0f4338a96 | [
"MIT"
] | null | null | null | pythia-gen/flow/models/ptconv.py | okitouni/HEP-Geometric | 1386c5811f750f74f8317a43b51ec5c0f4338a96 | [
"MIT"
] | null | null | null | pythia-gen/flow/models/ptconv.py | okitouni/HEP-Geometric | 1386c5811f750f74f8317a43b51ec5c0f4338a96 | [
"MIT"
] | null | null | null | from torch_geometric.nn import MessagePassing
from typing import Optional, Callable, Union
from torch import Tensor
from torch_geometric.typing import PairTensor, Adj
class PtConv(MessagePassing):
def __init__(self, nn: Callable, aggr: str = 'max', **kwargs):
super(PtConv, self).__init__(aggr=aggr, **kwarg... | 36.68 | 79 | 0.647764 | 121 | 917 | 4.677686 | 0.446281 | 0.042403 | 0.063604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23446 | 917 | 24 | 80 | 38.208333 | 0.806268 | 0.124318 | 0 | 0 | 0 | 0 | 0.015132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c87a15690fc16edb1c963bcd4c85861348f0ab30 | 169 | py | Python | Modules-in-python/getpass/getpass-getpass-function.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | 3 | 2022-03-28T09:10:08.000Z | 2022-03-29T10:47:56.000Z | Modules-in-python/getpass/getpass-getpass-function.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | 1 | 2022-03-27T11:52:58.000Z | 2022-03-27T11:52:58.000Z | Modules-in-python/getpass/getpass-getpass-function.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | null | null | null | import getpass # importing getpass
dpass = getpass.getpass(prompt = "Enter the password: ") # by default it shows 'password'
print(f"The entered password is {dpass}") | 33.8 | 89 | 0.739645 | 23 | 169 | 5.434783 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 169 | 5 | 90 | 33.8 | 0.874126 | 0.289941 | 0 | 0 | 0 | 0 | 0.432203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
c880f2f71f567e553282d594da392ae4e812c07d | 10,462 | py | Python | entity_relation_extraction/testmasp.py | Zeng-WH/MaterBERT | 92bdf721ee168a3c91c6cd94599b7df65f9e6cbd | [
"MIT"
] | 5 | 2020-08-03T03:33:43.000Z | 2020-11-26T14:46:19.000Z | entity_relation_extraction/testmasp.py | Zeng-WH/MaterBERT | 92bdf721ee168a3c91c6cd94599b7df65f9e6cbd | [
"MIT"
] | null | null | null | entity_relation_extraction/testmasp.py | Zeng-WH/MaterBERT | 92bdf721ee168a3c91c6cd94599b7df65f9e6cbd | [
"MIT"
] | null | null | null | import json
import os
import glob
'''将MSP的语料库转化成可以识别的格式'''
def find_all(sub, s):
index_list = []
index = s.find(sub)
while index != -1:
index_list.append(index)
index = s.find(sub, index + 1)
if len(index_list) > 0:
return index_list
else:
return -1
''... | 34.189542 | 107 | 0.586504 | 1,400 | 10,462 | 4.1 | 0.072857 | 0.04878 | 0.021951 | 0.033449 | 0.78554 | 0.752962 | 0.732753 | 0.712195 | 0.682753 | 0.646516 | 0 | 0.025606 | 0.290767 | 10,462 | 305 | 108 | 34.301639 | 0.747978 | 0.013955 | 0 | 0.622318 | 0 | 0 | 0.030783 | 0.008588 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055794 | false | 0 | 0.012876 | 0 | 0.124464 | 0.004292 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
c889c81b8a67afea00ae66cea0ccaf647ef57c8d | 538 | py | Python | tests/test_q0505.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | null | null | null | tests/test_q0505.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | 1 | 2018-07-04T23:10:20.000Z | 2018-07-04T23:10:20.000Z | tests/test_q0505.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | null | null | null | """Unit tests for q0505.py."""
import unittest
from src.q0505 import count_unequal_bits
class TestCountUnequalBits(unittest.TestCase):
def test_count_unequal_bits(self):
self.assertRaises(ValueError, count_unequal_bits, -1, 1)
self.assertEqual(count_unequal_bits(0b0, 0b0), 0)
sel... | 26.9 | 64 | 0.710037 | 69 | 538 | 5.202899 | 0.492754 | 0.233983 | 0.311978 | 0.300836 | 0.350975 | 0.178273 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.180297 | 538 | 19 | 65 | 28.315789 | 0.732426 | 0.04461 | 0 | 0 | 0 | 0 | 0.015748 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8ab13514b0baeea993be601a4737e5ad5614015 | 30 | py | Python | ImgEdit.py | yujiecong/PyQt-Digit-Image-Process | 8e1ea70f9dbe12cff545bab111e73ef061a1d73b | [
"MIT"
] | 3 | 2021-05-12T07:15:55.000Z | 2022-01-24T01:45:13.000Z | ImgEdit.py | yujiecong/PyQt-Digit-Image-Process | 8e1ea70f9dbe12cff545bab111e73ef061a1d73b | [
"MIT"
] | null | null | null | ImgEdit.py | yujiecong/PyQt-Digit-Image-Process | 8e1ea70f9dbe12cff545bab111e73ef061a1d73b | [
"MIT"
] | null | null | null | class Edit:
@staticmethod
| 10 | 17 | 0.7 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 18 | 15 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8b4ecd86717f168ea8ff28364f587d2b366135d | 370 | py | Python | Roller.py | AndrewTruett/histogrammer | 4dba3c71dbbddb8edb56147426b62b701ad69994 | [
"MIT"
] | null | null | null | Roller.py | AndrewTruett/histogrammer | 4dba3c71dbbddb8edb56147426b62b701ad69994 | [
"MIT"
] | null | null | null | Roller.py | AndrewTruett/histogrammer | 4dba3c71dbbddb8edb56147426b62b701ad69994 | [
"MIT"
] | null | null | null |
from Roll import Roll
class Roller:
def __init__(self, user):
self._rolls = []
self._user = user
def add_roll(self, roll):
self._rolls.append(roll)
def clear_rolls(self):
self._rolls = []
@property
def rolls(self):
return self._rolls
@property
... | 13.214286 | 32 | 0.562162 | 44 | 370 | 4.454545 | 0.340909 | 0.183673 | 0.173469 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340541 | 370 | 28 | 33 | 13.214286 | 0.803279 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c8bcd49a8265383adbdae88ec335eb26e97d5930 | 39 | py | Python | tests/__init__.py | ymber/surface | 3c834d5f4f1876d929828fa5917fd8ff517ce389 | [
"MIT"
] | 5 | 2020-01-12T19:03:32.000Z | 2021-03-10T00:06:04.000Z | tests/__init__.py | ymber/surface | 3c834d5f4f1876d929828fa5917fd8ff517ce389 | [
"MIT"
] | 146 | 2019-03-16T13:22:12.000Z | 2021-09-03T08:09:33.000Z | tests/__init__.py | ymber/surface | 3c834d5f4f1876d929828fa5917fd8ff517ce389 | [
"MIT"
] | 10 | 2019-05-20T16:41:54.000Z | 2021-06-19T07:30:00.000Z | """
Surface control station tests.
"""
| 9.75 | 30 | 0.666667 | 4 | 39 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 31 | 13 | 0.787879 | 0.769231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8cff362a10f78d7dfb3eb2bb9fe429eadbed637 | 33 | py | Python | lib/python3.6/token.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 1 | 2021-02-08T10:04:39.000Z | 2021-02-08T10:04:39.000Z | lib/python3.6/token.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 7 | 2020-02-11T23:52:31.000Z | 2022-02-10T09:10:58.000Z | lib/python3.6/token.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 1 | 2019-03-26T00:23:02.000Z | 2019-03-26T00:23:02.000Z | /anaconda3/lib/python3.6/token.py | 33 | 33 | 0.818182 | 6 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 33 | 1 | 33 | 33 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8df10e04107a9624ae2605995838d01f56d922f | 1,755 | py | Python | aspynb/chapter02_exercises.py | ChidinmaKO/noBSLAnotebooks | c0102473f1e6625fa5fb62768d4545059959fa26 | [
"MIT"
] | null | null | null | aspynb/chapter02_exercises.py | ChidinmaKO/noBSLAnotebooks | c0102473f1e6625fa5fb62768d4545059959fa26 | [
"MIT"
] | null | null | null | aspynb/chapter02_exercises.py | ChidinmaKO/noBSLAnotebooks | c0102473f1e6625fa5fb62768d4545059959fa26 | [
"MIT"
] | null | null | null | def cells():
'''
# 2/ Intro to linear algebra
'''
'''
'''
# setup SymPy
from sympy import *
x, y, z, t = symbols('x y z t')
init_printing()
# setup plotting
%matplotlib notebook
import matplotlib.pyplot as mpl
from util.plot_helpers import plot_vec, plot_vecs, ... | 7.282158 | 71 | 0.238746 | 95 | 1,755 | 4.294737 | 0.568421 | 0.058824 | 0.088235 | 0.139706 | 0.213235 | 0.213235 | 0 | 0 | 0 | 0 | 0 | 0.025701 | 0.512251 | 1,755 | 240 | 72 | 7.3125 | 0.450935 | 0.037037 | 0 | 0 | 0 | 0 | 0.009044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c8e7eb0b283393cbfab78249c209ae43fc5045b1 | 265 | py | Python | porespy/dns/__init__.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | porespy/dns/__init__.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | porespy/dns/__init__.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | r"""
DNS
###
**Direct Numerical Simulation**
This module contains routines for performing direct numerical
simulations.
.. currentmodule:: porespy
.. autosummary::
:template: mybase.rst
:toctree: generated/
dns.tortuosity
"""
from ._funcs import *
| 12.045455 | 61 | 0.70566 | 27 | 265 | 6.888889 | 0.888889 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177358 | 265 | 21 | 62 | 12.619048 | 0.853211 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c8f1dee14c2d419c47c82982ec932228aac633e9 | 718 | py | Python | looking_for_group/game_catalog/migrations/0011_publishedmodule_parent_game_edition.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | looking_for_group/game_catalog/migrations/0011_publishedmodule_parent_game_edition.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | looking_for_group/game_catalog/migrations/0011_publishedmodule_parent_game_edition.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.1.2 on 2018-11-04 16:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('game_catalog', '0010_auto_20181104_1036'),
]
operations = [
migrations.RemoveField(
model_name=... | 23.16129 | 52 | 0.569638 | 64 | 718 | 6.25 | 0.53125 | 0.21 | 0.26 | 0.3 | 0.47 | 0.47 | 0 | 0 | 0 | 0 | 0 | 0.063786 | 0.32312 | 718 | 30 | 53 | 23.933333 | 0.759259 | 0.062674 | 0 | 0.5 | 1 | 0 | 0.175857 | 0.034277 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.208333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cda0daa7a250c83009a38900486debd28854e1b9 | 1,690 | py | Python | docs_build/tutorials_templates/data_management/data_versioning/mds.py | dataloop-ai/sdk_examples | 422d5629df5af343d2dc275e9570bb83c4e2f49d | [
"MIT"
] | 3 | 2022-01-07T20:33:49.000Z | 2022-03-22T12:41:30.000Z | docs_build/tutorials_templates/data_management/data_versioning/mds.py | dataloop-ai/sdk_examples | 422d5629df5af343d2dc275e9570bb83c4e2f49d | [
"MIT"
] | null | null | null | docs_build/tutorials_templates/data_management/data_versioning/mds.py | dataloop-ai/sdk_examples | 422d5629df5af343d2dc275e9570bb83c4e2f49d | [
"MIT"
] | 3 | 2021-12-29T13:11:30.000Z | 2022-03-22T12:25:50.000Z | def section1():
"""
# Data Versioning
Dataloop's powerful data versioning provides you with unique tools for data management - clone, merge, slice & dice your files, to create multiple versions for various applications. Sample use cases include:
Golden training sets management
Reproducibility (datas... | 70.416667 | 306 | 0.75858 | 243 | 1,690 | 5.27572 | 0.55144 | 0.025741 | 0.023401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002206 | 0.195266 | 1,690 | 23 | 307 | 73.478261 | 0.940441 | 0.927219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cdb2522a280c21c56b11959f0f1eed2ad940d326 | 174 | py | Python | but/trades/apps.py | yevgnenll/but | 2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1 | [
"MIT"
] | 4 | 2017-02-25T04:46:41.000Z | 2021-03-16T21:41:51.000Z | but/trades/apps.py | yevgnenll/but | 2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1 | [
"MIT"
] | 18 | 2016-04-09T07:29:33.000Z | 2017-04-06T04:39:54.000Z | but/trades/apps.py | yevgnenll/but | 2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AppConfigTrade(AppConfig):
name = "trades"
def ready(self):
from trades.signals.post_save import post_save_hashid
| 17.4 | 61 | 0.729885 | 22 | 174 | 5.636364 | 0.727273 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201149 | 174 | 9 | 62 | 19.333333 | 0.892086 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 4 |
cdd95bd181e537795708dd3d28aab8c3672c2432 | 205 | py | Python | cursoemvideoPy/Mundo1/ex012.py | BrCarlini/exPython | 3bed986e5bfa5eae191b6b18306448926aed48fd | [
"MIT"
] | null | null | null | cursoemvideoPy/Mundo1/ex012.py | BrCarlini/exPython | 3bed986e5bfa5eae191b6b18306448926aed48fd | [
"MIT"
] | null | null | null | cursoemvideoPy/Mundo1/ex012.py | BrCarlini/exPython | 3bed986e5bfa5eae191b6b18306448926aed48fd | [
"MIT"
] | null | null | null | print('========= Desconto =========')
preco = float(input('Digite o preço do produto: R$'))
calc = preco - ((5 / 100) * preco)
print(f'Preço digitado R${preco}\nDesconto: 5%\nPreço com desconto: R${calc}') | 51.25 | 78 | 0.609756 | 29 | 205 | 4.310345 | 0.655172 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0.126829 | 205 | 4 | 78 | 51.25 | 0.670391 | 0 | 0 | 0 | 0 | 0 | 0.606796 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cdf9f579eb286611e8389fb8bb293c5009f9d71a | 876 | py | Python | assign_rights/mixins/authmixins.py | RockefellerArchiveCenter/aquila | b7fc805484ab6e71fc56e2184637165fbc7f445b | [
"MIT"
] | null | null | null | assign_rights/mixins/authmixins.py | RockefellerArchiveCenter/aquila | b7fc805484ab6e71fc56e2184637165fbc7f445b | [
"MIT"
] | 150 | 2020-06-26T13:31:40.000Z | 2022-03-16T16:51:27.000Z | assign_rights/mixins/authmixins.py | RockefellerArchiveCenter/aquila | b7fc805484ab6e71fc56e2184637165fbc7f445b | [
"MIT"
] | null | null | null | from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin
from django.urls import reverse_lazy
class LoggedInMixinDefaults(LoginRequiredMixin):
"""Sets basic login_url for mixin defaults."""
login_url = reverse_lazy("login")
class EditMixin(LoggedInMixinDefaults, UserPassesTestMixin):
... | 31.285714 | 78 | 0.696347 | 101 | 876 | 5.960396 | 0.455446 | 0.039867 | 0.099668 | 0.17608 | 0.561462 | 0.561462 | 0.561462 | 0.561462 | 0.561462 | 0.561462 | 0 | 0 | 0.203196 | 876 | 27 | 79 | 32.444444 | 0.862464 | 0.19863 | 0 | 0.5 | 0 | 0 | 0.021866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.1875 | 0.125 | 0.125 | 0.625 | 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 | 1 | 1 | 0 | 0 | 4 |
a8225798514d9d01e55862c8b25f9000b322d24a | 95 | py | Python | chia/types/spend_bundle_conditions.py | nur-azhar/chia-blockchain | 890da94024b4742bbbb93e47f72113e8344a20b3 | [
"Apache-2.0"
] | 1 | 2022-03-22T18:11:52.000Z | 2022-03-22T18:11:52.000Z | chia/types/spend_bundle_conditions.py | nur-azhar/chia-blockchain | 890da94024b4742bbbb93e47f72113e8344a20b3 | [
"Apache-2.0"
] | null | null | null | chia/types/spend_bundle_conditions.py | nur-azhar/chia-blockchain | 890da94024b4742bbbb93e47f72113e8344a20b3 | [
"Apache-2.0"
] | null | null | null | from chia_rs import Spend, SpendBundleConditions
__all__ = ["Spend", "SpendBundleConditions"]
| 23.75 | 48 | 0.8 | 9 | 95 | 7.888889 | 0.777778 | 0.732394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 3 | 49 | 31.666667 | 0.835294 | 0 | 0 | 0 | 0 | 0 | 0.273684 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
b51e8cb9c7b282c846b5837b27853076349362b4 | 163 | py | Python | src/extendable_pydantic/__init__.py | lmignon/pydantic-ext | 3cdb75b625782172f84dd449f081521e560ac9ad | [
"MIT"
] | null | null | null | src/extendable_pydantic/__init__.py | lmignon/pydantic-ext | 3cdb75b625782172f84dd449f081521e560ac9ad | [
"MIT"
] | null | null | null | src/extendable_pydantic/__init__.py | lmignon/pydantic-ext | 3cdb75b625782172f84dd449f081521e560ac9ad | [
"MIT"
] | null | null | null | """A lib to define pydantic models extendable at runtime."""
# shortcut to main used class
from .main import ExtendableModelMeta
from .version import __version__
| 27.166667 | 60 | 0.791411 | 22 | 163 | 5.681818 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 163 | 5 | 61 | 32.6 | 0.899281 | 0.509202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b530c83cbcf246598d37cf0dae4424cb0ac4f68c | 107 | py | Python | tempCodeRunnerFile.py | MuhammadTalha28/space-invader-fyp | 4250bfec421f68486463edd205f286f1613a79e0 | [
"Unlicense"
] | 1 | 2022-03-06T18:13:19.000Z | 2022-03-06T18:13:19.000Z | tempCodeRunnerFile.py | MuhammadTalha28/space-invader-fyp | 4250bfec421f68486463edd205f286f1613a79e0 | [
"Unlicense"
] | null | null | null | tempCodeRunnerFile.py | MuhammadTalha28/space-invader-fyp | 4250bfec421f68486463edd205f286f1613a79e0 | [
"Unlicense"
] | null | null | null | game.image.load(
'space_breaker_asset\Background\stars_texture.png').convert_alpha(), (1300, 800))
| 26.75 | 86 | 0.728972 | 14 | 107 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 0.11215 | 107 | 3 | 87 | 35.666667 | 0.705263 | 0 | 0 | 0 | 0 | 0 | 0.466019 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b53c153fc784efa7de5bf9a8e90cadea684ea1e3 | 105 | py | Python | typehint.py | xiaopeng163/whats-new-python3.9 | d52e55d433ffb1a9701a71d2f233db5bd35d5fb0 | [
"Apache-2.0"
] | 1 | 2021-03-12T15:11:57.000Z | 2021-03-12T15:11:57.000Z | typehint.py | xiaopeng163/whats-new-python3.9 | d52e55d433ffb1a9701a71d2f233db5bd35d5fb0 | [
"Apache-2.0"
] | null | null | null | typehint.py | xiaopeng163/whats-new-python3.9 | d52e55d433ffb1a9701a71d2f233db5bd35d5fb0 | [
"Apache-2.0"
] | 1 | 2020-10-21T01:35:44.000Z | 2020-10-21T01:35:44.000Z | # from typing import List
mylist: list[int] = [1, 2, 3, 4]
print(mylist)
mylist = '1234'
print(mylist)
| 13.125 | 32 | 0.657143 | 17 | 105 | 4.058824 | 0.705882 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.180952 | 105 | 7 | 33 | 15 | 0.709302 | 0.219048 | 0 | 0.5 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
b573bd7dd15ad236b81007c1a94429dc3d3f786e | 424 | py | Python | character/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | character/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | character/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | 1 | 2021-08-14T18:46:52.000Z | 2021-08-14T18:46:52.000Z | """ Models for Characters """
from .ancestry import Ancestry, SubAncestry
from .background import Background
from .character import Character, ClassAndLevel, InventoryAdventuringGear, \
InventoryArmor, InventoryTool, InventoryWeapon, InventoryWondrousItem, SkillProficiency
from .character_class import CharacterClas... | 47.111111 | 91 | 0.830189 | 36 | 424 | 9.75 | 0.638889 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110849 | 424 | 8 | 92 | 53 | 0.931034 | 0.049528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 4 |
b5940ffe5c8f744354e8afcd901046b86cee5eb4 | 73 | py | Python | orchestra/tests/workflows/test_dir/load_sample_data.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 444 | 2016-07-25T05:24:30.000Z | 2022-02-21T08:12:29.000Z | orchestra/tests/workflows/test_dir/load_sample_data.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 395 | 2016-07-26T20:49:59.000Z | 2022-03-15T20:58:45.000Z | orchestra/tests/workflows/test_dir/load_sample_data.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 63 | 2016-07-26T04:10:21.000Z | 2022-03-29T03:32:19.000Z | def load(workflow_version):
""" Dummy loading function. """
pass
| 18.25 | 35 | 0.643836 | 8 | 73 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 3 | 36 | 24.333333 | 0.807018 | 0.315068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b59c151cf27bc49f386842bcb903f4bd6d45d58c | 218 | py | Python | etoLib/etoLib/Attic/s3_func.py | tonybutzer/eto-draft | 2f2b17a2f370225af4d83cf54f3cd0c1e33b49f4 | [
"MIT"
] | null | null | null | etoLib/etoLib/Attic/s3_func.py | tonybutzer/eto-draft | 2f2b17a2f370225af4d83cf54f3cd0c1e33b49f4 | [
"MIT"
] | null | null | null | etoLib/etoLib/Attic/s3_func.py | tonybutzer/eto-draft | 2f2b17a2f370225af4d83cf54f3cd0c1e33b49f4 | [
"MIT"
] | 1 | 2021-01-22T20:26:05.000Z | 2021-01-22T20:26:05.000Z | def s3_hello(person_name):
print('Hello There Person:', person_name)
def s3_push_delete_local(local_file, bucket, bucket_filepath):
print('def s3_push_delete_local(local_file, bucket, bucket_filepath):')
| 19.818182 | 75 | 0.766055 | 32 | 218 | 4.8125 | 0.40625 | 0.097403 | 0.116883 | 0.194805 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0 | 0.015789 | 0.12844 | 218 | 10 | 76 | 21.8 | 0.794737 | 0 | 0 | 0 | 0 | 0 | 0.378505 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b5ab17fd69b165259f6631078e3395185d63248d | 107 | py | Python | ievv_auth/ievv_api_key/apps.py | appressoas/ievv_auth | cf3eb356103a21918706ee75980e328c2a73d452 | [
"BSD-3-Clause"
] | null | null | null | ievv_auth/ievv_api_key/apps.py | appressoas/ievv_auth | cf3eb356103a21918706ee75980e328c2a73d452 | [
"BSD-3-Clause"
] | 12 | 2020-02-12T03:28:59.000Z | 2021-09-22T18:24:05.000Z | ievv_auth/ievv_api_key/apps.py | appressoas/ievv_auth | cf3eb356103a21918706ee75980e328c2a73d452 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class IevvApiKeyConfig(AppConfig):
name = 'ievv_auth.ievv_api_key'
| 17.833333 | 35 | 0.785047 | 14 | 107 | 5.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 36 | 21.4 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.205607 | 0.205607 | 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 | 1 | 0 | 0 | 4 |
a930aa5a72ecf3c8bc39e96342b8d209162a710c | 22,688 | py | Python | python/trinsic/proto/services/trustregistry/v1/__init__.py | musaib072/sdk | 62614053e5ce4a37e0a82a733b113fdc8f2f29b9 | [
"Apache-2.0"
] | 6 | 2021-06-11T18:46:26.000Z | 2022-01-20T21:33:36.000Z | python/trinsic/proto/services/trustregistry/v1/__init__.py | musaib072/sdk | 62614053e5ce4a37e0a82a733b113fdc8f2f29b9 | [
"Apache-2.0"
] | 365 | 2021-06-04T15:58:07.000Z | 2022-03-31T23:57:58.000Z | python/trinsic/proto/services/trustregistry/v1/__init__.py | musaib072/sdk | 62614053e5ce4a37e0a82a733b113fdc8f2f29b9 | [
"Apache-2.0"
] | 5 | 2021-09-21T14:16:42.000Z | 2021-12-21T13:09:19.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# sources: services/trust-registry/v1/trust-registry.proto
# plugin: python-betterproto
from dataclasses import dataclass
from typing import AsyncIterator, Dict
import betterproto
from betterproto.grpc.grpclib_server import ServiceBase
import grpclib
class R... | 35.229814 | 98 | 0.669914 | 2,228 | 22,688 | 6.520646 | 0.072262 | 0.086316 | 0.075716 | 0.060229 | 0.806236 | 0.732448 | 0.675592 | 0.670567 | 0.648541 | 0.628923 | 0 | 0.015209 | 0.243609 | 22,688 | 643 | 99 | 35.284603 | 0.831362 | 0.006171 | 0 | 0.686538 | 1 | 0 | 0.115108 | 0.088227 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001923 | false | 0 | 0.011538 | 0.001923 | 0.190385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 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 | 4 |
a93227a95641f6a94d278edb63abf6bebfceaf27 | 122 | py | Python | modes.py | GreensCH/PYNQ-HLS-ImageProcessPlatform | 02cad858ff02f3c1758a66dd0528179149f68f16 | [
"MIT"
] | null | null | null | modes.py | GreensCH/PYNQ-HLS-ImageProcessPlatform | 02cad858ff02f3c1758a66dd0528179149f68f16 | [
"MIT"
] | 2 | 2021-04-03T14:02:51.000Z | 2021-04-05T13:24:21.000Z | modes.py | GreensCH/PYNQ-HLS-ImageProcessPlatform | 02cad858ff02f3c1758a66dd0528179149f68f16 | [
"MIT"
] | null | null | null | #mvt模式
#模型层
class User(object):
def __init__(self,uname,pwd):
self.uname=uname
self.pwd=pwd
| 13.555556 | 34 | 0.57377 | 16 | 122 | 4.125 | 0.625 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 122 | 8 | 35 | 15.25 | 0.785714 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a936ca7df7abeaabbdce899b4547486b587b822d | 73 | py | Python | django_request_user/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 4 | 2017-04-28T19:09:17.000Z | 2018-07-03T04:43:54.000Z | django_request_user/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 2 | 2020-06-05T17:46:47.000Z | 2021-06-10T17:22:58.000Z | django_request_user/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 2 | 2017-08-14T07:15:14.000Z | 2019-03-04T14:02:05.000Z |
default_app_config = 'django_request_user.apps.DjangoRequestUserConfig'
| 24.333333 | 71 | 0.876712 | 8 | 73 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 2 | 72 | 36.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9415f163029d7274035e87f300258327751c83a | 136 | py | Python | relaax/common/metrics.py | j0k/relaax | dff865facc2932e4f8317d6ab4ad32a1f218e7b6 | [
"MIT"
] | 4 | 2018-07-31T06:32:30.000Z | 2021-05-02T20:21:37.000Z | relaax/common/metrics.py | bohblue2/relaax | 0a7ed8f2a21e37ca047e16d216d164527c1fffdd | [
"MIT"
] | null | null | null | relaax/common/metrics.py | bohblue2/relaax | 0a7ed8f2a21e37ca047e16d216d164527c1fffdd | [
"MIT"
] | null | null | null | from __future__ import print_function
class Metrics(object):
def scalar(self, name, y, x=None):
raise NotImplementedError
| 19.428571 | 38 | 0.727941 | 17 | 136 | 5.529412 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198529 | 136 | 6 | 39 | 22.666667 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
a953ed99b4420d6b022260fa72976e02d4554e6b | 3,120 | py | Python | tensorbank/tf/points.py | pshved/tensorbank | 6a1497b58cfac5e7218ec42c04dd62e17b7bb88c | [
"MIT"
] | 1 | 2020-07-07T09:00:28.000Z | 2020-07-07T09:00:28.000Z | tensorbank/tf/points.py | pshved/tensorbank | 6a1497b58cfac5e7218ec42c04dd62e17b7bb88c | [
"MIT"
] | null | null | null | tensorbank/tf/points.py | pshved/tensorbank | 6a1497b58cfac5e7218ec42c04dd62e17b7bb88c | [
"MIT"
] | null | null | null | """Point operations
===================
Batch operations on points in D-dimensional Eucledian space R^D.
"""
import tensorflow as tf
def pairwise_l2_distance(a, b, sqrt=True):
"""Compute pairwise L2 distance between all points in A and B.
L2 norm is ``sqrt(sum(|x_i - y_i| ^ 2))``
Args:
a (Tens... | 31.2 | 78 | 0.575641 | 575 | 3,120 | 3.024348 | 0.144348 | 0.024152 | 0.024152 | 0.032202 | 0.767683 | 0.725129 | 0.725129 | 0.710178 | 0.641748 | 0.641748 | 0 | 0.020932 | 0.326282 | 3,120 | 99 | 79 | 31.515152 | 0.805899 | 0.614744 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
a968970edbebdee057e6a71ef7d2f438ec545bc6 | 112 | py | Python | kora/install/rust.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 91 | 2020-05-26T05:54:51.000Z | 2022-03-09T07:33:44.000Z | kora/install/rust.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 12 | 2020-10-03T10:09:11.000Z | 2021-03-06T23:12:21.000Z | kora/install/rust.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 16 | 2020-07-07T18:39:29.000Z | 2021-03-06T03:46:49.000Z | import os
os.system('apt install rustc')
os.environ['PATH'] += ':/root/.cargo/bin'
os.environ['USER'] = 'user'
| 18.666667 | 41 | 0.651786 | 17 | 112 | 4.294118 | 0.705882 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 5 | 42 | 22.4 | 0.73 | 0 | 0 | 0 | 0 | 0 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a978cbc5324348b8bdefa4836db425407e8a887a | 120 | py | Python | model/user_in_group.py | Belyanova/Python_-training | 2e38e489bbed05995cf067187e62c2842ad8f661 | [
"Apache-2.0"
] | null | null | null | model/user_in_group.py | Belyanova/Python_-training | 2e38e489bbed05995cf067187e62c2842ad8f661 | [
"Apache-2.0"
] | null | null | null | model/user_in_group.py | Belyanova/Python_-training | 2e38e489bbed05995cf067187e62c2842ad8f661 | [
"Apache-2.0"
] | null | null | null | class UserGroup:
def __init__(self, id=None, group_id=None,):
self.group_id = group_id
self.id = id | 30 | 48 | 0.625 | 19 | 120 | 3.631579 | 0.473684 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258333 | 120 | 4 | 49 | 30 | 0.764045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a97b0ee5a3135077f70f80763b2259955af0080a | 487 | py | Python | gmaps/process/gmaps_process.py | cfespinoza/google_maps_exractor | ecbacde00f00cddf2ee31b1355ccf91d4b5b77f3 | [
"Apache-2.0"
] | null | null | null | gmaps/process/gmaps_process.py | cfespinoza/google_maps_exractor | ecbacde00f00cddf2ee31b1355ccf91d4b5b77f3 | [
"Apache-2.0"
] | null | null | null | gmaps/process/gmaps_process.py | cfespinoza/google_maps_exractor | ecbacde00f00cddf2ee31b1355ccf91d4b5b77f3 | [
"Apache-2.0"
] | 1 | 2020-03-18T21:39:43.000Z | 2020-03-18T21:39:43.000Z | import multiprocessing
class GmapsProcess(multiprocessing.Process):
# make 'daemon' attribute always return False
def _get_daemon(self):
return False
def _set_daemon(self, value):
pass
daemon = property(_get_daemon, _set_daemon)
# We sub-class multiprocessing.pool.Pool instead of m... | 25.631579 | 72 | 0.749487 | 59 | 487 | 6.050847 | 0.576271 | 0.159664 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184805 | 487 | 18 | 73 | 27.055556 | 0.899244 | 0.371663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8d1e8cb8954dbd9ca206a512b2ecf851c698105a | 666 | py | Python | Tests/test_main_pytest.py | miki4920/ChessAI | c29cb9415eaf42ab5e2dbf920c28ffcf3ed14266 | [
"MIT"
] | null | null | null | Tests/test_main_pytest.py | miki4920/ChessAI | c29cb9415eaf42ab5e2dbf920c28ffcf3ed14266 | [
"MIT"
] | null | null | null | Tests/test_main_pytest.py | miki4920/ChessAI | c29cb9415eaf42ab5e2dbf920c28ffcf3ed14266 | [
"MIT"
] | null | null | null | from config import Config
from main import determine_colour, return_tile_colour, coordinates_to_notation
def test_determine_colour():
assert determine_colour(0, 0)
assert not determine_colour(0, 7)
assert not determine_colour(7, 0)
assert determine_colour(7, 7)
def test_return_tile_colour():
ass... | 30.272727 | 78 | 0.752252 | 95 | 666 | 4.947368 | 0.263158 | 0.191489 | 0.268085 | 0.229787 | 0.238298 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035587 | 0.156156 | 666 | 21 | 79 | 31.714286 | 0.800712 | 0 | 0 | 0 | 0 | 0 | 0.012012 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.2 | true | 0 | 0.133333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d328beb525f93546d17863b52d12307fc7884f9 | 210 | py | Python | Emulator/__main__.py | samedamci/7seg-Emulator | 6115d817395d88d6490065893748e55883faf401 | [
"0BSD"
] | null | null | null | Emulator/__main__.py | samedamci/7seg-Emulator | 6115d817395d88d6490065893748e55883faf401 | [
"0BSD"
] | null | null | null | Emulator/__main__.py | samedamci/7seg-Emulator | 6115d817395d88d6490065893748e55883faf401 | [
"0BSD"
] | null | null | null | #!/usr/bin/env python3
import os
import sys
if __name__ == "__main__":
sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from Emulator.emulator import main
main()
| 16.153846 | 83 | 0.695238 | 31 | 210 | 4.322581 | 0.580645 | 0.134328 | 0.19403 | 0.223881 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.161905 | 210 | 12 | 84 | 17.5 | 0.75 | 0.1 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8d825229ddd83df2d4bcc06fb76e268a6e5d9b5c | 2,013 | py | Python | evogtk/widgets.py | R3v1L/evogtk | 9f951a08770e99ffd701a1994ba948aa8014f2af | [
"MIT"
] | null | null | null | evogtk/widgets.py | R3v1L/evogtk | 9f951a08770e99ffd701a1994ba948aa8014f2af | [
"MIT"
] | null | null | null | evogtk/widgets.py | R3v1L/evogtk | 9f951a08770e99ffd701a1994ba948aa8014f2af | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
###############################################################################
# Copyright (C) 2008 EVO Sistemas Libres <central@evosistemas.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the F... | 46.813953 | 79 | 0.722305 | 245 | 2,013 | 5.934694 | 0.465306 | 0.086658 | 0.198074 | 0.039202 | 0.097662 | 0.038514 | 0 | 0 | 0 | 0 | 0 | 0.009545 | 0.115251 | 2,013 | 42 | 80 | 47.928571 | 0.80685 | 0.416294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8da617962a8fcbadb3c57ca33f07279d2070ac0e | 64 | py | Python | project_template/project_main_app/__init__.py | mciucu/manage-stem-app | 008c2ea74c5b876935a538cdd8ffb2528ca4ccc3 | [
"Unlicense"
] | 1 | 2017-08-23T18:27:53.000Z | 2017-08-23T18:27:53.000Z | project_template/project_main_app/__init__.py | mciucu/manage-stem-app | 008c2ea74c5b876935a538cdd8ffb2528ca4ccc3 | [
"Unlicense"
] | 1 | 2017-08-22T17:10:44.000Z | 2017-08-23T17:11:09.000Z | project_template/project_main_app/__init__.py | mciucu/manage-stem-app | 008c2ea74c5b876935a538cdd8ffb2528ca4ccc3 | [
"Unlicense"
] | null | null | null | default_app_config = "{{ project_main_app}}.apps.MainAppConfig"
| 32 | 63 | 0.796875 | 8 | 64 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.578125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a5c58ef9d6e238c442e7068cf5e669fc151cb86a | 182 | py | Python | bglib/kvui/rootwidget.py | dheller1/bglib | a05341dd4ee3801164f58cf67ac108fa5c91c4e5 | [
"MIT"
] | null | null | null | bglib/kvui/rootwidget.py | dheller1/bglib | a05341dd4ee3801164f58cf67ac108fa5c91c4e5 | [
"MIT"
] | null | null | null | bglib/kvui/rootwidget.py | dheller1/bglib | a05341dd4ee3801164f58cf67ac108fa5c91c4e5 | [
"MIT"
] | null | null | null | from kivy.uix.widget import Widget
from kivy.uix.floatlayout import FloatLayout
class RootWidget(FloatLayout):
def __init__(self, **kwargs):
super().__init__(**kwargs)
| 22.75 | 44 | 0.736264 | 22 | 182 | 5.727273 | 0.590909 | 0.126984 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 7 | 45 | 26 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a5f004ff8d0d7cd8ad4613ba93bfddd0959a7dfb | 19,619 | py | Python | opem/Test/test_Padulles_Amphlett.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 173 | 2017-12-24T07:35:01.000Z | 2022-03-08T17:31:20.000Z | opem/Test/test_Padulles_Amphlett.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 130 | 2017-12-16T16:08:37.000Z | 2022-03-21T09:46:39.000Z | opem/Test/test_Padulles_Amphlett.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 45 | 2017-12-16T16:05:58.000Z | 2022-02-28T17:43:12.000Z | # -*- coding: utf-8 -*-
'''
>>> from opem.Dynamic.Padulles_Amphlett import *
>>> import shutil
>>> Test_Vector={"A":50.6,"l":0.0178,"lambda":23,"JMax":1.5,"T":343,"N0":5,"KO2":0.0000211,"KH2":0.0000422,"KH2O":0.000007716,"tH2":3.37,"tO2":6.74,"t1":2,"t2":2,"tH2O":18.418,"rho":1.168,"qMethanol":0.0002,"CV":2,"i-start":0... | 30.464286 | 266 | 0.762628 | 2,738 | 19,619 | 5.449233 | 0.226077 | 0.03378 | 0.03941 | 0.042225 | 0.069303 | 0.065282 | 0.061394 | 0.061394 | 0.059786 | 0.056434 | 0 | 0.548549 | 0.1286 | 19,619 | 643 | 267 | 30.511664 | 0.324169 | 0.999439 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57101f4d761a9d8f26a2c0105786d1920dbe5c1c | 116 | py | Python | pydfs_lineup_optimizer/sites/draftstarsnfl/__init__.py | apapadimitriou/pydfs-lineup-optimizer | e9d254bf41b353f2cd30d93ec7bd406402d35959 | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/sites/draftstarsnfl/__init__.py | apapadimitriou/pydfs-lineup-optimizer | e9d254bf41b353f2cd30d93ec7bd406402d35959 | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/sites/draftstarsnfl/__init__.py | apapadimitriou/pydfs-lineup-optimizer | e9d254bf41b353f2cd30d93ec7bd406402d35959 | [
"MIT"
] | null | null | null | from .importer import *
from .settings import *
__all__ = [
'DraftstarsCSVImporter', 'DraftstarsNFLSettings'
] | 16.571429 | 52 | 0.732759 | 9 | 116 | 9 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 7 | 53 | 16.571429 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
57122041aed84735d76628989af9543bda5bf243 | 143 | py | Python | tests/data/src/requires_simple/setup.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 2 | 2021-06-07T06:24:59.000Z | 2021-08-13T12:59:19.000Z | tests/data/src/requires_simple/setup.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 215 | 2020-03-23T18:59:53.000Z | 2021-02-22T20:30:51.000Z | tests/data/src/requires_simple/setup.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 2 | 2021-02-12T09:31:15.000Z | 2021-02-12T09:48:03.000Z | from setuptools import find_packages, setup
setup(name='requires_simple',
version='0.1',
install_requires=['simple==1.0']
)
| 20.428571 | 43 | 0.664336 | 18 | 143 | 5.111111 | 0.722222 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.195804 | 143 | 6 | 44 | 23.833333 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.202797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
571cb9a6b099112ed9e2e269fedbfb02a896820a | 4,689 | py | Python | utility.py | IamVicky90/insurance-prediction-pyspark | 30fe0fe098e7e4a4d025dd0e3000f42d13b2aa69 | [
"MIT"
] | null | null | null | utility.py | IamVicky90/insurance-prediction-pyspark | 30fe0fe098e7e4a4d025dd0e3000f42d13b2aa69 | [
"MIT"
] | null | null | null | utility.py | IamVicky90/insurance-prediction-pyspark | 30fe0fe098e7e4a4d025dd0e3000f42d13b2aa69 | [
"MIT"
] | null | null | null | from asyncore import read
import os
import shutil
import yaml
import json
from app_logger import logger
from datetime import datetime
import uuid
def create_directory(path: str, is_recreate: bool = False)->None:
"""Utility to create the dirctory
Args:
path (str): Give the full path with directory name
... | 41.495575 | 168 | 0.700789 | 612 | 4,689 | 5.194444 | 0.191176 | 0.048443 | 0.030198 | 0.02139 | 0.715005 | 0.704624 | 0.704624 | 0.704624 | 0.64989 | 0.64989 | 0 | 0.000534 | 0.201749 | 4,689 | 112 | 169 | 41.866071 | 0.848784 | 0.339945 | 0 | 0.53125 | 0 | 0 | 0.120666 | 0.031271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.015625 | 0.125 | 0 | 0.359375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
572b7cdd869c7640f5ffd495b43f7a657ca4f86b | 64 | py | Python | fastdb/__init__.py | kaankarakoc42/FastDB | 8be6da4e8f87983b6c0be03629eca527d002fba2 | [
"MIT"
] | null | null | null | fastdb/__init__.py | kaankarakoc42/FastDB | 8be6da4e8f87983b6c0be03629eca527d002fba2 | [
"MIT"
] | null | null | null | fastdb/__init__.py | kaankarakoc42/FastDB | 8be6da4e8f87983b6c0be03629eca527d002fba2 | [
"MIT"
] | null | null | null | from .fastdb import FastDB
from .fastclient import FastClient | 32 | 35 | 0.8125 | 8 | 64 | 6.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 2 | 35 | 32 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5750e7d67f07aa6ea4d58549bd201da672a9b54f | 2,104 | py | Python | pterasoftware/__init__.py | camUrban/PteraSoftware | cd5163aa2cc5ea76a906b271d9d9958ad99e57bd | [
"MIT"
] | 68 | 2020-07-18T20:49:37.000Z | 2022-03-23T21:07:35.000Z | pterasoftware/__init__.py | camUrban/PteraSoftware | cd5163aa2cc5ea76a906b271d9d9958ad99e57bd | [
"MIT"
] | 13 | 2020-08-20T04:56:44.000Z | 2022-03-27T14:34:02.000Z | pterasoftware/__init__.py | camUrban/PteraSoftware | cd5163aa2cc5ea76a906b271d9d9958ad99e57bd | [
"MIT"
] | 17 | 2020-07-23T22:26:31.000Z | 2022-03-27T12:34:27.000Z | # ToDo: Update this module's documentation.
"""This package contains all the source code for the Ptera Software.
This package contains the following subpackages:
None
This package contains the following directories:
airfoils: This folder contains a collection of airfoils whose coordinates are
stored in DA... | 38.254545 | 87 | 0.811312 | 276 | 2,104 | 6.072464 | 0.275362 | 0.077566 | 0.085919 | 0.131265 | 0.461814 | 0.310263 | 0.289379 | 0.189141 | 0.139021 | 0.139021 | 0 | 0 | 0.155418 | 2,104 | 54 | 88 | 38.962963 | 0.943163 | 0.796103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
93eadd1a412eec143e025222ed4d959f27e58821 | 522 | py | Python | src/py_profiler/long_adder.py | andy1xx8/py-profiler | 7abd476d248006c410e425f730734768fcc2a420 | [
"MIT"
] | 3 | 2021-07-22T08:56:14.000Z | 2022-03-09T11:20:12.000Z | src/py_profiler/long_adder.py | andy1xx8/py-profiler | 7abd476d248006c410e425f730734768fcc2a420 | [
"MIT"
] | 3 | 2021-07-22T08:57:32.000Z | 2021-07-24T10:51:56.000Z | src/py_profiler/long_adder.py | andy1xx8/py-profiler | 7abd476d248006c410e425f730734768fcc2a420 | [
"MIT"
] | null | null | null | import threading
#
# @author andy
#
class LongAdder:
def __init__(self):
self._lock = threading.Lock()
self._value = 0
def get_value(self):
return self._value
def increment(self):
with self._lock:
self._value += 1
def decrement(self):
with self._lo... | 16.83871 | 37 | 0.542146 | 61 | 522 | 4.377049 | 0.360656 | 0.202247 | 0.243446 | 0.2397 | 0.389513 | 0.310861 | 0.217228 | 0.217228 | 0 | 0 | 0 | 0.01194 | 0.358238 | 522 | 30 | 38 | 17.4 | 0.785075 | 0.022989 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.052632 | 0.473684 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
93f47ac1a658e9f780740016dfc7b273841c11b7 | 203 | py | Python | app/entity/service.py | conatel-i-d/flask-blueprint | bfe600a0872282ad9286549ec8f2e1da5df382c5 | [
"MIT"
] | null | null | null | app/entity/service.py | conatel-i-d/flask-blueprint | bfe600a0872282ad9286549ec8f2e1da5df382c5 | [
"MIT"
] | 1 | 2021-04-30T21:01:42.000Z | 2021-04-30T21:01:42.000Z | app/entity/service.py | conatel-i-d/flask-blueprint | bfe600a0872282ad9286549ec8f2e1da5df382c5 | [
"MIT"
] | null | null | null | from app.utils.base_service import BaseService
from .model import Entity
from .interfaces import EntityInterfaces
class EntityService(BaseService):
model = Entity
interfaces = EntityInterfaces
| 22.555556 | 46 | 0.807882 | 22 | 203 | 7.409091 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147783 | 203 | 8 | 47 | 25.375 | 0.942197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9e16a2af953717d2435c0c5d6fce142d2e04d499 | 149 | py | Python | ex036.py | AleLucasG/Estudos-Python-I | 4144033bb77b06dd1c9c56a36d5bb152295a6be6 | [
"MIT"
] | null | null | null | ex036.py | AleLucasG/Estudos-Python-I | 4144033bb77b06dd1c9c56a36d5bb152295a6be6 | [
"MIT"
] | null | null | null | ex036.py | AleLucasG/Estudos-Python-I | 4144033bb77b06dd1c9c56a36d5bb152295a6be6 | [
"MIT"
] | null | null | null | """APROVANDO EMPRESTIMO PARA COMPRA DE UMA CASA.
- VALOR DO EMPRESTIMO: 80000.00;
- SALARIO EMPREGADO: 1.600;
- ANOS DE FINANCIAMENTO: 7 ANOS;
-
"""
| 21.285714 | 48 | 0.711409 | 21 | 149 | 5.047619 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 0.161074 | 149 | 6 | 49 | 24.833333 | 0.752 | 0.946309 | 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 | 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 | 4 |
f50c9e57884bc51dd43b77b06efe6551834e075e | 193 | py | Python | models/chat.py | Akkihi/Custom-Commands-Bot | 974013211783eb46501c6fec79a5298cee36b260 | [
"MIT"
] | 1 | 2021-03-31T12:36:33.000Z | 2021-03-31T12:36:33.000Z | models/chat.py | Akkihi/Custom-Commands-Bot | 974013211783eb46501c6fec79a5298cee36b260 | [
"MIT"
] | null | null | null | models/chat.py | Akkihi/Custom-Commands-Bot | 974013211783eb46501c6fec79a5298cee36b260 | [
"MIT"
] | null | null | null | from peewee import *
from .base_model import BaseModel
class Chat(BaseModel):
telegram_id = BigIntegerField(unique=True)
title = TextField(null=True)
link = TextField(null=True)
| 19.3 | 46 | 0.735751 | 24 | 193 | 5.833333 | 0.708333 | 0.185714 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176166 | 193 | 9 | 47 | 21.444444 | 0.880503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f54d9c6737b6cb46d30ed5b05f308700e1e9086e | 56 | py | Python | data/tools/addon_manager/__init__.py | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 12 | 2015-03-04T15:07:00.000Z | 2019-09-13T16:31:06.000Z | data/tools/addon_manager/__init__.py | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | null | null | null | data/tools/addon_manager/__init__.py | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 5 | 2017-04-22T08:16:48.000Z | 2020-07-12T03:35:16.000Z | # This let's python know about the addon_manager module. | 56 | 56 | 0.803571 | 10 | 56 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 1 | 56 | 56 | 0.916667 | 0.964286 | 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 | 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 | 4 |
f55edd3f623e9ab4a460e1cc7fd155e027c43ca6 | 28,133 | py | Python | nmutils/gui/ptychoViewer/design_rc.py | alexbjorling/nanomax-analysis-utils | e208d098243e28a90004c6e1c5fb69251177d23e | [
"MIT"
] | 3 | 2017-07-19T10:25:26.000Z | 2019-12-17T13:47:06.000Z | nmutils/gui/ptychoViewer/design_rc.py | alexbjorling/nanomax-analysis-utils | e208d098243e28a90004c6e1c5fb69251177d23e | [
"MIT"
] | 1 | 2021-04-07T10:00:33.000Z | 2021-04-07T10:20:36.000Z | nmutils/gui/ptychoViewer/design_rc.py | alexbjorling/nanomax-analysis-utils | e208d098243e28a90004c6e1c5fb69251177d23e | [
"MIT"
] | 1 | 2020-10-15T12:05:42.000Z | 2020-10-15T12:05:42.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.12.5)
#
# WARNING! All changes made in this file will be lost!
# from PyQt5 import QtCore
from silx.gui import qt as QtCore
qt_resource_data = b"\
\x00\x00\x19\x3d\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d... | 60.893939 | 103 | 0.72726 | 6,735 | 28,133 | 3.03222 | 0.046028 | 0.027911 | 0.027764 | 0.020566 | 0.024385 | 0.023651 | 0.02037 | 0.02037 | 0.02037 | 0.02037 | 0 | 0.316194 | 0.019728 | 28,133 | 461 | 104 | 61.02603 | 0.424324 | 0.006292 | 0 | 0.018018 | 0 | 0.925676 | 0.000036 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.004505 | false | 0 | 0.002252 | 0 | 0.006757 | 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 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f568d1ec1a316ce1ab42680143185ba42f09b0f0 | 447 | py | Python | mugimugi_client_api/search_item/parody.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | mugimugi_client_api/search_item/parody.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | mugimugi_client_api/search_item/parody.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | from dataclasses import dataclass
from typing import ClassVar
from mugimugi_client_api_entity import Parody
from mugimugi_client_api_entity import SearchParody as Root
from mugimugi_client_api_entity.enum import ElementPrefix, ItemType
from .abstract import SearchItem
@dataclass
class SearchParody(SearchItem):
... | 27.9375 | 67 | 0.823266 | 55 | 447 | 6.527273 | 0.4 | 0.100279 | 0.150418 | 0.175487 | 0.259053 | 0.183844 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129754 | 447 | 15 | 68 | 29.8 | 0.922879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.909091 | 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 | 1 | 0 | 0 | 4 |
f58ee5da154121772a393122548029adcd3dce7d | 162 | py | Python | apps/account/admin.py | JoseTorquato/projeto_enif | c964910a03bb442664493a5eecdea097c19d8f90 | [
"MIT"
] | null | null | null | apps/account/admin.py | JoseTorquato/projeto_enif | c964910a03bb442664493a5eecdea097c19d8f90 | [
"MIT"
] | null | null | null | apps/account/admin.py | JoseTorquato/projeto_enif | c964910a03bb442664493a5eecdea097c19d8f90 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Balance
class BalanceAdmin(admin.ModelAdmin):
list_display = ('balance',)
admin.site.register(Balance) | 20.25 | 37 | 0.777778 | 20 | 162 | 6.25 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 8 | 38 | 20.25 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f596ab74695a38ff2bb3cf423b1bbc219c96fb15 | 151 | py | Python | winearb/articles/admin.py | REBradley/WineArb | 6d81421e70622d163d33119a6264dd18443c3bad | [
"BSD-3-Clause"
] | 1 | 2017-04-12T20:12:38.000Z | 2017-04-12T20:12:38.000Z | winearb/articles/admin.py | REBradley/WineArb | 6d81421e70622d163d33119a6264dd18443c3bad | [
"BSD-3-Clause"
] | 4 | 2021-03-18T20:45:26.000Z | 2022-03-11T23:25:51.000Z | winearb/articles/admin.py | REBradley/WineArb | 6d81421e70622d163d33119a6264dd18443c3bad | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Article
class ArticleAdmin(admin.ModelAdmin):
model = Article
admin.site.register(Article)
| 16.777778 | 37 | 0.788079 | 19 | 151 | 6.263158 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 8 | 38 | 18.875 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f5a302ec1d4117d8964ce7085062db03ec3ba63e | 43 | py | Python | swiftst/node/__init__.py | btorch/swift-setuptools | 15e6e134a00b2ce70456a19e938e1b9d696a3762 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | swiftst/node/__init__.py | btorch/swift-setuptools | 15e6e134a00b2ce70456a19e938e1b9d696a3762 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | swiftst/node/__init__.py | btorch/swift-setuptools | 15e6e134a00b2ce70456a19e938e1b9d696a3762 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Location for deploying swift nodes """
| 21.5 | 42 | 0.697674 | 5 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.833333 | 0.790698 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5a4c80f3ad8f9e0ca9708d1a10a83bf2fb0e96e | 240 | py | Python | course_link/__init__.py | arindampradhan/course_link | 69287e25e8918d8dc3321c2cdd7dcfe38c365430 | [
"MIT"
] | null | null | null | course_link/__init__.py | arindampradhan/course_link | 69287e25e8918d8dc3321c2cdd7dcfe38c365430 | [
"MIT"
] | null | null | null | course_link/__init__.py | arindampradhan/course_link | 69287e25e8918d8dc3321c2cdd7dcfe38c365430 | [
"MIT"
] | null | null | null | __version__ = "0.2.0"
__author__='Arindam Pradhan',
__author_email__='arindampradhan10@gmail.com',
__maintainer__='Arindam Pradhan',
__maintainer_email__='arindampradhan10@gmail.com',
__url__='https://github.com/arindampradhan/course_link', | 40 | 56 | 0.816667 | 27 | 240 | 6.259259 | 0.62963 | 0.16568 | 0.307692 | 0.343195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.0375 | 240 | 6 | 56 | 40 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0.547718 | 0.215768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.