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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
945dc3fc0460c8ac451b0a653afc53bba8b33377 | 443 | py | Python | hubspot/discovery/marketing/transactional/discovery.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/discovery/marketing/transactional/discovery.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/discovery/marketing/transactional/discovery.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | import hubspot.marketing.transactional as api_client
from ...discovery_base import DiscoveryBase
class Discovery(DiscoveryBase):
@property
def public_smtp_tokens_api(self) -> api_client.PublicSmtpTokensApi:
return self._configure_api_client(api_client, "PublicSmtpTokensApi")
@property
def... | 34.076923 | 76 | 0.776524 | 50 | 443 | 6.54 | 0.48 | 0.192661 | 0.061162 | 0.097859 | 0.2263 | 0.2263 | 0.2263 | 0 | 0 | 0 | 0 | 0 | 0.146727 | 443 | 12 | 77 | 36.916667 | 0.865079 | 0 | 0 | 0.222222 | 0 | 0 | 0.072235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
947eee5bef6502353af9560bc8b473dd8463484c | 291 | py | Python | mundo 2/051.py | thiagofreitascarneiro/Curso-de-Python---Curso-em-Video | 0342e482780b5a1c6f78cddd51d9bfad785c79fa | [
"MIT"
] | 1 | 2021-08-04T13:21:22.000Z | 2021-08-04T13:21:22.000Z | mundo 2/051.py | thiagofreitascarneiro/Curso-de-Python---Curso-em-Video | 0342e482780b5a1c6f78cddd51d9bfad785c79fa | [
"MIT"
] | null | null | null | mundo 2/051.py | thiagofreitascarneiro/Curso-de-Python---Curso-em-Video | 0342e482780b5a1c6f78cddd51d9bfad785c79fa | [
"MIT"
] | null | null | null | print('Progressão aritmética')
print(10*'_*_')
termo = int(input('Digite o primeiro Termo '))
razao = int(input('Digite a razão de uma P.A '))
print('Os 10 primeiros termos da progressão aritmética são:')
for c in range(1,11):
print(f'{termo}')
termo = termo + razao
print('Acabou')
| 29.1 | 61 | 0.683849 | 45 | 291 | 4.377778 | 0.644444 | 0.203046 | 0.142132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.158076 | 291 | 9 | 62 | 32.333333 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.477663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
84a2adea0b0c819e7ac0a3eb06e333c1278fb13b | 74 | py | Python | ch07/07_02.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 121 | 2019-03-23T13:53:06.000Z | 2022-03-28T15:15:03.000Z | ch07/07_02.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 3 | 2021-04-14T14:31:26.000Z | 2021-05-09T13:46:14.000Z | ch07/07_02.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 114 | 2019-03-21T13:43:03.000Z | 2022-03-31T18:42:11.000Z | import pybithumb
df = pybithumb.get_ohlcv("BTC")
df.to_excel("btc.xlsx")
| 14.8 | 31 | 0.743243 | 12 | 74 | 4.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 4 | 32 | 18.5 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
84a97cff1808af227e90924ecda1f78bc4376b1b | 180 | py | Python | Python-Standard-Library/ApplicationBuildingBlock/getpass/getpass_noterminal.py | gaufung/CodeBase | 0292b06cfe002b3ad0299e43bb51192816a02c74 | [
"MIT"
] | 1 | 2018-10-06T23:50:53.000Z | 2018-10-06T23:50:53.000Z | Python-Standard-Library/ApplicationBuildingBlock/getpass/getpass_noterminal.py | wsgan001/CodeBase | 0292b06cfe002b3ad0299e43bb51192816a02c74 | [
"MIT"
] | null | null | null | Python-Standard-Library/ApplicationBuildingBlock/getpass/getpass_noterminal.py | wsgan001/CodeBase | 0292b06cfe002b3ad0299e43bb51192816a02c74 | [
"MIT"
] | 1 | 2018-10-06T23:50:50.000Z | 2018-10-06T23:50:50.000Z | import getpass
import sys
if sys.stdin.isatty():
p = getpass.getpass('Using getpass:')
else:
print('Using readline')
p = sys.stdin.readline().rstrip()
print('Read', p) | 22.5 | 41 | 0.666667 | 25 | 180 | 4.8 | 0.52 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 180 | 8 | 42 | 22.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.176796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
84bbcb35e1afe833a7d8fba99e5f5efbb130c4d6 | 1,545 | py | Python | wiki_music/library/tags_handler/__init__.py | marian-code/wikipedia-music-tags | e8836c23b7b7e43661b59afd1bfc18d381b95d4a | [
"MIT"
] | 5 | 2019-01-28T21:53:14.000Z | 2020-06-27T08:52:36.000Z | wiki_music/library/tags_handler/__init__.py | marian-code/wikipedia-music-tags | e8836c23b7b7e43661b59afd1bfc18d381b95d4a | [
"MIT"
] | 4 | 2019-01-15T16:33:59.000Z | 2020-05-20T08:09:02.000Z | wiki_music/library/tags_handler/__init__.py | marian-code/wikipedia-music-tags | e8836c23b7b7e43661b59afd1bfc18d381b95d4a | [
"MIT"
] | 1 | 2020-04-15T11:00:20.000Z | 2020-04-15T11:00:20.000Z | """Low level tags handling implementation based on mutagen library."""
import logging
from typing import TYPE_CHECKING, Type, Union
from pathlib import Path
from wiki_music.utilities import exception, UnsupportedFileType
# TODO does not work, not sure why? gives wird attribute errors
# from lazy_import import lazy_c... | 27.589286 | 73 | 0.697087 | 192 | 1,545 | 5.489583 | 0.432292 | 0.034156 | 0.045541 | 0.059772 | 0.175522 | 0.111006 | 0.111006 | 0 | 0 | 0 | 0 | 0.013126 | 0.211003 | 1,545 | 55 | 74 | 28.090909 | 0.851518 | 0.41877 | 0 | 0 | 0 | 0 | 0.089928 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.043478 | false | 0 | 0.347826 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
84e37927417ff86ae1314d0e3d705e28c3e76248 | 161 | py | Python | app/utils.py | sh4rpy/wllpprs | 678a004bcdfdc6c512f1fc9894172a49befb7e53 | [
"BSD-3-Clause"
] | null | null | null | app/utils.py | sh4rpy/wllpprs | 678a004bcdfdc6c512f1fc9894172a49befb7e53 | [
"BSD-3-Clause"
] | 2 | 2021-04-06T18:09:10.000Z | 2021-06-02T02:41:15.000Z | app/utils.py | sh4rpy/wllpprs | 678a004bcdfdc6c512f1fc9894172a49befb7e53 | [
"BSD-3-Clause"
] | null | null | null | import requests
def get_photo_url(url, client_id, query):
response = requests.get(url.format(query, client_id)).json()
return response['urls']['full']
| 23 | 64 | 0.714286 | 23 | 161 | 4.826087 | 0.652174 | 0.144144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136646 | 161 | 6 | 65 | 26.833333 | 0.798561 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84ef47a97ece84d8e30163fcf18c6d471f1ed4ae | 211 | py | Python | mysite/booking/urls.py | Scottchiang90/Demo-Booking-App | 4e2e9a283b011ab1e5ca2db737412ac646bac33c | [
"MIT"
] | null | null | null | mysite/booking/urls.py | Scottchiang90/Demo-Booking-App | 4e2e9a283b011ab1e5ca2db737412ac646bac33c | [
"MIT"
] | 5 | 2021-03-30T14:03:15.000Z | 2021-09-22T19:26:27.000Z | mysite/booking/urls.py | Scottchiang90/Demo-Booking-App | 4e2e9a283b011ab1e5ca2db737412ac646bac33c | [
"MIT"
] | null | null | null | from django.urls import path
from .views import BookingCreateView, SuccessView
urlpatterns = [
path('', BookingCreateView.as_view()),
path('success/<int:pk>', SuccessView.as_view(), name='success'),
]
| 23.444444 | 68 | 0.71564 | 24 | 211 | 6.208333 | 0.625 | 0.080537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132701 | 211 | 8 | 69 | 26.375 | 0.814208 | 0 | 0 | 0 | 0 | 0 | 0.109005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca21c1dad333ee951b0771299847ccae961ce0e0 | 208 | py | Python | backend/youngun/youngun/apps/content/forms.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | null | null | null | backend/youngun/youngun/apps/content/forms.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | 1 | 2021-09-22T19:27:06.000Z | 2021-09-22T19:27:06.000Z | backend/youngun/youngun/apps/content/forms.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | null | null | null | from django import forms
class QuoteRTForm(forms.Form):
_selected_action = forms.CharField(widget=forms.MultipleHiddenInput)
imgurl = forms.URLField(label='Image URL', max_length=8000, required=True) | 41.6 | 78 | 0.788462 | 26 | 208 | 6.192308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.110577 | 208 | 5 | 78 | 41.6 | 0.848649 | 0 | 0 | 0 | 0 | 0 | 0.043062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ca2bf3f00b0a160fa97c95d4c16ca23bddac0e0d | 186 | py | Python | pages/forms.py | twoblokeswithapostie/bc_pages_in_django | 178162ceb58e6e34a25ea0c5141377b850b6de37 | [
"MIT"
] | null | null | null | pages/forms.py | twoblokeswithapostie/bc_pages_in_django | 178162ceb58e6e34a25ea0c5141377b850b6de37 | [
"MIT"
] | null | null | null | pages/forms.py | twoblokeswithapostie/bc_pages_in_django | 178162ceb58e6e34a25ea0c5141377b850b6de37 | [
"MIT"
] | null | null | null | from django import forms
from .models import Page
class PageForm(forms.ModelForm):
class Meta:
model = Page
fields = ['name', 'url', 'enabled', 'expires', 'email'] | 20.666667 | 63 | 0.634409 | 22 | 186 | 5.363636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236559 | 186 | 9 | 63 | 20.666667 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 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 | 0 | 0 | 0 | 3 |
ca4227ea78a5f74e9b2d97e666e428d5bbba22a0 | 865 | py | Python | cms/middles/error.py | linzhiming0826/cms | bb9568b1edd9cd904b26130163bb6d9f9d449f4e | [
"MIT"
] | 3 | 2018-05-01T07:00:51.000Z | 2019-10-08T03:42:22.000Z | cms/middles/error.py | linzhiming0826/cms | bb9568b1edd9cd904b26130163bb6d9f9d449f4e | [
"MIT"
] | null | null | null | cms/middles/error.py | linzhiming0826/cms | bb9568b1edd9cd904b26130163bb6d9f9d449f4e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
from django.views.debug import technical_500_response
from django.conf import settings
from cms.apis.menus import Menus
class ErrorMiddleware(object):
def __init__(self, get_response):
self.get_response = get_response
# One-time configuration and initialization.
... | 33.269231 | 67 | 0.700578 | 109 | 865 | 5.385321 | 0.541284 | 0.074957 | 0.076661 | 0.078365 | 0.126065 | 0.126065 | 0.126065 | 0.126065 | 0 | 0 | 0 | 0.010448 | 0.225434 | 865 | 25 | 68 | 34.6 | 0.865672 | 0.307514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ca4d58f26797d40447f4894d84f9c24989bfb074 | 1,743 | py | Python | backend/api/migrations/0001_initial.py | s1071539/claw-machine | dfc71207458b04e6fa14f670bfd0771a32efcff0 | [
"MIT"
] | null | null | null | backend/api/migrations/0001_initial.py | s1071539/claw-machine | dfc71207458b04e6fa14f670bfd0771a32efcff0 | [
"MIT"
] | null | null | null | backend/api/migrations/0001_initial.py | s1071539/claw-machine | dfc71207458b04e6fa14f670bfd0771a32efcff0 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2020-11-26 06:57
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Users',
fields=[
('user_id', models.Integer... | 35.571429 | 125 | 0.512909 | 155 | 1,743 | 5.722581 | 0.348387 | 0.182638 | 0.293123 | 0.351747 | 0.259301 | 0.259301 | 0.259301 | 0.173619 | 0.173619 | 0.173619 | 0 | 0.012965 | 0.336202 | 1,743 | 48 | 126 | 36.3125 | 0.753673 | 0.025818 | 0 | 0.243902 | 1 | 0 | 0.083137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02439 | 0.02439 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca82c646c69fcb1b0121b1e51f0a1fa14d5b0adc | 200 | py | Python | app.py | halimi/calculatorservice | caf43110213444724e191156c2b1b204c40e8a4d | [
"MIT"
] | null | null | null | app.py | halimi/calculatorservice | caf43110213444724e191156c2b1b204c40e8a4d | [
"MIT"
] | null | null | null | app.py | halimi/calculatorservice | caf43110213444724e191156c2b1b204c40e8a4d | [
"MIT"
] | null | null | null | from wsgiref.simple_server import make_server
from calculatorservice import main
if __name__ == '__main__':
app = main()
server = make_server('0.0.0.0', 6543, app)
server.serve_forever()
| 25 | 46 | 0.72 | 28 | 200 | 4.714286 | 0.535714 | 0.045455 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.17 | 200 | 7 | 47 | 28.571429 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca9bef912f8d149117e97f53d52cd5599403c20b | 138 | py | Python | benchmarks/micro/table.py | matteomarchiori/RT.js | 21360a291b4bfea34bc0c1f87ec193e47fc4508e | [
"MIT"
] | null | null | null | benchmarks/micro/table.py | matteomarchiori/RT.js | 21360a291b4bfea34bc0c1f87ec193e47fc4508e | [
"MIT"
] | null | null | null | benchmarks/micro/table.py | matteomarchiori/RT.js | 21360a291b4bfea34bc0c1f87ec193e47fc4508e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import pandas as pd
df = pd.read_csv('context_switch_overhead.csv')
print(df[['name', 'Mean', 'Std', 'Per Yield']])
| 17.25 | 47 | 0.673913 | 22 | 138 | 4.090909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.115942 | 138 | 7 | 48 | 19.714286 | 0.729508 | 0.123188 | 0 | 0 | 0 | 0 | 0.391667 | 0.225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca9d2095881b3be8dd4f16ee0e1088d9d145c006 | 370 | py | Python | spectrum_agents/noop.py | lukeprince20/spectrum-agents | ece04fbf18d3cda2af007625d82ea43e4f204ac8 | [
"MIT"
] | null | null | null | spectrum_agents/noop.py | lukeprince20/spectrum-agents | ece04fbf18d3cda2af007625d82ea43e4f204ac8 | [
"MIT"
] | null | null | null | spectrum_agents/noop.py | lukeprince20/spectrum-agents | ece04fbf18d3cda2af007625d82ea43e4f204ac8 | [
"MIT"
] | null | null | null | from spectrum_agents import Agent
class Noop(Agent):
"""
Similar to Incumbent, but always returns no operation (no-op)
"""
def decide(self, observation, reward):
if hasattr(observation, "__iter__"):
return tuple(None for _ in observation)
else:
return None
d... | 24.666667 | 65 | 0.621622 | 42 | 370 | 5.333333 | 0.761905 | 0.133929 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291892 | 370 | 14 | 66 | 26.428571 | 0.854962 | 0.164865 | 0 | 0 | 0 | 0 | 0.027304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0486689413fb88662ae75e86500fb6284d651780 | 15,352 | py | Python | kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_opsgenie_configs.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_opsgenie_configs.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_opsgenie_configs.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.20.7
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
fr... | 35.953162 | 247 | 0.676329 | 1,403 | 15,352 | 7.287954 | 0.120456 | 0.046161 | 0.328606 | 0.260538 | 0.593839 | 0.497506 | 0.45555 | 0.311883 | 0.136528 | 0.0622 | 0 | 0.02894 | 0.252736 | 15,352 | 426 | 248 | 36.037559 | 0.862361 | 0.509836 | 0 | 0.089888 | 1 | 0 | 0.090087 | 0.038224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168539 | false | 0 | 0.022472 | 0 | 0.314607 | 0.011236 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04b6212b02975954ff874ffdbf45f4c14ecc5127 | 75 | py | Python | comma_equals_operator.py | CvanderStoep/VideosSampleCode | 38a8d2538a041d5664d0040807ffac463d0fb79c | [
"MIT"
] | 285 | 2021-02-16T21:08:57.000Z | 2022-03-31T10:58:41.000Z | comma_equals_operator.py | CvanderStoep/VideosSampleCode | 38a8d2538a041d5664d0040807ffac463d0fb79c | [
"MIT"
] | 10 | 2021-05-01T17:20:50.000Z | 2022-03-09T21:46:46.000Z | comma_equals_operator.py | CvanderStoep/VideosSampleCode | 38a8d2538a041d5664d0040807ffac463d0fb79c | [
"MIT"
] | 96 | 2021-02-15T14:23:15.000Z | 2022-03-31T10:58:50.000Z | if __name__ == '__main__':
x = 1
y = [2]
x, = y
print(x)
| 9.375 | 26 | 0.4 | 11 | 75 | 2 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.426667 | 75 | 7 | 27 | 10.714286 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04bb46d689d19bd948522663f6783946155852d5 | 485 | py | Python | plexapi/compat.py | Hellowlol/plexapi | 313fef4de80fec5a187f71b76e53c3333efcb2fd | [
"BSD-3-Clause"
] | 4 | 2016-11-18T07:01:03.000Z | 2018-05-03T07:45:36.000Z | plexapi/compat.py | phongsathorn2540/plexapi | 313fef4de80fec5a187f71b76e53c3333efcb2fd | [
"BSD-3-Clause"
] | 1 | 2016-12-06T15:03:09.000Z | 2016-12-06T15:03:09.000Z | plexapi/compat.py | Hellowlol/plexapi | 313fef4de80fec5a187f71b76e53c3333efcb2fd | [
"BSD-3-Clause"
] | 4 | 2018-01-04T20:15:26.000Z | 2021-01-26T20:32:28.000Z | # -*- coding: utf-8 -*-
# flake8:noqa
"""
Python 2/3 compatability
Always try Py3 first
"""
try:
from urllib.parse import urlencode
except ImportError:
from urllib import urlencode
try:
from urllib.parse import quote
except ImportError:
from urllib import quote
try:
from urllib.parse import unquo... | 17.321429 | 41 | 0.740206 | 60 | 485 | 5.983333 | 0.383333 | 0.167131 | 0.233983 | 0.150418 | 0.476323 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012887 | 0.2 | 485 | 27 | 42 | 17.962963 | 0.912371 | 0.164948 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
04cd24c0c10bb6a3400bc56b0c8e2061f9d44ee2 | 1,198 | py | Python | 1244/solution.py | bossm0n5t3r/BOJ | 03132388a0c76ef66d6b0dec2053aeca65c4aee6 | [
"MIT"
] | 2 | 2020-01-14T07:27:25.000Z | 2020-02-12T07:49:58.000Z | 1244/solution.py | bossm0n5t3r/BOJ | 03132388a0c76ef66d6b0dec2053aeca65c4aee6 | [
"MIT"
] | 1 | 2020-01-14T07:29:30.000Z | 2021-11-28T11:29:08.000Z | 1244/solution.py | bossm0n5t3r/BOJ | 03132388a0c76ef66d6b0dec2053aeca65c4aee6 | [
"MIT"
] | null | null | null | import sys
def sol():
input = sys.stdin.readline
switch_count = int(input())
switch_status = [0] + list(map(int, input().split()))
student_count = int(input())
student_data = [list(map(int, input().split())) for _ in range(student_count)]
for data in student_data:
gender, number = data... | 33.277778 | 82 | 0.570952 | 157 | 1,198 | 4.121019 | 0.242038 | 0.315301 | 0.222566 | 0.176198 | 0.330757 | 0.179289 | 0.179289 | 0.179289 | 0.120556 | 0 | 0 | 0.020384 | 0.30384 | 1,198 | 35 | 83 | 34.228571 | 0.755396 | 0 | 0 | 0 | 0 | 0 | 0.007513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.103448 | 0.137931 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04dace431d77f0dc73d54430007231d2246b1335 | 5,791 | py | Python | viewpoint/feeds.py | callowayproject/django-viewpoint | e75e16febb5948a4434d3417c162031948cb0ed8 | [
"Apache-2.0"
] | 1 | 2016-08-15T00:59:39.000Z | 2016-08-15T00:59:39.000Z | viewpoint/feeds.py | callowayproject/django-viewpoint | e75e16febb5948a4434d3417c162031948cb0ed8 | [
"Apache-2.0"
] | null | null | null | viewpoint/feeds.py | callowayproject/django-viewpoint | e75e16febb5948a4434d3417c162031948cb0ed8 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from django.contrib.syndication.feeds import Feed
from django.contrib.syndication.views import Feed as FeedView
from django.contrib.contenttypes.models import ContentType
from django.conf import settings
from django.contrib.sites.models import Site
from django.utils.feedgenerator import Rs... | 34.676647 | 99 | 0.612502 | 718 | 5,791 | 4.774373 | 0.153203 | 0.035006 | 0.045508 | 0.029755 | 0.672987 | 0.663652 | 0.656651 | 0.656651 | 0.631855 | 0.595099 | 0 | 0.010005 | 0.29235 | 5,791 | 167 | 100 | 34.676647 | 0.826501 | 0.026938 | 0 | 0.520661 | 0 | 0 | 0.058813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.223141 | false | 0 | 0.082645 | 0.115702 | 0.661157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
04fc94a7f1042ba67a36e6d54ca170721f15463b | 4,175 | py | Python | plab/lasers/newport_venturi.py | joamatab/photonic-coupling-drivers | c12581d8e2158a292e1c585e45c0207c8129c0f1 | [
"MIT"
] | null | null | null | plab/lasers/newport_venturi.py | joamatab/photonic-coupling-drivers | c12581d8e2158a292e1c585e45c0207c8129c0f1 | [
"MIT"
] | null | null | null | plab/lasers/newport_venturi.py | joamatab/photonic-coupling-drivers | c12581d8e2158a292e1c585e45c0207c8129c0f1 | [
"MIT"
] | null | null | null | import pygpib as gpib
from plab.lasers.laser import Laser
import time
class NewportVenturi(Laser):
def __init__(self, gpib_num, gpib_dev_num, units="mW"):
self._dev = gpib.dev(gpib_num, gpib_dev_num)
self.set_power_units(units)
self._sleep = 0.1
def _write(self, cmd):
gpib.wri... | 31.628788 | 84 | 0.615569 | 605 | 4,175 | 3.966942 | 0.183471 | 0.075 | 0.086667 | 0.075 | 0.412083 | 0.268333 | 0.220833 | 0.1125 | 0.1125 | 0.075833 | 0 | 0.016998 | 0.253174 | 4,175 | 131 | 85 | 31.870229 | 0.752726 | 0.059401 | 0 | 0.043478 | 0 | 0 | 0.102937 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.282609 | false | 0 | 0.032609 | 0.130435 | 0.576087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b6bd47078cbd0eb9706d58fab2c1d0c4c75d31a7 | 639 | py | Python | aleph/tests/extractors/test_normalize.py | Ueland/aleph | d644e5f8b956c7186a59f3ce1c16798017961765 | [
"MIT"
] | 1 | 2019-06-18T21:35:59.000Z | 2019-06-18T21:35:59.000Z | aleph/tests/extractors/test_normalize.py | heartofstone/aleph | d66b6615d2bfa10c291c63754f53b468de8bebde | [
"MIT"
] | null | null | null | aleph/tests/extractors/test_normalize.py | heartofstone/aleph | d66b6615d2bfa10c291c63754f53b468de8bebde | [
"MIT"
] | null | null | null | from aleph.tests.util import TestCase
from aleph.logic.extractors.result import NamedResult
class TestNormalize(TestCase):
def test_clean_name(self):
assert NamedResult.clean_name(' ') is None
assert NamedResult.clean_name(None) is None
assert NamedResult.clean_name('xx') is None # too... | 39.9375 | 91 | 0.704225 | 83 | 639 | 5.313253 | 0.39759 | 0.163265 | 0.349206 | 0.412698 | 0.37415 | 0.145125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201878 | 639 | 15 | 92 | 42.6 | 0.864706 | 0.042254 | 0 | 0 | 0 | 0 | 0.161184 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b6c59aedda027fbf4b91d5ce5c723ac7bef622f6 | 361 | py | Python | arithmetic_03/test/test_days_to_years_weeks_days.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | null | null | null | arithmetic_03/test/test_days_to_years_weeks_days.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 2 | 2019-04-15T06:29:55.000Z | 2019-04-19T17:34:32.000Z | arithmetic_03/test/test_days_to_years_weeks_days.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 1 | 2019-11-19T04:51:18.000Z | 2019-11-19T04:51:18.000Z | import pytest
from ..convert_days_to_years_weeks_and_days_passed import days_to_years_weeks_days
@pytest.mark.parametrize('days, expected', [
(375, (1, 1, 3)),
(240, (0, 34, 2)),
(765, (2, 5, 0)),
(771, (2, 5, 6))
])
def test_days_to_years_weeks_days(days, expected):
actual = days_to_years_weeks_... | 24.066667 | 82 | 0.67867 | 57 | 361 | 3.947368 | 0.491228 | 0.106667 | 0.195556 | 0.284444 | 0.302222 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0.083893 | 0.174515 | 361 | 14 | 83 | 25.785714 | 0.671141 | 0 | 0 | 0 | 0 | 0 | 0.038781 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0.090909 | 0.181818 | 0 | 0.272727 | 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 | 0 | 0 | 0 | 3 |
b6fa0c0eb02289718feb7158e6a6f8eee855343b | 310 | py | Python | Gem/Codec.py | AmitGreen/Gem.Unsquashed | c51a82b4a3ed35e516126f406488923a86ef26e5 | [
"MIT"
] | null | null | null | Gem/Codec.py | AmitGreen/Gem.Unsquashed | c51a82b4a3ed35e516126f406488923a86ef26e5 | [
"MIT"
] | null | null | null | Gem/Codec.py | AmitGreen/Gem.Unsquashed | c51a82b4a3ed35e516126f406488923a86ef26e5 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2017 Amit Green. All rights reserved.
#
@gem('Gem.Codec')
def gem():
require_gem('Gem.Import')
PythonCodec = import_module('codecs')
python_encode_ascii = PythonCodec.getencoder('ascii')
@export
def encode_ascii(s):
return python_encode_ascii(s)[0]
| 19.375 | 57 | 0.648387 | 38 | 310 | 5.105263 | 0.631579 | 0.170103 | 0.175258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020747 | 0.222581 | 310 | 15 | 58 | 20.666667 | 0.784232 | 0.167742 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b6fbd21958b4036a13c89be9fe3169978326cfca | 107 | py | Python | Python Programs/Sum of 2 numbers.py | fe2o3Akshay/letshack | a72a29f8916731765efa518ba9cf54f102e2bc97 | [
"MIT"
] | 8 | 2020-10-02T15:20:45.000Z | 2020-10-13T07:00:05.000Z | Python Programs/Sum of 2 numbers.py | fe2o3Akshay/letshack | a72a29f8916731765efa518ba9cf54f102e2bc97 | [
"MIT"
] | 6 | 2020-10-04T05:39:31.000Z | 2020-10-17T12:32:51.000Z | Python Programs/Sum of 2 numbers.py | fe2o3Akshay/letshack | a72a29f8916731765efa518ba9cf54f102e2bc97 | [
"MIT"
] | 96 | 2020-10-04T04:55:56.000Z | 2020-10-30T09:56:05.000Z | num1 = 1.5
num2 = 6.3
sum = num1 + num2
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
| 11.888889 | 62 | 0.570093 | 22 | 107 | 2.772727 | 0.681818 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0.233645 | 107 | 8 | 63 | 13.375 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0.271028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e3b25861fb94c981244f3eb0bb7cfef23817062 | 298 | wsgi | Python | myapp.wsgi | metaperl/freegold-focus | 49cf86be57c76b265f711e337f85d8ee2b156301 | [
"MIT"
] | null | null | null | myapp.wsgi | metaperl/freegold-focus | 49cf86be57c76b265f711e337f85d8ee2b156301 | [
"MIT"
] | null | null | null | myapp.wsgi | metaperl/freegold-focus | 49cf86be57c76b265f711e337f85d8ee2b156301 | [
"MIT"
] | null | null | null | # -*- python -*-
# core
import os
import sys
# 3rd party
import cherrypy
# local
def full_path(*extra):
return os.path.join(os.path.dirname(__file__), *extra)
sys.path.insert(0, full_path())
import config
import myapp
application = cherrypy.Application(myapp.Root(), "/", config.config)
| 14.190476 | 68 | 0.704698 | 41 | 298 | 4.97561 | 0.560976 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.147651 | 298 | 20 | 69 | 14.9 | 0.795276 | 0.11745 | 0 | 0 | 0 | 0 | 0.003876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
8e4b7f47baaedb8b363aea4f7d027abef94928fa | 2,918 | py | Python | tests/test_parse_idx.py | DEVESHTARASIA/mnist-1 | 7e4d8e78a5c61bbbfb7f135f12d020e0597be3eb | [
"BSD-3-Clause"
] | null | null | null | tests/test_parse_idx.py | DEVESHTARASIA/mnist-1 | 7e4d8e78a5c61bbbfb7f135f12d020e0597be3eb | [
"BSD-3-Clause"
] | null | null | null | tests/test_parse_idx.py | DEVESHTARASIA/mnist-1 | 7e4d8e78a5c61bbbfb7f135f12d020e0597be3eb | [
"BSD-3-Clause"
] | null | null | null | import io
import unittest
try:
from unittest import mock
except ImportError:
import mock # py2
import numpy as np
import mnist
class TestParseIdx(unittest.TestCase):
"""Test that IDX files are parsed correctly"""
def test_empty_file_raises_exception(self):
fd = io.BytesIO(b'')
with s... | 36.475 | 71 | 0.596984 | 379 | 2,918 | 4.427441 | 0.208443 | 0.082241 | 0.062574 | 0.089392 | 0.787843 | 0.75447 | 0.706198 | 0.638856 | 0.638856 | 0.61919 | 0 | 0.076149 | 0.284441 | 2,918 | 79 | 72 | 36.936709 | 0.72749 | 0.031528 | 0 | 0.469697 | 0 | 0 | 0.114975 | 0.008517 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.151515 | false | 0 | 0.106061 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3cc772b6d8f96b49fe91023cf2b5f5714eeb191 | 357 | py | Python | mboot/connection/__init__.py | robin-nitrokey/pyMBoot | ffcfecb9b12ee80683b57395c9c12758f6596b96 | [
"BSD-3-Clause"
] | 4 | 2019-04-24T09:57:27.000Z | 2021-08-24T03:41:27.000Z | mboot/connection/__init__.py | robin-nitrokey/pyMBoot | ffcfecb9b12ee80683b57395c9c12758f6596b96 | [
"BSD-3-Clause"
] | 4 | 2019-04-24T09:59:09.000Z | 2022-02-09T06:33:51.000Z | mboot/connection/__init__.py | robin-nitrokey/pyMBoot | ffcfecb9b12ee80683b57395c9c12758f6596b96 | [
"BSD-3-Clause"
] | 4 | 2019-06-18T07:54:04.000Z | 2021-07-04T02:55:40.000Z | # Copyright (c) 2019 Martin Olejar
#
# SPDX-License-Identifier: BSD-3-Clause
# The BSD-3-Clause license for this file can be found in the LICENSE file included with this distribution
# or at https://spdx.org/licenses/BSD-3-Clause.html#licenseText
from .base import DevConnBase
from .usb import scan_usb, RawHid... | 32.454545 | 106 | 0.756303 | 57 | 357 | 4.701754 | 0.649123 | 0.044776 | 0.11194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023411 | 0.162465 | 357 | 10 | 107 | 35.7 | 0.87291 | 0.658263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f3d2d2eb4957bdfdc20f6d67a2c5509d5addce27 | 177 | py | Python | examples/misc/BUILD.py | jachris/cook | dd451e11f9aef05ba54bd57cf03e941526ffceef | [
"MIT"
] | 130 | 2017-07-27T15:29:50.000Z | 2021-10-04T22:10:23.000Z | examples/misc/BUILD.py | jachris/cook | dd451e11f9aef05ba54bd57cf03e941526ffceef | [
"MIT"
] | 25 | 2017-07-27T19:54:25.000Z | 2020-02-22T16:15:06.000Z | examples/misc/BUILD.py | jachris/cook | dd451e11f9aef05ba54bd57cf03e941526ffceef | [
"MIT"
] | 2 | 2017-08-02T02:52:28.000Z | 2017-08-03T06:27:31.000Z | from cook import misc
misc.run(
inputs=['copy_me.txt'],
outputs=['copied.txt'],
command=['cp', '$INPUTS', '$OUTPUTS'],
message='Doing that crazy copy stuff.'
)
| 19.666667 | 42 | 0.615819 | 23 | 177 | 4.695652 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 177 | 8 | 43 | 22.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3d94f294ad7343c758602f623484aafd1d6ff38 | 308 | py | Python | cla_backend/apps/core/mail/backends.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/apps/core/mail/backends.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/apps/core/mail/backends.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | # coding=utf-8
from django.conf import settings
from django.core.mail.backends import smtp
class TimeoutEmailBackend(smtp.EmailBackend):
def __init__(self, *args, **kwargs):
kwargs.setdefault("timeout", settings.EMAIL_TIMEOUT)
super(TimeoutEmailBackend, self).__init__(*args, **kwargs)
| 30.8 | 66 | 0.743506 | 36 | 308 | 6.111111 | 0.666667 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.13961 | 308 | 9 | 67 | 34.222222 | 0.826415 | 0.038961 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f3dd27fde9928137e5f22b7a3673a3b479afde1e | 650 | py | Python | util/OpenElevationsWrapper.py | data301-2021-winter1/project-group53 | b7dcb43527f6aac1f3e4028f1eb9757d1cb5fea0 | [
"MIT"
] | null | null | null | util/OpenElevationsWrapper.py | data301-2021-winter1/project-group53 | b7dcb43527f6aac1f3e4028f1eb9757d1cb5fea0 | [
"MIT"
] | null | null | null | util/OpenElevationsWrapper.py | data301-2021-winter1/project-group53 | b7dcb43527f6aac1f3e4028f1eb9757d1cb5fea0 | [
"MIT"
] | null | null | null | import requests
class OpenElevationsApi:
URI = "https://api.open-elevation.com/api/v1/lookup"
LOCATIONS = list()
def withLoc(self, lat, long) -> None:
self.LOCATIONS.append({
"latitude": lat,
"longitude": long
})
def withMultipleLoc(self, locations: list) -> No... | 26 | 79 | 0.601538 | 65 | 650 | 6.015385 | 0.523077 | 0.132992 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002141 | 0.281538 | 650 | 25 | 80 | 26 | 0.835118 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 0.03533 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f3e66e8653579622d471250c2301e937640f5a8a | 2,154 | py | Python | python/zpmanga/main.py | zpace/zpmanga | 320ac59e5cdf4c62b24165945d9a194b80ea07a2 | [
"BSD-3-Clause"
] | 5 | 2019-04-11T13:35:24.000Z | 2019-11-14T06:12:51.000Z | python/datamodel_parser/main.py | sdss/datamodel_parser | a4ff123ff7daf88e7402a7d50c38141d206e8054 | [
"BSD-3-Clause"
] | 49 | 2018-09-29T01:03:25.000Z | 2020-05-12T15:54:55.000Z | python/datamodel_parser/main.py | sdss/datamodel_parser | a4ff123ff7daf88e7402a7d50c38141d206e8054 | [
"BSD-3-Clause"
] | 5 | 2018-09-20T22:07:43.000Z | 2021-01-15T07:13:38.000Z | # encoding: utf-8
#
# @Author: José Sánchez-Gallego
# @Date: Oct 12, 2017
# @Filename: main.py
# @License: BSD 3-Clause
# @Copyright: José Sánchez-Gallego
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
import operat... | 24.202247 | 78 | 0.615599 | 259 | 2,154 | 4.957529 | 0.471042 | 0.073988 | 0.049844 | 0.042056 | 0.049844 | 0.049844 | 0.049844 | 0 | 0 | 0 | 0 | 0.015666 | 0.288765 | 2,154 | 88 | 79 | 24.477273 | 0.822454 | 0.595636 | 0 | 0.105263 | 0 | 0 | 0.024079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.263158 | 0 | 0.578947 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f3f143b6506e34de70d9253f5610badf3e0332aa | 708 | py | Python | scraping/xtremeloader.py | jeremejazz/my-scripts | ed1daf51b08e9679eaedac13731aa025f60c8aea | [
"MIT"
] | null | null | null | scraping/xtremeloader.py | jeremejazz/my-scripts | ed1daf51b08e9679eaedac13731aa025f60c8aea | [
"MIT"
] | 1 | 2019-12-11T07:45:14.000Z | 2019-12-11T10:58:55.000Z | scraping/xtremeloader.py | jeremejazz/my-scripts | ed1daf51b08e9679eaedac13731aa025f60c8aea | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Xtremeloader reloaded...
Lookup for lx products
sample curl calls:
curl -d 'state=productlist&substate=categorized&category=Cellphone+EPINs' -X POST 'https://loadxtreme.ph/cgi-bin/ajax.cgi'
(refer to xtremeloader repo)
List of cat:
[Cellphone EPINs]
[Internet / Broadband] - Inter... | 22.125 | 122 | 0.694915 | 86 | 708 | 5.627907 | 0.651163 | 0.057851 | 0.041322 | 0.053719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001658 | 0.148305 | 708 | 32 | 123 | 22.125 | 0.800995 | 0.909605 | 0 | 0 | 0 | 0 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6d0f7eba402ccdf8d01eb6b4e946a9403a84e13e | 1,364 | py | Python | tlib/platform/shell/__init__.py | txu2008/TXLIB | 402f3730e8710803675736e0f2e25719cd646409 | [
"MIT"
] | 1 | 2019-08-08T05:06:28.000Z | 2019-08-08T05:06:28.000Z | tlib/platform/shell/__init__.py | txu2008/TXLIB | 402f3730e8710803675736e0f2e25719cd646409 | [
"MIT"
] | 1 | 2020-03-24T05:53:20.000Z | 2020-03-24T05:53:20.000Z | tlib/platform/shell/__init__.py | txu2008/TXLIB | 402f3730e8710803675736e0f2e25719cd646409 | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/8/8 12:49
# @Author : Tao.Xu
# @Email : tao.xu2008@outlook.com
"""
:description:
shell related module
"""
# import os
# import time
# import sys
# import shutil
# import signal
# import random
# import hashlib
# import warnings
# import datetime
#... | 22.733333 | 76 | 0.767595 | 191 | 1,364 | 5.329843 | 0.39267 | 0.117878 | 0.220039 | 0.288802 | 0.471513 | 0.471513 | 0.227898 | 0.188605 | 0 | 0 | 0 | 0.01453 | 0.142229 | 1,364 | 59 | 77 | 23.118644 | 0.855556 | 0.293255 | 0 | 0 | 0 | 0 | 0.090715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0.041667 | 0.583333 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6d157b3fc2946aabe0bcffad6d1e657b19ba26a1 | 721 | py | Python | backend/doppelkopf/users.py | AlexRogalskiy/doppelkopf | cbfc95d56f102ab8e01e194603e9f4abf09e2e14 | [
"MIT"
] | 38 | 2018-02-14T19:28:00.000Z | 2022-03-30T07:28:12.000Z | backend/doppelkopf/users.py | hamvocke/doppelkopf | b820619be2e9424df5aca83491d96c0a0af6f2a5 | [
"MIT"
] | 57 | 2018-10-01T10:54:32.000Z | 2022-02-08T23:26:40.000Z | backend/doppelkopf/users.py | AlexRogalskiy/doppelkopf | cbfc95d56f102ab8e01e194603e9f4abf09e2e14 | [
"MIT"
] | 11 | 2018-12-17T17:02:31.000Z | 2022-03-10T17:47:07.000Z | from datetime import datetime
from flask_login import UserMixin
import doppelkopf.login
from .db import db
class User(db.Model, UserMixin):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
username = db.Column(db.String(32), unique=True, nullable=False)
created_at = db.Column(db.DateTime... | 31.347826 | 88 | 0.718447 | 100 | 721 | 5.04 | 0.45 | 0.063492 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006634 | 0.163662 | 721 | 22 | 89 | 32.772727 | 0.829187 | 0 | 0 | 0 | 0 | 0 | 0.047157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.266667 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
6d2bdff4763b57e8d4392d9ef59a1adf6a36a15b | 624 | py | Python | app/jobHistory/migrations/0004_auto_20190804_1411.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | 2 | 2020-01-18T00:39:35.000Z | 2020-01-18T02:03:26.000Z | app/jobHistory/migrations/0004_auto_20190804_1411.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | 18 | 2020-08-07T23:22:37.000Z | 2021-06-10T18:38:42.000Z | app/jobHistory/migrations/0004_auto_20190804_1411.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-04 21:11
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('jobHistory', '0003_auto_20190804_1403'),
]
operations = [
migrations.AlterModelOptions(
name='employer',
options={'verbose_n... | 24 | 56 | 0.573718 | 54 | 624 | 6.518519 | 0.62963 | 0.230114 | 0.264205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.304487 | 624 | 25 | 57 | 24.96 | 0.739631 | 0.072115 | 0 | 0.315789 | 1 | 0 | 0.22357 | 0.039861 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d3e977f7885f09f1b9e4ab8e08e38d8b8089d20 | 345 | py | Python | linked_list/node.py | MateuszMazurkiewicz/LinkedList | 7a371f3d51079d2391242245e19d369d03181b6f | [
"MIT"
] | null | null | null | linked_list/node.py | MateuszMazurkiewicz/LinkedList | 7a371f3d51079d2391242245e19d369d03181b6f | [
"MIT"
] | null | null | null | linked_list/node.py | MateuszMazurkiewicz/LinkedList | 7a371f3d51079d2391242245e19d369d03181b6f | [
"MIT"
] | null | null | null | class Node:
def __init__(self, value):
self.value = value
self.next = None
self.previous = None
def remove_node(self):
if self.next:
self.next.previous = self.previous
if self.previous:
self.previous.next = self.next
self.next = None
... | 23 | 46 | 0.55942 | 41 | 345 | 4.585366 | 0.268293 | 0.212766 | 0.191489 | 0.170213 | 0.297872 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353623 | 345 | 15 | 47 | 23 | 0.843049 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d53377896557b8992fda0c987918270f39da774 | 524 | py | Python | project_euler/problem_06/test_solutions.py | AjaySinghPanwar/Python | a0bac6ab65b70bca4886962bde8d4c922a90c63a | [
"MIT"
] | 14 | 2020-10-03T05:43:48.000Z | 2021-11-01T21:02:26.000Z | project_euler/problem_06/test_solutions.py | AjaySinghPanwar/Python | a0bac6ab65b70bca4886962bde8d4c922a90c63a | [
"MIT"
] | 1 | 2020-09-30T18:29:44.000Z | 2020-09-30T18:29:44.000Z | project_euler/problem_06/test_solutions.py | AjaySinghPanwar/Python | a0bac6ab65b70bca4886962bde8d4c922a90c63a | [
"MIT"
] | 12 | 2020-10-03T05:44:19.000Z | 2022-01-16T05:37:54.000Z | from .sol1 import solution as sol1
from .sol2 import solution as sol2
from .sol3 import solution as sol3
from .sol4 import solution as sol4
def test_solutions() -> None:
"""
>>> test_solutions()
"""
assert sol1(10) == sol2(10) == sol3(10) == sol4(10) == 2640
assert sol1(15) == sol2(15) == sol3(15)... | 27.578947 | 66 | 0.610687 | 75 | 524 | 4.12 | 0.32 | 0.18123 | 0.20712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187348 | 0.215649 | 524 | 18 | 67 | 29.111111 | 0.564477 | 0.038168 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.090909 | true | 0 | 0.363636 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6d599b089b5dafef5a470c767fbb6d3ff3b069e9 | 1,987 | py | Python | python/tests/test_pymarrow.py | Adriandorr/merge-arrow | 8cb2893d8f87b64639c38dc89e2ffda86276e419 | [
"Apache-2.0"
] | null | null | null | python/tests/test_pymarrow.py | Adriandorr/merge-arrow | 8cb2893d8f87b64639c38dc89e2ffda86276e419 | [
"Apache-2.0"
] | null | null | null | python/tests/test_pymarrow.py | Adriandorr/merge-arrow | 8cb2893d8f87b64639c38dc89e2ffda86276e419 | [
"Apache-2.0"
] | 1 | 2020-10-09T12:30:30.000Z | 2020-10-09T12:30:30.000Z | import unittest
import pyarrow
import pymarrow
import pandas as pd
class TestPyMarrow(unittest.TestCase):
def test_add_index(self):
batch = pyarrow.RecordBatch.from_arrays([
[5, 4, 3, 2, 1],
[1, 2, 3, 4, 5]
], ["a", "b"])
actual = pymarrow.add_index(batch, ["a"])
... | 36.127273 | 79 | 0.514847 | 262 | 1,987 | 3.755725 | 0.198473 | 0.018293 | 0.027439 | 0.036585 | 0.732724 | 0.727642 | 0.718496 | 0.653455 | 0.638211 | 0.638211 | 0 | 0.067809 | 0.294917 | 1,987 | 54 | 80 | 36.796296 | 0.634547 | 0 | 0 | 0.428571 | 0 | 0 | 0.05083 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.061224 | false | 0 | 0.081633 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d5aa17f78d0d846ab0a4f9bd8baf3e842736fe9 | 167 | py | Python | dunderscore/__init__.py | rectangletangle/dunderscore | 8ef1c2c404c6e2c626f0f675607cd459500bb83b | [
"BSD-3-Clause"
] | null | null | null | dunderscore/__init__.py | rectangletangle/dunderscore | 8ef1c2c404c6e2c626f0f675607cd459500bb83b | [
"BSD-3-Clause"
] | null | null | null | dunderscore/__init__.py | rectangletangle/dunderscore | 8ef1c2c404c6e2c626f0f675607cd459500bb83b | [
"BSD-3-Clause"
] | null | null | null | """ Dunderscore, useful functions for Python 2 or 3 """
from .__ import (chunked,
overlapped,
grouped,
pluralized)
| 23.857143 | 55 | 0.508982 | 14 | 167 | 5.928571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.413174 | 167 | 6 | 56 | 27.833333 | 0.826531 | 0.281437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed92921b24ba68e7344aa61ea555f536f388b525 | 148 | py | Python | programmers/Coding Test High-Score Kit/Tile Decoration.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | 1 | 2020-04-11T09:51:54.000Z | 2020-04-11T09:51:54.000Z | programmers/Coding Test High-Score Kit/Tile Decoration.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | null | null | null | programmers/Coding Test High-Score Kit/Tile Decoration.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | null | null | null | def solution(N):
n = 0; current = 1; nex = 1
while n <N-1:
current, nex = nex, current+nex
n +=1
return 2*(current+nex)
| 21.142857 | 39 | 0.513514 | 24 | 148 | 3.166667 | 0.416667 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.344595 | 148 | 6 | 40 | 24.666667 | 0.721649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
edac796116a7152a597fdef94ba34e5434c1e0e2 | 9,364 | py | Python | networkx/algorithms/approximation/tests/test_treewidth.py | rakschahsa/networkx | 6cac55b1064c3c346665f9281680fa3b66442ad0 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | Library/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_treewidth.py | gengyong/Carnets | 8930a14f69360d4db115a85ff9e0f6efa80fa2e7 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | site-packages/networkx/algorithms/approximation/tests/test_treewidth.py | Wristlebane/Pyto | 901ac307b68486d8289105c159ca702318bea5b0 | [
"MIT"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2018 by
# Rudolf-Andreas Floren <rudi.floren@gmail.com>
# Dominik Meier <dominik.meier@rwth-aachen.de>
# All rights reserved.
# BSD license.
import networkx as nx
from nose.tools import assert_equals, ok_
from networkx.algorithms.approximation import treewidth_min_... | 34.553506 | 79 | 0.604336 | 1,283 | 9,364 | 4.213562 | 0.132502 | 0.064743 | 0.138365 | 0.129486 | 0.811691 | 0.791158 | 0.689604 | 0.615612 | 0.603219 | 0.602109 | 0 | 0.024494 | 0.293678 | 9,364 | 270 | 80 | 34.681481 | 0.792864 | 0.176207 | 0 | 0.687831 | 0 | 0 | 0.007927 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.079365 | false | 0.010582 | 0.037037 | 0 | 0.126984 | 0.031746 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
edb6cc3cbd89fe1e48a350a3e7c970b99329e6e7 | 3,299 | py | Python | packtpub_grabber/get_todays_book.py | cchitsiang/py-scripts | 699b2a02f6dc14ebca7e1077f9faea31af6e2bb5 | [
"MIT"
] | 1 | 2017-02-20T20:56:54.000Z | 2017-02-20T20:56:54.000Z | packtpub_grabber/get_todays_book.py | cchitsiang/py-scripts | 699b2a02f6dc14ebca7e1077f9faea31af6e2bb5 | [
"MIT"
] | null | null | null | packtpub_grabber/get_todays_book.py | cchitsiang/py-scripts | 699b2a02f6dc14ebca7e1077f9faea31af6e2bb5 | [
"MIT"
] | null | null | null | import BeautifulSoup
import bs4
import json
import requests
import sys
try:
with open('config.json', 'r') as config_file:
config = json.load(config_file)
except IOError:
print "'config.json' does not appear to exist! Exiting"
sys.exit()
try:
config['email'] and config['password']
except KeyErro... | 34.726316 | 145 | 0.658988 | 466 | 3,299 | 4.542918 | 0.349785 | 0.005668 | 0.005668 | 0.0359 | 0.389702 | 0.346717 | 0.346717 | 0.318375 | 0.278696 | 0.278696 | 0 | 0.029194 | 0.179751 | 3,299 | 94 | 146 | 35.095745 | 0.753141 | 0.003941 | 0 | 0.266667 | 0 | 0.053333 | 0.384756 | 0.071646 | 0 | 0 | 0 | 0.010638 | 0 | 0 | null | null | 0.053333 | 0.066667 | null | null | 0.026667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
611386182ceec3c2621afc3c50f53b8ee42b8e28 | 1,077 | py | Python | turtc/path.py | richardbenson91477/pygames | 922193a6ad6eb5d673d9635af887426f8e18316a | [
"Unlicense"
] | 1 | 2021-12-04T01:18:54.000Z | 2021-12-04T01:18:54.000Z | turtc/path.py | richardbenson91477/pygames | 922193a6ad6eb5d673d9635af887426f8e18316a | [
"Unlicense"
] | null | null | null | turtc/path.py | richardbenson91477/pygames | 922193a6ad6eb5d673d9635af887426f8e18316a | [
"Unlicense"
] | 1 | 2021-09-12T11:31:10.000Z | 2021-09-12T11:31:10.000Z | ''' © 2014 Richard A. Benson <richardbenson91477@protonmail.com> '''
class Path:
# curves, curves_n
def __init__ (self):
self.curves = []
self.curves_n = 0
def curve_eval (self, t):
# NOTE: returns ints
if not self.curves_n:
return
curve_c = int(t)
... | 29.108108 | 68 | 0.460539 | 151 | 1,077 | 3.15894 | 0.298013 | 0.272537 | 0.251572 | 0.268344 | 0.406709 | 0.406709 | 0.092243 | 0 | 0 | 0 | 0 | 0.121805 | 0.382544 | 1,077 | 36 | 69 | 29.916667 | 0.593985 | 0.090994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
611bdfabee1817d1882cfb2ed0e966f91c07451f | 124 | py | Python | seo/views.py | omerturner/manakinproducts | 373116a473bfa741672757cf064fbe2147e100c9 | [
"MIT"
] | 1 | 2016-05-07T13:59:38.000Z | 2016-05-07T13:59:38.000Z | seo/views.py | omerturner/manakinproducts | 373116a473bfa741672757cf064fbe2147e100c9 | [
"MIT"
] | null | null | null | seo/views.py | omerturner/manakinproducts | 373116a473bfa741672757cf064fbe2147e100c9 | [
"MIT"
] | null | null | null | from .models import SEO
def get_seos(request):
context = {}
context['seos'] = SEO.objects.all()
return context
| 17.714286 | 39 | 0.653226 | 16 | 124 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217742 | 124 | 6 | 40 | 20.666667 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
61288d87a4bcc8fe127ebea75015670a5d817a6f | 180 | py | Python | sensemaking.py | kogsio/coursecatalog | 3d326f33e66bd3b58e47311eecfda5f96d474dff | [
"MIT"
] | null | null | null | sensemaking.py | kogsio/coursecatalog | 3d326f33e66bd3b58e47311eecfda5f96d474dff | [
"MIT"
] | null | null | null | sensemaking.py | kogsio/coursecatalog | 3d326f33e66bd3b58e47311eecfda5f96d474dff | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
data = open("./data.txt", "r")
soup = BeautifulSoup(data, 'html.parser')
courseTitles = soup.find_all('h3')
print(courseTitles)
print('Ran to end!') | 22.5 | 41 | 0.716667 | 25 | 180 | 5.12 | 0.76 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.111111 | 180 | 8 | 42 | 22.5 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.19337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b6507a1c6ac1e1bc82f3a8d07bf617993bf2b171 | 4,255 | py | Python | Hyena_Analyse_FeatureImportance.py | SysBioChalmers/Hyena | 1cc60b08e25c1d49c70e16808b047671d3706e55 | [
"MIT"
] | null | null | null | Hyena_Analyse_FeatureImportance.py | SysBioChalmers/Hyena | 1cc60b08e25c1d49c70e16808b047671d3706e55 | [
"MIT"
] | null | null | null | Hyena_Analyse_FeatureImportance.py | SysBioChalmers/Hyena | 1cc60b08e25c1d49c70e16808b047671d3706e55 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Script to analyse the feature importance of the final model
Part of the Hyena Toolbox (see https://github.com/SysBioChalmers/Hyena)
@author: Christoph S. Börlin; Chalmers University of Technology, Gothenburg Sweden
"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
fr... | 44.322917 | 121 | 0.719624 | 650 | 4,255 | 4.529231 | 0.247692 | 0.219429 | 0.156929 | 0.039742 | 0.407269 | 0.318954 | 0.222826 | 0.149796 | 0.097147 | 0.050951 | 0 | 0.02667 | 0.127615 | 4,255 | 96 | 122 | 44.322917 | 0.766433 | 0.233843 | 0 | 0 | 0 | 0 | 0.110767 | 0.016399 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.537037 | 0 | 0.537037 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b6519acc2709ff036cf215b723831cc3ae0d369b | 505 | py | Python | character/migrations/0005_auto_20200926_1845.py | cmerwin3/Adventure_Project | 1816978e952f1250049e8d1e7fcf172620903596 | [
"Apache-2.0"
] | null | null | null | character/migrations/0005_auto_20200926_1845.py | cmerwin3/Adventure_Project | 1816978e952f1250049e8d1e7fcf172620903596 | [
"Apache-2.0"
] | null | null | null | character/migrations/0005_auto_20200926_1845.py | cmerwin3/Adventure_Project | 1816978e952f1250049e8d1e7fcf172620903596 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.1 on 2020-09-26 23:45
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('character', '0004_auto_20200926_1843'),
]
operations = [
migrations.RenameField(
model_name='character',
old_name='item',
... | 21.041667 | 49 | 0.556436 | 50 | 505 | 5.44 | 0.66 | 0.154412 | 0.191176 | 0.220588 | 0.338235 | 0.338235 | 0.338235 | 0 | 0 | 0 | 0 | 0.091716 | 0.330693 | 505 | 23 | 50 | 21.956522 | 0.713018 | 0.089109 | 0 | 0.352941 | 1 | 0 | 0.152838 | 0.050218 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b695928d07eb83963ad12731cf223e777d9a4df2 | 743 | py | Python | webapi/serializer.py | erisenlee/django_rest | e358a80f7a7d9214decb7756e2a7838727d025a6 | [
"Apache-2.0"
] | null | null | null | webapi/serializer.py | erisenlee/django_rest | e358a80f7a7d9214decb7756e2a7838727d025a6 | [
"Apache-2.0"
] | null | null | null | webapi/serializer.py | erisenlee/django_rest | e358a80f7a7d9214decb7756e2a7838727d025a6 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import EndPoint,Host
class HostSerializer(serializers.HyperlinkedModelSerializer):
login_url = serializers.URLField(source='get_login_url', read_only=True)
link = serializers.URLField(source='get_absolute_url', read_only=True)
class Meta:
... | 41.277778 | 118 | 0.687752 | 79 | 743 | 6.240506 | 0.443038 | 0.048682 | 0.15213 | 0.170385 | 0.279919 | 0.279919 | 0.279919 | 0.279919 | 0.279919 | 0.279919 | 0 | 0 | 0.185734 | 743 | 18 | 119 | 41.277778 | 0.814876 | 0.021534 | 0 | 0.307692 | 0 | 0 | 0.207334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.153846 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b6a3e9206a18744de60afd8e0f8a0d6baf9441bb | 413 | py | Python | stk/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | null | null | null | stk/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | null | null | null | stk/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | 1 | 2021-04-28T20:10:54.000Z | 2021-04-28T20:10:54.000Z | # -*- coding: utf-8 -*-
"""
Sierra Toolkit (STK)
====================
This module provides a high-level interface to STK library
"""
from .api.util.parallel import Parallel
from .api.topology.topology import rank_t as StkRank
from .api.mesh.field import FieldState as StkState
from .api.mesh.selector import StkSelect... | 25.8125 | 58 | 0.738499 | 58 | 413 | 5.224138 | 0.603448 | 0.115512 | 0.072607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00277 | 0.125908 | 413 | 15 | 59 | 27.533333 | 0.836565 | 0.300242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b6b37529ab463fa00b4c34d537fbbadfe1d6b340 | 170 | py | Python | Exercises of Python courses World1-2 and 3/ex003 - Adding two numbers.py | RafaFurla/Python-Exercises | 8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7 | [
"MIT"
] | 1 | 2022-02-21T18:00:18.000Z | 2022-02-21T18:00:18.000Z | Exercises of Python courses World1-2 and 3/ex003 - Adding two numbers.py | RafaFurla/Python-Exercises | 8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7 | [
"MIT"
] | null | null | null | Exercises of Python courses World1-2 and 3/ex003 - Adding two numbers.py | RafaFurla/Python-Exercises | 8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7 | [
"MIT"
] | null | null | null | n1 = int(input('Input an integer number: '))
n2 = int(input('Input another integer number: '))
print('The sum between {} and {} is equal to: {}'.format(n1, n2, n1 + n2))
| 42.5 | 74 | 0.641176 | 27 | 170 | 4.037037 | 0.62963 | 0.146789 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.164706 | 170 | 3 | 75 | 56.666667 | 0.725352 | 0 | 0 | 0 | 0 | 0 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b6b3f49a967b1074ee75ffc5b7e74b3254ab8e7e | 194 | py | Python | Taras_Lepa/codewars_5/will.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | Taras_Lepa/codewars_5/will.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | Taras_Lepa/codewars_5/will.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | # Will you make it?
def zero_fuel(distance_to_pump, mpg, fuel_left):
if ( distance_to_pump - mpg*fuel_left )>0:
result = False
else:
result = True
return result
| 16.166667 | 48 | 0.623711 | 28 | 194 | 4.071429 | 0.678571 | 0.175439 | 0.245614 | 0.298246 | 0.438596 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.293814 | 194 | 11 | 49 | 17.636364 | 0.824818 | 0.087629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fcb02b3d2ded6653dde1950a6b93c79397ebeaca | 163 | py | Python | tests/main/test_main.py | oaguy1/votelist-api | 676e4b3b2e31ec8605e99d6b38ebbd124ffaea64 | [
"MIT"
] | null | null | null | tests/main/test_main.py | oaguy1/votelist-api | 676e4b3b2e31ec8605e99d6b38ebbd124ffaea64 | [
"MIT"
] | null | null | null | tests/main/test_main.py | oaguy1/votelist-api | 676e4b3b2e31ec8605e99d6b38ebbd124ffaea64 | [
"MIT"
] | null | null | null | import pytest
def test_root(myapp):
response = myapp.get('/')
assert response.status_code == 200
assert response.json() == {"message": "Hello World"} | 23.285714 | 56 | 0.662577 | 20 | 163 | 5.3 | 0.8 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.184049 | 163 | 7 | 56 | 23.285714 | 0.774436 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fcb42190cd3814bde7c635b492b8d3a20e6a0858 | 559 | py | Python | PythonBlog/dataModels/dto/friendLinkDTO.py | Nohysiwe/FastAPIBlogBackend | 2052c630a1a6e9bb9e6555f734c60020b107afc8 | [
"MIT"
] | 1 | 2022-02-09T06:58:44.000Z | 2022-02-09T06:58:44.000Z | PythonBlog/dataModels/dto/friendLinkDTO.py | Nohysiwe/FastAPIBlogBackend | 2052c630a1a6e9bb9e6555f734c60020b107afc8 | [
"MIT"
] | null | null | null | PythonBlog/dataModels/dto/friendLinkDTO.py | Nohysiwe/FastAPIBlogBackend | 2052c630a1a6e9bb9e6555f734c60020b107afc8 | [
"MIT"
] | null | null | null |
from pydantic import BaseModel, Field
__all__ = [
"FriendLinkDTO",
]
class FriendLinkDTO(BaseModel):
"""
友链列表
"""
id: int = Field(
... ,
title = "友链id"
)
linkName: str = Field(
... ,
title = "链接名"
)
linkAvat... | 15.108108 | 37 | 0.370304 | 36 | 559 | 5.638889 | 0.611111 | 0.246305 | 0.256158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.502683 | 559 | 37 | 38 | 15.108108 | 0.730216 | 0.007156 | 0 | 0.2 | 0 | 0 | 0.059813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fcb9d6a9dae7f3c44d7c82de3973c98d9fa932e1 | 562 | py | Python | src/keystore/javacard/applets/memorycard.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 279 | 2019-08-31T02:26:24.000Z | 2022-03-30T06:34:33.000Z | src/keystore/javacard/applets/memorycard.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 125 | 2019-09-17T10:48:57.000Z | 2022-03-11T11:06:51.000Z | src/keystore/javacard/applets/memorycard.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 58 | 2019-09-03T17:11:13.000Z | 2022-03-31T03:17:40.000Z | from .secureapplet import SecureApplet, SecureError
from .applet import ISOException
class MemoryCardApplet(SecureApplet):
GET_SECRET = b"\x05\x00"
SET_SECRET = b"\x05\x01"
NAME = "MemoryCard"
def __init__(self, connection):
aid = b"\xB0\x0B\x51\x11\xCB\x01"
super().__init__(connectio... | 24.434783 | 56 | 0.672598 | 72 | 562 | 5.041667 | 0.513889 | 0.07438 | 0.055096 | 0.104683 | 0.126722 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036446 | 0.218861 | 562 | 22 | 57 | 25.545455 | 0.790433 | 0 | 0 | 0 | 0 | 0 | 0.088968 | 0.042705 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fcc311962eea5ebb0c67493d835ddff1cc7f41c5 | 1,105 | py | Python | analysis.py | cynnjjs/HangingMobile | ec6388584843f6be63413c9723fe98c80275fcd9 | [
"MIT"
] | null | null | null | analysis.py | cynnjjs/HangingMobile | ec6388584843f6be63413c9723fe98c80275fcd9 | [
"MIT"
] | null | null | null | analysis.py | cynnjjs/HangingMobile | ec6388584843f6be63413c9723fe98c80275fcd9 | [
"MIT"
] | null | null | null | from lpsolver import intlinprog
class Structure:
'''A hanging mobile structure which is a set of points and their masses'''
def __init__(self, nodes, mass):
self.nodes = nodes;
self.mass = mass; # The mass of the i-th node is self.mass[i]
def internal_forces(self):
'''get internal forces.
A force is d... | 21.666667 | 75 | 0.650679 | 184 | 1,105 | 3.701087 | 0.315217 | 0.082232 | 0.023495 | 0.035242 | 0.088106 | 0.088106 | 0.088106 | 0.088106 | 0.088106 | 0.088106 | 0 | 0 | 0.20905 | 1,105 | 50 | 76 | 22.1 | 0.779176 | 0.349321 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.32 | 0.04 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fcc617d55fb9cc9a44cd0125d497e6a2513a6140 | 3,568 | py | Python | tests/test_create_anonymous_lists.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | null | null | null | tests/test_create_anonymous_lists.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | 1 | 2022-02-06T21:18:34.000Z | 2022-02-06T21:18:34.000Z | tests/test_create_anonymous_lists.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | null | null | null | import unittest
from abc import abstractmethod
from dataclasses import dataclass
from datetime import datetime, date
from typing import List
from autofaker import Autodata
class CreateTestCase(unittest.TestCase):
@abstractmethod
def getType(self):
pass
def create(self):
return Autodata.... | 23.946309 | 65 | 0.684137 | 382 | 3,568 | 6.290576 | 0.175393 | 0.054099 | 0.075739 | 0.139825 | 0.506866 | 0.441948 | 0.283812 | 0.248856 | 0.204328 | 0.204328 | 0 | 0.000727 | 0.22926 | 3,568 | 148 | 66 | 24.108108 | 0.873091 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.25 | false | 0.01 | 0.06 | 0.13 | 0.69 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fccde72768f77405842d995dddc531582680e26f | 483 | py | Python | storm_control/test/test_hal_tcp_gsp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 47 | 2015-02-11T16:05:54.000Z | 2022-03-26T14:13:12.000Z | storm_control/test/test_hal_tcp_gsp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 110 | 2015-01-30T03:53:41.000Z | 2021-11-03T15:58:44.000Z | storm_control/test/test_hal_tcp_gsp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 61 | 2015-01-09T18:31:27.000Z | 2021-12-21T13:07:51.000Z | #!/usr/bin/env python
"""
Test getting the stage position.
"""
from storm_control.test.hal.standardHalTest import halTest
def test_hal_gsp_1():
halTest(config_xml = "none_tcp_config.xml",
class_name = "GetStagePosition1",
test_module = "storm_control.test.hal.tcp_tests")
def test_hal_gsp... | 25.421053 | 61 | 0.687371 | 63 | 483 | 4.936508 | 0.47619 | 0.11254 | 0.154341 | 0.18328 | 0.501608 | 0.501608 | 0.501608 | 0.501608 | 0.263666 | 0 | 0 | 0.010336 | 0.198758 | 483 | 18 | 62 | 26.833333 | 0.793282 | 0.109731 | 0 | 0.444444 | 0 | 0 | 0.322275 | 0.151659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fcdff1f7e036a7b206feaa2cc45e4faf14a6a89a | 190 | py | Python | wagtail/contrib/settings/apps.py | stevedya/wagtail | 52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c | [
"BSD-3-Clause"
] | 1 | 2022-02-09T05:25:30.000Z | 2022-02-09T05:25:30.000Z | wagtail/contrib/settings/apps.py | stevedya/wagtail | 52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c | [
"BSD-3-Clause"
] | null | null | null | wagtail/contrib/settings/apps.py | stevedya/wagtail | 52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class WagtailSettingsAppConfig(AppConfig):
name = "wagtail.contrib.settings"
label = "wagtailsettings"
verbose_name = "Wagtail site settings"
| 23.75 | 42 | 0.757895 | 19 | 190 | 7.526316 | 0.789474 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163158 | 190 | 7 | 43 | 27.142857 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fce0d289f674d29efa7f832f5bad753351f3e14b | 413 | py | Python | bias-detect/bias_frontend/AvanadeIHP/app.py | zcabjwu/react-django-ml-app | 7fc39f39c68653279e103aca5b942672d030405f | [
"MIT"
] | null | null | null | bias-detect/bias_frontend/AvanadeIHP/app.py | zcabjwu/react-django-ml-app | 7fc39f39c68653279e103aca5b942672d030405f | [
"MIT"
] | null | null | null | bias-detect/bias_frontend/AvanadeIHP/app.py | zcabjwu/react-django-ml-app | 7fc39f39c68653279e103aca5b942672d030405f | [
"MIT"
] | null | null | null |
from flask import Flask, render_template,redirect,url_for
app = Flask(__name__)
@app.route('/')
def menu():
return redirect(url_for('index'))
@app.route('/menu')
def index():
return render_template('index.html')
@app.route('/menu/train')
def train():
return render_template('train.html')
... | 20.65 | 58 | 0.668281 | 53 | 413 | 5.018868 | 0.339623 | 0.210526 | 0.135338 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164649 | 413 | 20 | 59 | 20.65 | 0.771014 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.285714 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
fceb8ed1d7dfb9498484f155b929faac1bc65f7f | 536 | py | Python | pyjs/src/pyjs/lib/os.py | certik/pyjamas | 5bb72e63e50f09743ac986f4c9690ba50c499ba9 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-09-19T09:14:16.000Z | 2018-09-19T09:14:16.000Z | pyjs/src/pyjs/lib/os.py | andreyvit/pyjamas | 1154abe3340a84dba7530b8174aaddecfc1a0944 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | pyjs/src/pyjs/lib/os.py | andreyvit/pyjamas | 1154abe3340a84dba7530b8174aaddecfc1a0944 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-08-13T20:32:25.000Z | 2019-08-13T20:32:25.000Z |
def urandom(n):
# """urandom(n) -> str
# Return a string of n random bytes suitable for cryptographic use.
# """
#try:
# _urandomfd = open("/dev/urandom", O_RDONLY)
#except (OSError, IOError):
# raise NotImplementedError("/dev/urandom (or equivalent) not found")
#try:
# bs... | 28.210526 | 76 | 0.576493 | 62 | 536 | 4.919355 | 0.596774 | 0.098361 | 0.177049 | 0.222951 | 0.354098 | 0.354098 | 0.354098 | 0.354098 | 0 | 0 | 0 | 0.002591 | 0.279851 | 536 | 18 | 77 | 29.777778 | 0.787565 | 0.658582 | 0 | 0 | 0 | 0 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1e1f5c794c25ea197e3aa2ec39f2944376076019 | 6,073 | py | Python | google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v4/proto/services/feed_placeholder_view_service.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google... | 53.743363 | 1,207 | 0.823646 | 747 | 6,073 | 6.373494 | 0.269076 | 0.064692 | 0.073514 | 0.088217 | 0.382063 | 0.334594 | 0.236085 | 0.173493 | 0.120143 | 0.096198 | 0 | 0.044803 | 0.070147 | 6,073 | 112 | 1,208 | 54.223214 | 0.7983 | 0.055162 | 0 | 0.114943 | 1 | 0.034483 | 0.459955 | 0.423661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.114943 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1e205bd1709faa5e394bb9d778c6ecd2afde5f59 | 529 | py | Python | 5.2_CUSTOM_LIBRARY/custom_normalizer.py | pedroMoya/alaska_2_share | a5f958da45b97e8c8cdc0b868e4447dbc500c6f9 | [
"MIT"
] | null | null | null | 5.2_CUSTOM_LIBRARY/custom_normalizer.py | pedroMoya/alaska_2_share | a5f958da45b97e8c8cdc0b868e4447dbc500c6f9 | [
"MIT"
] | null | null | null | 5.2_CUSTOM_LIBRARY/custom_normalizer.py | pedroMoya/alaska_2_share | a5f958da45b97e8c8cdc0b868e4447dbc500c6f9 | [
"MIT"
] | null | null | null | # function that makes last pre-process step to images, preparing data for training the CNNs
import numpy as np
import tensorflow as tf
import cv2
from scipy.fftpack import dct
class custom_image_normalizer():
def normalize(self, local_image_rgb):
local_image_rgb = cv2.cvtColor(local_image_rgb, cv2.COLOR_... | 33.0625 | 91 | 0.716446 | 80 | 529 | 4.4375 | 0.575 | 0.169014 | 0.219718 | 0.090141 | 0.146479 | 0.146479 | 0 | 0 | 0 | 0 | 0 | 0.023697 | 0.202268 | 529 | 15 | 92 | 35.266667 | 0.817536 | 0.342155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1e3b3be8e8b39546b51daee853e1a7f0b2310f03 | 91 | py | Python | TestModule/Tproduct.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | 1 | 2017-07-28T03:42:29.000Z | 2017-07-28T03:42:29.000Z | TestModule/Tproduct.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | null | null | null | TestModule/Tproduct.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | null | null | null | def Tproduct(arg0, *args):
p = arg0
for arg in args:
p *= arg
return p
| 15.166667 | 26 | 0.516484 | 14 | 91 | 3.357143 | 0.642857 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.384615 | 91 | 5 | 27 | 18.2 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1e406b5ca8858de34dfabb3c200b1f6509b3caf6 | 31,775 | py | Python | pyboto3/ecr.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/ecr.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/ecr.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 35.227273 | 555 | 0.645256 | 3,630 | 31,775 | 5.625344 | 0.126722 | 0.023164 | 0.036729 | 0.044074 | 0.669785 | 0.629628 | 0.584378 | 0.555681 | 0.517385 | 0.49383 | 0 | 0.004998 | 0.288529 | 31,775 | 901 | 556 | 35.266371 | 0.898262 | 0.84085 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1e4f6589150550c86517b013b767c25136fcff82 | 1,025 | py | Python | src/yellowdog_client/model/node_search.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_search.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_search.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from typing import List, Optional
from .cloud_provider import CloudProvider
from .double_range import DoubleRange
from .instant_range import InstantRange
from .long_range import LongRange
from .node_status import NodeStatus
from .sort_direction import SortDirection
from .worker_status... | 34.166667 | 55 | 0.766829 | 110 | 1,025 | 7.081818 | 0.390909 | 0.098845 | 0.134788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159024 | 1,025 | 29 | 56 | 35.344828 | 0.903712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.346154 | 0 | 0.961538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1e940367ac28d6ea47a97d3ea6cfd065d7d131c2 | 222 | py | Python | profiler/profiler/domain/model_metrics.py | Hydrospheredata/hydro-profiler | bca177f8d71d9d8c93091f9a9fdf9a337582e194 | [
"Apache-2.0"
] | null | null | null | profiler/profiler/domain/model_metrics.py | Hydrospheredata/hydro-profiler | bca177f8d71d9d8c93091f9a9fdf9a337582e194 | [
"Apache-2.0"
] | 14 | 2021-11-22T18:07:28.000Z | 2022-01-14T08:51:45.000Z | profiler/profiler/domain/model_metrics.py | Hydrospheredata/hydro-profiler | bca177f8d71d9d8c93091f9a9fdf9a337582e194 | [
"Apache-2.0"
] | 1 | 2021-11-19T11:16:50.000Z | 2021-11-19T11:16:50.000Z | class ModelMetrics:
def __init__(self, model_name, model_version, metric_by_feature):
self.model_name = model_name
self.model_version = model_version
self.metrics_by_feature = metric_by_feature
| 37 | 69 | 0.743243 | 29 | 222 | 5.137931 | 0.413793 | 0.181208 | 0.174497 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198198 | 222 | 5 | 70 | 44.4 | 0.837079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1ea9e85022788423f3e15aa0d2c2a9556674b446 | 439 | py | Python | pyleecan/Methods/Output/XOutput/get_xoutput_ref.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Output/XOutput/get_xoutput_ref.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Output/XOutput/get_xoutput_ref.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | def get_xoutput_ref(self):
"""Return the reference XOutput (or Output) either from xoutput_ref or output_list
Parameters
----------
self : XOutput
A XOutput object
Returns
-------
xoutput_ref: XOutput
reference XOutput (or Output) (if defined)
"""
if self.xoutput_re... | 24.388889 | 86 | 0.640091 | 55 | 439 | 4.909091 | 0.436364 | 0.222222 | 0.155556 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264237 | 439 | 17 | 87 | 25.823529 | 0.835913 | 0.505695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1eaa91da7f6473f0d728185b79abb986b685c2fc | 1,813 | py | Python | storyboard/db/api/story_tags.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | storyboard/db/api/story_tags.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | storyboard/db/api/story_tags.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 30.216667 | 69 | 0.681743 | 246 | 1,813 | 4.898374 | 0.402439 | 0.092946 | 0.029876 | 0.063071 | 0.328631 | 0.250622 | 0.209129 | 0.209129 | 0.209129 | 0.209129 | 0 | 0.005735 | 0.230557 | 1,813 | 59 | 70 | 30.728814 | 0.858065 | 0.305019 | 0 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.103448 | 0.137931 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1eb3a885eaa5f39d979bc9858ac43dd6265ceaed | 63 | py | Python | rapmedusa/__init__.py | gleighto/rapmedusa | c706a339b385127165b123f45f8df89ce9147393 | [
"MIT"
] | 3 | 2015-05-15T03:57:28.000Z | 2020-03-26T12:48:26.000Z | rapmedusa/__init__.py | gleighto/rapmedusa | c706a339b385127165b123f45f8df89ce9147393 | [
"MIT"
] | null | null | null | rapmedusa/__init__.py | gleighto/rapmedusa | c706a339b385127165b123f45f8df89ce9147393 | [
"MIT"
] | null | null | null | import mapreduce; from mapreduce import *
__version__ = '1.0'
| 15.75 | 41 | 0.746032 | 8 | 63 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.15873 | 63 | 3 | 42 | 21 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1ed326e419258374b6a0617c5208c14318050eb4 | 231 | py | Python | conanfile.py | alexsharamet/SFML | 9a942fc493e34ea311f230ed16dcb8f9ba291019 | [
"MIT"
] | null | null | null | conanfile.py | alexsharamet/SFML | 9a942fc493e34ea311f230ed16dcb8f9ba291019 | [
"MIT"
] | null | null | null | conanfile.py | alexsharamet/SFML | 9a942fc493e34ea311f230ed16dcb8f9ba291019 | [
"MIT"
] | null | null | null | from conans import ConanFile, CMake
class ExampleSFML(ConanFile):
name = "ExampleSFML"
generators = "cmake", "cmake_find_package"
def requirements(self):
self.requires("sfml/2.5.1@bincrafters/stable")
| 25.666667 | 55 | 0.683983 | 26 | 231 | 6 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.203463 | 231 | 8 | 56 | 28.875 | 0.831522 | 0 | 0 | 0 | 0 | 0 | 0.282511 | 0.130045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
949d8c741badea21da68b22bba141c9cf650ba26 | 430 | py | Python | Modulo 1/029.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | 1 | 2022-03-22T22:36:48.000Z | 2022-03-22T22:36:48.000Z | Modulo 1/029.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | null | null | null | Modulo 1/029.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | null | null | null | #Escreva um programa que leia a velocidade de um carro.
velocidade = float(input('Velocidade: '))
# Se ele ultrapassar 80Km/h, mostre uma mensagem dizendo que ele foi multado
if velocidade > 80:
print(f'Passou a {velocidade} numa pista de 80 !!! \nVai pagar R${((velocidade-80)*30):.2f} de multa')
#A multa vai custa... | 53.75 | 106 | 0.723256 | 73 | 430 | 4.260274 | 0.671233 | 0.07074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044568 | 0.165116 | 430 | 8 | 107 | 53.75 | 0.821727 | 0.425581 | 0 | 0 | 0 | 0.2 | 0.636735 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
94b69ef6e5009c7c0db93acc8d6f09fe137c1280 | 125 | py | Python | Kobold/__init__.py | alecnunn/Kobold | 10105c71994628d5e47a3573f7c67266911f82e3 | [
"0BSD"
] | 1 | 2015-09-18T15:58:06.000Z | 2015-09-18T15:58:06.000Z | Kobold/__init__.py | alecnunn/Kobold | 10105c71994628d5e47a3573f7c67266911f82e3 | [
"0BSD"
] | null | null | null | Kobold/__init__.py | alecnunn/Kobold | 10105c71994628d5e47a3573f7c67266911f82e3 | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = 'Alec Nunn'
__email__ = 'alec.nunn@gmail.com'
__version__ = '0.1.0'
from . import Base | 17.857143 | 33 | 0.648 | 18 | 125 | 3.833333 | 0.833333 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.16 | 125 | 7 | 34 | 17.857143 | 0.619048 | 0.168 | 0 | 0 | 0 | 0 | 0.320388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
94b8cd4f940f6f3fd732825a87c1d7a04c161bfc | 945 | py | Python | p005.py | neong83/euler | 7d0a5867d0e574f517bff55f9b6920c0310ca98e | [
"MIT"
] | null | null | null | p005.py | neong83/euler | 7d0a5867d0e574f517bff55f9b6920c0310ca98e | [
"MIT"
] | null | null | null | p005.py | neong83/euler | 7d0a5867d0e574f517bff55f9b6920c0310ca98e | [
"MIT"
] | null | null | null | # Q: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
# . What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
# https://stackoverflow.com/questions/19348430/project-euler-getting-smallest-multiple-in-python
from ma... | 33.75 | 111 | 0.689947 | 149 | 945 | 4.241611 | 0.510067 | 0.143987 | 0.18038 | 0.050633 | 0.240506 | 0.174051 | 0.113924 | 0 | 0 | 0 | 0 | 0.052069 | 0.207407 | 945 | 27 | 112 | 35 | 0.791722 | 0.61164 | 0 | 0 | 0 | 0 | 0.050704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0.111111 | 0.444444 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 3 |
94cbb8dc2f062e50f2bd3a6f87b78102b2d2e665 | 7,748 | py | Python | ether_sql/constants/mainnet_dao.py | Rothens/ether_sql | fab15a34962735825756a2a2c206e2e13fae00a0 | [
"Apache-2.0"
] | 65 | 2018-05-10T14:15:55.000Z | 2022-03-06T07:33:20.000Z | ether_sql/constants/mainnet_dao.py | Rothens/ether_sql | fab15a34962735825756a2a2c206e2e13fae00a0 | [
"Apache-2.0"
] | 45 | 2018-05-17T15:11:23.000Z | 2021-09-10T13:09:07.000Z | ether_sql/constants/mainnet_dao.py | Rothens/ether_sql | fab15a34962735825756a2a2c206e2e13fae00a0 | [
"Apache-2.0"
] | 20 | 2018-06-03T20:20:02.000Z | 2022-03-06T07:32:58.000Z | # https://raw.githubusercontent.com/ethereum/go-ethereum/5f55d95aea433ef97c48ae927835d833772350de/params/dao.go
from web3.utils.formatters import hex_to_integer
from eth_utils import to_checksum_address
from ether_sql.globals import get_current_session
from ether_sql.models import StateDiff
MAINNET_DAO_BLOCK = 192000... | 79.876289 | 111 | 0.779685 | 463 | 7,748 | 12.790497 | 0.408207 | 0.124451 | 0.015198 | 0.018744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.432611 | 0.1008 | 7,748 | 96 | 112 | 80.708333 | 0.417396 | 0.014068 | 0 | 0 | 0 | 0 | 0.530706 | 0.36297 | 0 | 0 | 0.36297 | 0 | 0 | 1 | 0.011111 | false | 0 | 0.044444 | 0 | 0.055556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
94e3a32aed7fc515048a0b6da6489ffbc9df42f3 | 2,053 | py | Python | openaerostruct/tests/data_TN2563_fig18_19.py | bbahiam/OpenAeroStruct | 25d0e20a9ab9fafe82e28d80286e2fdc9cb050ae | [
"Apache-2.0"
] | null | null | null | openaerostruct/tests/data_TN2563_fig18_19.py | bbahiam/OpenAeroStruct | 25d0e20a9ab9fafe82e28d80286e2fdc9cb050ae | [
"Apache-2.0"
] | null | null | null | openaerostruct/tests/data_TN2563_fig18_19.py | bbahiam/OpenAeroStruct | 25d0e20a9ab9fafe82e28d80286e2fdc9cb050ae | [
"Apache-2.0"
] | 1 | 2020-03-30T15:35:07.000Z | 2020-03-30T15:35:07.000Z | import numpy as np
""" Test data for control surfaces """
dcl_ddelta_data = {
'str': { # straight wing
# span fraction q[psf] dcl_dda
'ail02': np.array([[10, 0.0018592],
[20, 0.0015529],
[25, 0.0013926],
[30, 0.00... | 38.018519 | 45 | 0.315149 | 186 | 2,053 | 3.456989 | 0.435484 | 0.108865 | 0.083981 | 0.093313 | 0.127527 | 0.127527 | 0.127527 | 0.127527 | 0.127527 | 0.127527 | 0 | 0.430052 | 0.529956 | 2,053 | 53 | 46 | 38.735849 | 0.236269 | 0.042864 | 0 | 0 | 0 | 0 | 0.029136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a21f47d4358743adc44781c72f15cc7c10112d1e | 1,541 | py | Python | lib/ofxtools/__init__.py | arda2525/fixofx | 1792d94697af682ca1d4a75cfefe98465d95a288 | [
"Apache-2.0"
] | 50 | 2015-01-01T00:14:04.000Z | 2020-11-26T04:44:30.000Z | lib/ofxtools/__init__.py | arda2525/fixofx | 1792d94697af682ca1d4a75cfefe98465d95a288 | [
"Apache-2.0"
] | 3 | 2016-01-31T17:14:41.000Z | 2017-03-01T13:36:17.000Z | lib/ofxtools/__init__.py | arda2525/fixofx | 1792d94697af682ca1d4a75cfefe98465d95a288 | [
"Apache-2.0"
] | 15 | 2015-10-29T09:04:21.000Z | 2022-01-19T17:33:25.000Z | # Copyright 2005-2010 Wesabe, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 37.585366 | 75 | 0.698897 | 219 | 1,541 | 4.885845 | 0.52968 | 0.056075 | 0.039252 | 0.029907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012225 | 0.203764 | 1,541 | 40 | 76 | 38.525 | 0.859821 | 0.536016 | 0 | 0 | 0 | 0 | 0.095101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a22629ecf9c73780c5b573b2aa1d05bb981dbfff | 118 | py | Python | Pycharm_Project/0422/hashlibModule_Study.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | Pycharm_Project/0422/hashlibModule_Study.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | Pycharm_Project/0422/hashlibModule_Study.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | import hashlib
obj = hashlib.md5()
obj = hashlib.sha256()
obj.update("hello".encode("utf-8"))
print(obj.hexdigest()) | 16.857143 | 35 | 0.70339 | 17 | 118 | 4.882353 | 0.705882 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0.09322 | 118 | 7 | 36 | 16.857143 | 0.728972 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bf42325433881cc863740cee2acfa75c470f9dcd | 18,315 | py | Python | website_api_loader.py | BadWolf1023/Lounge-Season-Reset-Updater-Bot | 39374afb88805a345121954b3f2dc66571f3cdbd | [
"MIT"
] | null | null | null | website_api_loader.py | BadWolf1023/Lounge-Season-Reset-Updater-Bot | 39374afb88805a345121954b3f2dc66571f3cdbd | [
"MIT"
] | null | null | null | website_api_loader.py | BadWolf1023/Lounge-Season-Reset-Updater-Bot | 39374afb88805a345121954b3f2dc66571f3cdbd | [
"MIT"
] | null | null | null | '''
Created on Aug 21, 2021
@author: willg
'''
import CustomExceptions
import core_data_loader
import common
from typing import List
from datetime import datetime
RT_PLAYER_DATA_API_URL = "https://www.mkwlounge.gg/api/ladderplayer.php?ladder_id=1&all=1"
CT_PLAYER_DATA_API_URL = "https://www.mkwlounge.gg/api/ladderplay... | 56.180982 | 227 | 0.691073 | 2,366 | 18,315 | 4.91082 | 0.065089 | 0.061279 | 0.026508 | 0.019279 | 0.892676 | 0.802221 | 0.722782 | 0.672777 | 0.623117 | 0.564334 | 0 | 0.002716 | 0.2362 | 18,315 | 326 | 228 | 56.180982 | 0.827865 | 0.00961 | 0 | 0.395437 | 0 | 0.007605 | 0.076287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015209 | false | 0 | 0.019011 | 0 | 0.190114 | 0.072243 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bf7c908c44f85c601016cedf73cd1859ab44a650 | 506 | py | Python | rl/gym_converter.py | ebola777/gym-demo | 6e075870020303fc073515df79f9a8da655d5dc3 | [
"MIT"
] | null | null | null | rl/gym_converter.py | ebola777/gym-demo | 6e075870020303fc073515df79f9a8da655d5dc3 | [
"MIT"
] | null | null | null | rl/gym_converter.py | ebola777/gym-demo | 6e075870020303fc073515df79f9a8da655d5dc3 | [
"MIT"
] | null | null | null | '''The converter between RL raw data and OpenAI Gym
'''
import gym
import numpy as np
def get_state_set(gym_env):
return _gym_space_to_set(gym_env.observation_space)
def get_action_set(gym_env):
return _gym_space_to_set(gym_env.action_space)
def _gym_space_to_set(space):
if isinstance(space, gym.spaces.Disc... | 23 | 70 | 0.743083 | 79 | 506 | 4.43038 | 0.518987 | 0.068571 | 0.102857 | 0.111429 | 0.194286 | 0.194286 | 0.194286 | 0.194286 | 0.194286 | 0.194286 | 0 | 0 | 0.164032 | 506 | 21 | 71 | 24.095238 | 0.827423 | 0.094862 | 0 | 0 | 0 | 0 | 0.133038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bf8825e2b85d2bf7ecc73565055a4db1e99ba969 | 1,542 | py | Python | Rbx1cnc/Axis.py | equinor/rbx1-cnc | 3e359ddb84c0f77511f7c173f4213d6df774e003 | [
"MIT"
] | null | null | null | Rbx1cnc/Axis.py | equinor/rbx1-cnc | 3e359ddb84c0f77511f7c173f4213d6df774e003 | [
"MIT"
] | null | null | null | Rbx1cnc/Axis.py | equinor/rbx1-cnc | 3e359ddb84c0f77511f7c173f4213d6df774e003 | [
"MIT"
] | null | null | null | import asyncio
class NullAxis():
def isBusy(self):
return False
def getPosition(self):
return 0
def goTo(self, pos):
pass
class Axis():
def __init__(self, min, max, driver):
self._min = min
self._max = max
self._driver = driver
... | 23.363636 | 58 | 0.536965 | 177 | 1,542 | 4.451977 | 0.237288 | 0.088832 | 0.088832 | 0.072335 | 0.205584 | 0.076142 | 0.076142 | 0 | 0 | 0 | 0 | 0.013065 | 0.354734 | 1,542 | 66 | 59 | 23.363636 | 0.778894 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.306122 | false | 0.020408 | 0.020408 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bfb5ef663fe55e909021b8f90f733950eabcea01 | 197 | py | Python | api/app/models/__init__.py | wafer-bw/generic-flask-api | b4ad6ac1ef3cab2d4e91f13a1fd1664f9de1fe6c | [
"MIT"
] | 2 | 2019-11-08T16:57:44.000Z | 2020-01-30T18:24:24.000Z | api/app/models/__init__.py | wafer-bw/generic-flask-api | b4ad6ac1ef3cab2d4e91f13a1fd1664f9de1fe6c | [
"MIT"
] | null | null | null | api/app/models/__init__.py | wafer-bw/generic-flask-api | b4ad6ac1ef3cab2d4e91f13a1fd1664f9de1fe6c | [
"MIT"
] | 1 | 2019-11-04T13:30:03.000Z | 2019-11-04T13:30:03.000Z | """
All Models are listed here for import or dynamic/generic use
"""
from app.models.users import Users
from app.models.fruits import Fruits
models = {
"users": Users,
"fruits": Fruits,
} | 17.909091 | 60 | 0.700508 | 28 | 197 | 4.928571 | 0.535714 | 0.101449 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187817 | 197 | 11 | 61 | 17.909091 | 0.8625 | 0.304569 | 0 | 0 | 0 | 0 | 0.084615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bfc8700ae863a93d8d3de54f419cbd6190bc06f5 | 166 | py | Python | treespeed.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | treespeed.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | treespeed.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | import random, sys
from avl import AVLTree
rvals = list({random.randint(0, sys.maxsize) for x in range(5000)})
tree = AVLTree()
for val in rvals:
tree.insert(val)
| 18.444444 | 67 | 0.722892 | 28 | 166 | 4.285714 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.156627 | 166 | 8 | 68 | 20.75 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
44ac050254e108da488a1e46ce73dcd54b91f411 | 630 | py | Python | quest/forms.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | null | null | null | quest/forms.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | null | null | null | quest/forms.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | 1 | 2021-04-12T11:43:38.000Z | 2021-04-12T11:43:38.000Z | from django import forms
from utils import language_choices
from tagging.forms import TagField
class AddSnippetForm(forms.Form):
title = forms.CharField(required=True, max_length=100)
explanation = forms.CharField(required=True, max_length=200)
code = forms.CharField(required=True, widget=forms.Textarea({... | 45 | 92 | 0.75873 | 80 | 630 | 5.9 | 0.4625 | 0.152542 | 0.186441 | 0.220339 | 0.279661 | 0.222458 | 0 | 0 | 0 | 0 | 0 | 0.027223 | 0.125397 | 630 | 14 | 93 | 45 | 0.829401 | 0 | 0 | 0 | 0 | 0 | 0.019017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
44be7edc9f6dd9b9ac44e178dacad52403e927cc | 605 | py | Python | ctzs/accounts/forms.py | dbms-ctzs/sage | 4aea13a8706ffa71f0c37b544cfd93b4e271b6a5 | [
"MIT"
] | null | null | null | ctzs/accounts/forms.py | dbms-ctzs/sage | 4aea13a8706ffa71f0c37b544cfd93b4e271b6a5 | [
"MIT"
] | 13 | 2021-03-30T14:09:30.000Z | 2022-01-13T02:49:10.000Z | ctzs/accounts/forms.py | dbms-ctzs/sage | 4aea13a8706ffa71f0c37b544cfd93b4e271b6a5 | [
"MIT"
] | 3 | 2020-04-22T16:27:59.000Z | 2020-10-10T04:47:55.000Z | from django.forms import ModelForm
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
from django import forms
from .models import Profile, Comment
class CreateUserForm(UserCreationForm):
class Meta:
model=User
fields=['username','email','password1',... | 33.611111 | 156 | 0.694215 | 69 | 605 | 6.086957 | 0.550725 | 0.095238 | 0.080952 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00996 | 0.170248 | 605 | 18 | 157 | 33.611111 | 0.826693 | 0 | 0 | 0.142857 | 0 | 0 | 0.155116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.357143 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
44c3522633eb8f6a5578bdf8888a1257b497ea11 | 189 | py | Python | taguette/__init__.py | hilljairus/taguette | a51afa3d7b535332489f89d60b4a0ef2ce0e927b | [
"BSD-3-Clause"
] | null | null | null | taguette/__init__.py | hilljairus/taguette | a51afa3d7b535332489f89d60b4a0ef2ce0e927b | [
"BSD-3-Clause"
] | null | null | null | taguette/__init__.py | hilljairus/taguette | a51afa3d7b535332489f89d60b4a0ef2ce0e927b | [
"BSD-3-Clause"
] | 1 | 2022-01-20T09:16:51.000Z | 2022-01-20T09:16:51.000Z | __version__ = '1.1.1'
from gettext import NullTranslations
trans = NullTranslations()
del NullTranslations
_exact_version = __version__
def exact_version():
return _exact_version
| 13.5 | 36 | 0.783069 | 21 | 189 | 6.428571 | 0.52381 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.153439 | 189 | 13 | 37 | 14.538462 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.026455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
44dd847b3011fb68b97a88e22e8884a8f20920ae | 2,118 | py | Python | Week 5 - Object Oriented Programming/Coordinate.py | marwan1023/MITX.6.00.1x | f054fe1a64c0868668998d1cd44d6bb3c5e431b3 | [
"CNRI-Python"
] | null | null | null | Week 5 - Object Oriented Programming/Coordinate.py | marwan1023/MITX.6.00.1x | f054fe1a64c0868668998d1cd44d6bb3c5e431b3 | [
"CNRI-Python"
] | null | null | null | Week 5 - Object Oriented Programming/Coordinate.py | marwan1023/MITX.6.00.1x | f054fe1a64c0868668998d1cd44d6bb3c5e431b3 | [
"CNRI-Python"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Dec 12 01:33:05 2017
@author: Mayur
"""
# =============================================================================
# Exercise: coordinate
#
# Consider the following code from the last lecture video:
#
# class Coordinate(object):
# def __init__(self, x... | 33.09375 | 83 | 0.546742 | 262 | 2,118 | 4.282443 | 0.362595 | 0.049911 | 0.057041 | 0.067736 | 0.522282 | 0.522282 | 0.502674 | 0.502674 | 0.502674 | 0.502674 | 0 | 0.009121 | 0.27526 | 2,118 | 64 | 84 | 33.09375 | 0.721824 | 0.680831 | 0 | 0 | 0 | 0 | 0.028319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.357143 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
44f7b170ab8ea927bebc91879e68047a55d6d4ba | 129 | py | Python | config_web/pseudocap_go.py | NikkiBytes/pending.api | 3c83bb8e413c3032a3a4539d19a779b5f0b67650 | [
"Apache-2.0"
] | 3 | 2019-02-17T23:36:35.000Z | 2022-03-01T16:43:06.000Z | config_web/pseudocap_go.py | NikkiBytes/pending.api | 3c83bb8e413c3032a3a4539d19a779b5f0b67650 | [
"Apache-2.0"
] | 56 | 2019-01-26T16:34:12.000Z | 2022-03-23T06:57:03.000Z | config_web/pseudocap_go.py | NikkiBytes/pending.api | 3c83bb8e413c3032a3a4539d19a779b5f0b67650 | [
"Apache-2.0"
] | 6 | 2020-10-22T17:37:54.000Z | 2022-03-01T16:56:55.000Z |
ES_HOST = 'localhost:9200'
ES_INDEX = 'pending-pseudocap_go'
ES_DOC_TYPE = 'gene'
API_PREFIX = 'pseudocap_go'
API_VERSION = ''
| 16.125 | 33 | 0.736434 | 19 | 129 | 4.578947 | 0.736842 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.131783 | 129 | 7 | 34 | 18.428571 | 0.741071 | 0 | 0 | 0 | 0 | 0 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
44fc4dbba54b02ca4d184294f2b42aa9ec5d541d | 872 | py | Python | bootleg/embeddings/word_embeddings/base_sent_emb.py | mleszczy/bootleg | 162d74001cdfbbe146753393641d549e0328acb1 | [
"Apache-2.0"
] | 1 | 2021-01-11T18:40:09.000Z | 2021-01-11T18:40:09.000Z | bootleg/embeddings/word_embeddings/base_sent_emb.py | mleszczy/bootleg | 162d74001cdfbbe146753393641d549e0328acb1 | [
"Apache-2.0"
] | null | null | null | bootleg/embeddings/word_embeddings/base_sent_emb.py | mleszczy/bootleg | 162d74001cdfbbe146753393641d549e0328acb1 | [
"Apache-2.0"
] | null | null | null | """Base sentence embedding class"""
import torch.nn as nn
from bootleg.utils import logging_utils
class BaseSentEmbedding(nn.Module):
"""
Base sentence embedding class. We split the word embedding from the sentence encoder, similar to BERT.
"""
def __init__(self, emb_args, main_args, word_emb_dim, wo... | 29.066667 | 106 | 0.667431 | 112 | 872 | 4.9375 | 0.491071 | 0.0434 | 0.075949 | 0.094033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240826 | 872 | 30 | 107 | 29.066667 | 0.835347 | 0.151376 | 0 | 0 | 0 | 0 | 0.054167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7820f00bc47b9a319cdfa1eb3e9738b344741d4b | 137 | py | Python | module3/0homework/course_system/manage.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | module3/0homework/object_practice23-27/manage.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | module3/0homework/object_practice23-27/manage.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | # -*- coding: utf-8 -*-
# @Time : 2018/12/11 19:44
# @Author : Xiao
from bin.main import run
if __name__ == "__main__":
run() | 13.7 | 29 | 0.562044 | 20 | 137 | 3.45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 0.248175 | 137 | 10 | 30 | 13.7 | 0.543689 | 0.474453 | 0 | 0 | 0 | 0 | 0.115942 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
784e85533dc379298a1df24613b37b934600bb89 | 2,321 | py | Python | jacdac/character_screen/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/character_screen/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/character_screen/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file. Do not edit.
from jacdac.bus import Bus, Client
from .constants import *
from typing import Optional
class CharacterScreenClient(Client):
"""
A screen that displays characters, typically a LCD/OLED character screen.
Implements a client for the `Character Screen <https://microsoft.git... | 30.539474 | 127 | 0.666954 | 266 | 2,321 | 5.575188 | 0.315789 | 0.13149 | 0.114633 | 0.139582 | 0.3412 | 0.307485 | 0.307485 | 0.060688 | 0 | 0 | 0 | 0.0039 | 0.226626 | 2,321 | 75 | 128 | 30.946667 | 0.822284 | 0.227919 | 0 | 0.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.090909 | 0 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
785161a082a35743bc503f0ba7e417c91a2b676f | 152 | py | Python | tastypie/__init__.py | uditagarwal/tastypie | ece398310040e9ddfeeacee6a699beb1dee6dad6 | [
"BSD-3-Clause"
] | 1 | 2018-02-28T03:35:59.000Z | 2018-02-28T03:35:59.000Z | tastypie/__init__.py | uditagarwal/tastypie | ece398310040e9ddfeeacee6a699beb1dee6dad6 | [
"BSD-3-Clause"
] | null | null | null | tastypie/__init__.py | uditagarwal/tastypie | ece398310040e9ddfeeacee6a699beb1dee6dad6 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
__author__ = 'Daniel Lindsley, Cody Soyland, Matt Croydon, Josh Bohde & Issac Kelly'
__version__ = (0, 10, 0)
| 25.333333 | 84 | 0.763158 | 20 | 152 | 5.15 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.157895 | 152 | 5 | 85 | 30.4 | 0.773438 | 0 | 0 | 0 | 0 | 0 | 0.453947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
78806d388756057daa82457a71a1ea01c508db8c | 1,995 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/StairsEditScope.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/Autodesk/Revit/DB/__init___parts/StairsEditScope.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/Autodesk/Revit/DB/__init___parts/StairsEditScope.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class StairsEditScope(EditScope,IDisposable):
"""
StairsEditScope allows user to maintain a stairs-editing session.
StairsEditScope(document: Document,transactionName: str)
"""
def Dispose(self):
""" Dispose(self: EditScope,A_0: bool) """
pass
def ReleaseUnmanagedResources(self,*args):
""" R... | 26.6 | 215 | 0.697243 | 241 | 1,995 | 5.481328 | 0.373444 | 0.026495 | 0.036336 | 0.043149 | 0.085541 | 0.085541 | 0.085541 | 0.085541 | 0.085541 | 0.085541 | 0 | 0.000628 | 0.201504 | 1,995 | 74 | 216 | 26.959459 | 0.828625 | 0.642607 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0.411765 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
78a0a93f8a18eda088abcbb650deb720c9930501 | 980 | py | Python | projectPython/projectPython/views.py | Latoomurua/sitio-Python | c41fc5734a49ddade2db2a8d9b4f0041ed5f3a3b | [
"MIT"
] | null | null | null | projectPython/projectPython/views.py | Latoomurua/sitio-Python | c41fc5734a49ddade2db2a8d9b4f0041ed5f3a3b | [
"MIT"
] | null | null | null | projectPython/projectPython/views.py | Latoomurua/sitio-Python | c41fc5734a49ddade2db2a8d9b4f0041ed5f3a3b | [
"MIT"
] | null | null | null | from os import close
from django.http import HttpResponse
from django.template import Template, Context
from django.template import loader
import datetime
def saludo(request):
return HttpResponse("Hola Django - Coder")
def segundaView(request):
return HttpResponse("Soy Lautaro Murua este es mi sitio web desar... | 29.69697 | 97 | 0.742857 | 109 | 980 | 6.669725 | 0.541284 | 0.123796 | 0.049519 | 0.066025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002418 | 0.156122 | 980 | 33 | 98 | 29.69697 | 0.876663 | 0 | 0 | 0 | 0 | 0 | 0.224261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.217391 | 0.130435 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1563b5511d580ddb8788b990ee41a20bb6631217 | 98 | py | Python | datetime.py | stampyzfanz/snake-programmer | 1c3baae1bd9bf49774cf8ef30674c23aa702dcda | [
"MIT"
] | 2 | 2020-08-14T12:23:27.000Z | 2021-08-20T14:39:49.000Z | datetime.py | stampyzfanz/snake-programmer | 1c3baae1bd9bf49774cf8ef30674c23aa702dcda | [
"MIT"
] | null | null | null | datetime.py | stampyzfanz/snake-programmer | 1c3baae1bd9bf49774cf8ef30674c23aa702dcda | [
"MIT"
] | 1 | 2021-11-04T07:50:47.000Z | 2021-11-04T07:50:47.000Z | import datetime
dt = datetime.datetime.now()
datetime.datetime()
dt.time() < datetime.time(12)
| 14 | 29 | 0.72449 | 13 | 98 | 5.461538 | 0.461538 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.122449 | 98 | 6 | 30 | 16.333333 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1570b0969898bbb12f5ee1633e1bd2d6c80d412d | 230 | py | Python | Leetcode/1078. Occurrences After Bigram/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/1078. Occurrences After Bigram/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/1078. Occurrences After Bigram/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | class Solution:
def findOcurrences(self, text: str, first: str, second: str) -> List[str]:
text = text.split(' ')
return [text[i] for i in range(2, len(text)) if text[i - 2] == first and text[i - 1] == second]
| 46 | 103 | 0.591304 | 36 | 230 | 3.777778 | 0.583333 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.23913 | 230 | 4 | 104 | 57.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
15850a60dcf0ad41138ba22cac235126ad4e5ac0 | 1,825 | py | Python | homechallenge/migrations/0007_homeaddressmodel_ownersmodel.py | imuraki/RestAPI | e9123966bc250ab6d0948d9b707897cf3cd192c5 | [
"MIT"
] | null | null | null | homechallenge/migrations/0007_homeaddressmodel_ownersmodel.py | imuraki/RestAPI | e9123966bc250ab6d0948d9b707897cf3cd192c5 | [
"MIT"
] | 7 | 2021-03-19T08:16:31.000Z | 2021-09-08T01:36:48.000Z | homechallenge/migrations/0007_homeaddressmodel_ownersmodel.py | imuraki/RestAPI | e9123966bc250ab6d0948d9b707897cf3cd192c5 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.9 on 2020-01-24 16:20
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('homechallenge', '0006_addressmodel_businessmodel'),
]
operations = [
migrations.CreateModel(
na... | 43.452381 | 147 | 0.591781 | 173 | 1,825 | 6.121387 | 0.375723 | 0.155807 | 0.186969 | 0.249292 | 0.573182 | 0.292729 | 0.292729 | 0.292729 | 0.292729 | 0.292729 | 0 | 0.040329 | 0.266301 | 1,825 | 41 | 148 | 44.512195 | 0.75056 | 0.024658 | 0 | 0.285714 | 1 | 0 | 0.141732 | 0.059618 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057143 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
15a12c05027a8c9c1a0f20d215a15cffc6f3fff0 | 210 | py | Python | custom_components/media_player_template/__init__.py | Seperis/media_player.template | c91c3c704fe2dd6dfa00390d88fa11f94f319685 | [
"MIT"
] | 59 | 2020-06-07T04:48:27.000Z | 2022-03-22T17:03:55.000Z | custom_components/media_player_template/__init__.py | Seperis/media_player.template | c91c3c704fe2dd6dfa00390d88fa11f94f319685 | [
"MIT"
] | 31 | 2020-06-07T04:51:04.000Z | 2022-02-03T11:16:31.000Z | custom_components/media_player_template/__init__.py | Seperis/media_player.template | c91c3c704fe2dd6dfa00390d88fa11f94f319685 | [
"MIT"
] | 20 | 2020-07-09T08:45:02.000Z | 2022-03-18T22:22:47.000Z | """
Template for media-player
https://github.com/Sennevds/media_player.template
"""
import logging
from itertools import chain
from homeassistant.const import MATCH_ALL
_LOGGER = logging.getLogger(__name__)
| 17.5 | 49 | 0.804762 | 27 | 210 | 6 | 0.740741 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 210 | 11 | 50 | 19.090909 | 0.861702 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
15a52bbb17f8d0dfaf9f5864f84d4ba0d0e4ccd2 | 989 | py | Python | python/advanced_sw/HUNGAMA/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/advanced_sw/HUNGAMA/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/advanced_sw/HUNGAMA/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z |
def logo():
hello = """
,________________________PYTHON_3___SCRAPER_________________________________,
[ ,.__.____, ]
|[_,, $,__+] (@) ,_____, |
| |#| ,~, ,, ,, ... | 41.208333 | 132 | 0.364004 | 62 | 989 | 3.209677 | 0.516129 | 0.201005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.408493 | 989 | 23 | 133 | 43 | 0.237607 | 0 | 0 | 0 | 0 | 0 | 0.801015 | 0.15736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.105263 | 0.105263 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
15b82df7fdd0dd1325de3c246f7cfba1b52a98a4 | 4,302 | py | Python | bot/utils/Time_Test.py | johnnyxh/PloverBot | 02d3ede8d4a62750b45447f6699caefc217b70f1 | [
"MIT"
] | 1 | 2019-09-29T15:40:24.000Z | 2019-09-29T15:40:24.000Z | bot/utils/Time_Test.py | johnnyxh/HummingBot | 02d3ede8d4a62750b45447f6699caefc217b70f1 | [
"MIT"
] | null | null | null | bot/utils/Time_Test.py | johnnyxh/HummingBot | 02d3ede8d4a62750b45447f6699caefc217b70f1 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch, MagicMock
from utils.Timer import Timer
from utils.Timer import TimerError
class TimerTest(unittest.TestCase):
@patch('utils.Timer.time')
def test_initialization_default(self, time_mock):
timer = Timer()
self.assertEqual(timer.initial_start_time, 0)
self.asse... | 25.157895 | 66 | 0.762901 | 592 | 4,302 | 5.302365 | 0.096284 | 0.091749 | 0.095572 | 0.126155 | 0.898694 | 0.859828 | 0.763619 | 0.679197 | 0.634597 | 0.553361 | 0 | 0.107181 | 0.119479 | 4,302 | 170 | 67 | 25.305882 | 0.721489 | 0 | 0 | 0.683761 | 0 | 0 | 0.057183 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 1 | 0.145299 | false | 0 | 0.034188 | 0 | 0.188034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec5fe5516bfdacf9ae882df0107a60ef49e24bd8 | 135 | py | Python | build/lib/kat_ran/__init__.py | alanaby01/kat_ran_thru_my_keebord | 17bf9300db794eba436d1f6061462ef7ecbe3aa0 | [
"MIT"
] | 3 | 2019-10-08T12:17:55.000Z | 2019-10-13T16:05:49.000Z | build/lib/kat_ran/__init__.py | alanaby01/kat_ran_thru_my_keebord | 17bf9300db794eba436d1f6061462ef7ecbe3aa0 | [
"MIT"
] | 5 | 2019-10-11T15:36:49.000Z | 2020-08-11T04:32:09.000Z | build/lib/kat_ran/__init__.py | alanaby01/kat_ran_thru_my_keebord | 17bf9300db794eba436d1f6061462ef7ecbe3aa0 | [
"MIT"
] | 8 | 2019-10-06T17:04:07.000Z | 2020-03-18T14:16:43.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Oct 13 19:35:17 2019
@author: abhijithneilabraham
"""
name='katran' | 15 | 35 | 0.651852 | 20 | 135 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 0.148148 | 135 | 9 | 36 | 15 | 0.643478 | 0.807407 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.