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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7900669253c901425b542ac7d6c9655a99875a86 | 351 | py | Python | code/blog/tests/test_models.py | elinguiuriel/djangoTDD | 67b09f6d345ca085fefa42ac11a6a1c2ee5d03dc | [
"BSD-2-Clause"
] | null | null | null | code/blog/tests/test_models.py | elinguiuriel/djangoTDD | 67b09f6d345ca085fefa42ac11a6a1c2ee5d03dc | [
"BSD-2-Clause"
] | null | null | null | code/blog/tests/test_models.py | elinguiuriel/djangoTDD | 67b09f6d345ca085fefa42ac11a6a1c2ee5d03dc | [
"BSD-2-Clause"
] | null | null | null | from django.test import TestCase
from blog.models import Entry
class EntryModelTest(TestCase):
def test_string_representation(self):
entry = Entry(title="My entry title")
self.assertEqual(str(entry), entry.title)
def test_verbose_name_plural(self):
self.assertEqual(str(Entry._meta.ve... | 27 | 73 | 0.735043 | 45 | 351 | 5.555556 | 0.511111 | 0.12 | 0.12 | 0.184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168091 | 351 | 12 | 74 | 29.25 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7903304b2bafccb55d17a46f82882ca7708ef2ae | 107 | py | Python | lab_assignment/lab_bla/linux_mac/sample/matrix_transpose.py | caru1613/introduction_to_python_TEAMLAB_MOOC | e0ac95f7a6b889e7d18b7bdaaab49820e73d5477 | [
"MIT"
] | null | null | null | lab_assignment/lab_bla/linux_mac/sample/matrix_transpose.py | caru1613/introduction_to_python_TEAMLAB_MOOC | e0ac95f7a6b889e7d18b7bdaaab49820e73d5477 | [
"MIT"
] | null | null | null | lab_assignment/lab_bla/linux_mac/sample/matrix_transpose.py | caru1613/introduction_to_python_TEAMLAB_MOOC | e0ac95f7a6b889e7d18b7bdaaab49820e73d5477 | [
"MIT"
] | null | null | null | matrix_a = [[1,2,3], [4,5,6]]
result = [ [ element for element in t] for t in zip(*matrix_a)]
print(result) | 35.666667 | 63 | 0.635514 | 22 | 107 | 3 | 0.681818 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.158879 | 107 | 3 | 64 | 35.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7919d1acd509169069b8a0822235f78067b08a06 | 2,488 | py | Python | __InK__connect.py | vincseize/MG | bceae7d11f6e93426f14b6f6596078a3f6104472 | [
"MIT"
] | null | null | null | __InK__connect.py | vincseize/MG | bceae7d11f6e93426f14b6f6596078a3f6104472 | [
"MIT"
] | null | null | null | __InK__connect.py | vincseize/MG | bceae7d11f6e93426f14b6f6596078a3f6104472 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
''' Globals variables '''
# ##################################################################################
# MG ILLUMINATION #
# First Crazy Debroussailleur : jDepoortere #
# Author : cPO... | 27.043478 | 84 | 0.618167 | 279 | 2,488 | 5.197133 | 0.369176 | 0.082759 | 0.066207 | 0.031034 | 0.22 | 0.22 | 0.202759 | 0.2 | 0.151724 | 0.086897 | 0 | 0.009641 | 0.249598 | 2,488 | 91 | 85 | 27.340659 | 0.767006 | 0.202974 | 0 | 0.28125 | 0 | 0 | 0.087104 | 0.023756 | 0 | 0 | 0 | 0.010989 | 0 | 0 | null | null | 0.015625 | 0.625 | null | null | 0.015625 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
792d6c638437abc2304076a805d450e0def1f06e | 5,424 | py | Python | app/app/settings/base.py | prapeller/blackemployer_api | ae9232773e6e164b22ffccf0b39dd9a4c2a036cf | [
"MIT"
] | null | null | null | app/app/settings/base.py | prapeller/blackemployer_api | ae9232773e6e164b22ffccf0b39dd9a4c2a036cf | [
"MIT"
] | null | null | null | app/app/settings/base.py | prapeller/blackemployer_api | ae9232773e6e164b22ffccf0b39dd9a4c2a036cf | [
"MIT"
] | null | null | null | """
Django settings for app project.
Generated by 'django-admin startproject' using Django 4.0.3.
For more information on this file, see
https://docs.djangoproject.com/en/4.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.0/ref/settings/
"""
from pathlib imp... | 30.818182 | 106 | 0.709624 | 551 | 5,424 | 6.84392 | 0.410163 | 0.062053 | 0.040838 | 0.046407 | 0.128348 | 0.128348 | 0.08698 | 0.082471 | 0.031822 | 0 | 0 | 0.013289 | 0.167589 | 5,424 | 176 | 107 | 30.818182 | 0.821927 | 0.438791 | 0 | 0.045455 | 1 | 0 | 0.561603 | 0.476795 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.056818 | 0.011364 | 0 | 0.011364 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
79349a796df4042a8c53f442172de0a280b53e60 | 188 | py | Python | src/flask/app/utils/safe_dict.py | duke79/Samanvaya | 3d65c7a8804c2f1ee77c4ff296ed1fe67a9cbca4 | [
"MIT"
] | null | null | null | src/flask/app/utils/safe_dict.py | duke79/Samanvaya | 3d65c7a8804c2f1ee77c4ff296ed1fe67a9cbca4 | [
"MIT"
] | null | null | null | src/flask/app/utils/safe_dict.py | duke79/Samanvaya | 3d65c7a8804c2f1ee77c4ff296ed1fe67a9cbca4 | [
"MIT"
] | null | null | null | def safeDict(elem, array_of_keys, default=""):
try:
for key in array_of_keys:
elem = elem[key]
return elem
except Exception as e:
return default | 26.857143 | 46 | 0.590426 | 25 | 188 | 4.28 | 0.64 | 0.130841 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.335106 | 188 | 7 | 47 | 26.857143 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7934e9b697863c5033385616b4594d5282e2154a | 20,378 | py | Python | gossipy/node.py | makgyver/gossipy | 44a8c231545456a92ae1a8ad0ae4f5cefced41c7 | [
"MIT"
] | 4 | 2021-09-26T12:16:58.000Z | 2022-02-17T10:24:39.000Z | gossipy/node.py | makgyver/gossipy | 44a8c231545456a92ae1a8ad0ae4f5cefced41c7 | [
"MIT"
] | null | null | null | gossipy/node.py | makgyver/gossipy | 44a8c231545456a92ae1a8ad0ae4f5cefced41c7 | [
"MIT"
] | 1 | 2021-09-26T12:17:39.000Z | 2021-09-26T12:17:39.000Z | from gossipy.model.sampling import TorchModelPartition, TorchModelSampling
import random
import numpy as np
from numpy.random import randint, normal, rand, binomial
from numpy import ndarray
from torch import Tensor
from typing import Any, Optional, Union, Dict, Tuple
from gossipy import CacheKey
from .utils import cho... | 42.103306 | 107 | 0.548778 | 2,158 | 20,378 | 4.995366 | 0.089898 | 0.097959 | 0.114286 | 0.033395 | 0.745083 | 0.706308 | 0.690167 | 0.686085 | 0.657143 | 0.653525 | 0 | 0.004697 | 0.362744 | 20,378 | 483 | 108 | 42.190476 | 0.825427 | 0.042301 | 0 | 0.707434 | 0 | 0 | 0.029006 | 0.006109 | 0 | 0 | 0 | 0 | 0.009592 | 1 | 0.091127 | false | 0.009592 | 0.026379 | 0.016787 | 0.247002 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
793a5e80abd9aea6c034e926101f46104f4bc9ec | 203 | py | Python | orders/urls.py | Paul-Cheeseman/Stream3-Project | 174fa1d6bbf9ed75748513af366629ed01dddfee | [
"BSD-3-Clause"
] | null | null | null | orders/urls.py | Paul-Cheeseman/Stream3-Project | 174fa1d6bbf9ed75748513af366629ed01dddfee | [
"BSD-3-Clause"
] | 8 | 2020-02-12T00:52:56.000Z | 2022-03-11T23:23:20.000Z | orders/urls.py | Paul-Cheeseman/Stream3-Project | 174fa1d6bbf9ed75748513af366629ed01dddfee | [
"BSD-3-Clause"
] | 1 | 2018-02-22T11:15:48.000Z | 2018-02-22T11:15:48.000Z | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^list/$', views.orders_list, name='orders'),
url(r'^detail/$', views.orders_detail, name='orders_detail'),
]
| 20.3 | 73 | 0.650246 | 27 | 203 | 4.777778 | 0.481481 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182266 | 203 | 9 | 74 | 22.555556 | 0.777108 | 0 | 0 | 0 | 0 | 0 | 0.174129 | 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 |
f7045e707bad5fe79cb0eae215451a05a660f48a | 13,388 | py | Python | potion/envs/minigolf.py | T3p/policy-optimization | 77006545779823737c4ca3b19e9d80506015c132 | [
"MIT"
] | null | null | null | potion/envs/minigolf.py | T3p/policy-optimization | 77006545779823737c4ca3b19e9d80506015c132 | [
"MIT"
] | null | null | null | potion/envs/minigolf.py | T3p/policy-optimization | 77006545779823737c4ca3b19e9d80506015c132 | [
"MIT"
] | 1 | 2019-09-08T15:11:55.000Z | 2019-09-08T15:11:55.000Z | from numbers import Number
import gym
from gym import spaces
from gym.utils import seeding
import numpy as np
import math as m
from scipy.stats import norm
"""
Minigolf task.
References
----------
- Penner, A. R. "The physics of putting." Canadian Journal of Physics 80.2 (2002): 83-96.
"""
class MiniGolf(gym.Env)... | 33.386534 | 133 | 0.561025 | 1,768 | 13,388 | 4.119344 | 0.114819 | 0.028834 | 0.026775 | 0.024166 | 0.748593 | 0.721818 | 0.714403 | 0.697789 | 0.670191 | 0.646574 | 0 | 0.0386 | 0.316926 | 13,388 | 401 | 134 | 33.386534 | 0.757791 | 0.138333 | 0 | 0.695833 | 0 | 0 | 0.01228 | 0.004154 | 0 | 0 | 0 | 0.002494 | 0.029167 | 1 | 0.125 | false | 0 | 0.029167 | 0.033333 | 0.283333 | 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 |
f708ed2fb34b2811477e4d2bb6b9fda638b2306e | 814 | py | Python | django_api/serializers.py | KrishnaChandrapati/django_api1 | 3ce95318301c8d1b885041a3de1fae3b1fe52a73 | [
"MIT"
] | null | null | null | django_api/serializers.py | KrishnaChandrapati/django_api1 | 3ce95318301c8d1b885041a3de1fae3b1fe52a73 | [
"MIT"
] | null | null | null | django_api/serializers.py | KrishnaChandrapati/django_api1 | 3ce95318301c8d1b885041a3de1fae3b1fe52a73 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User, Group
from rest_framework import serializers
from .models import *
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['url', 'username', 'email', 'groups']
class GroupSerializer(serializers.HyperlinkedMode... | 23.941176 | 65 | 0.708845 | 74 | 814 | 7.72973 | 0.554054 | 0.194056 | 0.22028 | 0.241259 | 0.267483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 814 | 33 | 66 | 24.666667 | 0.866667 | 0 | 0 | 0.15 | 0 | 0 | 0.060569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 0 | 0.7 | 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 |
f732e8e89e99d78486d786aaa8642acc5b624676 | 184 | py | Python | spotify_dl/constants.py | opiumozor/spotify-dl | 2e5b42727f6d05123e8f05c0b8da547585b6a9d2 | [
"MIT"
] | 1 | 2020-12-22T23:06:27.000Z | 2020-12-22T23:06:27.000Z | spotify_dl/constants.py | opiumozor/spotify-dl | 2e5b42727f6d05123e8f05c0b8da547585b6a9d2 | [
"MIT"
] | null | null | null | spotify_dl/constants.py | opiumozor/spotify-dl | 2e5b42727f6d05123e8f05c0b8da547585b6a9d2 | [
"MIT"
] | null | null | null | __all__ = ['VERSION']
YOUTUBE_API_SERVICE_NAME = "youtube"
YOUTUBE_API_VERSION = "v3"
VIDEO = 'youtube#video'
YOUTUBE_VIDEO_URL = 'https://www.youtube.com/watch?v='
VERSION = '4.0.0'
| 23 | 54 | 0.728261 | 27 | 184 | 4.555556 | 0.592593 | 0.162602 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.103261 | 184 | 7 | 55 | 26.285714 | 0.721212 | 0 | 0 | 0 | 0 | 0 | 0.358696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f738e719fb08c24a6742e31d1ec58bb25023459d | 11,535 | py | Python | dashboard/lib/flanker/addresslib/_parser/mailbox_or_url_parsetab.py | robertsimmons514/isthislegit | aa8f2b6cb2ac3de2b0fe03bb93dbceccc4c1f495 | [
"BSD-3-Clause"
] | 929 | 2015-01-01T11:14:21.000Z | 2022-03-28T23:47:40.000Z | dashboard/lib/flanker/addresslib/_parser/mailbox_or_url_parsetab.py | robertsimmons514/isthislegit | aa8f2b6cb2ac3de2b0fe03bb93dbceccc4c1f495 | [
"BSD-3-Clause"
] | 141 | 2015-01-10T19:02:03.000Z | 2021-07-26T18:04:14.000Z | dashboard/lib/flanker/addresslib/_parser/mailbox_or_url_parsetab.py | robertsimmons514/isthislegit | aa8f2b6cb2ac3de2b0fe03bb93dbceccc4c1f495 | [
"BSD-3-Clause"
] | 179 | 2015-01-01T18:42:46.000Z | 2022-02-16T21:57:14.000Z |
# mailbox_or_url_parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'mailbox_or_urlFWSP AT DOT COMMA SEMICOLON LANGLE RANGLE ATOM DOT_ATOM LBRACKET RBRACKET DTEXT DQUOTE QTEXT QPAIR LPAREN RPAREN CTEXT URLmailbox_or_url_list : mailbox_or_url_list... | 126.758242 | 2,514 | 0.638231 | 1,999 | 11,535 | 3.45973 | 0.101551 | 0.070561 | 0.062464 | 0.030075 | 0.561596 | 0.494505 | 0.397195 | 0.300174 | 0.213563 | 0.181897 | 0 | 0.161984 | 0.120676 | 11,535 | 90 | 2,515 | 128.166667 | 0.519866 | 0.006675 | 0 | 0.024691 | 1 | 0.012346 | 0.58556 | 0.081107 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f74ea9d8364b5fa88cbef8f33b47623c0f58cc3f | 827 | py | Python | app/views.py | thumlx12/MirrorTrading | 73a1977e9cd814f698a695beb95941c46320db3b | [
"MIT"
] | null | null | null | app/views.py | thumlx12/MirrorTrading | 73a1977e9cd814f698a695beb95941c46320db3b | [
"MIT"
] | null | null | null | app/views.py | thumlx12/MirrorTrading | 73a1977e9cd814f698a695beb95941c46320db3b | [
"MIT"
] | null | null | null | from flask import render_template
import app.charts as charts
from . import app
@app.route("/")
def search():
return render_template('search.html', title='Search')
@app.route("/dashboard")
def hello():
_dashboard = charts.dashboard.create_charts()
return render_template('base.html',
... | 24.323529 | 72 | 0.643289 | 96 | 827 | 5.333333 | 0.395833 | 0.164063 | 0.195313 | 0.058594 | 0.140625 | 0.140625 | 0.140625 | 0.140625 | 0 | 0 | 0 | 0.028302 | 0.230955 | 827 | 33 | 73 | 25.060606 | 0.77673 | 0 | 0 | 0.086957 | 0 | 0 | 0.126965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.130435 | 0.173913 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f74eca0532bfeffaa5e7ea3470caba4036fbf5e1 | 10,249 | py | Python | applications/ForCA/languages/pt-br.py | forca-inf/forca | 99b63c63a7aaebd6f11cb4f73ec54de54ce25986 | [
"BSD-3-Clause"
] | 6 | 2018-01-25T01:07:55.000Z | 2019-04-26T23:58:29.000Z | applications/ForCA/languages/pt-br.py | forca-inf/forca | 99b63c63a7aaebd6f11cb4f73ec54de54ce25986 | [
"BSD-3-Clause"
] | null | null | null | applications/ForCA/languages/pt-br.py | forca-inf/forca | 99b63c63a7aaebd6f11cb4f73ec54de54ce25986 | [
"BSD-3-Clause"
] | 2 | 2018-02-03T02:55:56.000Z | 2018-02-06T19:55:10.000Z | # coding: utf8
{
'\n Ao clicar no botão "enviar" abaixo, você estará concordando com os termos de uso acima descritos': '\n Ao clicar no botão "enviar" abaixo, você estará concordando com os termos de uso acima descritos',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the r... | 52.290816 | 290 | 0.714411 | 1,442 | 10,249 | 5.070735 | 0.271845 | 0.007385 | 0.015317 | 0.026258 | 0.466767 | 0.423277 | 0.341904 | 0.318381 | 0.280498 | 0.248496 | 0 | 0.006384 | 0.128793 | 10,249 | 195 | 291 | 52.558974 | 0.812521 | 0.001171 | 0 | 0.030928 | 0 | 0.072165 | 0.845628 | 0.009282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.06701 | 0.010309 | 0 | 0.010309 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f75899682710b825a4a2780808cc8edb60bc6d6a | 107 | py | Python | tests/environment.py | linkml/linkml-csv | faab3ce6921d5558b2c552ad09077a0821d15b00 | [
"CC0-1.0"
] | 2 | 2021-08-05T16:00:35.000Z | 2021-08-22T22:47:14.000Z | tests/environment.py | linkml/linkml-csv | faab3ce6921d5558b2c552ad09077a0821d15b00 | [
"CC0-1.0"
] | 1 | 2021-08-09T17:57:15.000Z | 2021-08-22T23:47:08.000Z | tests/environment.py | linkml/linkml-csv | faab3ce6921d5558b2c552ad09077a0821d15b00 | [
"CC0-1.0"
] | null | null | null | from linkml_runtime.tests.support.test_environment import TestEnvironment
env = TestEnvironment(__file__)
| 26.75 | 73 | 0.869159 | 12 | 107 | 7.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 3 | 74 | 35.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f766618df754bd0437a0a3fc49fc36a582606064 | 1,599 | py | Python | Lintcode/G_Practice/Tag_Matrix/1628. Driving problem.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | Lintcode/G_Practice/Tag_Matrix/1628. Driving problem.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | Lintcode/G_Practice/Tag_Matrix/1628. Driving problem.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | class UnionFind:
def __init__(self, n):
self.n = n
self.parent = [i for i in range(n + 2)]
def find(self, a):
path = []
while self.parent[a] != a:
path.append(a)
a = self.parent[a]
for p in path:
self.parent[p] = a
... | 26.213115 | 87 | 0.413383 | 266 | 1,599 | 2.447368 | 0.195489 | 0.22427 | 0.308756 | 0.374808 | 0.22427 | 0.187404 | 0.187404 | 0.187404 | 0.138249 | 0.138249 | 0 | 0.123353 | 0.477799 | 1,599 | 61 | 88 | 26.213115 | 0.656287 | 0.225766 | 0 | 0 | 0 | 0 | 0.00448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | 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 |
f7805bc276e3756cff7def0aee00868650517e3c | 13,168 | py | Python | phi/field/_field.py | eliasdjo/PhiFlow | dc88dca696d25a5ea5793aa48fae390469f0d829 | [
"MIT"
] | null | null | null | phi/field/_field.py | eliasdjo/PhiFlow | dc88dca696d25a5ea5793aa48fae390469f0d829 | [
"MIT"
] | null | null | null | phi/field/_field.py | eliasdjo/PhiFlow | dc88dca696d25a5ea5793aa48fae390469f0d829 | [
"MIT"
] | null | null | null | from typing import TypeVar, Callable
from phi import math
from phi.geom import Geometry, Box
from phi.math import Shape, Tensor, Extrapolation, channel
from phi.math._tensors import Sliceable, BoundDim
class Field(Sliceable):
"""
Base class for all fields.
Important implementations:
* Cente... | 36.679666 | 190 | 0.654086 | 1,585 | 13,168 | 5.323659 | 0.188644 | 0.027258 | 0.01434 | 0.022517 | 0.262621 | 0.22055 | 0.20384 | 0.194596 | 0.181797 | 0.165442 | 0 | 0.004898 | 0.255848 | 13,168 | 358 | 191 | 36.782123 | 0.85621 | 0.39877 | 0 | 0.223776 | 0 | 0.006993 | 0.05978 | 0.01013 | 0 | 0 | 0 | 0 | 0.048951 | 1 | 0.265734 | false | 0 | 0.034965 | 0.118881 | 0.58042 | 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 |
f798b2edafbb972eca6eb6ab5a38c4d0f75b7098 | 2,191 | py | Python | text_vectorian/bases.py | lhideki/text-vectorian | 24e9a2bc69a5c1a25ce4e1102c5c52e2a5a87a7d | [
"MIT"
] | 10 | 2019-04-24T02:30:59.000Z | 2021-11-15T12:34:40.000Z | text_vectorian/bases.py | lhideki/text-vectorian | 24e9a2bc69a5c1a25ce4e1102c5c52e2a5a87a7d | [
"MIT"
] | null | null | null | text_vectorian/bases.py | lhideki/text-vectorian | 24e9a2bc69a5c1a25ce4e1102c5c52e2a5a87a7d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
import numpy as np
class Vectorizer(ABC):
@abstractmethod
def _vectorize(self, token: str):
pass
@abstractmethod
def _get_keras_layer(self, trainable):
pass
class Token:
def __init__(self, text: str, vectorizer: Vectorizer):
self._text = t... | 28.089744 | 79 | 0.631219 | 258 | 2,191 | 5.096899 | 0.182171 | 0.06692 | 0.063878 | 0.073004 | 0.123194 | 0.044106 | 0 | 0 | 0 | 0 | 0 | 0.002527 | 0.277499 | 2,191 | 78 | 80 | 28.089744 | 0.828174 | 0 | 0 | 0.297297 | 0 | 0 | 0.012318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0.067568 | 0.027027 | 0.121622 | 0.472973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
f79b32fa81f0aa32c4abfe01cf63bb199df4d250 | 7,997 | py | Python | agent/standards/cbers_p5m.py | SAEONData/metadata-harvester | ffa9c74ad95901c4593373fa065754cad58c8a69 | [
"MIT"
] | null | null | null | agent/standards/cbers_p5m.py | SAEONData/metadata-harvester | ffa9c74ad95901c4593373fa065754cad58c8a69 | [
"MIT"
] | null | null | null | agent/standards/cbers_p5m.py | SAEONData/metadata-harvester | ffa9c74ad95901c4593373fa065754cad58c8a69 | [
"MIT"
] | null | null | null | import declxml
import json
from agent.config import EMPTY_JSON_DATACITE
def transform_to_datacite(settings, meta):
# Initialisatio Hack
dc_data = json.loads(json.dumps(EMPTY_JSON_DATACITE))
json_data = meta['json_data']
# Contruct from record
dc_data['name'] = json_data['sceneId']
dc_data['ti... | 49.364198 | 412 | 0.700138 | 795 | 7,997 | 6.979874 | 0.298113 | 0.203821 | 0.252298 | 0.327987 | 0.114795 | 0.077311 | 0.072085 | 0.03424 | 0.020905 | 0 | 0 | 0.006614 | 0.149181 | 7,997 | 161 | 413 | 49.670807 | 0.808789 | 0.009253 | 0 | 0.026667 | 0 | 0.006667 | 0.36103 | 0.008082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006667 | false | 0 | 0.02 | 0 | 0.033333 | 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 |
f79e3bab17a8a1182acf39c89656cb49af8a1a4c | 404 | py | Python | ProductionApp/forms.py | Tarikol-Islam/Django_CRM | b8c6623c830437e05e5958101d8705703ebeb197 | [
"MIT"
] | null | null | null | ProductionApp/forms.py | Tarikol-Islam/Django_CRM | b8c6623c830437e05e5958101d8705703ebeb197 | [
"MIT"
] | null | null | null | ProductionApp/forms.py | Tarikol-Islam/Django_CRM | b8c6623c830437e05e5958101d8705703ebeb197 | [
"MIT"
] | null | null | null | from django import forms
from .models import Supplier,RawOrder,RawMaterial
class SupplierForm(forms.ModelForm):
class Meta:
model = Supplier
fields = ("",)
class RawOrderForm(forms.ModelForm):
class Meta:
model = RawOrder
fields = ("",)
class RawMaterailForm(forms... | 17.565217 | 49 | 0.611386 | 37 | 404 | 6.675676 | 0.432432 | 0.17004 | 0.230769 | 0.279352 | 0.340081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292079 | 404 | 23 | 50 | 17.565217 | 0.863636 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 |
e3aeba999ae5827b3f4c10627fcaa6cdde06134f | 122 | py | Python | yasql/apps/sqlorders/apps.py | Fanduzi/YaSQL | bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5 | [
"Apache-2.0"
] | 443 | 2018-02-08T02:53:48.000Z | 2020-10-13T10:01:55.000Z | yasql/apps/sqlorders/apps.py | Fanduzi/YaSQL | bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5 | [
"Apache-2.0"
] | 27 | 2018-03-06T03:50:07.000Z | 2020-08-18T08:09:49.000Z | yasql/apps/sqlorders/apps.py | Fanduzi/YaSQL | bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5 | [
"Apache-2.0"
] | 148 | 2018-03-15T06:07:25.000Z | 2020-08-17T14:58:45.000Z | from django.apps import AppConfig
class SqlordersConfig(AppConfig):
name = 'sqlorders'
verbose_name = 'SQL工单配置'
| 17.428571 | 33 | 0.737705 | 13 | 122 | 6.846154 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 6 | 34 | 20.333333 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 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 |
e3c151817b4a152a48cc8d747a527239ea82c439 | 549 | py | Python | findy/database/plugins/eastmoney/holder/__init__.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | findy/database/plugins/eastmoney/holder/__init__.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | findy/database/plugins/eastmoney/holder/__init__.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.misc.holder import HolderBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.holder.top_ten_holder_recorder import *
from findy.database.plugins.eastmoney.holder... | 39.214286 | 86 | 0.739526 | 65 | 549 | 6.061538 | 0.446154 | 0.114213 | 0.172589 | 0.182741 | 0.228426 | 0.228426 | 0.228426 | 0.228426 | 0 | 0 | 0 | 0.002217 | 0.178506 | 549 | 13 | 87 | 42.230769 | 0.871397 | 0.038251 | 0 | 0 | 0 | 0 | 0.011407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e3cdd570675ba53d1bbc0d957ea2ba3f5c6d262b | 66 | py | Python | numpy_multiarray.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | 1 | 2018-07-02T03:37:03.000Z | 2018-07-02T03:37:03.000Z | numpy_multiarray.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | null | null | null | numpy_multiarray.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | null | null | null | import numpy as numpy
a = numpy.array([(1,2,3),(4,5,6)])
print(a) | 16.5 | 34 | 0.621212 | 15 | 66 | 2.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.121212 | 66 | 4 | 35 | 16.5 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e3d90cf9f31191161836316bee90cad603858cd1 | 1,066 | py | Python | vlivepy/html_template.py | box-archived/vlive-py | 600536dc225e0cef8c09b51d3a9b1ee897d3ae45 | [
"MIT"
] | 6 | 2021-03-07T20:56:00.000Z | 2021-12-16T07:33:13.000Z | vlivepy/html_template.py | box-archived/vlive-py | 600536dc225e0cef8c09b51d3a9b1ee897d3ae45 | [
"MIT"
] | 24 | 2021-01-18T12:01:05.000Z | 2021-04-04T06:45:07.000Z | vlivepy/html_template.py | box-archived/vlive-py | 600536dc225e0cef8c09b51d3a9b1ee897d3ae45 | [
"MIT"
] | 4 | 2020-12-16T06:18:22.000Z | 2021-08-22T01:31:23.000Z | # -*- coding: utf-8 -*-
formatted_body_template = """<div id="vlivepy-post-html" style="width:728px;">
<p><a href="###LINK###">###LINK###</a></p>
<div style="padding:15px 0;border-bottom:1px solid #f2f2f2">
<span class="author" style="font-weight:600;color:#111;font-size:14px;display:block">###AUTHOR###</span>... | 44.416667 | 126 | 0.603189 | 143 | 1,066 | 4.461538 | 0.503497 | 0.047022 | 0.075235 | 0.075235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.155722 | 1,066 | 24 | 127 | 44.416667 | 0.653333 | 0.0197 | 0 | 0.238095 | 0 | 0.238095 | 0.938697 | 0.43295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3ebf08dfe23a82eced200ec3b398743d973c59d | 339 | py | Python | catana/api/api.py | MRmlik12/biblioteczka | 3fcde24cd42d0155c3a20585d20ac0d0a7989101 | [
"MIT"
] | null | null | null | catana/api/api.py | MRmlik12/biblioteczka | 3fcde24cd42d0155c3a20585d20ac0d0a7989101 | [
"MIT"
] | 3 | 2021-07-29T08:34:09.000Z | 2021-07-29T10:12:34.000Z | catana/api/api.py | MRmlik12/catana | 3fcde24cd42d0155c3a20585d20ac0d0a7989101 | [
"MIT"
] | null | null | null | """Main module to include routers"""
from fastapi import APIRouter
from catana.api.routes import about, book, user
router = APIRouter()
router.include_router(about.router, prefix="/about", tags=["about"])
router.include_router(user.router, prefix="/user", tags=["user"])
router.include_router(book.router, prefix="/boo... | 33.9 | 68 | 0.743363 | 46 | 339 | 5.413043 | 0.413043 | 0.120482 | 0.228916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085546 | 339 | 9 | 69 | 37.666667 | 0.803226 | 0.088496 | 0 | 0 | 0 | 0 | 0.09571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e3ff69c187b202a109ae93db6316f52db47a7c2b | 9,890 | py | Python | saleor/graphql/page/tests/mutations/test_page_type_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/page/tests/mutations/test_page_type_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/page/tests/mutations/test_page_type_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | from unittest import mock
import graphene
from django.utils.functional import SimpleLazyObject
from freezegun import freeze_time
from .....page.error_codes import PageErrorCode
from .....page.models import PageType
from .....webhook.event_types import WebhookEventAsyncType
from .....webhook.payloads import generate_m... | 28.41954 | 87 | 0.669464 | 1,178 | 9,890 | 5.280136 | 0.102716 | 0.083601 | 0.05209 | 0.048232 | 0.789389 | 0.759486 | 0.711897 | 0.69791 | 0.69791 | 0.670257 | 0 | 0.004734 | 0.231143 | 9,890 | 347 | 88 | 28.501441 | 0.813256 | 0.026694 | 0 | 0.615686 | 0 | 0 | 0.162219 | 0.019704 | 0 | 0 | 0 | 0 | 0.12549 | 1 | 0.031373 | false | 0 | 0.035294 | 0 | 0.066667 | 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 |
5404a5faa36ba9d9ee9da64dec6e0512dbab2358 | 1,382 | py | Python | droxi/drox/options.py | andydude/droxtools | d608ceb715908fb00398c0d28eee74286fef3750 | [
"MIT"
] | null | null | null | droxi/drox/options.py | andydude/droxtools | d608ceb715908fb00398c0d28eee74286fef3750 | [
"MIT"
] | null | null | null | droxi/drox/options.py | andydude/droxtools | d608ceb715908fb00398c0d28eee74286fef3750 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# droxi
# Copyright (c) 2014, Andrew Robbins, All rights reserved.
#
# This library ("it") is free software; it is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; you can redistribute it and/or modify it under the terms of the
# GNU Lesser Gen... | 25.592593 | 93 | 0.650507 | 175 | 1,382 | 4.931429 | 0.508571 | 0.052144 | 0.02781 | 0.032445 | 0.127462 | 0.078795 | 0 | 0 | 0 | 0 | 0 | 0.005769 | 0.247467 | 1,382 | 53 | 94 | 26.075472 | 0.824038 | 0.342981 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.04 | 0.12 | 0.72 | 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 |
5821f581f5e8ca646b073ddcb9a1251e9af89773 | 622 | py | Python | ipf_netbox/collections/ipaddrs.py | jeremyschulman/ipf-netbox | 54bb863076284871d9626c67fcb85afc88641327 | [
"Apache-2.0"
] | 3 | 2020-11-05T10:29:43.000Z | 2021-07-22T10:41:00.000Z | ipf_netbox/collections/ipaddrs.py | jeremyschulman/ipfnbtk | 54bb863076284871d9626c67fcb85afc88641327 | [
"Apache-2.0"
] | 7 | 2020-11-08T21:09:21.000Z | 2021-06-15T16:35:58.000Z | ipf_netbox/collections/ipaddrs.py | jeremyschulman/ipf-netbox | 54bb863076284871d9626c67fcb85afc88641327 | [
"Apache-2.0"
] | 5 | 2020-11-08T20:51:11.000Z | 2022-02-22T18:48:17.000Z | # -----------------------------------------------------------------------------
# Private Imports
# -----------------------------------------------------------------------------
from ipf_netbox.collection import CollectionMixin
# -----------------------------------------------------------------------------
# Exports
... | 27.043478 | 79 | 0.323151 | 25 | 622 | 7.76 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120579 | 622 | 22 | 80 | 28.272727 | 0.354662 | 0.538585 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5837ac1e2dea73c3e8ef7a1812c07b21cc8974fe | 1,432 | py | Python | gse_api_server/app.py | cynpna/gs-engine | 6137d3c53621cfa044a90822c18bfceea16caa0a | [
"Apache-2.0"
] | null | null | null | gse_api_server/app.py | cynpna/gs-engine | 6137d3c53621cfa044a90822c18bfceea16caa0a | [
"Apache-2.0"
] | null | null | null | gse_api_server/app.py | cynpna/gs-engine | 6137d3c53621cfa044a90822c18bfceea16caa0a | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from service import service
from service_label import service_label
from service_nodeselector import service_nodeselector
from service_schedulehint import service_schedulehint
from hpa import hpa
from vpa import vpa
from limitrange import limitrange
from serviceinfo import serviceinfo
from image... | 36.717949 | 84 | 0.807961 | 199 | 1,432 | 5.577889 | 0.211055 | 0.118919 | 0.216216 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012158 | 0.081006 | 1,432 | 38 | 85 | 37.684211 | 0.831307 | 0 | 0 | 0 | 0 | 0 | 0.150456 | 0.037994 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.464286 | 0 | 0.464286 | 0.428571 | 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 | 0 | 1 | 0 | 3 |
583daa0a1185a41cd65c7523d7c6b5a0ec299c23 | 11,643 | py | Python | scripts/generate_sim_suggestions.py | mohammed-ibrahim/study | dd384ea7d4e396d33588d3c9ea6f238e3896c12f | [
"Net-SNMP",
"Xnet"
] | null | null | null | scripts/generate_sim_suggestions.py | mohammed-ibrahim/study | dd384ea7d4e396d33588d3c9ea6f238e3896c12f | [
"Net-SNMP",
"Xnet"
] | 1 | 2018-01-01T02:32:14.000Z | 2018-01-01T02:32:14.000Z | scripts/generate_sim_suggestions.py | mohammed-ibrahim/study | dd384ea7d4e396d33588d3c9ea6f238e3896c12f | [
"Net-SNMP",
"Xnet"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import json
# def arabic_to_bw():
# return ""
# bw_to_ar_map = {
# "A": "ا",
# "b": "ب",
# "t": "ت",
# "v": "ث",
# "j": "ج",
# "H": "ح",
# "x": "خ",
# "d": "د",
# "*": "ذ",
# "r": "ر",
# "z": "ز",
# "s": "س",
# "$": "ش",
# ... | 51.517699 | 6,631 | 0.627416 | 2,347 | 11,643 | 3.063485 | 0.694504 | 0.018498 | 0.005007 | 0.00751 | 0.054381 | 0.040056 | 0.029624 | 0.029624 | 0.014743 | 0.008901 | 0 | 0.01015 | 0.136906 | 11,643 | 225 | 6,632 | 51.746667 | 0.705344 | 0.197544 | 0 | 0.181818 | 0 | 0.015152 | 0.731259 | 0.721249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106061 | false | 0 | 0.030303 | 0 | 0.242424 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5841e52f0049d28f0164b9af5cc80fd096bf8f9b | 4,770 | py | Python | ocs_ci/deployment/helpers/prechecks.py | gitsridhar/ocs-ci | cda07b19bcee9600c49f6aa41cc49e867209d4e5 | [
"MIT"
] | null | null | null | ocs_ci/deployment/helpers/prechecks.py | gitsridhar/ocs-ci | cda07b19bcee9600c49f6aa41cc49e867209d4e5 | [
"MIT"
] | null | null | null | ocs_ci/deployment/helpers/prechecks.py | gitsridhar/ocs-ci | cda07b19bcee9600c49f6aa41cc49e867209d4e5 | [
"MIT"
] | null | null | null | """
This module contains the pre-checks needed for deployment.
Some of the common pre-checks are memory, CPU and storage. If the minimum
requirements are not satisfied in the target environment, there is no
need to proceed with deployment.
This module is mainly intended for on-prem platforms.
"""
import logging
from ... | 27.732558 | 102 | 0.634172 | 512 | 4,770 | 5.732422 | 0.240234 | 0.061329 | 0.044293 | 0.034072 | 0.324361 | 0.265077 | 0.201363 | 0.201363 | 0.201363 | 0.201363 | 0 | 0 | 0.284906 | 4,770 | 171 | 103 | 27.894737 | 0.860451 | 0.261845 | 0 | 0.450704 | 0 | 0 | 0.160783 | 0.01027 | 0 | 0 | 0 | 0.046784 | 0 | 1 | 0.253521 | false | 0.126761 | 0.070423 | 0 | 0.366197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5848e7b5e04bf79387235c30bfc617ddf53974bb | 1,511 | py | Python | server/booking_portal/admin/__init__.py | CAL-BPHC/onlineCAL | 57a98c86732d88fbee4bde4e471d7297b330567a | [
"MIT"
] | null | null | null | server/booking_portal/admin/__init__.py | CAL-BPHC/onlineCAL | 57a98c86732d88fbee4bde4e471d7297b330567a | [
"MIT"
] | null | null | null | server/booking_portal/admin/__init__.py | CAL-BPHC/onlineCAL | 57a98c86732d88fbee4bde4e471d7297b330567a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .email import EmailAdmin
from .instrument import InstrumentAdmin
from .request import RequestAdmin
from .slot import SlotAdmin
from .user import CustomUserAdmin, FacultyAdmin, StudentAdmin
from .announcement import AnnouncementAdmin
from ..models import (Announcement, CustomUser, ... | 33.577778 | 71 | 0.818663 | 187 | 1,511 | 6.604278 | 0.278075 | 0.233198 | 0.440486 | 0.051822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073461 | 1,511 | 44 | 72 | 34.340909 | 0.882143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.214286 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
586f8f627c4511085ae50a66d3c21deec63ab7a7 | 610 | py | Python | core/auth.py | wangguanfu/ApiStar | f639660fcf7cae3ad5eb204f7775c854a367d3dd | [
"MIT"
] | 2 | 2018-10-15T05:44:17.000Z | 2018-10-15T05:44:19.000Z | core/auth.py | wangguanfu/ApiStar | f639660fcf7cae3ad5eb204f7775c854a367d3dd | [
"MIT"
] | null | null | null | core/auth.py | wangguanfu/ApiStar | f639660fcf7cae3ad5eb204f7775c854a367d3dd | [
"MIT"
] | null | null | null | import base64
from apistar import http
from apistar.authentication import Authenticated
from apistar.interfaces import Auth
class BasicAuthentication():
def authenticate(self, authorization: http.Header):
"""
Determine the user associated with a request, using HTTP Basic Authentication.
"... | 27.727273 | 86 | 0.665574 | 63 | 610 | 6.444444 | 0.619048 | 0.081281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015284 | 0.24918 | 610 | 21 | 87 | 29.047619 | 0.871179 | 0.127869 | 0 | 0.153846 | 0 | 0 | 0.021654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.307692 | 0 | 0.692308 | 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 |
587d1d49852d16449e99ad089a3687781b10b5c1 | 447 | py | Python | app/v1/blueprints/users/serializers.py | duanribeiro/Flask-RESTPlus_mongoDB_boilerplate | 21a36759c98f61b35d0318f579b1c65a50f5460e | [
"MIT"
] | 11 | 2019-10-03T18:47:49.000Z | 2022-02-01T10:42:02.000Z | app/v1/blueprints/users/serializers.py | duanribeiro/Flask-RESTPlus_mongoDB_boilerplate | 21a36759c98f61b35d0318f579b1c65a50f5460e | [
"MIT"
] | null | null | null | app/v1/blueprints/users/serializers.py | duanribeiro/Flask-RESTPlus_mongoDB_boilerplate | 21a36759c98f61b35d0318f579b1c65a50f5460e | [
"MIT"
] | 8 | 2019-10-03T18:47:53.000Z | 2021-06-07T14:47:51.000Z | from app.v1 import api
from flask_restplus import fields
user = api.model('User', {
'id': fields.String(readonly=True, description='User ID', attribute='_id.$oid'),
'username': fields.String(required=True, description='The Username'),
'email': fields.String(required=True, description='User Email')
})
cr... | 29.8 | 84 | 0.709172 | 56 | 447 | 5.607143 | 0.446429 | 0.152866 | 0.181529 | 0.229299 | 0.359873 | 0.248408 | 0 | 0 | 0 | 0 | 0 | 0.002564 | 0.127517 | 447 | 14 | 85 | 31.928571 | 0.802564 | 0 | 0 | 0.2 | 0 | 0 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.2 | 0 | 0.2 | 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 |
587faeca2ec25ac51da5b94822ff2aab299870ff | 552 | py | Python | src/utils.py | omyllymaki/ransac-solver | 13ec22262a2eaf4644eb11d0776c2dcea4151506 | [
"MIT"
] | null | null | null | src/utils.py | omyllymaki/ransac-solver | 13ec22262a2eaf4644eb11d0776c2dcea4151506 | [
"MIT"
] | null | null | null | src/utils.py | omyllymaki/ransac-solver | 13ec22262a2eaf4644eb11d0776c2dcea4151506 | [
"MIT"
] | null | null | null | import numpy as np
def estimate_n_trials_needed(inlier_ratio: float, n_sample: int, probability: float = 0.95) -> int:
"""
Estimate number of trials needed to select only true inliers with RANSAC.
Parameters
----------
inlier_ratio : number of inliers / number of all points
n_sample : number ... | 29.052632 | 99 | 0.673913 | 75 | 552 | 4.84 | 0.52 | 0.110193 | 0.077135 | 0.110193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01171 | 0.226449 | 552 | 18 | 100 | 30.666667 | 0.838407 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
58922fa5cdcfc43808acaa07ad30bd0e6a9f7787 | 208 | py | Python | searchv2/admin.py | RamezIssac/djangopackages | 2b54b0ae95ef805c07ca3c0b9c5184466b65c23a | [
"MIT"
] | 20 | 2017-09-05T17:19:19.000Z | 2018-06-26T01:46:21.000Z | searchv2/admin.py | RamezIssac/djangopackages | 2b54b0ae95ef805c07ca3c0b9c5184466b65c23a | [
"MIT"
] | 117 | 2017-08-18T13:24:44.000Z | 2018-08-17T18:37:45.000Z | searchv2/admin.py | RamezIssac/djangopackages | 2b54b0ae95ef805c07ca3c0b9c5184466b65c23a | [
"MIT"
] | 9 | 2017-10-01T18:15:11.000Z | 2018-04-24T15:15:36.000Z | from django.contrib import admin
from searchv2.models import SearchV2
class SearchV2Admin(admin.ModelAdmin):
search_fields = ("title", "title_no_prefix")
admin.site.register(SearchV2, SearchV2Admin)
| 18.909091 | 48 | 0.788462 | 25 | 208 | 6.44 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.120192 | 208 | 10 | 49 | 20.8 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5432642c26ec257f04d65145a597171e27205663 | 227 | py | Python | win/devkit/other/pymel/extras/completion/py/maya/app/general/UV3DView.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 10 | 2018-03-30T16:09:02.000Z | 2021-12-07T07:29:19.000Z | win/devkit/other/pymel/extras/completion/py/maya/app/general/UV3DView.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | null | null | null | win/devkit/other/pymel/extras/completion/py/maya/app/general/UV3DView.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | import PySide.QtGui as _QtGui
import uuid
import maya.cmds as cmds
from PySide.QtCore import *
from PySide.QtGui import *
class UV3DView(QWidget):
def __init__(self):
pass
staticMetaObject = None
| 13.352941 | 29 | 0.69163 | 29 | 227 | 5.241379 | 0.62069 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.251101 | 227 | 16 | 30 | 14.1875 | 0.888235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.555556 | 0 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
5455b6a7270cf1154a9f0e36222067f9bfda36b4 | 62 | py | Python | py_nextbus/__init__.py | ViViDboarder/py_nextbus | ea11aa0d00b980b4bb44256937de32c82b4a91aa | [
"MIT"
] | 1 | 2021-07-05T18:54:41.000Z | 2021-07-05T18:54:41.000Z | py_nextbus/__init__.py | ViViDboarder/py_nextbus | ea11aa0d00b980b4bb44256937de32c82b4a91aa | [
"MIT"
] | null | null | null | py_nextbus/__init__.py | ViViDboarder/py_nextbus | ea11aa0d00b980b4bb44256937de32c82b4a91aa | [
"MIT"
] | 1 | 2021-08-03T20:18:35.000Z | 2021-08-03T20:18:35.000Z | from .client import NextBusClient # NOQA
name = "py_nextbus"
| 20.666667 | 41 | 0.758065 | 8 | 62 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 2 | 42 | 31 | 0.884615 | 0.064516 | 0 | 0 | 0 | 0 | 0.178571 | 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 |
5456bf5c95e03a20997923a8e5155b163bdbf561 | 811 | py | Python | package/cloudshell/cp/azure/models/azure_cloud_provider_resource_model.py | yaroslavNqualisystems/Azure-Shell | 51e376fa60b8276570cc7763b1b1be70655e0b4d | [
"Apache-2.0"
] | 5 | 2016-09-08T08:33:47.000Z | 2020-02-10T12:31:15.000Z | package/cloudshell/cp/azure/models/azure_cloud_provider_resource_model.py | yaroslavNqualisystems/Azure-Shell | 51e376fa60b8276570cc7763b1b1be70655e0b4d | [
"Apache-2.0"
] | 505 | 2016-08-09T07:41:03.000Z | 2021-02-08T20:26:46.000Z | package/cloudshell/cp/azure/models/azure_cloud_provider_resource_model.py | yaroslavNqualisystems/Azure-Shell | 51e376fa60b8276570cc7763b1b1be70655e0b4d | [
"Apache-2.0"
] | 5 | 2016-12-21T12:52:55.000Z | 2021-07-08T09:50:42.000Z | class AzureCloudProviderResourceModel(object):
def __init__(self):
self.azure_application_id = '' # type: str
self.azure_mgmt_network_d = '' # type: str
self.azure_mgmt_nsg_id = '' # type: str
self.azure_application_key = '' # type: str
self.region = '' # type: str
... | 45.055556 | 59 | 0.594328 | 93 | 811 | 4.849462 | 0.397849 | 0.232816 | 0.341463 | 0.177384 | 0.172949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2873 | 811 | 17 | 60 | 47.705882 | 0.780277 | 0.183724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.117647 | 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 |
54587e52fc6555ffa20146b55dfb8615c8132877 | 3,359 | py | Python | common_test.py | iostermann/deeplab2 | 68822b0c76c2c757a11402ac597711f926990f04 | [
"Apache-2.0"
] | 587 | 2021-06-21T17:10:17.000Z | 2022-03-30T11:51:38.000Z | common_test.py | Niklas-AD/deeplab2 | e0f7eecfac5d35c3e9e66f061098d5f5f15a7152 | [
"Apache-2.0"
] | 73 | 2021-06-23T08:42:22.000Z | 2022-03-28T07:06:35.000Z | common_test.py | Niklas-AD/deeplab2 | e0f7eecfac5d35c3e9e66f061098d5f5f15a7152 | [
"Apache-2.0"
] | 89 | 2021-06-22T02:21:32.000Z | 2022-03-29T17:51:21.000Z | # coding=utf-8
# Copyright 2021 The Deeplab2 Authors.
#
# 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 ... | 44.786667 | 80 | 0.763322 | 440 | 3,359 | 5.531818 | 0.263636 | 0.221857 | 0.3106 | 0.118324 | 0.466311 | 0.240345 | 0.04355 | 0.04355 | 0 | 0 | 0 | 0.003793 | 0.136648 | 3,359 | 74 | 81 | 45.391892 | 0.835517 | 0.176541 | 0 | 0 | 0 | 0 | 0.212232 | 0.062614 | 0 | 0 | 0 | 0 | 0.765957 | 1 | 0.021277 | false | 0 | 0.042553 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
545af9e78b9ce15814aa16b0fa4e41480b864510 | 274 | py | Python | api/tests/test_author.py | jona04/work-at-olist | e8dfa28ec6a64bbc50d2c8f3e3483c89f1768b0f | [
"MIT"
] | null | null | null | api/tests/test_author.py | jona04/work-at-olist | e8dfa28ec6a64bbc50d2c8f3e3483c89f1768b0f | [
"MIT"
] | 21 | 2020-05-03T16:01:06.000Z | 2020-05-13T21:00:31.000Z | api/tests/test_author.py | jona04/work-at-olist | e8dfa28ec6a64bbc50d2c8f3e3483c89f1768b0f | [
"MIT"
] | null | null | null | import pytest
from rest_framework.test import RequestsClient
@pytest.fixture
def resp(client):
return client.get('/')
def test_name_author(resp):
client = RequestsClient()
response = client.get('http://localhost:8000')
assert response.status_code == 200
| 19.571429 | 50 | 0.729927 | 34 | 274 | 5.764706 | 0.676471 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.156934 | 274 | 13 | 51 | 21.076923 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.080292 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
547098e911a01e55d60f309e6c4ab11f42e0c917 | 7,615 | py | Python | boto3_type_annotations/boto3_type_annotations/elasticbeanstalk/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/elasticbeanstalk/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/elasticbeanstalk/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from typing import Union
from botocore.paginate import Paginator
from datetime import datetime
from botocore.waiter import Waiter
from typing import List
class Client(BaseClient):
def abort_environment_update(self, Environm... | 49.129032 | 370 | 0.711359 | 840 | 7,615 | 6.338095 | 0.161905 | 0.119647 | 0.068182 | 0.076071 | 0.651202 | 0.571751 | 0.524418 | 0.385612 | 0.307288 | 0.215815 | 0 | 0 | 0.196323 | 7,615 | 154 | 371 | 49.448052 | 0.869935 | 0 | 0 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.457143 | false | 0.457143 | 0.07619 | 0 | 0.542857 | 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 |
5471ed1e9691b8850d92e35c72ca81f1a74364b0 | 1,183 | py | Python | src/exabgp/bgp/message/update/attribute/med.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 1,560 | 2015-01-01T08:53:05.000Z | 2022-03-29T20:22:43.000Z | src/exabgp/bgp/message/update/attribute/med.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 818 | 2015-01-01T17:38:40.000Z | 2022-03-30T07:29:24.000Z | src/exabgp/bgp/message/update/attribute/med.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 439 | 2015-01-06T21:20:41.000Z | 2022-03-19T23:24:25.000Z | # encoding: utf-8
"""
med.py
Created by Thomas Mangin on 2009-11-05.
Copyright (c) 2009-2017 Exa Networks. All rights reserved.
License: 3-clause BSD. (See the COPYRIGHT file)
"""
from struct import pack
from struct import unpack
from exabgp.bgp.message.update.attribute.attribute import Attribute
# ===============... | 23.196078 | 89 | 0.617921 | 155 | 1,183 | 4.516129 | 0.464516 | 0.05 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022654 | 0.216399 | 1,183 | 50 | 90 | 23.66 | 0.73247 | 0.211327 | 0 | 0 | 0 | 0 | 0.004334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.115385 | 0.269231 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
54860ff8fc03c0d60772c15b10ee45b75e534899 | 501 | py | Python | bot/plugins/features.py | Masterolic/Spotify-Shazam- | 37c1d2495a501f2491f8721af008b91e50f04f87 | [
"Apache-2.0"
] | null | null | null | bot/plugins/features.py | Masterolic/Spotify-Shazam- | 37c1d2495a501f2491f8721af008b91e50f04f87 | [
"Apache-2.0"
] | null | null | null | bot/plugins/features.py | Masterolic/Spotify-Shazam- | 37c1d2495a501f2491f8721af008b91e50f04f87 | [
"Apache-2.0"
] | null | null | null | from bot import bot
from pyrogram import filters
@bot.on_message(
filters.command("features")
)
async def alive(_, message):
await message.reply(
f"𝗙𝗘𝗔𝗧𝗨𝗥𝗘𝗦 \n __support Spotify url__ \n __~A single song \n ~Albums \n ~Playlists \n ~Artists__ \n\n 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 \n __Type song name__ \n\n 𝗦𝗢𝗡𝗚 \n ... | 50.1 | 345 | 0.710579 | 87 | 501 | 3.896552 | 0.643678 | 0.023599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175649 | 501 | 9 | 346 | 55.666667 | 0.808717 | 0 | 0 | 0 | 0 | 0.125 | 0.696607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54bddf8fa9774db3cf0410dc9be4b43932d28926 | 1,049 | py | Python | app.py | exodusftw/packager-api | 14d36c8131ced6cb2dde44d4b7c7956d78c492a8 | [
"Apache-2.0"
] | null | null | null | app.py | exodusftw/packager-api | 14d36c8131ced6cb2dde44d4b7c7956d78c492a8 | [
"Apache-2.0"
] | null | null | null | app.py | exodusftw/packager-api | 14d36c8131ced6cb2dde44d4b7c7956d78c492a8 | [
"Apache-2.0"
] | null | null | null | #!flask/bin/python
import base64
from flask import Flask, jsonify, make_response
from flask.ext.httpauth import HTTPBasicAuth
from flask.ext.restful import Api, Resource
from resources.repo_list import RepoList
from resources.repo_action import RepoAction
from resources.pkg import Pkg
# App Definition
auth = HTTPBasic... | 27.605263 | 72 | 0.757865 | 138 | 1,049 | 5.57971 | 0.442029 | 0.035065 | 0.054545 | 0.085714 | 0.083117 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012088 | 0.132507 | 1,049 | 37 | 73 | 28.351351 | 0.834066 | 0.167779 | 0 | 0 | 0 | 0 | 0.108671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0.086957 | 0.304348 | 0.043478 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
49a51ac90f9df675f5ef57c5a0f2080623c90f2b | 159 | py | Python | noise_channel/straight.py | DELTA37/LDPC-code | e055685d8dfebd50fa19a2638a8934b4a43b7ad3 | [
"BSD-2-Clause"
] | 2 | 2020-10-21T07:13:28.000Z | 2020-10-21T17:03:35.000Z | noise_channel/straight.py | DELTA37/LDPC-code | e055685d8dfebd50fa19a2638a8934b4a43b7ad3 | [
"BSD-2-Clause"
] | null | null | null | noise_channel/straight.py | DELTA37/LDPC-code | e055685d8dfebd50fa19a2638a8934b4a43b7ad3 | [
"BSD-2-Clause"
] | null | null | null | from .base import BaseChannel
class StraightChannel(BaseChannel):
def noise_block(self, x):
assert x.shape[0] == self.code_size
return x
| 19.875 | 43 | 0.679245 | 21 | 159 | 5.047619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.232704 | 159 | 7 | 44 | 22.714286 | 0.860656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
49a6b784ecaff248b4fad4a3a9e8be022d809cf0 | 361 | py | Python | CA3/covid_test.py | aadyajha12/Covid19-SmartAlarm | 911fe819cff6ef792f14b7dd48cbbb2c73f2405d | [
"MIT"
] | 1 | 2021-03-11T11:57:19.000Z | 2021-03-11T11:57:19.000Z | CA3/covid_test.py | aadyajha12/Covid19-SmartAlarm | 911fe819cff6ef792f14b7dd48cbbb2c73f2405d | [
"MIT"
] | null | null | null | CA3/covid_test.py | aadyajha12/Covid19-SmartAlarm | 911fe819cff6ef792f14b7dd48cbbb2c73f2405d | [
"MIT"
] | null | null | null | from ukcovid19 import covid_uk
def covid_test_one():
stats_covid = covid_uk()
assert stats_covid['cumDeathsByPublishDate'] >= 79344
def covid_test_two():
stats_covid = covid_uk()
assert stats_covid['cumCasesByPublishDate'] >= 2286803
def covid_test_three():
stats_covid = covid_uk()
assert sta... | 27.769231 | 58 | 0.742382 | 44 | 361 | 5.727273 | 0.386364 | 0.238095 | 0.142857 | 0.202381 | 0.559524 | 0.559524 | 0.559524 | 0.428571 | 0 | 0 | 0 | 0.046053 | 0.157895 | 361 | 13 | 59 | 27.769231 | 0.782895 | 0 | 0 | 0.3 | 0 | 0 | 0.176796 | 0.176796 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49cae9e702795a962960480410dfc012c6e8c7cc | 674 | py | Python | flask-api/app/models.py | philippe-heitzmann/python-apps | 1cc6e5e9b9ac81c81a3d4f0e420ff488fe6b2f0a | [
"MIT"
] | 13 | 2021-05-23T15:47:24.000Z | 2022-03-24T16:22:14.000Z | flask-api/app/models.py | philippe-heitzmann/python-apps | 1cc6e5e9b9ac81c81a3d4f0e420ff488fe6b2f0a | [
"MIT"
] | 4 | 2021-11-16T20:44:55.000Z | 2022-01-13T19:13:38.000Z | flask-api/app/models.py | philippe-heitzmann/python-apps | 1cc6e5e9b9ac81c81a3d4f0e420ff488fe6b2f0a | [
"MIT"
] | 11 | 2021-01-31T06:18:10.000Z | 2021-11-21T00:02:05.000Z | import datetime
from flask_appbuilder import Model
from sqlalchemy import Column, Integer, String, ForeignKey, DateTime
from sqlalchemy.orm import relationship
from sqlalchemy.ext.declarative import declarative_base
"""
You can use the extra Flask-AppBuilder fields and Mixin's
AuditMixin will add automatic timestamp ... | 24.962963 | 70 | 0.768546 | 82 | 674 | 6.219512 | 0.597561 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160237 | 674 | 26 | 71 | 25.923077 | 0.90106 | 0 | 0 | 0 | 0 | 0 | 0.014981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.357143 | 0 | 0.928571 | 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 |
49d888c9f6d0467630c12938e105bbcc10dc49a8 | 3,037 | py | Python | folder_list/file.py | Saevon/Recipes | ab8ca9b5244805d545da2dd1d80d249f1ec6057d | [
"MIT"
] | null | null | null | folder_list/file.py | Saevon/Recipes | ab8ca9b5244805d545da2dd1d80d249f1ec6057d | [
"MIT"
] | null | null | null | folder_list/file.py | Saevon/Recipes | ab8ca9b5244805d545da2dd1d80d249f1ec6057d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
''' File '''
import os
import subprocess
import hashlib
import string_helpers
from chunked import chunked
from cached import cached
class File(object):
''' Wrapper around a filesystem object '''
TYPE_MUSIC = 'music'
EXT_MUSIC = (
'.mp3',
)
... | 24.491935 | 89 | 0.576556 | 379 | 3,037 | 4.498681 | 0.345646 | 0.065689 | 0.042229 | 0.046921 | 0.172434 | 0.172434 | 0.139589 | 0.111437 | 0.111437 | 0.060997 | 0 | 0.003251 | 0.291077 | 3,037 | 123 | 90 | 24.691057 | 0.788667 | 0.139282 | 0 | 0.179487 | 0 | 0 | 0.040237 | 0 | 0 | 0 | 0 | 0.00813 | 0 | 1 | 0.217949 | false | 0.012821 | 0.076923 | 0.102564 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
49e05f4898743534a85c8d1c06920541c2815c66 | 2,554 | py | Python | Python/phonenumbers/data/region_882.py | skykisl/uberbruns2 | 26933efce04dba700d93cc75c7b74e069fb02d26 | [
"Unlicense"
] | 5 | 2015-04-27T20:10:56.000Z | 2018-06-14T18:19:09.000Z | python/phonenumbers/data/region_882.py | vemel/python-phonenumbers | 595c322bf12106a3b95e3f202e948a7c6b6c15b8 | [
"Apache-2.0"
] | 2 | 2017-06-08T16:11:13.000Z | 2018-05-07T11:50:13.000Z | python/phonenumbers/data/region_882.py | vemel/python-phonenumbers | 595c322bf12106a3b95e3f202e948a7c6b6c15b8 | [
"Apache-2.0"
] | 6 | 2015-02-19T11:11:04.000Z | 2022-03-15T19:38:31.000Z | """Auto-generated file, do not edit by hand. 882 metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_882 = PhoneMetadata(id='001', country_code=882, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='[13]\\d{6,11}', possible_number_patte... | 102.16 | 222 | 0.70047 | 356 | 2,554 | 4.789326 | 0.235955 | 0.19824 | 0.158358 | 0.274487 | 0.608211 | 0.556598 | 0.520235 | 0.493842 | 0.476246 | 0.078006 | 0 | 0.088409 | 0.074393 | 2,554 | 24 | 223 | 106.416667 | 0.632826 | 0.021143 | 0 | 0 | 1 | 0.090909 | 0.222935 | 0.117482 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49ff22aa7dfc134d13c0c08cd59326d3c7710f01 | 24,401 | py | Python | sdk/python/pulumi_azure_native/blockchain/blockchain_member.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/blockchain/blockchain_member.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/blockchain/blockchain_member.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 45.187037 | 281 | 0.663088 | 2,702 | 24,401 | 5.697261 | 0.07587 | 0.077173 | 0.059114 | 0.052878 | 0.7779 | 0.718592 | 0.618488 | 0.558269 | 0.522411 | 0.481291 | 0 | 0.001766 | 0.234171 | 24,401 | 539 | 282 | 45.270872 | 0.822015 | 0.232777 | 0 | 0.436747 | 1 | 0 | 0.150287 | 0.071222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153614 | false | 0.093373 | 0.024096 | 0 | 0.283133 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b700ee61f9d261603869489e51a6332818a6c853 | 906 | py | Python | ois_api_client/serialization/serialize_user.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | 7 | 2020-10-22T08:15:29.000Z | 2022-01-27T07:59:39.000Z | ois_api_client/serialization/serialize_user.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | ois_api_client/serialization/serialize_user.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | import xml.etree.ElementTree as ET
from ..v3_0 import dto, namespaces as ns
from .serialize_element import serialize_text_element
from ois_api_client.xml.get_full_tag import get_full_tag
# def serialize_user(data: dto.UserHeader, password_hash: str, request_signature: str) -> ET.Element:
def serialize_user(data: dto... | 45.3 | 101 | 0.739514 | 119 | 906 | 5.369748 | 0.361345 | 0.101721 | 0.156495 | 0.162754 | 0.29421 | 0.209703 | 0 | 0 | 0 | 0 | 0 | 0.002621 | 0.157837 | 906 | 19 | 102 | 47.684211 | 0.834862 | 0.109272 | 0 | 0 | 0 | 0 | 0.081988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.153846 | 0.307692 | 0 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
b70a6a26637e653694b515d764a19df3bbb7d2b7 | 952 | py | Python | setup.py | mixja/timestamp | e6ceadb57afed32dcbdbb08e27a230505cfade21 | [
"ISC"
] | 1 | 2020-06-30T04:04:16.000Z | 2020-06-30T04:04:16.000Z | setup.py | mixja/timestamp | e6ceadb57afed32dcbdbb08e27a230505cfade21 | [
"ISC"
] | null | null | null | setup.py | mixja/timestamp | e6ceadb57afed32dcbdbb08e27a230505cfade21 | [
"ISC"
] | 1 | 2020-06-02T11:55:13.000Z | 2020-06-02T11:55:13.000Z | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup
setup(
name='git_stamp',
version='0.1.1',
scripts=[ 'bin/timestamp' ],
install_requires=[ 'dulwich', 'termcolor' ],
provides=[ 'git_stamp' ],
author='Justin Menga',
author_email='justin.menga@gmail.com',
url='https://gi... | 32.827586 | 102 | 0.617647 | 103 | 952 | 5.669903 | 0.621359 | 0.195205 | 0.256849 | 0.222603 | 0.092466 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019126 | 0.231092 | 952 | 29 | 103 | 32.827586 | 0.778689 | 0.035714 | 0 | 0 | 0 | 0 | 0.586696 | 0.023991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b717783c09e9559091ff3032049eb615f1a0f645 | 247 | py | Python | src/utils/return_category_with_more_spending.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | src/utils/return_category_with_more_spending.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | src/utils/return_category_with_more_spending.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | def return_category_with_more_spending(transactions):
category_transactions = transactions.groupby(by=["column_category"])[
"column_installment_value"
].sum()
return category_transactions.idxmax(), category_transactions.max()
| 35.285714 | 73 | 0.769231 | 25 | 247 | 7.2 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125506 | 247 | 6 | 74 | 41.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.097166 | 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 |
b71be75b763d5c5b40a859bbabab021e05bbf4a8 | 1,055 | py | Python | python/cendalytics/core/cendant_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/core/cendant_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/core/cendant_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from base import BaseObject
from cendalytics.education.bp import EducationAnalysisAPI
from cendalytics.inference.bp import InferenceAPI
from cendalytics.skills.core.bp import SkillsReportAPI
from cendalytics.tfidf.core.bp import VectorSpaceAPI
class CendantAPI(BaseObjec... | 23.977273 | 60 | 0.675829 | 117 | 1,055 | 5.786325 | 0.401709 | 0.113737 | 0.097489 | 0.076809 | 0.124077 | 0.124077 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.22654 | 1,055 | 43 | 61 | 24.534884 | 0.822304 | 0.096682 | 0 | 0 | 0 | 0 | 0.00883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.045455 | 0.227273 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b73d9bc19b32395660621a706507b680729d54af | 891 | py | Python | wyrdin/core/deadline.py | RichardLitt/wyrd-django-dev | d91a74924c0a1dd2e11600d0b7717191136d2789 | [
"BSD-3-Clause"
] | null | null | null | wyrdin/core/deadline.py | RichardLitt/wyrd-django-dev | d91a74924c0a1dd2e11600d0b7717191136d2789 | [
"BSD-3-Clause"
] | 1 | 2016-02-19T00:22:18.000Z | 2016-02-19T00:22:18.000Z | wyrdin/core/deadline.py | RichardLitt/wyrd-django-dev | d91a74924c0a1dd2e11600d0b7717191136d2789 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python3
#-*- coding: utf-8 -*-
# This code is PEP8-compliant. See http://www.python.org/dev/peps/pep-0008/.
"""
Wyrd In: Time tracker and task manager
CC-Share Alike 2012 © The Wyrd In team
https://github.com/WyrdIn
This module implements the Deadline class.
"""
class Deadline():
"""
Deadline is... | 31.821429 | 79 | 0.721661 | 136 | 891 | 4.735294 | 0.683824 | 0.018634 | 0.052795 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.197531 | 891 | 27 | 80 | 33 | 0.883916 | 0.819304 | 0 | 0 | 0 | 0 | 0.33945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b73f90583726a0a870b0357f14cadf09f7c173d8 | 135 | py | Python | application/main.py | sekpona1/Project | 18707b1b5be6e27483214f8294f2b66fee321584 | [
"MIT"
] | null | null | null | application/main.py | sekpona1/Project | 18707b1b5be6e27483214f8294f2b66fee321584 | [
"MIT"
] | null | null | null | application/main.py | sekpona1/Project | 18707b1b5be6e27483214f8294f2b66fee321584 | [
"MIT"
] | null | null | null |
from fastapi import FastAPI
import uvicorn
app = FastAPI()
@app.get('/')
async def api(hello: "world"):
return {"hello":hello}
| 12.272727 | 30 | 0.666667 | 18 | 135 | 5 | 0.666667 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 135 | 10 | 31 | 13.5 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
3f7c190c221761df89d7e32aa176d35371722eba | 138 | py | Python | mywebsite/mywebsite/__init__.py | Zadigo/ecommerce_marketplace_template | b43555bcd8f393a2bf6e9de8e7c593bb798392ff | [
"MIT"
] | 1 | 2021-05-20T05:02:41.000Z | 2021-05-20T05:02:41.000Z | mywebsite/mywebsite/__init__.py | Zadigo/ecommerce_marketplace_template | b43555bcd8f393a2bf6e9de8e7c593bb798392ff | [
"MIT"
] | null | null | null | mywebsite/mywebsite/__init__.py | Zadigo/ecommerce_marketplace_template | b43555bcd8f393a2bf6e9de8e7c593bb798392ff | [
"MIT"
] | null | null | null | # from __future__ import absolute_import, unicode_literals
from mywebsite.celery_tasks import app as celery_app
__all__ = ['celery_app']
| 27.6 | 58 | 0.826087 | 19 | 138 | 5.315789 | 0.631579 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 59 | 34.5 | 0.827869 | 0.405797 | 0 | 0 | 0 | 0 | 0.125 | 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 |
3f8726a67e81b01f893016e10e545e2fa90b87f1 | 3,514 | py | Python | src/s3ts/filestore.py | helix-collective/s3ts | f60e71f576562badc41828952562e5936f85bfcf | [
"BSD-3-Clause"
] | 2 | 2019-05-21T00:08:13.000Z | 2020-01-29T10:42:48.000Z | src/s3ts/filestore.py | helix-collective/s3ts | f60e71f576562badc41828952562e5936f85bfcf | [
"BSD-3-Clause"
] | 1 | 2016-11-23T23:06:59.000Z | 2016-11-23T23:30:51.000Z | src/s3ts/filestore.py | helix-collective/s3ts | f60e71f576562badc41828952562e5936f85bfcf | [
"BSD-3-Clause"
] | 4 | 2016-10-24T01:14:59.000Z | 2020-07-23T02:37:48.000Z | import json, os
from s3ts import filewriter
class FileStore(object):
def exists( self, path ):
"""Returns true if a file with the given file exists"""
raise RuntimeError("Not implemented")
def get( self, path ):
"""Get the value associated with path
Raises a KeyError if the ... | 29.041322 | 86 | 0.599602 | 424 | 3,514 | 4.884434 | 0.301887 | 0.084983 | 0.086915 | 0.134718 | 0.247224 | 0.113955 | 0.037663 | 0.037663 | 0.037663 | 0.037663 | 0 | 0.001214 | 0.296813 | 3,514 | 120 | 87 | 29.283333 | 0.836908 | 0.160216 | 0 | 0.375 | 0 | 0 | 0.052171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.027778 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f875dab0cb7db2fb9586907bd177cb376e8758c | 439 | py | Python | jst/templatetags/crawling_extras.py | difara/wmss_new_repo | 7f6f81340161d2dcf028761cc47bfa13b28227c6 | [
"MIT"
] | 1 | 2021-01-04T17:06:02.000Z | 2021-01-04T17:06:02.000Z | jst/templatetags/crawling_extras.py | difara/wmss_new_repo | 7f6f81340161d2dcf028761cc47bfa13b28227c6 | [
"MIT"
] | null | null | null | jst/templatetags/crawling_extras.py | difara/wmss_new_repo | 7f6f81340161d2dcf028761cc47bfa13b28227c6 | [
"MIT"
] | null | null | null | '''
Created on Jun 4, 2017
@author: Asus-PC
'''
from django import template
from django.template.defaultfilters import stringfilter
register = template.Library()
@register.filter
def lookup(d, key):
return d[key]
@register.filter(is_safe=False)
def get_range(value):
return range(value)
@register.filter... | 16.884615 | 55 | 0.735763 | 61 | 439 | 5.229508 | 0.508197 | 0.175549 | 0.159875 | 0.137931 | 0.15674 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013477 | 0.154897 | 439 | 25 | 56 | 17.56 | 0.846361 | 0.091116 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.266667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f93565b0342322baa93903028d33b1e7c8e673f | 6,574 | py | Python | src/saml2/ws/wsutil.py | cnelson/pysaml2 | a30e51c271e27e4411a0243b65adbf5d7a3abb07 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/pysaml2-4.4.0/src/saml2/ws/wsutil.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/pysaml2-4.4.0/src/saml2/ws/wsutil.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | #!/usr/bin/env python
#
# Generated Sun Jun 14 12:18:10 2015 by parse_xsd.py version 0.5.
#
import saml2
from saml2 import SamlBase
NAMESPACE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
class TTimestampFault_(SamlBase):
"""The http://docs.oasis-open.org/wss/2004/01/oas... | 35.535135 | 132 | 0.703073 | 802 | 6,574 | 5.417706 | 0.105985 | 0.043498 | 0.037975 | 0.039125 | 0.689988 | 0.64557 | 0.633602 | 0.618412 | 0.618412 | 0.618412 | 0 | 0.030983 | 0.180103 | 6,574 | 184 | 133 | 35.728261 | 0.775139 | 0.131275 | 0 | 0.482014 | 1 | 0.021583 | 0.09418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079137 | false | 0 | 0.014388 | 0.057554 | 0.517986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3f9746e276c5ab08d87f2b224534496a46552008 | 251 | py | Python | layers.py | mattvenn/logo-to-gds2 | 5ba3a308867bd7d1f513097cc8145da9a86b1083 | [
"Apache-2.0"
] | 10 | 2020-11-08T19:22:22.000Z | 2021-12-22T08:14:28.000Z | layers.py | mattvenn/logo-to-gds2 | 5ba3a308867bd7d1f513097cc8145da9a86b1083 | [
"Apache-2.0"
] | 1 | 2021-01-22T22:03:12.000Z | 2021-01-23T14:33:31.000Z | layers.py | mattvenn/logo-to-gds2 | 5ba3a308867bd7d1f513097cc8145da9a86b1083 | [
"Apache-2.0"
] | 2 | 2020-11-16T04:06:10.000Z | 2020-11-20T17:22:18.000Z | skywater_metal1 = {"layer": 68, "datatype": 20 }
skywater_metal2 = {"layer": 69, "datatype": 20 }
skywater_metal3 = {"layer": 70, "datatype": 20 }
skywater_metal4 = {"layer": 71, "datatype": 20 }
skywater_metal5 = {"layer": 72, "datatype": 20 }
| 35.857143 | 49 | 0.63745 | 30 | 251 | 5.166667 | 0.466667 | 0.322581 | 0.464516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.163347 | 251 | 6 | 50 | 41.833333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3fa5f97c8d2368f27815a0fce6ec0135bbe170d6 | 319 | py | Python | postoffice_django/serializers.py | mercadona/postoffice_django | a7fa69bac93ca9ee5776974249f6291b1e18fe77 | [
"Apache-2.0"
] | 1 | 2020-11-23T11:13:25.000Z | 2020-11-23T11:13:25.000Z | postoffice_django/serializers.py | mercadona/postoffice_django | a7fa69bac93ca9ee5776974249f6291b1e18fe77 | [
"Apache-2.0"
] | 25 | 2020-01-29T10:35:01.000Z | 2021-03-02T12:41:56.000Z | postoffice_django/serializers.py | mercadona/postoffice_django | a7fa69bac93ca9ee5776974249f6291b1e18fe77 | [
"Apache-2.0"
] | null | null | null | class MessagesSerializer:
fields = ['id', 'topic', 'payload', 'attributes', 'bulk']
def serialize(self, messages):
return [self._serialize_fields(message) for message in messages]
def _serialize_fields(self, message):
return {field: getattr(message, field, None) for field in self.fields}
| 35.444444 | 78 | 0.689655 | 37 | 319 | 5.837838 | 0.513514 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188088 | 319 | 8 | 79 | 39.875 | 0.833977 | 0 | 0 | 0 | 0 | 0 | 0.087774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
3fae8ae3c56d535f303d71d6d53a12dc13615705 | 127 | py | Python | tf-vae/codebase/args.py | RuiShu/micro-projects | ee2229446663f0cae55f7d7e126088229b425338 | [
"MIT"
] | 60 | 2017-03-12T17:26:58.000Z | 2021-11-08T10:00:15.000Z | codebase/args.py | RuiShu/deep-generative-models | fe29f8eb8e91579a3a565b548357402124139baf | [
"MIT"
] | 2 | 2017-12-20T06:15:49.000Z | 2020-03-13T05:35:19.000Z | codebase/args.py | RuiShu/deep-generative-models | fe29f8eb8e91579a3a565b548357402124139baf | [
"MIT"
] | 32 | 2017-01-17T05:44:45.000Z | 2020-10-02T17:45:03.000Z | """
Dummy module where global parameters are set and stored
"""
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
args = None
| 18.142857 | 55 | 0.732283 | 21 | 127 | 4.238095 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.149606 | 127 | 6 | 56 | 21.166667 | 0.814815 | 0.433071 | 0 | 0 | 0 | 0 | 0.328125 | 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 |
3fc4e99464afde7a9d5bb6bcd8cd1824a15cdbed | 242 | py | Python | dbops_venv/lib/python3.5/site-packages/sqlalchemy_aio/strategy.py | fractal520/dbops | 20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac | [
"MIT"
] | null | null | null | dbops_venv/lib/python3.5/site-packages/sqlalchemy_aio/strategy.py | fractal520/dbops | 20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac | [
"MIT"
] | null | null | null | dbops_venv/lib/python3.5/site-packages/sqlalchemy_aio/strategy.py | fractal520/dbops | 20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac | [
"MIT"
] | null | null | null | from sqlalchemy.engine.strategies import DefaultEngineStrategy
from .engine import AsyncioEngine
ASYNCIO_STRATEGY = '_asyncio'
class AsyncioEngineStrategy(DefaultEngineStrategy):
name = ASYNCIO_STRATEGY
engine_cls = AsyncioEngine
| 22 | 62 | 0.826446 | 22 | 242 | 8.909091 | 0.590909 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 242 | 10 | 63 | 24.2 | 0.92891 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3fd21607fd45366d83dbb3850ce2cd6fef8c70a8 | 90 | py | Python | epub2txt/__init__.py | ffreemt/epub2txt | 34841cc65474c4a9dab7f10e14f9bbbbb5203035 | [
"MIT"
] | null | null | null | epub2txt/__init__.py | ffreemt/epub2txt | 34841cc65474c4a9dab7f10e14f9bbbbb5203035 | [
"MIT"
] | null | null | null | epub2txt/__init__.py | ffreemt/epub2txt | 34841cc65474c4a9dab7f10e14f9bbbbb5203035 | [
"MIT"
] | null | null | null | """Init."""
from .epub2txt import epub2txt
__version__ = "0.1.1"
__all__ = ("epub2txt",)
| 15 | 30 | 0.655556 | 11 | 90 | 4.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.133333 | 90 | 5 | 31 | 18 | 0.576923 | 0.055556 | 0 | 0 | 0 | 0 | 0.164557 | 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 |
3fdff3cc1e9bc1aa357a26d745dda7963a9474e5 | 2,196 | py | Python | app/layout/header.py | CouchCat/ma-zdash-nlp | 3be2411a4b195e6401fd799f0b76b83e71daba8f | [
"MIT"
] | null | null | null | app/layout/header.py | CouchCat/ma-zdash-nlp | 3be2411a4b195e6401fd799f0b76b83e71daba8f | [
"MIT"
] | 1 | 2021-03-19T13:49:33.000Z | 2021-03-19T13:49:41.000Z | app/layout/header.py | CouchCat/ma-zdash-nlp | 3be2411a4b195e6401fd799f0b76b83e71daba8f | [
"MIT"
] | null | null | null | import streamlit as st
def render_header():
st.title("zDash | NLP")
with st.beta_expander("Description", expanded=True):
st.text("")
st.markdown(
"Gathering large amounts of annotated textual data by hand or by statistical means is a tedious and time consuming process. The followi... | 78.428571 | 588 | 0.738616 | 316 | 2,196 | 5.126582 | 0.60443 | 0.030864 | 0.009877 | 0.019753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002312 | 0.212204 | 2,196 | 27 | 589 | 81.333333 | 0.934104 | 0 | 0 | 0.333333 | 0 | 0.238095 | 0.825592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | true | 0 | 0.047619 | 0 | 0.095238 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3fe60ac5097448fc15f1ed01c7485a80d5f90a4d | 1,982 | py | Python | MitreAttackAssessmentApp/loginManager.py | ashleycampion/GMIT_data_representation_module | b68d984e88919a3a812de55a84f14a90a296756f | [
"MIT"
] | null | null | null | MitreAttackAssessmentApp/loginManager.py | ashleycampion/GMIT_data_representation_module | b68d984e88919a3a812de55a84f14a90a296756f | [
"MIT"
] | null | null | null | MitreAttackAssessmentApp/loginManager.py | ashleycampion/GMIT_data_representation_module | b68d984e88919a3a812de55a84f14a90a296756f | [
"MIT"
] | null | null | null | # https://github.com/maxcountryman/flask-login
# https://github.com/CoreyMSchafer/code_snippets/blob/master/Python/Flask_Blog/06-Login-Auth/flaskblog/models.py
# https://github.com/CoreyMSchafer/code_snippets/blob/master/Python/Flask_Blog/06-Login-Auth/flaskblog/routes.py
import flask_login
from flask_login import Use... | 33.59322 | 112 | 0.710394 | 273 | 1,982 | 5.054945 | 0.40293 | 0.028986 | 0.030435 | 0.03913 | 0.257971 | 0.230435 | 0.230435 | 0.230435 | 0.230435 | 0.230435 | 0 | 0.006313 | 0.200807 | 1,982 | 59 | 113 | 33.59322 | 0.864899 | 0.325933 | 0 | 0.076923 | 0 | 0 | 0.046308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.115385 | 0.653846 | 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 |
3fe9a5e849a768de45db21b6617cd936c3fd47e6 | 1,213 | py | Python | kaggle-m5-nbdev/_nbdev.py | cluePrints/icfpcontest2020 | 340e2f92d0afc128afa51abbded1adc83a38e686 | [
"Apache-2.0"
] | null | null | null | kaggle-m5-nbdev/_nbdev.py | cluePrints/icfpcontest2020 | 340e2f92d0afc128afa51abbded1adc83a38e686 | [
"Apache-2.0"
] | 1 | 2021-09-28T04:30:24.000Z | 2021-09-28T04:30:24.000Z | kaggle-m5-nbdev/_nbdev.py | cluePrints/icfpcontest2020 | 340e2f92d0afc128afa51abbded1adc83a38e686 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"test_eq": "00_core.ipynb",
"listify": "00_core.ipynb",
"test_in": "00_core.ipynb",
"test_err": "00_core.ipynb",
"configure_logging": "00_core.ipynb",
"setup_dataf... | 35.676471 | 70 | 0.626546 | 156 | 1,213 | 4.480769 | 0.474359 | 0.145923 | 0.267525 | 0.042918 | 0.04578 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041885 | 0.212696 | 1,213 | 33 | 71 | 36.757576 | 0.690052 | 0.029678 | 0 | 0 | 1 | 0 | 0.601702 | 0.066383 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0.038462 | 0.038462 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ff5b0a35603406672879ed75ea96ed5b2c76b16 | 89 | py | Python | mailapp/apps.py | bobruk76/E2 | 72851a11f7862530090bfa509510c9b718b88358 | [
"MIT"
] | null | null | null | mailapp/apps.py | bobruk76/E2 | 72851a11f7862530090bfa509510c9b718b88358 | [
"MIT"
] | null | null | null | mailapp/apps.py | bobruk76/E2 | 72851a11f7862530090bfa509510c9b718b88358 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MailappConfig(AppConfig):
name = 'mailapp'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3ffa0e228e9e68dc519ac0b83d8695747929fae0 | 210 | py | Python | ruia/__init__.py | ruter/ruia | e9e1ba6e96b94ed6be270d551f4ec702ede93a0f | [
"MIT"
] | null | null | null | ruia/__init__.py | ruter/ruia | e9e1ba6e96b94ed6be270d551f4ec702ede93a0f | [
"MIT"
] | null | null | null | ruia/__init__.py | ruter/ruia | e9e1ba6e96b94ed6be270d551f4ec702ede93a0f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .field import AttrField, BaseField, TextField
from .item import Item
from .middleware import Middleware
from .request import Request
from .spider import Spider
__version__ = "0.0.3" | 23.333333 | 50 | 0.785714 | 30 | 210 | 5.366667 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.133333 | 210 | 9 | 51 | 23.333333 | 0.868132 | 0.095238 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3ffdbff572124f2bf9d825d1489f02d12983c014 | 111 | py | Python | file_mgt/open_read.py | gabrielcostasilva/python-basic-examples | d9c20887b94b823fc59bc82f250d39d76b918ad8 | [
"MIT"
] | null | null | null | file_mgt/open_read.py | gabrielcostasilva/python-basic-examples | d9c20887b94b823fc59bc82f250d39d76b918ad8 | [
"MIT"
] | null | null | null | file_mgt/open_read.py | gabrielcostasilva/python-basic-examples | d9c20887b94b823fc59bc82f250d39d76b918ad8 | [
"MIT"
] | null | null | null | with open("sentences.txt", "r") as file:
# print(file.readline())
for line in file:
print(line) | 27.75 | 40 | 0.594595 | 16 | 111 | 4.125 | 0.75 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 111 | 4 | 41 | 27.75 | 0.785714 | 0.198198 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b748c1f94e4c6b1e5046c451a0d55d789cd0b8bc | 960 | py | Python | paco/thunk.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 208 | 2016-10-24T13:17:08.000Z | 2022-03-12T05:39:21.000Z | paco/thunk.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 39 | 2016-10-24T10:40:21.000Z | 2020-04-22T16:17:51.000Z | paco/thunk.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 14 | 2016-11-29T11:37:34.000Z | 2021-09-30T12:27:00.000Z | # -*- coding: utf-8 -*-
import asyncio
from .assertions import assert_corofunction
def thunk(coro):
"""
A thunk is a subroutine that is created, often automatically, to assist
a call to another subroutine.
Creates a thunk coroutine which returns coroutine function that accepts no
arguments and wh... | 21.818182 | 78 | 0.644792 | 110 | 960 | 5.609091 | 0.581818 | 0.058347 | 0.038898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001443 | 0.278125 | 960 | 43 | 79 | 22.325581 | 0.888889 | 0.68125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b7491382e10e9038d176569410a1b8648ccca665 | 246 | py | Python | tests/commands/generate_openapi_test.py | kostya-ten/iperon | ad00b7bcbab3675a73448073c52b8b383e8354d5 | [
"Apache-2.0"
] | 1 | 2022-01-11T17:38:30.000Z | 2022-01-11T17:38:30.000Z | tests/commands/generate_openapi_test.py | kostya-ten/iperon | ad00b7bcbab3675a73448073c52b8b383e8354d5 | [
"Apache-2.0"
] | 5 | 2022-01-12T07:59:25.000Z | 2022-02-09T20:53:01.000Z | tests/commands/generate_openapi_test.py | kostya-ten/iperon | abbfc12b15cdbd496e50720f957d5bce5ab8f382 | [
"Apache-2.0"
] | 1 | 2022-01-11T18:54:28.000Z | 2022-01-11T18:54:28.000Z | import pytest
from asyncclick.testing import CliRunner
from iperon.commands.generate_openapi import generate_openapi
@pytest.mark.asyncio
async def test_generate_openapi(app):
runner = CliRunner()
await runner.invoke(generate_openapi)
| 22.363636 | 61 | 0.817073 | 31 | 246 | 6.322581 | 0.612903 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 246 | 10 | 62 | 24.6 | 0.907407 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b77f4a29b782d4d4a5ce786e6de91a54e14ad7b5 | 78 | py | Python | BeautifulData/Admin/admin.py | zhangyafeii/Flask | 9c9a5ea282f77aabcda838796dad2411af9b519f | [
"MIT"
] | null | null | null | BeautifulData/Admin/admin.py | zhangyafeii/Flask | 9c9a5ea282f77aabcda838796dad2411af9b519f | [
"MIT"
] | null | null | null | BeautifulData/Admin/admin.py | zhangyafeii/Flask | 9c9a5ea282f77aabcda838796dad2411af9b519f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@Datetime: 2019/1/2
@Author: Zhang Yafei
"""
| 7.090909 | 23 | 0.512821 | 10 | 78 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0.217949 | 78 | 10 | 24 | 7.8 | 0.540984 | 0.807692 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b799ab7acbbe73559d5133276a8a3101a1dca465 | 1,899 | py | Python | server/config/friendworld/instance_load_room_goth.py | AustralianDisabilityLimited/MultiversePlatform | 7e1aad33d48b9e47f3db2ca638cb57592336ddb7 | [
"MIT"
] | 33 | 2015-02-16T02:52:08.000Z | 2022-02-18T08:46:32.000Z | server/config/friendworld/instance_load_room_goth.py | bensku/MultiversePlatform | 7e1aad33d48b9e47f3db2ca638cb57592336ddb7 | [
"MIT"
] | 1 | 2017-09-09T18:50:23.000Z | 2020-12-29T18:13:56.000Z | server/config/friendworld/instance_load_room_goth.py | bensku/MultiversePlatform | 7e1aad33d48b9e47f3db2ca638cb57592336ddb7 | [
"MIT"
] | 31 | 2015-02-07T16:20:24.000Z | 2022-02-23T15:02:43.000Z | #
# The Multiverse Platform is made available under the MIT License.
#
# Copyright (c) 2012 The Multiverse Foundation
#
# 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 restrict... | 35.830189 | 72 | 0.773038 | 253 | 1,899 | 5.786561 | 0.557312 | 0.060109 | 0.040984 | 0.035519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010539 | 0.150606 | 1,899 | 52 | 73 | 36.519231 | 0.897086 | 0.817799 | 0 | 0 | 0 | 0 | 0.117264 | 0.084691 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b7a6e23d31a0cfc0d36bca4d63dcf1a1b5b962d6 | 222 | py | Python | autobahn/wamp/gen/wamp/proto/AuthMethod.py | rapyuta-robotics/autobahn-python | c08e9e352d526a7fd0885bb94706366a432ada1a | [
"MIT"
] | 1,670 | 2015-10-12T15:46:22.000Z | 2022-03-30T22:12:53.000Z | autobahn/wamp/gen/wamp/proto/AuthMethod.py | rapyuta-robotics/autobahn-python | c08e9e352d526a7fd0885bb94706366a432ada1a | [
"MIT"
] | 852 | 2015-10-16T22:11:03.000Z | 2022-03-27T07:57:01.000Z | autobahn/wamp/gen/wamp/proto/AuthMethod.py | rapyuta-robotics/autobahn-python | c08e9e352d526a7fd0885bb94706366a432ada1a | [
"MIT"
] | 790 | 2015-10-15T08:46:12.000Z | 2022-03-30T12:22:13.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: proto
class AuthMethod(object):
ANONYMOUS = 0
COOKIE = 1
TLS = 2
TICKET = 3
CRA = 4
SCRAM = 5
CRYPTOSIGN = 6
| 15.857143 | 68 | 0.635135 | 28 | 222 | 5.035714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045161 | 0.301802 | 222 | 13 | 69 | 17.076923 | 0.864516 | 0.373874 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b7b33ccfef43369d440088a7fd0f5ffc13f2d490 | 720 | py | Python | platform-tools/systrace/catapult/devil/devil/base_error.py | NBPS-Robotics/FTC-Code-Team-9987---2022 | 180538f3ebd234635fa88f96ae7cf7441df6a246 | [
"MIT"
] | 7 | 2021-06-02T06:55:50.000Z | 2022-03-29T10:32:33.000Z | platform-tools/systrace/catapult/devil/devil/base_error.py | NBPS-Robotics/FTC-Code-Team-9987---2022 | 180538f3ebd234635fa88f96ae7cf7441df6a246 | [
"MIT"
] | 6 | 2020-07-19T21:51:44.000Z | 2022-02-13T08:22:58.000Z | platform-tools/systrace/catapult/devil/devil/base_error.py | NBPS-Robotics/FTC-Code-Team-9987---2022 | 180538f3ebd234635fa88f96ae7cf7441df6a246 | [
"MIT"
] | 1 | 2021-05-25T14:08:18.000Z | 2021-05-25T14:08:18.000Z | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class BaseError(Exception):
"""Base error for all test runner errors."""
def __init__(self, message, is_infra_error=False):
super(BaseError, self).... | 30 | 78 | 0.722222 | 106 | 720 | 4.603774 | 0.537736 | 0.10041 | 0.172131 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006861 | 0.190278 | 720 | 23 | 79 | 31.304348 | 0.830189 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b7b7f94b3af2837ee54b6915470bcb7f129e6dd0 | 198 | py | Python | pacote-download/CursoemVideo/ex031.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | pacote-download/CursoemVideo/ex031.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | pacote-download/CursoemVideo/ex031.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | km = int(input('Qual a distancia em Km para o destino?'))
if km > 200:
print('O preço da passagem é de R${}'.format(km * 0.45))
else:
print('O preço da passagem é de R${}'.format(km * 0.50)) | 39.6 | 60 | 0.621212 | 39 | 198 | 3.153846 | 0.615385 | 0.097561 | 0.178862 | 0.211382 | 0.552846 | 0.552846 | 0.552846 | 0.552846 | 0.552846 | 0.552846 | 0 | 0.056962 | 0.20202 | 198 | 5 | 61 | 39.6 | 0.721519 | 0 | 0 | 0 | 0 | 0 | 0.482412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b7dc9d952a301140f9a20521d19fc74b35cf33e3 | 19,195 | py | Python | tests/st/ops/gpu/test_all.py | Kiike5/akg | f16019261cca6b2d33b3b6f27c45ee8e6f7a834b | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_all.py | Kiike5/akg | f16019261cca6b2d33b3b6f27c45ee8e6f7a834b | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_all.py | Kiike5/akg | f16019261cca6b2d33b3b6f27c45ee8e6f7a834b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
# Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | 34.710669 | 114 | 0.751081 | 3,250 | 19,195 | 4.117538 | 0.073538 | 0.077567 | 0.088776 | 0.067255 | 0.81931 | 0.792333 | 0.754521 | 0.676132 | 0.590495 | 0.550366 | 0 | 0.086073 | 0.120552 | 19,195 | 552 | 115 | 34.773551 | 0.706652 | 0.039333 | 0 | 0.454756 | 0 | 0 | 0.064057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12297 | false | 0.00232 | 0.116009 | 0 | 0.354988 | 0.030162 | 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 |
b7ddd1421c37c7b395c95db98092471b72d2471d | 1,143 | py | Python | CursoemVideo - Python 3/aula 1, 2, 3, 4, 5, 6, 7, 8 e 9/ex009.py | GustavoVieiraa/CursoemVideo---Python-3 | eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b | [
"MIT"
] | 1 | 2022-01-31T04:07:43.000Z | 2022-01-31T04:07:43.000Z | CursoemVideo - Python 3/aula 1, 2, 3, 4, 5, 6, 7, 8 e 9/ex009.py | GustavoVieiraa/CursoemVideo---Python-3 | eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b | [
"MIT"
] | null | null | null | CursoemVideo - Python 3/aula 1, 2, 3, 4, 5, 6, 7, 8 e 9/ex009.py | GustavoVieiraa/CursoemVideo---Python-3 | eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b | [
"MIT"
] | null | null | null | # //Faça um programa que leia um número inteiro qualquer e mostre na tela a sua tabuada.
# //N = int(input('Digite um Nº para verificar sua tabuada: \n'))
# //print('---------------')
# //print(N, 'x 0 =', N*0)
# //print(N, 'x 1 =', N*1)
# //print(N, 'x 2 =', N*2)
# //print(N, 'x 3 =', N*3)
# //print(N, 'x 4 =', N... | 36.870968 | 88 | 0.455818 | 196 | 1,143 | 2.658163 | 0.188776 | 0.046065 | 0.147793 | 0.274472 | 0.527831 | 0.199616 | 0.199616 | 0.199616 | 0.199616 | 0.199616 | 0 | 0.062434 | 0.173228 | 1,143 | 30 | 89 | 38.1 | 0.488889 | 0.429571 | 0 | 0.142857 | 0 | 0 | 0.353774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.928571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b7f28a3594b45cc359b444495e2529d83e68426e | 331,995 | py | Python | yoyoman01_traject/scripts/position_moteur1.py | Gepetto/yoyoman01_robot | cd2fccb9378a1208605de88c88ec7b1482eaa271 | [
"BSD-2-Clause"
] | null | null | null | yoyoman01_traject/scripts/position_moteur1.py | Gepetto/yoyoman01_robot | cd2fccb9378a1208605de88c88ec7b1482eaa271 | [
"BSD-2-Clause"
] | 1 | 2018-09-28T14:13:45.000Z | 2018-10-01T12:42:07.000Z | yoyoman01_traject/scripts/position_moteur1.py | Gepetto/yoyoman01_robot | cd2fccb9378a1208605de88c88ec7b1482eaa271 | [
"BSD-2-Clause"
] | 2 | 2018-04-13T07:29:15.000Z | 2018-05-24T14:19:07.000Z | import math
IS_ELASTIC = False
IS_COT = False
model = 'passive_walker'
obj = 0.9222301168471676
step_length = -0.90379468206731894
slope = -0.050000000000000003
mass = 5.6905235987755978
p = [0.80000000000000004, 2.3999999999999999, 2.3999999999999999, -0.90379468206731894, -0.050000000000000003]
t_v = [0,
0.0012064276... | 253.237986 | 535 | 0.832552 | 31,100 | 331,995 | 8.884791 | 0.488457 | 0.000391 | 0.000536 | 0.000803 | 0.00637 | 0.004842 | 0.003543 | 0.002486 | 0.002175 | 0.002056 | 0 | 0.867379 | 0.046733 | 331,995 | 1,310 | 536 | 253.431298 | 0.005716 | 0.001346 | 0 | 0.012529 | 0 | 0.001566 | 0.002241 | 0.000341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000783 | 0.005482 | 0 | 0.005482 | 0.014096 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d092025ae198d16844f9dfe82fc10193dfdddba | 2,094 | py | Python | autosar/__init__.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | null | null | null | autosar/__init__.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | null | null | null | autosar/__init__.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | null | null | null | from autosar.workspace import Workspace
import autosar.component
import autosar.behavior
import autosar.portinterface
import autosar.datatype
import autosar.constant
import autosar.signal
import autosar.package
import autosar.builder
import autosar.port
from abc import (ABC,abstractmethod)
import autosar.bas... | 33.774194 | 155 | 0.734479 | 241 | 2,094 | 6.365145 | 0.323651 | 0.09322 | 0.049544 | 0.059974 | 0.116037 | 0.116037 | 0.092568 | 0 | 0 | 0 | 0 | 0.007506 | 0.172875 | 2,094 | 61 | 156 | 34.327869 | 0.878176 | 0.053009 | 0 | 0.071429 | 0 | 0 | 0.012625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.309524 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
4d1b1dcfa657ff7e1def7deb4a6fff43488756b6 | 5,672 | py | Python | src/fixate/drivers/pps/helper.py | stig999/Fixate | 24b4a16736c80b28f40aeb52972c52f9654983ef | [
"MIT"
] | 1 | 2017-11-23T04:18:03.000Z | 2017-11-23T04:18:03.000Z | src/fixate/drivers/pps/helper.py | stig999/Fixate | 24b4a16736c80b28f40aeb52972c52f9654983ef | [
"MIT"
] | 5 | 2018-08-24T11:13:29.000Z | 2018-08-29T00:40:36.000Z | src/fixate/drivers/pps/helper.py | stig999/Fixate | 24b4a16736c80b28f40aeb52972c52f9654983ef | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
import inspect
import fixate.config
from fixate.core.discover import discover_serial, filter_connected, open_visa_instrument, discover_visa
from fixate.core.exceptions import InstrumentNotConnected, InstrumentFeatureUnavailable
try:
import typing
number = typing.Union[f... | 33.964072 | 103 | 0.666079 | 639 | 5,672 | 5.787167 | 0.228482 | 0.169551 | 0.184965 | 0.231206 | 0.614927 | 0.614927 | 0.593835 | 0.593835 | 0.562466 | 0.562466 | 0 | 0.006446 | 0.234133 | 5,672 | 166 | 104 | 34.168675 | 0.844843 | 0.100317 | 0 | 0.425926 | 0 | 0 | 0.126851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.231481 | false | 0 | 0.064815 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d304c251389c55c422b5ba226a936e5a7077401 | 120 | py | Python | spider/tools/random_sleep.py | fishprotect/crawl_somewebsite_db | df3761356b0a97d3a451091ee8597289bea31a82 | [
"Zlib"
] | null | null | null | spider/tools/random_sleep.py | fishprotect/crawl_somewebsite_db | df3761356b0a97d3a451091ee8597289bea31a82 | [
"Zlib"
] | null | null | null | spider/tools/random_sleep.py | fishprotect/crawl_somewebsite_db | df3761356b0a97d3a451091ee8597289bea31a82 | [
"Zlib"
] | null | null | null | import random
import time
def random_sleep_time():
x = random.randint(5,15)
x = x*0.1
time.sleep(x)
| 15 | 29 | 0.608333 | 20 | 120 | 3.55 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.275 | 120 | 7 | 30 | 17.142857 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4d39cb9f18462e195b7cb3f9ea6da465260be12b | 1,254 | py | Python | pymdp/envs/env.py | Arun-Niranjan/pymdp | 2f7ca7e90254f0ea26f6ceb947f3b45280d18307 | [
"MIT"
] | 108 | 2020-12-08T06:45:28.000Z | 2022-03-30T12:32:59.000Z | pymdp/envs/env.py | Arun-Niranjan/pymdp | 2f7ca7e90254f0ea26f6ceb947f3b45280d18307 | [
"MIT"
] | 16 | 2021-01-17T14:32:17.000Z | 2022-03-13T16:39:00.000Z | pymdp/envs/env.py | Arun-Niranjan/pymdp | 2f7ca7e90254f0ea26f6ceb947f3b45280d18307 | [
"MIT"
] | 17 | 2021-01-01T15:02:47.000Z | 2022-03-19T05:08:45.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Environment Base Class
__author__: Conor Heins, Alexander Tschantz, Brennan Klein
"""
class Env(object):
def reset(self, state=None):
raise NotImplementedError
def step(self, action):
raise NotImplementedError
def render(self):
... | 24.588235 | 85 | 0.619617 | 138 | 1,254 | 5.304348 | 0.362319 | 0.081967 | 0.114754 | 0.147541 | 0.602459 | 0.602459 | 0.602459 | 0.602459 | 0.602459 | 0.602459 | 0 | 0.001089 | 0.267943 | 1,254 | 50 | 86 | 25.08 | 0.796296 | 0.099681 | 0 | 0.451613 | 0 | 0 | 0.203753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322581 | false | 0.064516 | 0 | 0.032258 | 0.387097 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4d407d3f750c9e91ea64533b586bf17e417475fe | 1,139 | py | Python | webserver/testserver/api/models.py | frankovacevich/aleph | 9b01dcabf3c074e8617e50fffd35c9ee1960eab6 | [
"MIT"
] | null | null | null | webserver/testserver/api/models.py | frankovacevich/aleph | 9b01dcabf3c074e8617e50fffd35c9ee1960eab6 | [
"MIT"
] | null | null | null | webserver/testserver/api/models.py | frankovacevich/aleph | 9b01dcabf3c074e8617e50fffd35c9ee1960eab6 | [
"MIT"
] | null | null | null | from django.db import models
from uuid import uuid4
class ActivityLog(models.Model):
id = models.UUIDField(primary_key=True, default=uuid4)
username = models.CharField(max_length=30)
date = models.DateTimeField(auto_now_add=True)
activity = models.CharField(max_length=255)
ip_address = models.Char... | 32.542857 | 101 | 0.70676 | 145 | 1,139 | 5.351724 | 0.317241 | 0.135309 | 0.162371 | 0.216495 | 0.559278 | 0.42268 | 0.42268 | 0.340206 | 0.340206 | 0.340206 | 0 | 0.023379 | 0.173837 | 1,139 | 34 | 102 | 33.5 | 0.801275 | 0.033363 | 0 | 0.375 | 0 | 0 | 0.008189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.083333 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4d50c76074bcea9f371427e9767297d27a8425f1 | 131 | py | Python | test_pytest_dz_6_ultra_lite.py | VadimPolyanskii/lesson_in_python_6 | 514321bbb656765d2d900aa4bff272d7ec37a625 | [
"MIT"
] | null | null | null | test_pytest_dz_6_ultra_lite.py | VadimPolyanskii/lesson_in_python_6 | 514321bbb656765d2d900aa4bff272d7ec37a625 | [
"MIT"
] | null | null | null | test_pytest_dz_6_ultra_lite.py | VadimPolyanskii/lesson_in_python_6 | 514321bbb656765d2d900aa4bff272d7ec37a625 | [
"MIT"
] | null | null | null | # Тестируем функцию
def res(a, b):
r = a * b
return r
res(10, 10)
def test_func_res():
assert res(10, 10) == 100
| 9.357143 | 29 | 0.557252 | 23 | 131 | 3.086957 | 0.565217 | 0.056338 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 0.305344 | 131 | 13 | 30 | 10.076923 | 0.659341 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d6999fad6def81583cf8521f4ea067afbf251e8 | 219 | py | Python | oop/c7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | oop/c7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | oop/c7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | class Human():
sum = 0
def __init__(self, name, age):
self.name = name
self.age = age
def get_name(self):
print(self.name)
def do_homework(self):
print('parent method') | 18.25 | 34 | 0.552511 | 29 | 219 | 3.965517 | 0.517241 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.328767 | 219 | 12 | 35 | 18.25 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.059091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.555556 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d726d78b178b0849c87347d610446d24dc75e8a | 68,662 | py | Python | presidio-analyzer/presidio_analyzer/protobuf_models/template_pb2.py | gitcarbs/presidio | b547eb154212aea43e398bf533b2f9ef435cc6bb | [
"MIT"
] | 5 | 2019-07-23T00:24:04.000Z | 2021-04-20T16:16:20.000Z | presidio-analyzer/presidio_analyzer/protobuf_models/template_pb2.py | gitcarbs/presidio | b547eb154212aea43e398bf533b2f9ef435cc6bb | [
"MIT"
] | 7 | 2019-01-27T08:42:36.000Z | 2019-04-03T08:37:49.000Z | presidio-analyzer/presidio_analyzer/protobuf_models/template_pb2.py | gitcarbs/presidio | b547eb154212aea43e398bf533b2f9ef435cc6bb | [
"MIT"
] | 13 | 2019-09-24T08:51:53.000Z | 2021-03-02T21:02:02.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: template.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.protobuf import message as _message
from google.protobuf import reflection as _refl... | 39.57464 | 6,048 | 0.738006 | 8,364 | 68,662 | 5.7989 | 0.047704 | 0.05542 | 0.03538 | 0.04206 | 0.680034 | 0.631252 | 0.628654 | 0.61748 | 0.615315 | 0.579378 | 0 | 0.041087 | 0.129417 | 68,662 | 1,734 | 6,049 | 39.597463 | 0.770309 | 0.027715 | 0 | 0.713571 | 1 | 0.00813 | 0.161861 | 0.105899 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001251 | 0.004378 | 0 | 0.004378 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d95e5e943c7e745b11e5d6ef72e397707a37f4e | 884 | py | Python | boa3/model/builtin/decorator/builtindecorator.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3/model/builtin/decorator/builtindecorator.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3/model/builtin/decorator/builtindecorator.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | import ast
from abc import ABC, abstractmethod
from typing import Dict, List
from boa3.model.builtin.builtincallable import IBuiltinCallable
from boa3.model.expression import IExpression
from boa3.model.method import Method
from boa3.model.type.itype import IType
from boa3.model.variable import Variable
class IBuilt... | 34 | 76 | 0.717195 | 109 | 884 | 5.715596 | 0.458716 | 0.064205 | 0.104334 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007123 | 0.205882 | 884 | 25 | 77 | 35.36 | 0.880342 | 0.175339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.533333 | 0 | 0.733333 | 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 |
4d99471aa82138f40610202e431209dcf2d11fe5 | 1,792 | py | Python | myocardiumModel/__init__.py | JorryZ/myocardiumModel | a00b24ef60df158aa92f99e647ba4c71bd439c98 | [
"MIT"
] | null | null | null | myocardiumModel/__init__.py | JorryZ/myocardiumModel | a00b24ef60df158aa92f99e647ba4c71bd439c98 | [
"MIT"
] | null | null | null | myocardiumModel/__init__.py | JorryZ/myocardiumModel | a00b24ef60df158aa92f99e647ba4c71bd439c98 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed July 29 13:16:10 2020
@author: JorryZ
File: __init__.py
Description: load shellModel function
History:
Date Programmer SAR# - Description
---------- ---------- ----------------------------
Author: jorry.zhengyu@gmail.com 29July2020 -V1.0.0 test... | 44.8 | 103 | 0.473772 | 174 | 1,792 | 4.821839 | 0.362069 | 0.091776 | 0.150179 | 0.191895 | 0.498212 | 0.466031 | 0.200238 | 0 | 0 | 0 | 0 | 0.099214 | 0.43192 | 1,792 | 39 | 104 | 45.948718 | 0.724951 | 0.854911 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4db3c2d1b439f401aaee499a1b616b9c7b6e1702 | 155 | py | Python | Tools/BuildSlaveSupport/ews-app/ews/__init__.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Tools/BuildSlaveSupport/ews-app/ews/__init__.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Tools/BuildSlaveSupport/ews-app/ews/__init__.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | import logging
logging.basicConfig(filename='ews.log', level=logging.INFO, format='%(asctime)s - %(message)s')
default_app_config = 'ews.apps.EwsConfig'
| 25.833333 | 95 | 0.754839 | 21 | 155 | 5.47619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 155 | 5 | 96 | 31 | 0.804196 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 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 |
4db79b2070ef7f480872a0723fc9e8c2eb8a77f4 | 8,837 | py | Python | release/stubs.min/System/Windows/Media/Animation_parts/KeySpline.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Windows/Media/Animation_parts/KeySpline.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Windows/Media/Animation_parts/KeySpline.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class KeySpline(Freezable,ISealable,IFormattable):
"""
This class is used by a spline key frame to define animation progress.
KeySpline(controlPoint1: Point,controlPoint2: Point)
KeySpline()
KeySpline(x1: float,y1: float,x2: float,y2: float)
"""
def CloneCore(self,*args):
"""
CloneCore(se... | 26.942073 | 215 | 0.721172 | 1,042 | 8,837 | 6.048944 | 0.225528 | 0.072188 | 0.048548 | 0.072822 | 0.41155 | 0.41155 | 0.370141 | 0.328574 | 0.281612 | 0.21815 | 0 | 0.002562 | 0.204934 | 8,837 | 327 | 216 | 27.024465 | 0.894535 | 0.74041 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.522727 | 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 |
4dd02dee336566ed562d6b69d50638068986f723 | 488 | py | Python | analysis/tests/context.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | analysis/tests/context.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | analysis/tests/context.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | import os
import sys
one_level_up = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
sys.path.insert(1, one_level_up)
from app import config
from app.tests import test_utils
from relational.scripts import generator
from relational.scripts import pred_builder
from analysis import analysis
from analysis im... | 28.705882 | 77 | 0.834016 | 73 | 488 | 5.438356 | 0.424658 | 0.211587 | 0.31738 | 0.13602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002309 | 0.112705 | 488 | 16 | 78 | 30.5 | 0.91455 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.866667 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4de05cc9de7790de8217a5ceab6809a89e518ee8 | 881 | py | Python | desktop/core/ext-py/docutils-0.14/test/test_parsers/test_get_parser_class.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/docutils-0.14/test/test_parsers/test_get_parser_class.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/docutils-0.14/test/test_parsers/test_get_parser_class.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | #! /usr/bin/env python
# $Id: test_get_parser_class.py 7504 2012-08-27 07:55:20Z grubert $
# Author: grubert abadger1999
# Maintainer: docutils-develop@lists.sourceforge.net
# Copyright: This module has been placed in the public domain.
"""
test get_parser_class
"""
from __init__ import DocutilsTestSupport
from docu... | 26.69697 | 67 | 0.717367 | 108 | 881 | 5.564815 | 0.592593 | 0.08985 | 0.139767 | 0.0599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03103 | 0.195233 | 881 | 32 | 68 | 27.53125 | 0.816643 | 0.37798 | 0 | 0 | 0 | 0 | 0.050657 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
4de4d20fcca54bd8e7bac7e0b62461019f244095 | 89 | py | Python | funnytest/ifcon.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | funnytest/ifcon.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | 2 | 2021-03-31T18:39:09.000Z | 2021-12-13T19:44:48.000Z | funnytest/ifcon.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | a = 1
b = 2
if a == 1:
print '12'
break
print '23'
if b == 2:
print '34' | 9.888889 | 14 | 0.426966 | 17 | 89 | 2.235294 | 0.588235 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0.41573 | 89 | 9 | 15 | 9.888889 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.375 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4def0894abed2168638ee0e925a65620bb6ed610 | 393 | py | Python | LibreriaFyF/LibFyF/models/models.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | LibreriaFyF/LibFyF/models/models.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | LibreriaFyF/LibFyF/models/models.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | from typing import NamedTuple, Optional
class cliente(NamedTuple):
nro_cli: int
nombre_cli: str
apellido_cli: str
email_cli: str
usuario_cli: str
contraseña_cli: str
class empleado(NamedTuple):
nro_emp: int
nombre_cli: str
apellido_cli: str
email_cli: str ... | 19.65 | 40 | 0.653944 | 50 | 393 | 4.88 | 0.42 | 0.245902 | 0.098361 | 0.122951 | 0.565574 | 0.565574 | 0.565574 | 0.565574 | 0.565574 | 0.565574 | 0 | 0 | 0.292621 | 393 | 20 | 41 | 19.65 | 0.877698 | 0.045802 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4df486eb803bc2e74e8b47c3a2700c1ff8e0c3ab | 67 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength over 2 pi.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength over 2 pi.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength over 2 pi.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | constants.physical_constants["proton Compton wavelength over 2 pi"] | 67 | 67 | 0.850746 | 9 | 67 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.074627 | 67 | 1 | 67 | 67 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0.514706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4df672332e5b7f9c0781b628dee094b5d9606a3a | 256 | py | Python | Anagram_fuction.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | Anagram_fuction.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | Anagram_fuction.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | def Anagram_fuction(user1,user2):
if sorted(user1) == sorted(user2):
print "Anagram hai"
else:
print "Anagram nahi hai"
print sorted(user1)
print sorted(user2)
Anagram_fuction(str(raw_input("input any word ")),str(raw_input("input any word "))) | 25.6 | 86 | 0.722656 | 38 | 256 | 4.763158 | 0.421053 | 0.154696 | 0.121547 | 0.176796 | 0.254144 | 0.254144 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.140625 | 256 | 10 | 86 | 25.6 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.229572 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
151baad47ed662a250c159cc8a6cba9613613e80 | 6,439 | py | Python | nov17700pm.py | rapidwyster/evolutionaryflasks | b5ed40e66e8e410167f27a79537bf8f9a0bf2561 | [
"MIT"
] | null | null | null | nov17700pm.py | rapidwyster/evolutionaryflasks | b5ed40e66e8e410167f27a79537bf8f9a0bf2561 | [
"MIT"
] | null | null | null | nov17700pm.py | rapidwyster/evolutionaryflasks | b5ed40e66e8e410167f27a79537bf8f9a0bf2561 | [
"MIT"
] | null | null | null | import random
import math
def MUTATE(X,RATE=.05):
def MU(X,RATE):
if random.random()<=RATE:
return random.random()
else:
return X
return [MU(x,RATE) for x in X]
def CROSSOVER(A,B,RATE=.5):
if random.random()<=RATE:
return [*A[0:len(A)//2],*B[len(B)//2:]],[*B[0:len(B)//2],*A[len(A)//2:]]
else:
return [... | 30.661905 | 78 | 0.700264 | 1,155 | 6,439 | 3.715152 | 0.083117 | 0.060359 | 0.045444 | 0.011419 | 0.475647 | 0.425775 | 0.396411 | 0.365416 | 0.33815 | 0.299697 | 0 | 0.020263 | 0.126262 | 6,439 | 210 | 79 | 30.661905 | 0.742446 | 0 | 0 | 0.357143 | 0 | 0 | 0.002329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319048 | false | 0 | 0.009524 | 0.161905 | 0.628571 | 0.004762 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.