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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0cd29e69021bf8a666910415f96b607ea46bba99 | 1,006 | py | Python | server/routines/api.py | ni4ka7a/gym-track | 71ad75f47849ccc6a5198c59fe2261796f705122 | [
"MIT"
] | null | null | null | server/routines/api.py | ni4ka7a/gym-track | 71ad75f47849ccc6a5198c59fe2261796f705122 | [
"MIT"
] | null | null | null | server/routines/api.py | ni4ka7a/gym-track | 71ad75f47849ccc6a5198c59fe2261796f705122 | [
"MIT"
] | null | null | null | from routines.models import Routine
from rest_framework import viewsets, permissions
from rest_framework.decorators import action
from rest_framework.response import Response
from .serializers import RoutineSerializer
class RoutineViewSet(viewsets.ModelViewSet):
# queryset = Workout.objects.all()
permission_cl... | 30.484848 | 53 | 0.696819 | 103 | 1,006 | 6.737864 | 0.495146 | 0.034582 | 0.073487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204771 | 1,006 | 33 | 54 | 30.484848 | 0.8675 | 0.379722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.357143 | 0.071429 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0cdadb8d1148a144f96484559bdd7ded92a2354b | 2,662 | py | Python | venv/lib/python2.7/site-packages/boxsdk/auth/redis_managed_oauth2.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | 1 | 2016-04-07T12:16:09.000Z | 2016-04-07T12:16:09.000Z | venv/lib/python2.7/site-packages/boxsdk/auth/redis_managed_oauth2.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/boxsdk/auth/redis_managed_oauth2.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
from redis import StrictRedis
from redis.lock import Lock
from uuid import uuid4
from boxsdk import JWTAuth, OAuth2
class RedisManagedOAuth2Mixin(OAuth2):
"""
Box SDK OAuth2 subclass.
Allows for storing auth tokens in redis.
:param unique_id:
... | 33.696203 | 107 | 0.678437 | 330 | 2,662 | 5.227273 | 0.306061 | 0.051014 | 0.041739 | 0.026667 | 0.093913 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.239669 | 2,662 | 78 | 108 | 34.128205 | 0.844368 | 0.330954 | 0 | 0.068966 | 0 | 0 | 0.013462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0.034483 | 0.172414 | 0 | 0.586207 | 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 | 0 | 1 | 0 | 0 | 2 |
0cea5db5e9ff4cf26e32a393d3daf2a4b99b8fb4 | 922 | py | Python | python/graphscope/nx/algorithms/tests/forward/test_cycles.py | luoxiaojian/GraphScope-1 | 97785684f2b2495c41dc079aed64198b5a6e1331 | [
"Apache-2.0"
] | 2 | 2021-04-07T07:57:13.000Z | 2021-11-19T09:44:01.000Z | python/graphscope/nx/algorithms/tests/forward/test_cycles.py | hx94113/GraphScope | f30d75879e400474793c921a2d7960f38379f66a | [
"Apache-2.0"
] | 16 | 2021-12-22T09:19:25.000Z | 2022-03-29T02:43:34.000Z | python/graphscope/nx/algorithms/tests/forward/test_cycles.py | hx94113/GraphScope | f30d75879e400474793c921a2d7960f38379f66a | [
"Apache-2.0"
] | 2 | 2022-01-25T10:16:51.000Z | 2022-02-07T11:51:20.000Z | import networkx.algorithms.tests.test_cycles
import pytest
from networkx.algorithms.tests.test_cycles import TestMinimumCycles
from graphscope.nx.utils.compat import import_as_graphscope_nx
from graphscope.nx.utils.compat import with_graphscope_nx_context
import_as_graphscope_nx(networkx.algorithms.tests.test_cycles,... | 36.88 | 85 | 0.755965 | 129 | 922 | 5.186047 | 0.387597 | 0.143498 | 0.017937 | 0.121076 | 0.399103 | 0.236173 | 0.020927 | 0 | 0 | 0 | 0 | 0.017677 | 0.140998 | 922 | 24 | 86 | 38.416667 | 0.82702 | 0.081345 | 0 | 0 | 0 | 0 | 0.049704 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.125 | false | 0 | 0.4375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0cf7213b211af6292ab5935ee8b4ceca9a72e139 | 211 | py | Python | services/django_server/mydata/local_settings-example.py | aapris/MyData | b001ae74c118126e2540b933a84d9a90725b0b24 | [
"MIT"
] | null | null | null | services/django_server/mydata/local_settings-example.py | aapris/MyData | b001ae74c118126e2540b933a84d9a90725b0b24 | [
"MIT"
] | null | null | null | services/django_server/mydata/local_settings-example.py | aapris/MyData | b001ae74c118126e2540b933a84d9a90725b0b24 | [
"MIT"
] | null | null | null | # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['*'] # TODO: to env
TIME_ZONE = 'Europe/Helsinki' # TODO: to env
FIRST_DAY_OF_WEEK = 1
MONTH_DAY_FORMAT = 'j F '
| 30.142857 | 65 | 0.7109 | 35 | 211 | 4.085714 | 0.857143 | 0.083916 | 0.125874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.180095 | 211 | 6 | 66 | 35.166667 | 0.820809 | 0.421801 | 0 | 0 | 0 | 0 | 0.169492 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0cfa1268cea114e15f36384f75c2df4a0e46e179 | 64 | py | Python | src/folderconstants.py | imperial-qore/TranAD | 34c6d532ff3215189a7840f08fb74027b6a108ee | [
"BSD-3-Clause"
] | 31 | 2022-01-20T06:30:24.000Z | 2022-03-29T16:49:42.000Z | src/folderconstants.py | imperial-qore/GON | 08743504f3a0d86b7bbef77e363eb9a04ffe9242 | [
"BSD-3-Clause"
] | 3 | 2022-02-10T03:31:59.000Z | 2022-03-30T11:40:29.000Z | src/folderconstants.py | imperial-qore/TranAD | 34c6d532ff3215189a7840f08fb74027b6a108ee | [
"BSD-3-Clause"
] | 15 | 2022-02-09T03:04:59.000Z | 2022-03-29T16:50:41.000Z | # Data folders
output_folder = 'processed'
data_folder = 'data'
| 16 | 27 | 0.75 | 8 | 64 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 28 | 21.333333 | 0.836364 | 0.1875 | 0 | 0 | 0 | 0 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4905c1ff326c40c1a2fb76b82b080d13c00a9eef | 5,797 | py | Python | Github/Hangman/hangman.py | ZachhHsu/Stancode_SC101_project | be2742097b149d96257fc94946d0a0fea7a63c77 | [
"MIT"
] | null | null | null | Github/Hangman/hangman.py | ZachhHsu/Stancode_SC101_project | be2742097b149d96257fc94946d0a0fea7a63c77 | [
"MIT"
] | null | null | null | Github/Hangman/hangman.py | ZachhHsu/Stancode_SC101_project | be2742097b149d96257fc94946d0a0fea7a63c77 | [
"MIT"
] | null | null | null | """
File: hangman.py
Name: Zach Hsu
-----------------------------
This program plays hangman game.
Users sees a dashed word, trying to
correctly figure the un-dashed word out
by inputting one character each round.
If the user input is correct, show the
updated word on console. Players have N_TURNS
chances to try and wi... | 27.215962 | 118 | 0.380197 | 511 | 5,797 | 4.246575 | 0.322896 | 0.170507 | 0.179724 | 0.175115 | 0.185714 | 0.166359 | 0.15023 | 0.128111 | 0.092166 | 0.092166 | 0 | 0.00728 | 0.478696 | 5,797 | 212 | 119 | 27.34434 | 0.710788 | 0.181128 | 0 | 0.467626 | 0 | 0 | 0.268083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028777 | false | 0 | 0.007194 | 0 | 0.100719 | 0.489209 | 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 | 0 | 0 | 1 | 0 | 2 |
490619810fdcb1508202ace900b9fb1de251191e | 358 | py | Python | exercicios/tuplas/desafio72.py | costagguilherme/python-desafios | 404b4a8924a2895a97d3cea99e1325e46d9aee39 | [
"MIT"
] | null | null | null | exercicios/tuplas/desafio72.py | costagguilherme/python-desafios | 404b4a8924a2895a97d3cea99e1325e46d9aee39 | [
"MIT"
] | null | null | null | exercicios/tuplas/desafio72.py | costagguilherme/python-desafios | 404b4a8924a2895a97d3cea99e1325e46d9aee39 | [
"MIT"
] | null | null | null | a = ('zero', 'um', 'dois', 'três', 'quatro', 'cinco', 'seis', 'sete', 'oito', 'nove', 'dez', 'onze', 'doze', 'treze', 'cartoze', 'quinze')
n = int(input('DIGITE UM NÚMERO DE 0 A 15: '))
if n > 15 or n < 0:
while True:
n = int(input('DIGITE UM NÚMERO DE 0 A 15: '))
if 0 <= n <= 15:
break
... | 44.75 | 138 | 0.513966 | 58 | 358 | 3.172414 | 0.62069 | 0.043478 | 0.097826 | 0.163043 | 0.336957 | 0.336957 | 0.336957 | 0.336957 | 0.336957 | 0.336957 | 0 | 0.044944 | 0.25419 | 358 | 8 | 139 | 44.75 | 0.644195 | 0 | 0 | 0.25 | 0 | 0 | 0.428969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
49068efda91133ebcff9d3cac3d5e51a619d73c5 | 258 | py | Python | kymatio/phaseexp1d/phaseexp/global_const.py | sixin-zh/kymatio_wph | 237c0d2009766cf83b2145420a14d3c6e90dc983 | [
"BSD-3-Clause"
] | null | null | null | kymatio/phaseexp1d/phaseexp/global_const.py | sixin-zh/kymatio_wph | 237c0d2009766cf83b2145420a14d3c6e90dc983 | [
"BSD-3-Clause"
] | null | null | null | kymatio/phaseexp1d/phaseexp/global_const.py | sixin-zh/kymatio_wph | 237c0d2009766cf83b2145420a14d3c6e90dc983 | [
"BSD-3-Clause"
] | null | null | null | import os
from os.path import dirname, abspath, join
import torch
CODEPATH = dirname(abspath(__file__))
DATAPATH = abspath(join(join(CODEPATH, os.pardir), 'data'))
RESPATH = abspath(join(join(CODEPATH, os.pardir), 'results'))
Tensor = torch.DoubleTensor
| 21.5 | 61 | 0.751938 | 34 | 258 | 5.588235 | 0.5 | 0.173684 | 0.157895 | 0.242105 | 0.326316 | 0.326316 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 258 | 11 | 62 | 23.454545 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.042636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 2 |
0b2b51d55d2f29dbd2e9d5e896a8aeb91a18b3f4 | 833 | py | Python | setup.py | erberlin/namedzip | fd2532206c7c2b0d2dfb95455dfd84da8d6c6c54 | [
"MIT"
] | 24 | 2019-03-18T16:07:54.000Z | 2020-02-16T06:14:10.000Z | setup.py | erberlin/namedzip | fd2532206c7c2b0d2dfb95455dfd84da8d6c6c54 | [
"MIT"
] | 2 | 2019-03-27T23:39:08.000Z | 2019-06-20T17:11:54.000Z | setup.py | erberlin/namedzip | fd2532206c7c2b0d2dfb95455dfd84da8d6c6c54 | [
"MIT"
] | 1 | 2019-05-06T07:36:21.000Z | 2019-05-06T07:36:21.000Z | from setuptools import setup
with open("README.rst", "r", encoding="utf-8") as f:
README = f.read()
setup(
name="namedzip",
version="1.1.0",
description="Extends zip() and itertools.zip_longest() to generate named tuples.",
long_description=README,
long_description_content_type="text/x-rst",
... | 30.851852 | 86 | 0.620648 | 99 | 833 | 5.151515 | 0.616162 | 0.186275 | 0.245098 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022971 | 0.216086 | 833 | 26 | 87 | 32.038462 | 0.75804 | 0 | 0 | 0 | 0 | 0 | 0.496999 | 0.054022 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 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 | 0 | 0 | 0 | 2 |
0b3d62a3dba28db958258eaf0be137c71c876e7f | 1,072 | py | Python | toolbox/backups/postgres.py | quaselbat4/pastepage | 8aec37133e6c906508c03493ff47f5234ace0e75 | [
"BSD-3-Clause"
] | null | null | null | toolbox/backups/postgres.py | quaselbat4/pastepage | 8aec37133e6c906508c03493ff47f5234ace0e75 | [
"BSD-3-Clause"
] | 8 | 2021-02-08T20:57:59.000Z | 2022-03-12T00:52:37.000Z | toolbox/backups/postgres.py | quaselbat4/pastepage | 8aec37133e6c906508c03493ff47f5234ace0e75 | [
"BSD-3-Clause"
] | null | null | null | """
A postgres database backup script lifted from Samuel Clay's Newsblur
https://github.com/samuelclay/NewsBlur
"""
import os
import sys
CURRENT_DIR = os.path.dirname(__file__)
PROJECT_DIR = ''.join([CURRENT_DIR, '/../../project/'])
sys.path.insert(0, PROJECT_DIR)
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
im... | 27.487179 | 68 | 0.724813 | 150 | 1,072 | 5.006667 | 0.52 | 0.067909 | 0.095872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001053 | 0.113806 | 1,072 | 38 | 69 | 28.210526 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.253919 | 0.044932 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.068966 | 0.172414 | null | null | 0.068966 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
0b4a5d6279e73289fcf37de6c87ea3086219d3b6 | 316 | py | Python | day05/app05plus/urls.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | day05/app05plus/urls.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | day05/app05plus/urls.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url
from app05plus.views import index, register, mylogin
from app05plus.views import mylogout
urlpatterns = [
url(r"^newindex01$",index),
url(r"^register01$",register,name="register"),
url(r"^mylogin01$",mylogin,name="mylogin"),
url(r"^logout$",mylogout),
] | 26.333333 | 53 | 0.683544 | 39 | 316 | 5.538462 | 0.487179 | 0.074074 | 0.166667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.161392 | 316 | 12 | 54 | 26.333333 | 0.777358 | 0 | 0 | 0 | 0 | 0 | 0.189542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0b55fcfa96a191079c1e5b6a0d7d7bce544dc5a4 | 585 | py | Python | komax_app/migrations/0013_auto_20200323_1556.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | null | null | null | komax_app/migrations/0013_auto_20200323_1556.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | 9 | 2021-03-19T14:08:01.000Z | 2022-03-12T00:41:09.000Z | komax_app/migrations/0013_auto_20200323_1556.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.7 on 2020-03-23 15:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('komax_app', '0012_auto_20200323_1254'),
]
operations = [
migrations.AlterField(
model_name='taskpersonal',
name='tub... | 24.375 | 62 | 0.596581 | 64 | 585 | 5.265625 | 0.625 | 0.118694 | 0.148368 | 0.172107 | 0.545994 | 0.545994 | 0.545994 | 0.545994 | 0 | 0 | 0 | 0.093976 | 0.290598 | 585 | 23 | 63 | 25.434783 | 0.718072 | 0.076923 | 0 | 0.470588 | 1 | 0 | 0.141264 | 0.042751 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0b664795963dfb5ad7d576dcef33551b19793c35 | 1,158 | py | Python | Basic/25_list_and_dict_comprehension/list_comprehension.py | reskimulud/Python | df7f1dd227293db0cfc82c3b2b9381e933e8866a | [
"MIT"
] | 1 | 2021-10-02T22:19:50.000Z | 2021-10-02T22:19:50.000Z | Basic/25_list_and_dict_comprehension/list_comprehension.py | reskimulud/Python | df7f1dd227293db0cfc82c3b2b9381e933e8866a | [
"MIT"
] | null | null | null | Basic/25_list_and_dict_comprehension/list_comprehension.py | reskimulud/Python | df7f1dd227293db0cfc82c3b2b9381e933e8866a | [
"MIT"
] | null | null | null | # List Comprehension
# adalah metode untuk menambahkan anggota dari suatu list melalui for loop
# Syntax dari List Comprehension adalah
# [expression for item in iterable]
# Original List
original = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print(f"Original : {original}")
# Output = Original : [1, 2, 3, 4, 5, 6, 7... | 26.930233 | 75 | 0.647668 | 172 | 1,158 | 4.325581 | 0.360465 | 0.137097 | 0.048387 | 0.188172 | 0.204301 | 0.15457 | 0.15457 | 0.15457 | 0.15457 | 0.15457 | 0 | 0.066007 | 0.215026 | 1,158 | 42 | 76 | 27.571429 | 0.752475 | 0.540587 | 0 | 0 | 0 | 0 | 0.282105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 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 | 0 | 0 | 1 | 0 | 2 |
0b68dc20c23bc17a57315fd5ecea0a29ffe2e055 | 158 | py | Python | tests/test_horizontal_rule.py | u8slvn/MarkdownIO | 7ccf99965892a584923c5a6d10e0d85b03927ea2 | [
"MIT"
] | 3 | 2020-06-30T12:40:57.000Z | 2021-10-30T21:39:41.000Z | tests/test_horizontal_rule.py | u8slvn/MarkdownIO | 7ccf99965892a584923c5a6d10e0d85b03927ea2 | [
"MIT"
] | null | null | null | tests/test_horizontal_rule.py | u8slvn/MarkdownIO | 7ccf99965892a584923c5a6d10e0d85b03927ea2 | [
"MIT"
] | 1 | 2020-07-06T08:54:08.000Z | 2020-07-06T08:54:08.000Z | from markdownio import block
def test_linebreak(document):
elem = block.HorizontalRule()
document.add(elem)
assert "---\n" == document.output()
| 19.75 | 39 | 0.689873 | 18 | 158 | 6 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 158 | 7 | 40 | 22.571429 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0b898ff55e01412a5557045389553ba708cabebf | 1,126 | py | Python | src/test/views/test_baseview.py | Odin-SMR/odin-api | dea75016a6f9e61be0dd64a698b03ded5a6f0f10 | [
"MIT"
] | null | null | null | src/test/views/test_baseview.py | Odin-SMR/odin-api | dea75016a6f9e61be0dd64a698b03ded5a6f0f10 | [
"MIT"
] | 85 | 2020-04-01T06:24:29.000Z | 2022-03-28T04:28:56.000Z | src/test/views/test_baseview.py | Odin-SMR/odin-api | dea75016a6f9e61be0dd64a698b03ded5a6f0f10 | [
"MIT"
] | null | null | null | from odinapi.views import baseview
import pytest
def test_inspect_predicate():
class T:
def test(self):
pass
assert baseview.inspect_predicate(T.test)
def test_inspect_predicate_on_instance():
class T:
def test(self):
pass
assert baseview.inspect_predicate(... | 23.458333 | 71 | 0.62167 | 126 | 1,126 | 5.325397 | 0.333333 | 0.062593 | 0.062593 | 0.068554 | 0.283159 | 0.187779 | 0.187779 | 0.187779 | 0.187779 | 0.187779 | 0 | 0.016241 | 0.234458 | 1,126 | 47 | 72 | 23.957447 | 0.762181 | 0 | 0 | 0.264706 | 0 | 0 | 0.160746 | 0.07016 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.235294 | false | 0.117647 | 0.058824 | 0 | 0.411765 | 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 | 0 | 0 | 0 | 2 |
0b8a38b18a9ad71abc85db82ce0b23850ed88931 | 8,747 | py | Python | frankfurt/Server/Models/MySQLdb_WITH_CONN_POOL.py | fcgtyg/SEAS | a11e3458fdd7c6e9a14bf89790d604f8d4993fda | [
"Apache-2.0"
] | 1 | 2021-08-31T11:24:35.000Z | 2021-08-31T11:24:35.000Z | frankfurt/Server/Models/MySQLdb_WITH_CONN_POOL.py | fcgtyg/SEAS | a11e3458fdd7c6e9a14bf89790d604f8d4993fda | [
"Apache-2.0"
] | null | null | null | frankfurt/Server/Models/MySQLdb_WITH_CONN_POOL.py | fcgtyg/SEAS | a11e3458fdd7c6e9a14bf89790d604f8d4993fda | [
"Apache-2.0"
] | 2 | 2018-06-19T23:48:46.000Z | 2021-08-31T12:21:00.000Z | # -*-coding:utf-8-*-
from DBTable import DBTable
from mysql.connector import pooling, InterfaceError, OperationalError
from Password import Password
class MySQLdb:
def __init__(self, db_name, user="root", password="Dragos!2017"):
self.name = db_name
self.allowed_extensions = {'png', 'jpg', 'jpeg'}... | 36.907173 | 119 | 0.488853 | 777 | 8,747 | 5.391248 | 0.247104 | 0.036763 | 0.026259 | 0.028408 | 0.173311 | 0.121747 | 0.088804 | 0.059203 | 0.059203 | 0.059203 | 0 | 0.010691 | 0.358409 | 8,747 | 236 | 120 | 37.063559 | 0.735745 | 0.044701 | 0 | 0.232804 | 0 | 0.015873 | 0.275345 | 0.009958 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.05291 | 0.015873 | null | null | 0.005291 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
0b8cf59446e01cf5697c725c9638ee3892b731fe | 464 | py | Python | retinanet/dataloader_style.py | JulesSanchez/pytorch-retinanet | dbf848b74d15704fa093290874447ba2e38acefd | [
"Apache-2.0"
] | 1 | 2021-03-15T17:08:50.000Z | 2021-03-15T17:08:50.000Z | retinanet/dataloader_style.py | JulesSanchez/pytorch-retinanet | dbf848b74d15704fa093290874447ba2e38acefd | [
"Apache-2.0"
] | null | null | null | retinanet/dataloader_style.py | JulesSanchez/pytorch-retinanet | dbf848b74d15704fa093290874447ba2e38acefd | [
"Apache-2.0"
] | null | null | null | import torch
from torch.utils import data
import numpy as np
class StyleDataset(data.Dataset):
def __init__(self,train_data,train_labels):
self.train_data = train_data
self.train_labels = train_labels
def __getitem__(self,index):
data, label = self.train_data[index], self.train_labels[i... | 27.294118 | 70 | 0.696121 | 64 | 464 | 4.703125 | 0.34375 | 0.179402 | 0.172757 | 0.119601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215517 | 464 | 16 | 71 | 29 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0b8e81043dbf9c91a415ead1b0845a19c54f71c7 | 2,360 | py | Python | app_folder/schemas/user.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | null | null | null | app_folder/schemas/user.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | null | null | null | app_folder/schemas/user.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | null | null | null | import uuid
from datetime import datetime
import re
from fastapi.responses import JSONResponse
from pydantic import BaseModel, ValidationError, validator, Field
from typing import Optional
class UserBase(BaseModel):
email: str
class UserLoginIn(UserBase):
password: str
class Config:
schema_extr... | 22.47619 | 88 | 0.569915 | 243 | 2,360 | 5.452675 | 0.358025 | 0.058113 | 0.045283 | 0.049811 | 0.181132 | 0.159245 | 0.043774 | 0 | 0 | 0 | 0 | 0.005051 | 0.328814 | 2,360 | 104 | 89 | 22.692308 | 0.831439 | 0 | 0 | 0.341463 | 0 | 0 | 0.147881 | 0.013559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036585 | false | 0.085366 | 0.073171 | 0 | 0.597561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
0b9854932ed7895fe9238c4d70bada431c1a97e1 | 1,000 | py | Python | analysis-master/tra_analysis/RegressionMetric.py | titanscouting/tra-analysis | 5153fc3f82b0ca3aa43d4e926127da10d84234dd | [
"BSD-3-Clause"
] | 2 | 2020-09-19T22:27:16.000Z | 2021-04-01T08:30:15.000Z | analysis-master/tra_analysis/RegressionMetric.py | titanscouting/red-alliance-analysis | 5153fc3f82b0ca3aa43d4e926127da10d84234dd | [
"BSD-3-Clause"
] | 23 | 2020-09-20T02:02:20.000Z | 2021-04-01T08:03:09.000Z | analysis-master/tra_analysis/RegressionMetric.py | titanscouting/red-alliance-analysis | 5153fc3f82b0ca3aa43d4e926127da10d84234dd | [
"BSD-3-Clause"
] | 4 | 2020-10-09T04:57:59.000Z | 2020-10-14T18:46:45.000Z | # Titan Robotics Team 2022: RegressionMetric submodule
# Written by Arthur Lu
# Notes:
# this should be imported as a python module using 'from tra_analysis import RegressionMetric'
# setup:
__version__ = "1.0.0"
__changelog__ = """changelog:
1.0.0:
- ported analysis.RegressionMetric() here
"""
__author__ = (
... | 23.809524 | 121 | 0.756 | 126 | 1,000 | 5.777778 | 0.484127 | 0.173077 | 0.115385 | 0.065934 | 0.131868 | 0.131868 | 0.131868 | 0 | 0 | 0 | 0 | 0.012791 | 0.14 | 1,000 | 42 | 122 | 23.809524 | 0.833721 | 0.209 | 0 | 0 | 0 | 0 | 0.147771 | 0.06242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.130435 | 0.173913 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
0b9eca340b69cfdbd55e1b0efd591ed47a2dff02 | 65 | py | Python | third_party/antlr_grammars_v4/python/tiny-python/tiny-grammar-without-actions/test_auto_trailing_NEWLINE_2.py | mikhan808/rsyntaxtextarea-antlr4-extension | be6a7881e0f6e1a5e8c8e65f7ca4898a2298aa77 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T21:24:09.000Z | 2021-09-15T08:27:27.000Z | third_party/antlr_grammars_v4/python/tiny-python/tiny-grammar-without-actions/test_auto_trailing_NEWLINE_2.py | mikhan808/rsyntaxtextarea-antlr4-extension | be6a7881e0f6e1a5e8c8e65f7ca4898a2298aa77 | [
"BSD-3-Clause"
] | null | null | null | third_party/antlr_grammars_v4/python/tiny-python/tiny-grammar-without-actions/test_auto_trailing_NEWLINE_2.py | mikhan808/rsyntaxtextarea-antlr4-extension | be6a7881e0f6e1a5e8c8e65f7ca4898a2298aa77 | [
"BSD-3-Clause"
] | 2 | 2021-09-06T08:50:58.000Z | 2021-09-16T11:37:27.000Z | if i == 0:
i = 1 # there is no NEWLINE at the end of the code | 32.5 | 54 | 0.6 | 15 | 65 | 2.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.323077 | 65 | 2 | 54 | 32.5 | 0.840909 | 0.646154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
0ba4c41a3c54a95dd1fba1f1fc66488294f781cb | 4,179 | py | Python | basketball_analysis/Requests/Requests.py | ArjunMehta01/basketball_analysis | c60a87cb135be157cdb51c8ddba312f459672520 | [
"MIT"
] | null | null | null | basketball_analysis/Requests/Requests.py | ArjunMehta01/basketball_analysis | c60a87cb135be157cdb51c8ddba312f459672520 | [
"MIT"
] | 16 | 2020-11-10T02:29:21.000Z | 2022-03-12T00:50:43.000Z | basketball_analysis/Requests/Requests.py | albuquer-ualberta/HackED-Beta-Hackathon-2020-BasketBall-Analysis-Project | 5aad6ad5039a0d516debf06bbb7b3abeca6e5b4c | [
"MIT"
] | 3 | 2020-11-08T19:16:59.000Z | 2021-05-22T02:37:13.000Z | import pandas as pd
from bs4 import BeautifulSoup
from urllib.request import urlopen
class nba_request():
def __init__(self):
self.url = 'https://www.basketball-reference.com/leagues/NBA_' # NOT A FULL URL
def totals(self, url, year):
""" This gets the total statistics in a season
... | 33.432 | 115 | 0.599904 | 567 | 4,179 | 4.347443 | 0.209877 | 0.045436 | 0.051116 | 0.058418 | 0.554158 | 0.538742 | 0.511968 | 0.443408 | 0.443408 | 0.443408 | 0 | 0.005575 | 0.313233 | 4,179 | 124 | 116 | 33.701613 | 0.85331 | 0.474276 | 0 | 0 | 0 | 0 | 0.106017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.083333 | 0 | 0.638889 | 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 | 0 | 1 | 0 | 0 | 2 |
0bb7d1ecda748ade8c914a7de88532990e688ee5 | 994 | py | Python | vmad/lib/tests/test_mpi.py | Maxelee/vmad | f56a9473e59c9eee8e382d605ebf2647da8899b6 | [
"BSD-2-Clause"
] | 2 | 2020-09-01T17:50:13.000Z | 2021-10-17T04:43:17.000Z | vmad/lib/tests/test_mpi.py | rainwoodman/vmad | 0df94000aa7c178584bcd86a23dafb796762ad3c | [
"BSD-2-Clause"
] | 4 | 2020-03-03T16:43:20.000Z | 2021-01-12T17:46:41.000Z | vmad/lib/tests/test_mpi.py | Maxelee/vmad | f56a9473e59c9eee8e382d605ebf2647da8899b6 | [
"BSD-2-Clause"
] | 3 | 2020-02-23T16:39:36.000Z | 2020-11-18T18:27:29.000Z | from vmad.lib import linalg, mpi
from vmad.testing import BaseScalarTest
from mpi4py import MPI
import numpy
from pprint import pprint
class Test_allreduce(BaseScalarTest):
to_scalar = staticmethod(linalg.to_scalar)
comm = MPI.COMM_WORLD
x = comm.rank + 1.0
y = comm.allreduce(x) ** 2
x_ = numpy... | 23.666667 | 64 | 0.642857 | 152 | 994 | 4.144737 | 0.302632 | 0.063492 | 0.042857 | 0.107937 | 0.295238 | 0.190476 | 0.126984 | 0.073016 | 0 | 0 | 0 | 0.013316 | 0.244467 | 994 | 41 | 65 | 24.243902 | 0.825566 | 0.11167 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0.185185 | 0.111111 | 0.925926 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
0bbd37b0577985b71e84b5dd314e113c55fec4a9 | 1,206 | py | Python | test/test_model_case.py | jan-g/psh | c2641c9d2d7051dacb41474123889dd04bdd2989 | [
"Apache-2.0"
] | null | null | null | test/test_model_case.py | jan-g/psh | c2641c9d2d7051dacb41474123889dd04bdd2989 | [
"Apache-2.0"
] | null | null | null | test/test_model_case.py | jan-g/psh | c2641c9d2d7051dacb41474123889dd04bdd2989 | [
"Apache-2.0"
] | null | null | null | import pytest
from psh.model import Word, Id, CommandSequence, Command, Case, VarRef, ConstantString
from psh.glob import STAR
from psh.local import make_env
w = lambda w: Word([Id(w)])
a = Word([VarRef(Id("a"))])
echo = lambda out: CommandSequence([Command([Word([Id("echo")]), Word([ConstantString(out)])])])
x = w(... | 41.586207 | 100 | 0.626036 | 166 | 1,206 | 4.46988 | 0.26506 | 0.097035 | 0.188679 | 0.19407 | 0.380054 | 0.380054 | 0.380054 | 0.380054 | 0.287062 | 0.230458 | 0 | 0 | 0.123549 | 1,206 | 28 | 101 | 43.071429 | 0.701987 | 0 | 0 | 0 | 0 | 0 | 0.058872 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.173913 | 0 | 0.217391 | 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 | 0 | 0 | 0 | 2 |
0bbf82fc4abe8ef1c93b1accaad7df3609175666 | 260 | py | Python | days/day03/part1.py | jaredbancroft/aoc2021 | 4eaf339cc0c8566da2af13f7cb9cf6fe87355aac | [
"MIT"
] | null | null | null | days/day03/part1.py | jaredbancroft/aoc2021 | 4eaf339cc0c8566da2af13f7cb9cf6fe87355aac | [
"MIT"
] | null | null | null | days/day03/part1.py | jaredbancroft/aoc2021 | 4eaf339cc0c8566da2af13f7cb9cf6fe87355aac | [
"MIT"
] | null | null | null | from helpers import inputs
from submarine.submarine import Submarine
def solution(day):
report = inputs.read_to_list(f"inputs/{day}.txt")
s = Submarine()
power_consumption = s.diagnostics("power_consumption", report)
return power_consumption
| 26 | 66 | 0.753846 | 33 | 260 | 5.787879 | 0.575758 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 260 | 9 | 67 | 28.888889 | 0.868182 | 0 | 0 | 0 | 0 | 0 | 0.126923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f00729bf8cad3994e277fd181f1e0a9c57a0ca19 | 176 | py | Python | mongodb/demo11.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | null | null | null | mongodb/demo11.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | 3 | 2021-09-08T01:11:16.000Z | 2022-03-02T15:14:03.000Z | mongodb/demo11.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | 1 | 2019-08-04T09:57:29.000Z | 2019-08-04T09:57:29.000Z | import pymongo
client = pymongo.MongoClient(host='localhost', port=27017)
db = client.test
collection = db.students
result = collection.remove({'name': 'Kevin'})
print(result) | 25.142857 | 58 | 0.755682 | 22 | 176 | 6.045455 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031447 | 0.096591 | 176 | 7 | 59 | 25.142857 | 0.805031 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f00cfa8f5cc1169d10dd22b95506e847cdbd53cb | 3,156 | py | Python | letsencrypt/validator.py | josiasjuniorx/letsencrypt_requester | c3ad87005f34a728352ee1dab296795e00a0e642 | [
"Apache-2.0"
] | null | null | null | letsencrypt/validator.py | josiasjuniorx/letsencrypt_requester | c3ad87005f34a728352ee1dab296795e00a0e642 | [
"Apache-2.0"
] | null | null | null | letsencrypt/validator.py | josiasjuniorx/letsencrypt_requester | c3ad87005f34a728352ee1dab296795e00a0e642 | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/python
# -*- coding: utf-8 -*-
import time, logging
from oper_status_json import *
from api_dns import *
from dns_query import *
from sys import argv
from etc.settings import schema_json, intervalo, max_retry, status_json_dir
chall_hash = os.getenv('CERTBOT_VALIDATION')
dominio = os.getenv('CERTBOT_DOMAI... | 39.45 | 85 | 0.716413 | 433 | 3,156 | 4.872979 | 0.230947 | 0.21327 | 0.090995 | 0.093839 | 0.342654 | 0.26019 | 0.163981 | 0.070142 | 0.070142 | 0.070142 | 0 | 0.002307 | 0.175856 | 3,156 | 79 | 86 | 39.949367 | 0.80892 | 0.012357 | 0 | 0.176471 | 0 | 0 | 0.234992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.088235 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f025b99928af87c3de02142a48f34b9a0a67f2a9 | 1,028 | py | Python | tests/vcf_tools/test_parse_variant.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 46 | 2015-01-15T17:53:22.000Z | 2021-08-09T09:35:29.000Z | tests/vcf_tools/test_parse_variant.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 55 | 2015-06-04T09:09:29.000Z | 2021-05-20T10:48:18.000Z | tests/vcf_tools/test_parse_variant.py | moonso/genmod | 99b6c9510ffc67fd54c07eab24de5db7345ef95d | [
"MIT"
] | 15 | 2015-02-06T04:08:23.000Z | 2021-05-04T10:06:58.000Z | from genmod.vcf_tools import get_variant_id
class TestGetVariantId:
def test_get_variant_id(self):
variant = {
'CHROM': '1',
'POS': '10',
'REF': 'A',
'ALT': 'G'
}
assert get_variant_id(variant) == "1_10_A_G"
def test_get_variant_... | 26.358974 | 62 | 0.463035 | 116 | 1,028 | 3.741379 | 0.284483 | 0.207373 | 0.248848 | 0.156682 | 0.723502 | 0.679724 | 0.534562 | 0.534562 | 0.267281 | 0 | 0 | 0.070288 | 0.391051 | 1,028 | 39 | 62 | 26.358974 | 0.623003 | 0 | 0 | 0.470588 | 0 | 0 | 0.151604 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.029412 | 0 | 0.176471 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
f02e28bb40624b52f1c645d22e60ee36658aa864 | 63 | py | Python | Python Basics/2. If - Else/01. Excellent Result.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Basics/2. If - Else/01. Excellent Result.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Basics/2. If - Else/01. Excellent Result.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | grade = float(input())
if grade>=5.50:
print("Excellent!") | 15.75 | 23 | 0.619048 | 9 | 63 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.15873 | 63 | 4 | 23 | 15.75 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
f032dd1fb81954fb2b36b5e643f58d68ad7e9c3d | 468 | py | Python | resources/site-packages/kodi_six/xbmcplugin.py | projectx13/plugin.video.projectx | 554664c27eb6433f189ea06b1e647992a7a7ea1b | [
"BSD-3-Clause"
] | null | null | null | resources/site-packages/kodi_six/xbmcplugin.py | projectx13/plugin.video.projectx | 554664c27eb6433f189ea06b1e647992a7a7ea1b | [
"BSD-3-Clause"
] | null | null | null | resources/site-packages/kodi_six/xbmcplugin.py | projectx13/plugin.video.projectx | 554664c27eb6433f189ea06b1e647992a7a7ea1b | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Created on: 04.01.2018
# Author: Roman Miroshnychenko aka Roman V.M. (roman1972@gmail.com)
"""
Functions to create media contents plugins
"""
from __future__ import absolute_import
import sys as _sys
from .utils import PY2 as _PY2, ModuleWrapper as _ModuleWrapper
if _PY2:
import xbmcplugin as _x... | 26 | 67 | 0.769231 | 61 | 468 | 5.557377 | 0.622951 | 0.100295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040712 | 0.160256 | 468 | 17 | 68 | 27.529412 | 0.821883 | 0.311966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
f044a145f9af421b067a48149ac5d35c485e04f1 | 1,939 | py | Python | student/migrations/0001_initial.py | n0ss4/trobafeina | 4734a6459e423ddf051e98beb39072451ddb476f | [
"MIT"
] | null | null | null | student/migrations/0001_initial.py | n0ss4/trobafeina | 4734a6459e423ddf051e98beb39072451ddb476f | [
"MIT"
] | null | null | null | student/migrations/0001_initial.py | n0ss4/trobafeina | 4734a6459e423ddf051e98beb39072451ddb476f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-02-11 14:53
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrati... | 51.026316 | 153 | 0.642599 | 235 | 1,939 | 5.13617 | 0.353191 | 0.118476 | 0.119304 | 0.209611 | 0.42005 | 0.42005 | 0.42005 | 0.391052 | 0.391052 | 0.391052 | 0 | 0.038312 | 0.205776 | 1,939 | 37 | 154 | 52.405405 | 0.745455 | 0.035585 | 0 | 0 | 1 | 0 | 0.115694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137931 | 0 | 0.275862 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f04812e8de3946859d7cf76a820dcbb75de04221 | 306 | py | Python | tests/test_package.py | smisra87/ScopeReaders | bfce7944a9d005d6ae03923e6b5767056fb3326b | [
"MIT"
] | null | null | null | tests/test_package.py | smisra87/ScopeReaders | bfce7944a9d005d6ae03923e6b5767056fb3326b | [
"MIT"
] | null | null | null | tests/test_package.py | smisra87/ScopeReaders | bfce7944a9d005d6ae03923e6b5767056fb3326b | [
"MIT"
] | null | null | null | from __future__ import division, print_function, unicode_literals, absolute_import
import unittest
import sys
sys.path.append("../ScopeReaders/")
class TestImport(unittest.TestCase):
def test_basic(self):
import ScopeReaders as sr
print(sr.__version__)
self.assertTrue(True)
| 23.538462 | 82 | 0.74183 | 36 | 306 | 5.972222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173203 | 306 | 12 | 83 | 25.5 | 0.849802 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.555556 | 0 | 0.777778 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
f04b30fe4d2758e367d773248fbfaf4835badc75 | 328 | py | Python | mast/activities/utils.py | Matfyz-Developer-Student-Club/matfyz-activity-sport-tracker | e44ccde10408ad4f864556eabba84fbfefacfd70 | [
"MIT"
] | 5 | 2020-11-11T12:38:48.000Z | 2021-03-09T11:56:20.000Z | mast/activities/utils.py | Matfyz-Developer-Student-Club/matfyz-activity-sport-tracker | e44ccde10408ad4f864556eabba84fbfefacfd70 | [
"MIT"
] | 9 | 2020-11-08T17:23:08.000Z | 2021-04-18T19:50:15.000Z | mast/activities/utils.py | Matfyz-Developer-Student-Club/matfyz-activity-sport-tracker | e44ccde10408ad4f864556eabba84fbfefacfd70 | [
"MIT"
] | null | null | null | def ordinal(number):
if number <= 0:
return 'none'
tmp = number % 100
if tmp >= 20:
tmp = tmp % 10
if tmp == 1:
return str(number) + 'st'
elif tmp == 2:
return str(number) + 'nd'
elif tmp == 3:
return str(number) + 'rd'
else:
return str(number)... | 21.866667 | 33 | 0.47561 | 43 | 328 | 3.627907 | 0.488372 | 0.230769 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054726 | 0.387195 | 328 | 14 | 34 | 23.428571 | 0.721393 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
f057014b598c16157d3314673d7464d5e3dd4bc2 | 1,570 | py | Python | Samples/TipCalculator/Python_Export/TipMain.py | Embarcadero/Delphi4PythonExporter | 0137a298552e5356fa2cadb4fc288adeed0f03f4 | [
"MIT"
] | 18 | 2022-02-02T20:23:03.000Z | 2022-03-29T11:26:41.000Z | Samples/TipCalculator/Python_Export/TipMain.py | Embarcadero/Delphi4PythonExporter | 0137a298552e5356fa2cadb4fc288adeed0f03f4 | [
"MIT"
] | 3 | 2022-02-14T13:19:29.000Z | 2022-03-28T20:07:33.000Z | Samples/TipCalculator/Python_Export/TipMain.py | Embarcadero/Delphi4PythonExporter | 0137a298552e5356fa2cadb4fc288adeed0f03f4 | [
"MIT"
] | 6 | 2022-02-10T03:12:04.000Z | 2022-03-27T17:41:30.000Z | import os
from delphifmx import *
class Main_Window(Form):
def __init__(self, owner):
self.styleRuby = None
self.styleLight = None
self.ListBox1 = None
self.ListBoxItem1 = None
self.editTotal = None
self.Label6 = None
self.ListBoxItem2 = None
self.La... | 25.737705 | 97 | 0.610828 | 175 | 1,570 | 5.325714 | 0.371429 | 0.257511 | 0.120172 | 0.127682 | 0.096567 | 0.096567 | 0 | 0 | 0 | 0 | 0 | 0.014842 | 0.313376 | 1,570 | 61 | 98 | 25.737705 | 0.849722 | 0 | 0 | 0.156863 | 0 | 0 | 0.008275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0.156863 | 0.039216 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
f0784bd6861fa9f5fe9e37ea65c5112fdda1a9d9 | 5,233 | py | Python | c6_1101_Bintree_map.py | Julia-Run/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python | 8c7d06e701baf524108475229b092e0fa730479f | [
"MIT"
] | null | null | null | c6_1101_Bintree_map.py | Julia-Run/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python | 8c7d06e701baf524108475229b092e0fa730479f | [
"MIT"
] | null | null | null | c6_1101_Bintree_map.py | Julia-Run/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python | 8c7d06e701baf524108475229b092e0fa730479f | [
"MIT"
] | null | null | null | # 二叉搜索树,实现映射抽象数据类型。(之前用散列实现过)
# Map() / put(key,value) /del amap[key] / get(key) /len() /in
# 二叉搜索树:对任意一个节点,比节点值小的值放在左子值,大的放在右子树,也叫做二叉搜索性
# 必须处理并创建一颗空的二叉树,因此在实现的过程中必须使用两个类,涉及两个类的耦合问题
# put函数,新来的一定被放在最后,无论大小
class TreeNode(object):
def __init__(self, key, val, lc=None, rc=None, par=None):
self.ke... | 30.248555 | 119 | 0.484808 | 591 | 5,233 | 4.175973 | 0.19797 | 0.06483 | 0.062399 | 0.025932 | 0.220421 | 0.125608 | 0.082658 | 0.082658 | 0.061588 | 0.029173 | 0 | 0.005515 | 0.341678 | 5,233 | 172 | 120 | 30.424419 | 0.710885 | 0.143895 | 0 | 0.206349 | 0 | 0 | 0.008459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206349 | false | 0 | 0 | 0.103175 | 0.412698 | 0.039683 | 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 | 0 | 0 | 0 | 2 |
b2b7c18b1d7ab369b7c8a1ba25273eb7ddf58af5 | 541 | py | Python | mezzanine/core/apps.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 3 | 2019-05-14T13:43:26.000Z | 2021-11-09T11:27:16.000Z | mezzanine/core/apps.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 9 | 2020-03-24T16:20:31.000Z | 2022-03-11T23:32:38.000Z | mezzanine/core/apps.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 2 | 2019-11-12T14:09:39.000Z | 2019-11-12T14:11:16.000Z | from __future__ import unicode_literals
from django import VERSION as DJANGO_VERSION
from django.apps import AppConfig
class CoreConfig(AppConfig):
name = 'mezzanine.core'
def ready(self):
from . import checks # noqa
if DJANGO_VERSION < (1, 9):
# add_to_builtins was removed in... | 28.473684 | 72 | 0.695009 | 70 | 541 | 5.171429 | 0.642857 | 0.082873 | 0.107735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 0.249538 | 541 | 18 | 73 | 30.055556 | 0.881773 | 0.218115 | 0 | 0 | 0 | 0 | 0.105012 | 0.071599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.5 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
b2b906d9c4c1a8abd46022edd60fe2f0dd83d47a | 19,441 | py | Python | spacy/lang/nb/morph_rules.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 5 | 2019-04-19T06:27:29.000Z | 2019-12-02T13:30:47.000Z | spacy/lang/nb/morph_rules.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | null | null | null | spacy/lang/nb/morph_rules.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 2 | 2019-04-19T06:27:18.000Z | 2019-10-04T12:39:15.000Z | # encoding: utf8
from __future__ import unicode_literals
from ...symbols import LEMMA, PRON_LEMMA
"""
This dict includes all the PRON and DET tag combinations found in the
dataset developed by Schibsted, Nasjonalbiblioteket and LTG (to be published
autumn 2018) and the rarely used polite form.
"""
MORP... | 58.734139 | 145 | 0.503112 | 2,050 | 19,441 | 4.665854 | 0.090244 | 0.153685 | 0.064401 | 0.087402 | 0.831992 | 0.75609 | 0.655201 | 0.592054 | 0.475484 | 0.382018 | 0 | 0.001934 | 0.255182 | 19,441 | 330 | 146 | 58.912121 | 0.658633 | 0.016409 | 0 | 0.083333 | 0 | 0.012821 | 0.457212 | 0.170183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00641 | 0 | 0.00641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b2bae0a18d4ffa7980a9933a7dba9b42357b8406 | 849 | py | Python | bigstore/backends/rackspace.py | dubois/git-bigstore | b1438723c08d4f7066a757d092565f9fc4bbc544 | [
"Apache-2.0"
] | null | null | null | bigstore/backends/rackspace.py | dubois/git-bigstore | b1438723c08d4f7066a757d092565f9fc4bbc544 | [
"Apache-2.0"
] | null | null | null | bigstore/backends/rackspace.py | dubois/git-bigstore | b1438723c08d4f7066a757d092565f9fc4bbc544 | [
"Apache-2.0"
] | null | null | null | try:
import cloudfiles
except ImportError:
pass
class RackspaceBackend(object):
def __init__(self, username, api_key, container_name):
self.username = username
self.api_key = api_key
self.conn = cloudfiles.Connection(username=username, api_key=api_key)
self.container = cloud... | 28.3 | 99 | 0.667845 | 112 | 849 | 4.928571 | 0.348214 | 0.054348 | 0.059783 | 0.043478 | 0.268116 | 0.210145 | 0.105072 | 0.105072 | 0 | 0 | 0 | 0.002976 | 0.208481 | 849 | 29 | 100 | 29.275862 | 0.818452 | 0 | 0 | 0 | 0 | 0 | 0.01771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.047619 | 0.095238 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
b2c04c3aeeebc64963cb13ad9dc78968fc9b9f12 | 989 | py | Python | backend/web.py | thep0y/WFCleanupTool | cda8d82a07eef9d5f1eaa41c7b56074b502e7494 | [
"MIT"
] | 6 | 2021-01-16T04:26:00.000Z | 2022-02-03T10:04:59.000Z | backend/web.py | thep0y/WFCleanupTool | cda8d82a07eef9d5f1eaa41c7b56074b502e7494 | [
"MIT"
] | null | null | null | backend/web.py | thep0y/WFCleanupTool | cda8d82a07eef9d5f1eaa41c7b56074b502e7494 | [
"MIT"
] | 3 | 2021-01-16T04:24:37.000Z | 2021-10-01T11:54:24.000Z | from typing import List
from fastapi import FastAPI, Request, HTTPException
from fastapi.responses import HTMLResponse
from fastapi.templating import Jinja2Templates
from fastapi.staticfiles import StaticFiles
from pydantic import BaseModel
from backend.settings import TEMPLATES_DIR, STATIC_DIR
from backend.handlers... | 26.026316 | 73 | 0.757331 | 125 | 989 | 5.888 | 0.472 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007075 | 0.142568 | 989 | 37 | 74 | 26.72973 | 0.860849 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.32 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
b2c8681be8efbee54697ae059bfef8fbbe369631 | 267 | py | Python | saleor/menu/migrations/0009_remove_menu_json_content.py | elwoodxblues/saleor | 5e4e4a4259a011d24b04ebd24c77c689de843fa1 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/menu/migrations/0009_remove_menu_json_content.py | elwoodxblues/saleor | 5e4e4a4259a011d24b04ebd24c77c689de843fa1 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/menu/migrations/0009_remove_menu_json_content.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | # Generated by Django 2.0.8 on 2018-09-13 13:38
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("menu", "0008_menu_json_content_new")]
operations = [migrations.RemoveField(model_name="menu", name="json_content")]
| 24.272727 | 81 | 0.741573 | 37 | 267 | 5.189189 | 0.72973 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081897 | 0.131086 | 267 | 10 | 82 | 26.7 | 0.74569 | 0.168539 | 0 | 0 | 1 | 0 | 0.209091 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
b2cdba9aa31b33c0d3532068002ac73902cc35c1 | 1,807 | py | Python | src/sdios/api/sharing/driver.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | src/sdios/api/sharing/driver.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | src/sdios/api/sharing/driver.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | """SharingDriver class object"""
from typing import Optional
from sdios.api.base_driver import BaseDriver
from sdios.api.driver import APIDriver
from sdios.api.driver import APIResponse
from sdios.settings.urls import APICategory
class SharingDriver(BaseDriver):
"""Make all network API calls."""
_category = ... | 35.431373 | 87 | 0.672385 | 240 | 1,807 | 4.854167 | 0.266667 | 0.046352 | 0.042918 | 0.098712 | 0.347639 | 0.260086 | 0.260086 | 0.225751 | 0.133047 | 0.094421 | 0 | 0 | 0.223575 | 1,807 | 50 | 88 | 36.14 | 0.830364 | 0.334256 | 0 | 0.086957 | 0 | 0 | 0.057866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.217391 | 0 | 0.826087 | 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 | 0 | 1 | 0 | 0 | 2 |
b2df4717db084e36c2626696db62ff71415d3432 | 149 | py | Python | dbix/__init__.py | alexbodn/python-dbix | 769298cc510a95437d9d7e7641b616b6aec97ced | [
"Apache-2.0"
] | null | null | null | dbix/__init__.py | alexbodn/python-dbix | 769298cc510a95437d9d7e7641b616b6aec97ced | [
"Apache-2.0"
] | 3 | 2021-03-25T21:40:41.000Z | 2021-11-15T17:46:46.000Z | dbix/__init__.py | alexbodn/python-dbix | 769298cc510a95437d9d7e7641b616b6aec97ced | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for dbix."""
__author__ = """Alex Bodnaru"""
__email__ = 'alexbodn@gmail.com'
__version__ = '0.3.0'
| 14.9 | 33 | 0.61745 | 19 | 149 | 4.210526 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.154362 | 149 | 9 | 34 | 16.555556 | 0.603175 | 0.33557 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b2e4d34e705fefe2f80b1eb07b8bd9bcba7cabed | 2,080 | py | Python | tests/test_pipeline4.py | gvwilson/nitinat | 48d95e27301af955c09d3757507f8fd66ce204d7 | [
"MIT"
] | null | null | null | tests/test_pipeline4.py | gvwilson/nitinat | 48d95e27301af955c09d3757507f8fd66ce204d7 | [
"MIT"
] | 14 | 2022-03-22T22:48:14.000Z | 2022-03-31T11:18:53.000Z | tests/test_pipeline4.py | gvwilson/nitinat | 48d95e27301af955c09d3757507f8fd66ce204d7 | [
"MIT"
] | null | null | null | """Test layered configuration pipeline."""
from pathlib import Path
from unittest.mock import patch
import yaml
from nitinat.pipeline4 import SYSTEM_CONFIG, read_layered_config
GET_HOME_DIR = "nitinat.pipeline4._get_home_dir"
def make_file(fs, path, contents):
fs.create_file(path, contents=yaml.dump(contents)... | 34.098361 | 68 | 0.706731 | 289 | 2,080 | 4.844291 | 0.17301 | 0.107143 | 0.057143 | 0.071429 | 0.782143 | 0.725 | 0.725 | 0.659286 | 0.575714 | 0.555714 | 0 | 0.006787 | 0.15 | 2,080 | 60 | 69 | 34.666667 | 0.785068 | 0.017308 | 0 | 0.534884 | 0 | 0 | 0.236506 | 0.15947 | 0 | 0 | 0 | 0 | 0.116279 | 1 | 0.139535 | false | 0 | 0.093023 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b2e72d250d6551ed3085c9d3409aa771a7e4aa98 | 5,214 | py | Python | tests_integ/asyncio/test_index.py | kvasnevskyi/elasticmagic | 55e790ca3453fb331167ed7841e5a69edec5ccfb | [
"Apache-2.0"
] | null | null | null | tests_integ/asyncio/test_index.py | kvasnevskyi/elasticmagic | 55e790ca3453fb331167ed7841e5a69edec5ccfb | [
"Apache-2.0"
] | null | null | null | tests_integ/asyncio/test_index.py | kvasnevskyi/elasticmagic | 55e790ca3453fb331167ed7841e5a69edec5ccfb | [
"Apache-2.0"
] | null | null | null | import pytest
from elasticmagic.search import SearchQuery
from .conftest import Car
@pytest.mark.asyncio
async def test_get(es_index, cars):
doc = await es_index.get(1, doc_cls=Car)
assert doc.name == 'Lightning McQueen'
assert doc._id == '1'
assert doc._index == es_index.get_name()
assert doc._... | 25.684729 | 76 | 0.656502 | 787 | 5,214 | 4.128335 | 0.09784 | 0.155125 | 0.066482 | 0.06402 | 0.762696 | 0.718683 | 0.680825 | 0.621114 | 0.558326 | 0.536781 | 0 | 0.014999 | 0.219985 | 5,214 | 202 | 77 | 25.811881 | 0.78387 | 0 | 0 | 0.592105 | 0 | 0 | 0.061757 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0.019737 | 0 | 0.019737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b2ea6d0779757f9f2a94fbcf4fb048d321404281 | 442 | py | Python | assignments/python3/hello/hello.py | jeremybergen/csci000-astudent | ab14521a476103ce60f5d8ef61095a5c712a64d4 | [
"MIT"
] | 2 | 2020-08-19T15:35:20.000Z | 2021-08-31T19:35:43.000Z | assignments/python3/hello/hello.py | jeremybergen/csci000-astudent | ab14521a476103ce60f5d8ef61095a5c712a64d4 | [
"MIT"
] | null | null | null | assignments/python3/hello/hello.py | jeremybergen/csci000-astudent | ab14521a476103ce60f5d8ef61095a5c712a64d4 | [
"MIT"
] | 18 | 2020-08-17T03:54:40.000Z | 2021-10-12T08:06:23.000Z | #!/usr/bin/env python3
# Kattis - hello problem
import sys
def answer():
return "Hello World!"
# not used!
def greet(name):
ans = f'Hello {name}!'
return ans
def solve():
print(answer())
def test():
assert answer() == "Hello World!"
print('all test cases passed...')
if __name__ == "__main... | 17 | 51 | 0.567873 | 59 | 442 | 4.118644 | 0.559322 | 0.08642 | 0.065844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009231 | 0.264706 | 442 | 26 | 52 | 17 | 0.738462 | 0.156109 | 0 | 0 | 0 | 0 | 0.197297 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.25 | false | 0.0625 | 0.0625 | 0.0625 | 0.4375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
b2f76807af04f1bf6263bc0b724a19cf5d2bc5c6 | 16,828 | py | Python | pysnmp/CISCO-RADIUS-EXT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/CISCO-RADIUS-EXT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/CISCO-RADIUS-EXT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CISCO-RADIUS-EXT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-RADIUS-EXT-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:53:51 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (defau... | 140.233333 | 2,981 | 0.78512 | 1,675 | 16,828 | 7.886567 | 0.113433 | 0.010144 | 0.012036 | 0.015746 | 0.337774 | 0.311734 | 0.286223 | 0.26003 | 0.26003 | 0.227858 | 0 | 0.059367 | 0.073092 | 16,828 | 119 | 2,982 | 141.411765 | 0.787537 | 0.019848 | 0 | 0.036364 | 0 | 0 | 0.202972 | 0.065575 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072727 | 0 | 0.1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b2f9bc97ad3167e12778a5f96766c4d7979d727e | 742 | py | Python | scripts/08.py | hstern2/pet-fish-eric | 38cf51613d8a4256bc0c3248fb5c114b83307972 | [
"MIT"
] | null | null | null | scripts/08.py | hstern2/pet-fish-eric | 38cf51613d8a4256bc0c3248fb5c114b83307972 | [
"MIT"
] | null | null | null | scripts/08.py | hstern2/pet-fish-eric | 38cf51613d8a4256bc0c3248fb5c114b83307972 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
### if statements
#a = 38
#if a == 37: # two equals signs for comparison (one for assignment)
# print('yes, a is equal to 37')
# print('more stuff')
#if a != 38: print('no, a is not equal to 38')
#a = 14
#if a > 10:
# print('bigger than 10')
# print('yes')
# if a > 20:
# p... | 17.666667 | 68 | 0.574124 | 127 | 742 | 3.354331 | 0.440945 | 0.049296 | 0.056338 | 0.046948 | 0.103286 | 0.103286 | 0.103286 | 0 | 0 | 0 | 0 | 0.084956 | 0.238544 | 742 | 41 | 69 | 18.097561 | 0.669027 | 0.889488 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
b2fd7e416bfe8756ad508933cf3c0198f950174c | 1,517 | py | Python | jubakit/_cli/service/bandit.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 12 | 2016-04-11T04:49:08.000Z | 2019-02-08T01:43:46.000Z | jubakit/_cli/service/bandit.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 138 | 2016-04-11T05:57:48.000Z | 2020-09-26T03:09:31.000Z | jubakit/_cli/service/bandit.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 10 | 2016-04-11T03:18:45.000Z | 2018-04-14T10:11:15.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from jubatus.bandit.types import *
from .generic import GenericCLI
from ..args import Arguments
from ..util import *
from ..._stdio import print
class BanditCLI(GenericCLI):
@classmethod
def _name(cls):
... | 26.155172 | 82 | 0.709954 | 217 | 1,517 | 4.714286 | 0.262673 | 0.093842 | 0.073314 | 0.083089 | 0.26784 | 0.113392 | 0.113392 | 0 | 0 | 0 | 0 | 0.000808 | 0.183916 | 1,517 | 57 | 83 | 26.614035 | 0.825525 | 0.295979 | 0 | 0.178571 | 0 | 0 | 0.006104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.214286 | 0.035714 | 0.535714 | 0.214286 | 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 | 0 | 1 | 0 | 0 | 2 |
6503d4478de9516fc1427db376fc27f6ae4e94d1 | 690 | py | Python | terra/projects/migrations/0008_auto_20190222_1212.py | dymaxionlabs/platform | 98fe893d4632d62fea3e2357f16d970014037cdf | [
"BSD-3-Clause"
] | null | null | null | terra/projects/migrations/0008_auto_20190222_1212.py | dymaxionlabs/platform | 98fe893d4632d62fea3e2357f16d970014037cdf | [
"BSD-3-Clause"
] | 1 | 2022-01-21T20:07:50.000Z | 2022-01-21T20:07:50.000Z | terra/projects/migrations/0008_auto_20190222_1212.py | dymaxionlabs/platform | 98fe893d4632d62fea3e2357f16d970014037cdf | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.1.7 on 2019-02-22 12:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0007_auto_20190222_0155'),
]
operations = [
migrations.RemoveField(
model_name='layer',
name='collection... | 23 | 62 | 0.552174 | 61 | 690 | 6.131148 | 0.639344 | 0.072193 | 0.139037 | 0.160428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067391 | 0.333333 | 690 | 29 | 63 | 23.793103 | 0.745652 | 0.065217 | 0 | 0.347826 | 1 | 0 | 0.161742 | 0.03577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
65122228a3de888f6abd20ce939960f266d53df7 | 155 | py | Python | Python/CodingBat/string_splosion.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 1 | 2018-05-24T11:30:05.000Z | 2018-05-24T11:30:05.000Z | Python/CodingBat/string_splosion.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | null | null | null | Python/CodingBat/string_splosion.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 2 | 2017-08-11T06:53:30.000Z | 2017-08-29T12:07:52.000Z | # http://codingbat.com/prob/p118366
def string_splosion(str):
result = ""
for i in range( len(str) ):
result += str[:i+1]
return result
| 15.5 | 35 | 0.606452 | 22 | 155 | 4.227273 | 0.772727 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0.23871 | 155 | 9 | 36 | 17.222222 | 0.728814 | 0.212903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 2 |
6518616feb4893e4abfe7db84c1ae3eea3b80abc | 621 | py | Python | fuzz_lightyear/settings.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 169 | 2019-11-06T20:30:16.000Z | 2022-01-22T15:55:19.000Z | fuzz_lightyear/settings.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 29 | 2019-09-24T19:44:03.000Z | 2021-10-01T09:29:30.000Z | fuzz_lightyear/settings.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 27 | 2019-12-27T19:57:28.000Z | 2021-12-08T05:38:10.000Z | import random
from functools import lru_cache
from hypothesis import core
class Settings:
def __init__(self) -> None:
self.seed = random.getrandbits(128) # type: int
self.unicode_enabled = True # type: bool
self.enable_color = True # type: bool
@property
... | 23 | 59 | 0.610306 | 75 | 621 | 4.88 | 0.466667 | 0.065574 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.297907 | 621 | 26 | 60 | 23.884615 | 0.830275 | 0.070853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.526316 | 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 | 0 | 0 | 0 | 2 |
652b71e795908d42bc90ffed30adf93b319db53f | 2,142 | py | Python | src/package/package.py | buckler-project/armoury | 3d4c1bb9e8af190ba95d60d502b39699848d1e62 | [
"MIT"
] | 1 | 2019-02-02T06:21:21.000Z | 2019-02-02T06:21:21.000Z | src/package/package.py | buckler-project/armoury | 3d4c1bb9e8af190ba95d60d502b39699848d1e62 | [
"MIT"
] | 5 | 2019-01-28T00:59:15.000Z | 2019-01-31T10:35:36.000Z | src/package/package.py | buckler-project/armoury | 3d4c1bb9e8af190ba95d60d502b39699848d1e62 | [
"MIT"
] | null | null | null | import os
from abc import *
import yaml
from utils import setting as _setting
from utils import cmd as _cmd
class Package:
def __init__(self, url, name, auther):
self.url = url
self.name = name
self.auther = auther
self.parent_path = ''
self.config_path = ''
def get_... | 28.184211 | 87 | 0.588235 | 271 | 2,142 | 4.498155 | 0.180812 | 0.045939 | 0.068909 | 0.059065 | 0.347006 | 0.307629 | 0.19032 | 0.139459 | 0.077112 | 0.077112 | 0 | 0.003891 | 0.280112 | 2,142 | 75 | 88 | 28.56 | 0.786641 | 0.012605 | 0 | 0.117647 | 0 | 0 | 0.146641 | 0.108798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215686 | false | 0 | 0.098039 | 0.098039 | 0.54902 | 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 | 0 | 1 | 0 | 0 | 2 |
653c70c60c0d7ef949109e28123826d11600c11b | 1,617 | py | Python | plac.py | IMP1/plac | ec749953e3103ff17cfdc3ab1c7021e336087689 | [
"BSD-2-Clause"
] | null | null | null | plac.py | IMP1/plac | ec749953e3103ff17cfdc3ab1c7021e336087689 | [
"BSD-2-Clause"
] | null | null | null | plac.py | IMP1/plac | ec749953e3103ff17cfdc3ab1c7021e336087689 | [
"BSD-2-Clause"
] | null | null | null | # ######################### LICENCE ###############################
#
# Copyright (c) 2010-2019, Michele Simionato
# All rights reserved.
#
# Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# Redistributions in bytecode for... | 42.552632 | 75 | 0.719233 | 214 | 1,617 | 5.38785 | 0.593458 | 0.020815 | 0.029488 | 0.039896 | 0.159584 | 0.117953 | 0.117953 | 0.117953 | 0.117953 | 0.117953 | 0 | 0.008423 | 0.192331 | 1,617 | 37 | 76 | 43.702703 | 0.874426 | 0.78355 | 0 | 0 | 0 | 0 | 0.018939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
653ff4d916e337271a14b35104f3b403f5c161f2 | 538 | py | Python | medium/109-convert-sorted-list-to-binary-search-tree.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 2 | 2021-03-14T11:38:26.000Z | 2021-03-14T11:38:30.000Z | medium/109-convert-sorted-list-to-binary-search-tree.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | null | null | null | medium/109-convert-sorted-list-to-binary-search-tree.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 1 | 2022-01-17T19:33:23.000Z | 2022-01-17T19:33:23.000Z | '''
有序链表转换二叉搜索树
给定一个单链表,其中的元素按升序排序,将其转换为高度平衡的二叉搜索树。
本题中,一个高度平衡二叉树是指一个二叉树每个节点 的左右两个子树的高度差的绝对值不超过 1。
'''
# Definition for singly-linked list.
class ListNode:
def __init__(self, val=0, next=None):
self.val = val
self.next = next
# Definition for a binary tree node.
class TreeNode:
def __init_... | 16.30303 | 58 | 0.650558 | 64 | 538 | 5.34375 | 0.53125 | 0.081871 | 0.064327 | 0.081871 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007335 | 0.239777 | 538 | 32 | 59 | 16.8125 | 0.828851 | 0.310409 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
e8df1d4ef83b0db14a5117861d0d3fa8521966d2 | 459 | py | Python | Ar_Script/ar_179_测试_键盘事件.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | Ar_Script/ar_179_测试_键盘事件.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | 1 | 2020-01-19T01:19:57.000Z | 2020-01-19T01:19:57.000Z | Ar_Script/ar_179_测试_键盘事件.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
driver=webdriver.Chrome()
driver.get('http://www.baidu.com')
target=driver.find_element_by_id('kw')
target.send_keys('Seleniumm')
target.send_keys(Keys.BACK_SPACE)
target.send_keys(Keys.SPACE)
target.send_keys('教程')
target.send... | 21.857143 | 47 | 0.786492 | 73 | 459 | 4.794521 | 0.452055 | 0.2 | 0.28 | 0.257143 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002315 | 0.058824 | 459 | 20 | 48 | 22.95 | 0.80787 | 0 | 0 | 0 | 0 | 0 | 0.078603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
e8dfded34275b57fdd49f1f468f5f65ebd3c105a | 10,337 | py | Python | python/pycascading/decorators.py | fakeNetflix/twitter-repo-pycascading | 2b7228e953046c60ebabd7dfb9f30ef995b88be0 | [
"Apache-2.0"
] | 49 | 2015-02-10T13:42:39.000Z | 2021-08-08T00:32:34.000Z | python/pycascading/decorators.py | fakeNetflix/twitter-repo-pycascading | 2b7228e953046c60ebabd7dfb9f30ef995b88be0 | [
"Apache-2.0"
] | 2 | 2015-05-06T16:57:00.000Z | 2018-08-16T21:30:29.000Z | python/pycascading/decorators.py | fakeNetflix/twitter-repo-pycascading | 2b7228e953046c60ebabd7dfb9f30ef995b88be0 | [
"Apache-2.0"
] | 16 | 2015-05-06T20:12:20.000Z | 2021-07-17T21:32:04.000Z | #
# Copyright 2011 Twitter, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 38.715356 | 141 | 0.742769 | 1,476 | 10,337 | 5.140244 | 0.24458 | 0.035587 | 0.03875 | 0.049822 | 0.168051 | 0.127455 | 0.101489 | 0.091472 | 0.091472 | 0.046659 | 0 | 0.004235 | 0.200445 | 10,337 | 266 | 142 | 38.860902 | 0.913733 | 0.688111 | 0 | 0.113208 | 0 | 0 | 0.059203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.283019 | false | 0 | 0.075472 | 0.018868 | 0.660377 | 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 | 0 | 1 | 0 | 0 | 2 |
e8e51de88534d7a3c8482383df8212605749a709 | 375 | py | Python | ex39.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | null | null | null | ex39.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | null | null | null | ex39.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | 1 | 2021-06-09T22:33:11.000Z | 2021-06-09T22:33:11.000Z | # Escreva um programa que leia a velocidade de um carro. Se ele ultrapassar 80Km/h, mostre uma mensagem dizendo que ele foi multado. A multa vai custar R$7,00 por cada Km acima do limite.
v = float(input('Qual é a velocidade atual do carro? '))
if v > 80:
print('Multado!')
m = (v - 80) * 7
print(f'Você dev... | 46.875 | 187 | 0.682667 | 70 | 375 | 3.657143 | 0.7 | 0.085938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0.210667 | 375 | 8 | 188 | 46.875 | 0.831081 | 0.493333 | 0 | 0 | 0 | 0 | 0.502646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 2 |
e8f8ab8f3576c601b611a0139717a2c8359ec955 | 717 | py | Python | src/__init__.py | combro2k/pluGET | 54cb421ff981849f488c7f2fe45d94cd920db62b | [
"Apache-2.0"
] | null | null | null | src/__init__.py | combro2k/pluGET | 54cb421ff981849f488c7f2fe45d94cd920db62b | [
"Apache-2.0"
] | null | null | null | src/__init__.py | combro2k/pluGET | 54cb421ff981849f488c7f2fe45d94cd920db62b | [
"Apache-2.0"
] | null | null | null | if __package__:
from pluGET.utils.consoleoutput import consoleTitle, clearConsole, printMainMenu
from pluGET.utils.utilities import check_requirements
from pluGET.handlers.handle_input import createInputLists, getInput
from pluGET.handlers.handle_config import checkConfig
else:
from utils.consoleout... | 31.173913 | 84 | 0.786611 | 70 | 717 | 7.9 | 0.328571 | 0.072333 | 0.05425 | 0.130199 | 0.708861 | 0.575045 | 0.426763 | 0 | 0 | 0 | 0 | 0 | 0.158996 | 717 | 22 | 85 | 32.590909 | 0.917081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | true | 0 | 0.421053 | 0 | 0.473684 | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
e8fc5b6111090b69c0c3190a28dca79322306ebb | 678 | py | Python | drawer/multithread_plot.py | YOYOPIG/master-thesis | 9458d76e2513511342e2b2e288789c46bec21052 | [
"MIT"
] | null | null | null | drawer/multithread_plot.py | YOYOPIG/master-thesis | 9458d76e2513511342e2b2e288789c46bec21052 | [
"MIT"
] | null | null | null | drawer/multithread_plot.py | YOYOPIG/master-thesis | 9458d76e2513511342e2b2e288789c46bec21052 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
name_dict = {'1': 1, '32': 2, '64': 3, '128': 4, '256': 5}
threads = [1, 2, 3, 4, 5]
# threads = [1, 32, 64, 128, 256]
cpu = [0.203837, 0.050556, 0.050278, 0.053056, 0.055000]
gpu = [0.342212, 0.209722, 0.215000, 0.217778, 0.224167]
X_axis = np.arange(len(cpu))
plt.... | 25.111111 | 58 | 0.632743 | 135 | 678 | 3.111111 | 0.444444 | 0.047619 | 0.042857 | 0.019048 | 0.138095 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0.223932 | 0.137168 | 678 | 27 | 59 | 25.111111 | 0.494017 | 0.210914 | 0 | 0 | 0 | 0 | 0.116981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e8ffdd699106cb074a36b6d1078b007ff548b42d | 253 | py | Python | Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/map_example.py | Elzei/show-off | fd6c46480160d795a7c1c833a798f3d49eddf144 | [
"MIT"
] | null | null | null | Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/map_example.py | Elzei/show-off | fd6c46480160d795a7c1c833a798f3d49eddf144 | [
"MIT"
] | null | null | null | Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/map_example.py | Elzei/show-off | fd6c46480160d795a7c1c833a798f3d49eddf144 | [
"MIT"
] | null | null | null | def show(arg):
print arg
return arg + 1
if __name__ == '__main__':
data = [ 10, 20, 30, 40 ]
result = map(show, data)
print "-" * 10
print result
print "-" * 10
result = map(lambda x : x * 2 + 1, data)
print result
| 18.071429 | 44 | 0.529644 | 36 | 253 | 3.5 | 0.527778 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.335968 | 253 | 13 | 45 | 19.461538 | 0.660714 | 0 | 0 | 0.363636 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
3300656c93c437a574236b0cb68993bd1b979724 | 476 | py | Python | h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2olog_and_echo.py | My-Technical-Architect/h2o-3 | d383802fb7f9c3ec9c72b7869fe636059a333d88 | [
"Apache-2.0"
] | 1 | 2017-03-28T09:10:12.000Z | 2017-03-28T09:10:12.000Z | h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2olog_and_echo.py | My-Technical-Architect/h2o-3 | d383802fb7f9c3ec9c72b7869fe636059a333d88 | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2olog_and_echo.py | My-Technical-Architect/h2o-3 | d383802fb7f9c3ec9c72b7869fe636059a333d88 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import sys
sys.path.insert(1,"../../../")
from tests import pyunit_utils
import h2o
def h2olog_and_echo():
"""
Python API test: h2o.log_and_echo(message=u'')
"""
try:
h2o.log_and_echo("Testing h2o.log_and_echo")
except Exception as e:
assert Fal... | 22.666667 | 66 | 0.691176 | 69 | 476 | 4.333333 | 0.57971 | 0.16388 | 0.120401 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.186975 | 476 | 20 | 67 | 23.8 | 0.749354 | 0.096639 | 0 | 0 | 0 | 0 | 0.200483 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | true | 0 | 0.285714 | 0 | 0.357143 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3301d8a325901ede70a83354b46f0b8290d3a3d2 | 961 | py | Python | app.py | Azariagmt/Ad-campaign-performance | 536907a2bd7d9b7ce5e9e45cc9388553fbebec30 | [
"BSD-2-Clause"
] | 2 | 2021-07-29T12:49:17.000Z | 2021-07-29T18:10:00.000Z | app.py | Azariagmt/Ad-campaign-performance | 536907a2bd7d9b7ce5e9e45cc9388553fbebec30 | [
"BSD-2-Clause"
] | 1 | 2021-07-24T12:49:09.000Z | 2021-07-24T12:49:09.000Z | app.py | Azariagmt/Ad-campaign-performance | 536907a2bd7d9b7ce5e9e45cc9388553fbebec30 | [
"BSD-2-Clause"
] | 2 | 2021-07-26T02:01:32.000Z | 2021-07-29T13:05:48.000Z | from flask import Flask, request, render_template
from werkzeug.exceptions import Forbidden, HTTPException, NotFound, RequestTimeout, Unauthorized
import os
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.errorhandler(NotFound)
def page_not_found_handler(e: HTTPExcep... | 25.289474 | 96 | 0.737773 | 123 | 961 | 5.544715 | 0.430894 | 0.087977 | 0.123167 | 0.158358 | 0.170088 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044048 | 0.125911 | 961 | 37 | 97 | 25.972973 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0.158169 | 0.043704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.12 | 0.2 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
3305ec08bf3ed0bf6f711e26df3f6a49c6129101 | 2,931 | py | Python | mCP437.py | SkyLined/mConsole | 6d4373e60e5b4dd7b71bebd89e47f07a29a7ba99 | [
"CC-BY-4.0"
] | 2 | 2019-07-23T06:57:45.000Z | 2021-01-30T07:29:27.000Z | mCP437.py | SkyLined/mConsole | 6d4373e60e5b4dd7b71bebd89e47f07a29a7ba99 | [
"CC-BY-4.0"
] | null | null | null | mCP437.py | SkyLined/mConsole | 6d4373e60e5b4dd7b71bebd89e47f07a29a7ba99 | [
"CC-BY-4.0"
] | 2 | 2018-10-01T18:28:42.000Z | 2021-05-04T20:59:29.000Z | # Non-unicode strings are assumed to be CP437. We have an indexed table to
# convert CP437 to unicode (index range 0-255 => unicode char) and a dict to
# convert Unicode to CP437 (unicode char => CP437 char). These are used by the
# fsuCP437_to_Unicode and fsUnicode_to_CP437 functions respectively.
asUnicodeCharMapCP43... | 58.62 | 103 | 0.459229 | 335 | 2,931 | 3.985075 | 0.737313 | 0.031461 | 0.058427 | 0.005993 | 0.038951 | 0.038951 | 0.038951 | 0.038951 | 0.038951 | 0.038951 | 0 | 0.336478 | 0.349028 | 2,931 | 50 | 104 | 58.62 | 0.363208 | 0.099284 | 0 | 0 | 0 | 0 | 0.036798 | 0 | 0 | 0 | 0.001897 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0.045455 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
330db5cf5943173271d02ac58072b88b912eb021 | 1,959 | py | Python | src/PythonScripts/ArduinoSerialListener.py | nick11roberts/sleepAdjustmentScripts | 382e06751e445cf0b3a0542bbd7b8acd673dca02 | [
"Apache-2.0"
] | 1 | 2015-01-24T22:53:33.000Z | 2015-01-24T22:53:33.000Z | src/PythonScripts/ArduinoSerialListener.py | nick11roberts/sleepAdjustmentScripts | 382e06751e445cf0b3a0542bbd7b8acd673dca02 | [
"Apache-2.0"
] | null | null | null | src/PythonScripts/ArduinoSerialListener.py | nick11roberts/sleepAdjustmentScripts | 382e06751e445cf0b3a0542bbd7b8acd673dca02 | [
"Apache-2.0"
] | null | null | null | # This program anticipates values every 15000ms ranging from 0-100 from the serial port.
import serial
import os
import datetime
# CONSTANTS
PORT = "/dev/ttyACM0"
SER = serial.Serial(PORT, 9600)
# This is the length of the range used for averaging the data
#ARDUINO_DELAY = 15000
#AVERAGING_ITER_FACTOR = 40
#TIME_LE... | 22.261364 | 89 | 0.676876 | 322 | 1,959 | 3.944099 | 0.453416 | 0.029921 | 0.04252 | 0.053543 | 0.066142 | 0.066142 | 0.015748 | 0.015748 | 0.015748 | 0.015748 | 0 | 0.044271 | 0.215926 | 1,959 | 87 | 90 | 22.517241 | 0.782552 | 0.330271 | 0 | 0.055556 | 0 | 0 | 0.13966 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.055556 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
33168398a2f618a6ce25b7b756f3a3280285a95e | 700 | py | Python | src/zsl/tasks/zsl/sum_task.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 2 | 2017-05-17T08:08:52.000Z | 2019-03-25T00:24:51.000Z | src/zsl/tasks/zsl/sum_task.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 100 | 2017-01-11T13:43:11.000Z | 2022-02-10T09:27:18.000Z | src/zsl/tasks/zsl/sum_task.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 1 | 2017-05-10T10:27:01.000Z | 2017-05-10T10:27:01.000Z | """
:mod:`zsl.tasks.asl.sum_task`
-----------------------------
Created on 22.12.2012
..moduleauthor:: Martin Babka
"""
from __future__ import unicode_literals
from builtins import object
from injector import inject
from zsl import Zsl
from zsl.task.task_data import TaskData
from zsl.task.task_decorator import jso... | 21.875 | 75 | 0.658571 | 92 | 700 | 4.815217 | 0.5 | 0.047404 | 0.049661 | 0.06772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.19 | 700 | 31 | 76 | 22.580645 | 0.765432 | 0.194286 | 0 | 0 | 0 | 0 | 0.064748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
33185e20a6e835ba923b54306fe800f098a48d72 | 16,298 | py | Python | protolite/test/test_encoder.py | thelinuxkid/python-protolite | 129e76a0ce81bd815d088aece7233a35569da159 | [
"MIT"
] | 6 | 2017-06-06T15:37:00.000Z | 2019-07-04T13:24:13.000Z | protolite/test/test_encoder.py | thelinuxkid/python-protolite | 129e76a0ce81bd815d088aece7233a35569da159 | [
"MIT"
] | null | null | null | protolite/test/test_encoder.py | thelinuxkid/python-protolite | 129e76a0ce81bd815d088aece7233a35569da159 | [
"MIT"
] | 2 | 2018-01-04T22:10:52.000Z | 2020-07-07T21:37:11.000Z | import pytest
from protolite import encoder
class decoding(object):
message_foo = dict([
(1, dict([
('type', 'string'),
('name', 'body'),
('scope', 'optional'),
])),
(2, dict([
('type', 'string'),
('name', 'messages'),
... | 26.035144 | 77 | 0.480366 | 1,658 | 16,298 | 4.606152 | 0.105549 | 0.052377 | 0.079743 | 0.039806 | 0.718345 | 0.634411 | 0.536598 | 0.47977 | 0.409454 | 0.351578 | 0 | 0.054956 | 0.340164 | 16,298 | 625 | 78 | 26.0768 | 0.655198 | 0.071665 | 0 | 0.769517 | 0 | 0.003717 | 0.168409 | 0.018594 | 0 | 0 | 0 | 0 | 0.061338 | 0 | null | null | 0 | 0.003717 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3322a8fbaac8f07cc834f3f729fd7821f4e85646 | 1,008 | py | Python | oops_fhir/r4/value_set/immunization_evaluation_dose_status_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/immunization_evaluation_dose_status_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/immunization_evaluation_dose_status_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.valueset import ValueSet as _ValueSet
from oops_fhir.utils import ValueSet
from oops_fhir.r4.code_system.immunization_evaluation_dose_status_codes import (
ImmunizationEvaluationDoseStatusCodes as ImmunizationEvaluationDoseStatusCodes_,
)
__all__ = ["ImmunizationEv... | 28.8 | 84 | 0.801587 | 116 | 1,008 | 6.767241 | 0.568966 | 0.084076 | 0.099363 | 0.122293 | 0.094268 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0058 | 0.144841 | 1,008 | 34 | 85 | 29.647059 | 0.904872 | 0.433532 | 0 | 0 | 0 | 0 | 0.075676 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
3348b61e59e613f5bea234456e41c998b27b5516 | 842 | py | Python | logdevice/ops/ldops/exceptions.py | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 1,831 | 2018-09-12T15:41:52.000Z | 2022-01-05T02:38:03.000Z | logdevice/ops/ldops/exceptions.py | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 183 | 2018-09-12T16:14:59.000Z | 2021-12-07T15:49:43.000Z | logdevice/ops/ldops/exceptions.py | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 228 | 2018-09-12T15:41:51.000Z | 2022-01-05T08:12:09.000Z | #!/usr/bin/env python3
# pyre-strict
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
"""
ldops.exceptions
~~~~~~~~~~~
Contains LDOps-wide exceptions.
"""
cl... | 16.509804 | 71 | 0.668646 | 108 | 842 | 5.212963 | 0.564815 | 0.047957 | 0.106572 | 0.127886 | 0.124334 | 0.124334 | 0.124334 | 0.124334 | 0 | 0 | 0 | 0.001565 | 0.241093 | 842 | 50 | 72 | 16.84 | 0.879499 | 0.628266 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
334e5746085f8fc60a167720a3f39ee1ba379b78 | 513 | py | Python | setup.py | akush07/Forest-Fire-Prediction | 37d152dc96f16e1adaaaf6c06d3959b5aaa6807c | [
"MIT"
] | null | null | null | setup.py | akush07/Forest-Fire-Prediction | 37d152dc96f16e1adaaaf6c06d3959b5aaa6807c | [
"MIT"
] | null | null | null | setup.py | akush07/Forest-Fire-Prediction | 37d152dc96f16e1adaaaf6c06d3959b5aaa6807c | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
description='The Aim is to predict forest fire before it happens based on dataset that contains tree observations from four areas of the Roosevelt National Forest in Colorado. All observations are ... | 46.636364 | 340 | 0.758285 | 74 | 513 | 5.22973 | 0.797297 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016548 | 0.175439 | 513 | 10 | 341 | 51.3 | 0.898345 | 0 | 0 | 0 | 0 | 0.111111 | 0.680312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3359344a93ae981a833ff590ee681991dfdecd48 | 501 | py | Python | web/views.py | felmats/bill | f103467c18f43b3569de91679e033a60b7f0eba3 | [
"MIT"
] | null | null | null | web/views.py | felmats/bill | f103467c18f43b3569de91679e033a60b7f0eba3 | [
"MIT"
] | null | null | null | web/views.py | felmats/bill | f103467c18f43b3569de91679e033a60b7f0eba3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from web.models import Company
def company_list(request):
"""一覧"""
#return HttpResponse("一覧")
#companies = Company.objects.all().order_by('company_cd')
return render(request,
'web/company_list.html',
... | 21.782609 | 61 | 0.650699 | 59 | 501 | 5.389831 | 0.457627 | 0.09434 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219561 | 501 | 22 | 62 | 22.772727 | 0.813299 | 0.179641 | 0 | 0 | 0 | 0 | 0.063452 | 0.053299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.272727 | 0 | 0.818182 | 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 | 0 | 1 | 0 | 0 | 2 |
335f4b51ad3b83eaeb3d2e39c274bce0315cac5d | 4,009 | py | Python | cert_issuer/certificate_handler.py | NunoEdgarGFlowHub/cert-issuer | c63a3cf6c6f6a5fe5c6f0378a94bf57fbabb3d76 | [
"MIT"
] | null | null | null | cert_issuer/certificate_handler.py | NunoEdgarGFlowHub/cert-issuer | c63a3cf6c6f6a5fe5c6f0378a94bf57fbabb3d76 | [
"MIT"
] | null | null | null | cert_issuer/certificate_handler.py | NunoEdgarGFlowHub/cert-issuer | c63a3cf6c6f6a5fe5c6f0378a94bf57fbabb3d76 | [
"MIT"
] | 1 | 2017-09-23T21:42:36.000Z | 2017-09-23T21:42:36.000Z | import json
from abc import abstractmethod
from cert_schema import normalize_jsonld
from cert_schema import validate_v2
from cert_issuer.signer import FinalizableSigner
class CertificateHandler(object):
@abstractmethod
def validate_certificate(self, certificate_metadata):
pass
@abstractmethod
... | 36.117117 | 107 | 0.713894 | 461 | 4,009 | 5.889371 | 0.251627 | 0.111971 | 0.0593 | 0.050829 | 0.367219 | 0.352486 | 0.314549 | 0.277716 | 0.206998 | 0.097974 | 0 | 0.002241 | 0.221003 | 4,009 | 110 | 108 | 36.445455 | 0.867115 | 0.135944 | 0 | 0.365079 | 0 | 0 | 0.004792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.079365 | 0.079365 | 0 | 0.396825 | 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 | 0 | 0 | 0 | 2 |
6826addadd3b160ffabfcd743ba0b3dca990e43b | 20,703 | py | Python | src/Trainer/fl_comm_libs/proto/bridge_agent_pb2.py | huangwei19/9nfl | 4d7cf8a00eaddac45cedfc3df7a6a65ba70d8e55 | [
"Apache-2.0"
] | 103 | 2020-09-07T09:05:30.000Z | 2022-03-10T11:13:43.000Z | src/Trainer/fl_comm_libs/proto/bridge_agent_pb2.py | dubaokun/9nfl | cc82255a1c25155c825bf8eded9074dd118dbaf5 | [
"Apache-2.0"
] | 12 | 2020-09-07T07:52:52.000Z | 2020-11-27T07:43:51.000Z | src/Trainer/fl_comm_libs/proto/bridge_agent_pb2.py | dubaokun/9nfl | cc82255a1c25155c825bf8eded9074dd118dbaf5 | [
"Apache-2.0"
] | 29 | 2020-09-07T09:15:23.000Z | 2022-02-22T04:00:16.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow/contrib/fl/rpc/proto/bridge_agent.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... | 36.969643 | 1,502 | 0.754528 | 2,465 | 20,703 | 6.026775 | 0.091278 | 0.042003 | 0.048061 | 0.029618 | 0.638665 | 0.584814 | 0.581449 | 0.575862 | 0.563947 | 0.553177 | 0 | 0.032571 | 0.119113 | 20,703 | 559 | 1,503 | 37.035778 | 0.782037 | 0.041588 | 0 | 0.659319 | 1 | 0.006012 | 0.184212 | 0.118184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012024 | 0 | 0.012024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
68396185526a7587b1f83cde32b9c1fd2e90f4f2 | 7,269 | py | Python | cm/services/data/bucket.py | adrianppg/cloudman | 0e9dd73584847a0125251bd9b6c3e4633007d928 | [
"MIT"
] | null | null | null | cm/services/data/bucket.py | adrianppg/cloudman | 0e9dd73584847a0125251bd9b6c3e4633007d928 | [
"MIT"
] | 1 | 2015-04-13T01:45:41.000Z | 2015-04-17T01:17:01.000Z | cm/services/data/bucket.py | adrianppg/cloudman | 0e9dd73584847a0125251bd9b6c3e4633007d928 | [
"MIT"
] | null | null | null | """
Methods for managing S3 Buckets and making them available as local file systems.
"""
import os
import urllib2
import threading
from cm.util import misc
from cm.services import service_states
from cm.util.misc import _if_not_installed
from cm.util.decorators import TestFlag
import logging
log = logging.getLogger('... | 41.537143 | 105 | 0.598844 | 972 | 7,269 | 4.363169 | 0.269547 | 0.047159 | 0.056119 | 0.047159 | 0.157746 | 0.099269 | 0.07121 | 0.016506 | 0 | 0 | 0 | 0.012754 | 0.309671 | 7,269 | 174 | 106 | 41.775862 | 0.832403 | 0.103453 | 0 | 0.189655 | 0 | 0.017241 | 0.185801 | 0.00489 | 0 | 0 | 0 | 0.011494 | 0 | 0 | null | null | 0.008621 | 0.068966 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
68415875d8150571c5f7af1507f1c6d25de4fac0 | 513 | py | Python | coding-exercises-avairds/week2-image-operation/part2-intermediate/image-bitwise.py | KyawThuHtun/OpenCV-with-Python | 2c471060d4f2aa4ec45cda5f544a61923e4ea2ed | [
"MIT"
] | 2 | 2021-06-30T04:56:51.000Z | 2021-06-30T04:57:11.000Z | coding-exercises-avairds/week2-image-operation/part2-intermediate/image-bitwise.py | KyawThuHtun/OpenCV-with-Python | 2c471060d4f2aa4ec45cda5f544a61923e4ea2ed | [
"MIT"
] | null | null | null | coding-exercises-avairds/week2-image-operation/part2-intermediate/image-bitwise.py | KyawThuHtun/OpenCV-with-Python | 2c471060d4f2aa4ec45cda5f544a61923e4ea2ed | [
"MIT"
] | 6 | 2020-08-03T02:29:48.000Z | 2020-08-09T13:21:23.000Z | import numpy as np
import cv2 as cv
rectangle = np.zeros((200, 200), dtype="uint8")
cv.rectangle(rectangle, (25, 25), (175, 175), 255, -1)
circle = np.zeros((200, 200), dtype="uint8")
cv.circle(circle, (100, 100), 100, 255, -1)
AND = cv.bitwise_and(rectangle,circle)
cv.imshow("AND", AND)
OR = cv.bitwise_or(rectangl... | 22.304348 | 54 | 0.690058 | 83 | 513 | 4.216867 | 0.301205 | 0.102857 | 0.194286 | 0.262857 | 0.142857 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0.093126 | 0.120858 | 513 | 22 | 55 | 23.318182 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.040936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 2 |
6845fdc349723c8c2727942cd29f6d902457d44b | 373 | py | Python | doc/tutorial_python/src/tut5-3/tut.py | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 63 | 2018-06-21T14:11:59.000Z | 2022-03-30T11:24:36.000Z | doc/tutorial_python/src/tut5-3/tut.py | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 5 | 2018-09-22T14:01:53.000Z | 2021-12-27T16:11:05.000Z | doc/tutorial_python/src/tut5-3/tut.py | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 12 | 2018-08-23T15:59:44.000Z | 2022-02-20T06:47:22.000Z | import os
import numpy as np
from frovedis.exrpc.server import FrovedisServer
from frovedis.matrix.dvector import FrovedisDvector
from frovedis.matrix.dense import FrovedisRowmajorMatrix
FrovedisServer.initialize("mpirun -np 2 {}".format(os.environ['FROVEDIS_SERVER']))
dv = FrovedisDvector([1,2,3,4,5,6,7,8],dtype=np.... | 31.083333 | 82 | 0.806971 | 53 | 373 | 5.622642 | 0.641509 | 0.120805 | 0.120805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031977 | 0.077748 | 373 | 11 | 83 | 33.909091 | 0.834302 | 0 | 0 | 0 | 0 | 0 | 0.080429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
6846d93a4338f4bef82468dcdb26377b56d2db7a | 607 | py | Python | flask_piwikapi.py | myles/flask-piwikapi | 7ed9ec3d473646c3146892285440b38fd22434b1 | [
"BSD-2-Clause"
] | null | null | null | flask_piwikapi.py | myles/flask-piwikapi | 7ed9ec3d473646c3146892285440b38fd22434b1 | [
"BSD-2-Clause"
] | null | null | null | flask_piwikapi.py | myles/flask-piwikapi | 7ed9ec3d473646c3146892285440b38fd22434b1 | [
"BSD-2-Clause"
] | null | null | null | class FlaskRequest(object):
"""
A Request class to connect the Piwik API to Flask
"""
def __init__(self, request):
"""
:param request: Flask request object.
:type request: flask.Request
:rtype: None
"""
self.request = request
@property
def META(s... | 20.233333 | 56 | 0.538715 | 63 | 607 | 5.095238 | 0.492063 | 0.137072 | 0.11838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364086 | 607 | 29 | 57 | 20.931034 | 0.831606 | 0.378913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
6873ceb7a9d50de63510350241c9d2f34eeccaa6 | 4,911 | py | Python | listview.py | todd-x86/tkplus | 916b568979c06b8082d9730c387be49ee11819cc | [
"Apache-2.0"
] | null | null | null | listview.py | todd-x86/tkplus | 916b568979c06b8082d9730c387be49ee11819cc | [
"Apache-2.0"
] | null | null | null | listview.py | todd-x86/tkplus | 916b568979c06b8082d9730c387be49ee11819cc | [
"Apache-2.0"
] | null | null | null | from control import Control
from containers import ScrollContainer
from ttk import Treeview as TkTreeView
class ListViewColumn(object):
def __init__(self, listview, caption, width):
self._listview = listview
self._caption = caption
self._width = width
self._index = -1
@property... | 25.445596 | 101 | 0.619426 | 564 | 4,911 | 5.150709 | 0.131206 | 0.095009 | 0.048193 | 0.02926 | 0.502582 | 0.392771 | 0.292255 | 0.211015 | 0.166609 | 0.13494 | 0 | 0.002782 | 0.268173 | 4,911 | 192 | 102 | 25.578125 | 0.805509 | 0.007941 | 0 | 0.483221 | 0 | 0 | 0.004518 | 0 | 0 | 0 | 0 | 0.005208 | 0 | 1 | 0.275168 | false | 0 | 0.020134 | 0.120805 | 0.489933 | 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 | 0 | 0 | 0 | 2 |
68863f55120e74c7cb2d132a9b7c9ff6408ecee3 | 190 | py | Python | django_basic_feedback/urls.py | PaulGregor/django-basic-feedback | d1569a4bd6a384e972e153212fa8e5417713941f | [
"BSD-3-Clause"
] | null | null | null | django_basic_feedback/urls.py | PaulGregor/django-basic-feedback | d1569a4bd6a384e972e153212fa8e5417713941f | [
"BSD-3-Clause"
] | null | null | null | django_basic_feedback/urls.py | PaulGregor/django-basic-feedback | d1569a4bd6a384e972e153212fa8e5417713941f | [
"BSD-3-Clause"
] | 1 | 2019-12-11T10:28:01.000Z | 2019-12-11T10:28:01.000Z | # -*- coding: utf-8 -*-
#Copyright (C) 2011 Seán Hayes
from django.conf.urls.defaults import *
urlpatterns = patterns('django_basic_feedback.views',
url(r'^$', 'add', name="feedback"),
)
| 21.111111 | 53 | 0.678947 | 25 | 190 | 5.08 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03012 | 0.126316 | 190 | 8 | 54 | 23.75 | 0.73494 | 0.263158 | 0 | 0 | 0 | 0 | 0.291971 | 0.19708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
688e64adba5cbf5b313d2a4a9aaeaaa7dba07eed | 422 | py | Python | Linux/Linux_with_ARM_A9/PyDE/include/LEDR.py | fpgacademy/Tutorials | d2c352472bc3dfab88a3497efd259f5fabbf3952 | [
"MIT"
] | null | null | null | Linux/Linux_with_ARM_A9/PyDE/include/LEDR.py | fpgacademy/Tutorials | d2c352472bc3dfab88a3497efd259f5fabbf3952 | [
"MIT"
] | null | null | null | Linux/Linux_with_ARM_A9/PyDE/include/LEDR.py | fpgacademy/Tutorials | d2c352472bc3dfab88a3497efd259f5fabbf3952 | [
"MIT"
] | null | null | null | def open_dev( ):
''' Opens the red light LEDR device
:return: 1 on success, else 0
'''
def set(data):
''' Sets the red light LEDR device
:param data: the integer data to write to LEDR. If data = 0 all lights will be
turned off. If data = 0b1111111111 all lights will be turned on
:retu... | 17.583333 | 82 | 0.606635 | 63 | 422 | 4.047619 | 0.52381 | 0.070588 | 0.129412 | 0.176471 | 0.458824 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0.047297 | 0.298578 | 422 | 23 | 83 | 18.347826 | 0.814189 | 0.718009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
689b2ce760b3f430de0b3bc30ef48dd14b5bcfd7 | 283 | py | Python | icmpredirect.py | haelee/allbypythonself | 499b1c696df8cac20e863354e7c6b68e9d4bff07 | [
"MIT"
] | 3 | 2019-09-23T03:33:10.000Z | 2020-07-16T06:51:46.000Z | icmpredirect.py | haelee/allbypythonself | 499b1c696df8cac20e863354e7c6b68e9d4bff07 | [
"MIT"
] | null | null | null | icmpredirect.py | haelee/allbypythonself | 499b1c696df8cac20e863354e7c6b68e9d4bff07 | [
"MIT"
] | 4 | 2019-09-23T04:55:27.000Z | 2021-05-22T01:09:40.000Z | # All-by-Pythonself
# Snippet for ICMP redirect attacks
# by Hae Young Lee
# at Cheongju University
from scapy . all import *
p = IP (src = "10.0.2.1", dst = "10.0.2.4") / ICMP (type = 5, code = 1, gw = "10.0.2.15") / IP (src = "10.0.2.4", dst = "211.42.85.240") / UDP ()
send (p)
| 28.3 | 145 | 0.590106 | 55 | 283 | 3.036364 | 0.672727 | 0.071856 | 0.095808 | 0.095808 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 0.204947 | 283 | 9 | 146 | 31.444444 | 0.595556 | 0.321555 | 0 | 0 | 0 | 0 | 0.245989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 2 |
689ccaa458250210d4f771bbd5739b16b16a18be | 376 | py | Python | mepo.d/command/config/config.py | GEOS-ESM/mepo | 41c20c286e7a9a11995f48fb5f3036e469d935e6 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | null | null | null | mepo.d/command/config/config.py | GEOS-ESM/mepo | 41c20c286e7a9a11995f48fb5f3036e469d935e6 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 61 | 2020-01-08T20:01:16.000Z | 2022-03-24T19:44:38.000Z | mepo.d/command/config/config.py | GEOS-ESM/mepo | 41c20c286e7a9a11995f48fb5f3036e469d935e6 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-02-28T14:29:12.000Z | 2020-07-08T15:56:55.000Z | import subprocess as sp
from state.state import MepoState
from command.config.get import get
from command.config.set import set
from command.config.delete import delete
from command.config.print import print
def run(args):
d = {
'get': get,
'set': set,
'delete': delete,
'pr... | 20.888889 | 40 | 0.656915 | 52 | 376 | 4.711538 | 0.365385 | 0.179592 | 0.277551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24734 | 376 | 17 | 41 | 22.117647 | 0.865724 | 0 | 0 | 0 | 0 | 0 | 0.045213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.428571 | 0 | 0.5 | 0.142857 | 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 | 0 | 0 | 2 |
68a870178712676a1c7a9dce92b035a665d339dc | 619 | py | Python | unknowntags/forms.py | rickvanderzwet/makerspaceleiden-crm | a36d5073d4c49bbf46580ca9bbda5d80593d2d84 | [
"Apache-2.0"
] | null | null | null | unknowntags/forms.py | rickvanderzwet/makerspaceleiden-crm | a36d5073d4c49bbf46580ca9bbda5d80593d2d84 | [
"Apache-2.0"
] | null | null | null | unknowntags/forms.py | rickvanderzwet/makerspaceleiden-crm | a36d5073d4c49bbf46580ca9bbda5d80593d2d84 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.forms import ModelForm
from django.conf import settings
from members.models import User
from .models import Unknowntag
class SelectUserForm(forms.Form):
user = forms.ModelChoiceField(queryset=User.objects.all())
activate_doors = forms.BooleanField(initial = True, help_text... | 41.266667 | 130 | 0.781906 | 87 | 619 | 5.517241 | 0.448276 | 0.0625 | 0.120833 | 0.095833 | 0.445833 | 0.445833 | 0.445833 | 0.445833 | 0.445833 | 0.445833 | 0 | 0 | 0.137318 | 619 | 14 | 131 | 44.214286 | 0.898876 | 0 | 0 | 0.181818 | 0 | 0 | 0.197092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
68b28cc0c1919385131e16180fbc3e95e6fed6d3 | 193 | py | Python | services/backend/tests/test_main.py | gideonmandu/note_taking_app | bf358a421b42d941ee47cb9c617678d3c074e24d | [
"MIT"
] | null | null | null | services/backend/tests/test_main.py | gideonmandu/note_taking_app | bf358a421b42d941ee47cb9c617678d3c074e24d | [
"MIT"
] | null | null | null | services/backend/tests/test_main.py | gideonmandu/note_taking_app | bf358a421b42d941ee47cb9c617678d3c074e24d | [
"MIT"
] | null | null | null | from tests.confest import test_app
def test_home(test_app):
response = test_app.get('/')
assert response.status_code == 200
assert response.json() == {"message": "hello, world!"}
| 24.125 | 58 | 0.683938 | 26 | 193 | 4.884615 | 0.692308 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.170984 | 193 | 7 | 59 | 27.571429 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.108808 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d79b121b371dcfc1d86ee27548928c7f9fc233dd | 10,736 | py | Python | fonts/FreeMono9pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeMono9pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeMono9pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | FreeMono9pt7bBitmaps = [
0xAA, 0xA8, 0x0C, 0xED, 0x24, 0x92, 0x48, 0x24, 0x48, 0x91, 0x2F, 0xE4,
0x89, 0x7F, 0x28, 0x51, 0x22, 0x40, 0x08, 0x3E, 0x62, 0x40, 0x30, 0x0E,
0x01, 0x81, 0xC3, 0xBE, 0x08, 0x08, 0x71, 0x12, 0x23, 0x80, 0x23, 0xB8,
0x0E, 0x22, 0x44, 0x70, 0x38, 0x81, 0x02, 0x06, 0x1A, 0x65, 0x4... | 60.655367 | 75 | 0.454173 | 1,582 | 10,736 | 3.081542 | 0.206068 | 0.024615 | 0.013949 | 0.019692 | 0.178462 | 0.050872 | 0.031179 | 0.031179 | 0.031179 | 0.01641 | 0 | 0.499058 | 0.357209 | 10,736 | 176 | 76 | 61 | 0.207361 | 0.081036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346473 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d7a22122f3a8b5fe2e267dc81a7de6bc4821775f | 202 | py | Python | app/settings.py | rglsk/dynamoDB-fastAPI | 968097940bfb14fe5f91b3ae47772c4c393d8232 | [
"MIT"
] | 3 | 2022-01-27T10:56:00.000Z | 2022-03-27T14:26:40.000Z | app/settings.py | rglsk/dynamoDB-fastAPI | 968097940bfb14fe5f91b3ae47772c4c393d8232 | [
"MIT"
] | null | null | null | app/settings.py | rglsk/dynamoDB-fastAPI | 968097940bfb14fe5f91b3ae47772c4c393d8232 | [
"MIT"
] | null | null | null | from pydantic import BaseSettings
class GlobalConfig(BaseSettings):
DB_HOST: str = "http://dynamodb:8000"
ENVIRONMENT: str = "test"
AWS_REGION: str = "eu-west-1"
config = GlobalConfig()
| 18.363636 | 41 | 0.69802 | 24 | 202 | 5.791667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.183168 | 202 | 10 | 42 | 20.2 | 0.812121 | 0 | 0 | 0 | 0 | 0 | 0.163366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
d7ab6306f27f5fe36a6527a6d55b7c84ee84b9f3 | 17,418 | py | Python | tests/integration/census/test_census_individual_submission_data.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | null | null | null | tests/integration/census/test_census_individual_submission_data.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | 3 | 2018-10-10T08:19:07.000Z | 2018-10-29T11:43:08.000Z | tests/integration/census/test_census_individual_submission_data.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | 1 | 2021-04-11T08:04:22.000Z | 2021-04-11T08:04:22.000Z | from tests.integration.integration_test_case import IntegrationTestCase
class TestCensusIndividualSubmissionData(IntegrationTestCase):
def test_census_individual_data_matches_census_individual(self):
self.complete_survey('census', 'individual')
# Only verifying 'data'
actual_downstream_d... | 33.051233 | 138 | 0.378689 | 1,220 | 17,418 | 5.236885 | 0.168852 | 0.157771 | 0.122711 | 0.166536 | 0.647519 | 0.488652 | 0.412584 | 0.318516 | 0.27923 | 0.252622 | 0 | 0.017835 | 0.501033 | 17,418 | 526 | 139 | 33.114068 | 0.717294 | 0.006315 | 0 | 0.332031 | 0 | 0 | 0.354889 | 0.089979 | 0 | 0 | 0 | 0 | 0.007813 | 1 | 0.005859 | false | 0.003906 | 0.001953 | 0 | 0.011719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d7c8362f27b1c19d39929563051e407a6e4816c0 | 177 | py | Python | scdlbot/__init__.py | ninja8bpyt/scdlbot | 7e874ab547e84c4db20dd9affc96fa1b753f7242 | [
"MIT"
] | null | null | null | scdlbot/__init__.py | ninja8bpyt/scdlbot | 7e874ab547e84c4db20dd9affc96fa1b753f7242 | [
"MIT"
] | null | null | null | scdlbot/__init__.py | ninja8bpyt/scdlbot | 7e874ab547e84c4db20dd9affc96fa1b753f7242 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for Music Downloader Telegram Bot."""
__author__ = """@Bots_Ki_Duniya"""
__reportbugs__ = "@Mr_Ninjas_Bot"
__version__ = "0.13.7"
| 22.125 | 58 | 0.677966 | 23 | 177 | 4.521739 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032468 | 0.129944 | 177 | 7 | 59 | 25.285714 | 0.642857 | 0.423729 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d7cc56788ca44377b0ee01e51679fa754374ce1a | 201 | py | Python | setup.py | 2020ai/tweetDetective_DataScience | cdfb799b55e56261b3e4d54c84f0e63a934c4392 | [
"FTL"
] | null | null | null | setup.py | 2020ai/tweetDetective_DataScience | cdfb799b55e56261b3e4d54c84f0e63a934c4392 | [
"FTL"
] | 2 | 2020-11-13T04:58:52.000Z | 2020-11-17T01:58:55.000Z | setup.py | 2020ai/tweetDetective_DataScience | cdfb799b55e56261b3e4d54c84f0e63a934c4392 | [
"FTL"
] | 1 | 2020-12-03T19:44:05.000Z | 2020-12-03T19:44:05.000Z | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
description='tweet analyzer',
author='Sara and Shayan',
license='',
)
| 18.272727 | 43 | 0.651741 | 24 | 201 | 5.375 | 0.791667 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.20398 | 201 | 10 | 44 | 20.1 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d7d1f191ddc708cb01c622676537b2e2fcae5bfb | 489 | py | Python | BarcodeGen.py | guillempp/BoardingPassGenerator | 68e7b214dbf8cd8f8c1ac924c5055e2fd7a9a2ab | [
"MIT"
] | null | null | null | BarcodeGen.py | guillempp/BoardingPassGenerator | 68e7b214dbf8cd8f8c1ac924c5055e2fd7a9a2ab | [
"MIT"
] | null | null | null | BarcodeGen.py | guillempp/BoardingPassGenerator | 68e7b214dbf8cd8f8c1ac924c5055e2fd7a9a2ab | [
"MIT"
] | null | null | null | from pdf417 import encode, render_image, render_svg
import io
class BarcodeGen():
#OWN CLASS - BarcodeGen
def generateBarcode(self, text):
codes = encode(text, columns=7, security_level=4)
image = render_image(codes, scale=4, ratio=3, fg_color="black", bg_color="#FFFFFF")
image.show()
def generateBarcodeForW... | 32.6 | 85 | 0.738241 | 71 | 489 | 4.943662 | 0.450704 | 0.094017 | 0.074074 | 0.108262 | 0.586895 | 0.586895 | 0.586895 | 0.586895 | 0.586895 | 0.586895 | 0 | 0.025882 | 0.130879 | 489 | 14 | 86 | 34.928571 | 0.8 | 0.04499 | 0 | 0.363636 | 1 | 0 | 0.051502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
d7d7dcc4bc80e095a6a27418a74fd6c5d3435e86 | 1,279 | py | Python | tests/bindings/test_string.py | DARSHIT006/godot-python | aa57d43f6a78ef55fda635e3b608727aff71c79a | [
"CC-BY-3.0"
] | null | null | null | tests/bindings/test_string.py | DARSHIT006/godot-python | aa57d43f6a78ef55fda635e3b608727aff71c79a | [
"CC-BY-3.0"
] | null | null | null | tests/bindings/test_string.py | DARSHIT006/godot-python | aa57d43f6a78ef55fda635e3b608727aff71c79a | [
"CC-BY-3.0"
] | null | null | null | import sys
import pytest
from godot import GDString
def test_base():
assert GDString().empty()
# Todo later: GDString creation from GD types: Vector2/3, Transform, Plane, Quat, AABB, Color, ...
s = GDString("12")
assert s.begins_with(GDString("1"))
assert s.bigrams().size() == 1
assert GDStri... | 34.567568 | 102 | 0.639562 | 180 | 1,279 | 4.483333 | 0.483333 | 0.156134 | 0.063197 | 0.032218 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038059 | 0.178264 | 1,279 | 36 | 103 | 35.527778 | 0.727878 | 0.121188 | 0 | 0 | 0 | 0 | 0.097235 | 0 | 0 | 0 | 0 | 0.027778 | 0.571429 | 1 | 0.071429 | false | 0 | 0.107143 | 0 | 0.178571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d7d965d4cf363ebc0393e03c492f953ce8b326d3 | 1,526 | py | Python | vcweb/core/subjectpool/urls.py | Takato0120/social_ecological_system | fac94cba908fdff4104afa8ff241c37829df8cdd | [
"Apache-2.0"
] | 3 | 2015-06-12T13:23:25.000Z | 2021-05-13T16:30:40.000Z | vcweb/core/subjectpool/urls.py | Takato0120/social_ecological_system | fac94cba908fdff4104afa8ff241c37829df8cdd | [
"Apache-2.0"
] | 61 | 2015-01-12T20:25:22.000Z | 2019-03-18T05:06:46.000Z | vcweb/core/subjectpool/urls.py | Takato0120/social_ecological_system | fac94cba908fdff4104afa8ff241c37829df8cdd | [
"Apache-2.0"
] | 1 | 2018-05-23T00:54:28.000Z | 2018-05-23T00:54:28.000Z | from django.conf.urls import url
from .views import (subjectpool_index, manage_experiment_session, get_session_events, manage_participant_attendance,
send_invitations, get_invitations_count, invite_email_preview, experiment_session_signup,
submit_experiment_session_signup, cance... | 66.347826 | 116 | 0.746396 | 187 | 1,526 | 5.727273 | 0.192513 | 0.238095 | 0.193277 | 0.081232 | 0.141923 | 0.089636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111402 | 1,526 | 22 | 117 | 69.363636 | 0.789823 | 0 | 0 | 0 | 0 | 0 | 0.336828 | 0.22346 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
d7df4ba65354f2fc731561330b0f41fd0f26960e | 170 | py | Python | lists/forms.py | morion4000/ophion | 016310ec0f702cb7f5d6b4e72e11817ef8bcdfae | [
"MIT"
] | null | null | null | lists/forms.py | morion4000/ophion | 016310ec0f702cb7f5d6b4e72e11817ef8bcdfae | [
"MIT"
] | 3 | 2020-02-12T03:26:52.000Z | 2021-06-10T22:29:27.000Z | lists/forms.py | morion4000/ophion | 016310ec0f702cb7f5d6b4e72e11817ef8bcdfae | [
"MIT"
] | null | null | null | from django import forms
from lists.models import List
class ListForm(forms.ModelForm):
class Meta:
model = List
fields = ('name', 'description')
| 15.454545 | 40 | 0.658824 | 20 | 170 | 5.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252941 | 170 | 10 | 41 | 17 | 0.88189 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
d7f760f751185c45ba31d7b6df92bda249be92e2 | 952 | py | Python | src/input_parser.py | DalyaG/Sphinx185 | 690186e85b1e1f87e49268b27fa01408f5faad97 | [
"MIT"
] | 11 | 2018-06-04T11:14:56.000Z | 2020-12-07T10:32:02.000Z | src/input_parser.py | DalyaG/Sphinx185 | 690186e85b1e1f87e49268b27fa01408f5faad97 | [
"MIT"
] | 2 | 2020-09-09T09:42:27.000Z | 2020-09-09T12:04:20.000Z | src/input_parser.py | DalyaG/Sphinx185 | 690186e85b1e1f87e49268b27fa01408f5faad97 | [
"MIT"
] | 7 | 2018-05-03T07:06:54.000Z | 2021-02-23T20:04:35.000Z |
def input_parser(m):
"""
Given length of sequences, load input data corresponding to this length.
:param m: Length of sequences in the input.
:return: tuple, containing:
1. sequences_list: List of sequences in the input, parsed such that \
sequences_list[i] holds a... | 35.259259 | 115 | 0.671218 | 144 | 952 | 4.298611 | 0.416667 | 0.105008 | 0.103393 | 0.129241 | 0.067851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004144 | 0.239496 | 952 | 26 | 116 | 36.615385 | 0.850829 | 0 | 0 | 0 | 0 | 0 | 0.099707 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
cc082173d61f5ca94d9a684eeb5597c6274d8d1f | 2,693 | py | Python | students/d33101/wangyixin/Lr2/homework/views.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | students/d33101/wangyixin/Lr2/homework/views.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | students/d33101/wangyixin/Lr2/homework/views.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | from django.shortcuts import render,redirect
from django.contrib.auth.models import User
from django.views.generic import View
from django.contrib.auth import authenticate, login
from .models import Student, Studenttopic, Homework
from django.views.generic.list import ListView
from django.views.generic.edit import Crea... | 28.956989 | 76 | 0.662087 | 287 | 2,693 | 6.163763 | 0.30662 | 0.03957 | 0.064443 | 0.076314 | 0.236292 | 0.219333 | 0.139062 | 0.139062 | 0.092708 | 0.092708 | 0 | 0.002886 | 0.227999 | 2,693 | 92 | 77 | 29.271739 | 0.848004 | 0.051244 | 0 | 0.229508 | 0 | 0 | 0.173862 | 0.036499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0.114754 | 0.131148 | 0.032787 | 0.622951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
cc0c558193d3166c35b2c62a2be10a2613f73c1b | 7,884 | py | Python | tensorflow/compiler/plugin/poplar/tests/arg_min_max_test.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/tests/arg_min_max_test.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/tests/arg_min_max_test.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# 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 applica... | 30.440154 | 80 | 0.661086 | 1,082 | 7,884 | 4.647874 | 0.174677 | 0.022271 | 0.04136 | 0.015908 | 0.72758 | 0.692981 | 0.691788 | 0.68622 | 0.652814 | 0.652814 | 0 | 0.017966 | 0.209285 | 7,884 | 258 | 81 | 30.55814 | 0.788739 | 0.100457 | 0 | 0.730337 | 0 | 0 | 0.029125 | 0.003817 | 0 | 0 | 0 | 0 | 0.067416 | 1 | 0.095506 | false | 0 | 0.078652 | 0.044944 | 0.230337 | 0.005618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
cc11933f21d287a2b5e46c8d00ff05afda3be9e5 | 493 | py | Python | core/api/urls.py | kiae-grid/panda-bigmon-core | ec71fcdb6ca8751eb3b2aefe0737c899c71fc583 | [
"Apache-2.0"
] | null | null | null | core/api/urls.py | kiae-grid/panda-bigmon-core | ec71fcdb6ca8751eb3b2aefe0737c899c71fc583 | [
"Apache-2.0"
] | null | null | null | core/api/urls.py | kiae-grid/panda-bigmon-core | ec71fcdb6ca8751eb3b2aefe0737c899c71fc583 | [
"Apache-2.0"
] | null | null | null | """
api.urls
"""
from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
### #FIXME admin.autodiscover()
common_patterns = patterns('',
### Applications
url(r'^htcondor', include('core.api.htcondorapi.u... | 19.72 | 60 | 0.697769 | 63 | 493 | 5.428571 | 0.380952 | 0.116959 | 0.122807 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135903 | 493 | 24 | 61 | 20.541667 | 0.802817 | 0.105477 | 0 | 0 | 0 | 0 | 0.188235 | 0.058824 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
cc134dcff81f9b8ede8b6dfe6326f9e712f46fad | 53,377 | py | Python | pysnmp/Dell-vlan-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Dell-vlan-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Dell-vlan-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Dell-vlan-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Dell-vlan-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:43:15 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 201... | 122.988479 | 10,986 | 0.792682 | 5,275 | 53,377 | 8.020664 | 0.078483 | 0.010731 | 0.014607 | 0.019476 | 0.357418 | 0.333475 | 0.280342 | 0.263608 | 0.212012 | 0.139025 | 0 | 0.083185 | 0.072784 | 53,377 | 433 | 10,987 | 123.272517 | 0.77168 | 0.005995 | 0 | 0 | 0 | 0 | 0.085734 | 0.009727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030516 | 0 | 0.030516 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
cc1b0867400a5c8134ced81b5f4e68287da16188 | 695 | py | Python | setup.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | 1 | 2022-03-23T18:11:34.000Z | 2022-03-23T18:11:34.000Z | setup.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | null | null | null | setup.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='voronoiz',
version='0.1.0',
author='Warren Weckesser',
description="Functions for generating Voronoi diagrams with "
"alternate metrics.",
license="MIT",
url="https://github.com/WarrenWeckesser/voronoiz",
classifiers=[
"Lice... | 28.958333 | 65 | 0.610072 | 67 | 695 | 6.313433 | 0.761194 | 0.134752 | 0.177305 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017176 | 0.246043 | 695 | 23 | 66 | 30.217391 | 0.790076 | 0 | 0 | 0 | 0 | 0 | 0.548201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
cc1eecb37da51abeef2a397217d31c59c8efabe0 | 3,371 | py | Python | pwncat/modules/linux/enumerate/user/__init__.py | Mitul16/pwncat | b8d7876a9779c2c7796a9a29110d3f1cda721dff | [
"MIT"
] | 1,454 | 2020-05-07T02:20:52.000Z | 2022-03-31T21:32:22.000Z | pwncat/modules/linux/enumerate/user/__init__.py | akr3ch/pwncat | d67865bdaac60dd0761d0698062e7b443a62c6db | [
"MIT"
] | 187 | 2020-05-08T06:26:01.000Z | 2022-03-07T21:15:29.000Z | pwncat/modules/linux/enumerate/user/__init__.py | akr3ch/pwncat | d67865bdaac60dd0761d0698062e7b443a62c6db | [
"MIT"
] | 184 | 2020-05-07T02:31:58.000Z | 2022-03-31T09:11:59.000Z | #!/usr/bin/env python3
import pwncat
from pwncat.modules import Status, ModuleFailed
from pwncat.facts.linux import LinuxUser
from pwncat.platform.linux import Linux
from pwncat.modules.enumerate import Schedule, EnumerateModule
class Module(EnumerateModule):
"""Enumerate users from a linux target"""
PROVID... | 35.484211 | 75 | 0.410264 | 268 | 3,371 | 5.08209 | 0.354478 | 0.079295 | 0.024963 | 0.032305 | 0.096916 | 0.096916 | 0.096916 | 0.096916 | 0.045521 | 0.045521 | 0 | 0.000619 | 0.520617 | 3,371 | 94 | 76 | 35.861702 | 0.842203 | 0.053693 | 0 | 0.32 | 0 | 0 | 0.016352 | 0.006918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013333 | false | 0.066667 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
cc2bfc59769813052eaf86e45148c7183cf4c904 | 3,869 | py | Python | folder_compiler/processors/base_processors.py | d-krupke/folder_compiler | 926ea88ad55a301cbe9e58ea8c31d8d1f2ee4d9c | [
"MIT"
] | null | null | null | folder_compiler/processors/base_processors.py | d-krupke/folder_compiler | 926ea88ad55a301cbe9e58ea8c31d8d1f2ee4d9c | [
"MIT"
] | null | null | null | folder_compiler/processors/base_processors.py | d-krupke/folder_compiler | 926ea88ad55a301cbe9e58ea8c31d8d1f2ee4d9c | [
"MIT"
] | null | null | null | import os
from ..context import CompilerContext
from .utils.pattern_filter import PatternFilter
from .utils.processor_utils import ProcessorUtils
class Processor:
"""
A base class for a processor. It provides some basic utils and the general interface.
A processor processes a file in the input directory... | 41.159574 | 101 | 0.657534 | 485 | 3,869 | 5.119588 | 0.325773 | 0.026178 | 0.040274 | 0.05437 | 0.255336 | 0.233588 | 0.233588 | 0.233588 | 0.208619 | 0.165928 | 0 | 0.000706 | 0.267511 | 3,869 | 93 | 102 | 41.602151 | 0.875441 | 0.554665 | 0 | 0.142857 | 0 | 0 | 0.001446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.142857 | 0.035714 | 0.678571 | 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 | 0 | 1 | 0 | 0 | 2 |
cc304753034ce70adf0f38df80d42d8e8f2ecdcf | 1,727 | py | Python | nemo/collections/asr/parts/numba/rnnt_loss/utils/global_constants.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 4,145 | 2019-09-13T08:29:43.000Z | 2022-03-31T18:31:44.000Z | nemo/collections/asr/parts/numba/rnnt_loss/utils/global_constants.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 2,031 | 2019-09-17T16:51:39.000Z | 2022-03-31T23:52:41.000Z | nemo/collections/asr/parts/numba/rnnt_loss/utils/global_constants.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 1,041 | 2019-09-13T10:08:21.000Z | 2022-03-30T06:37:38.000Z | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# 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 appli... | 25.028986 | 74 | 0.751013 | 262 | 1,727 | 4.839695 | 0.400763 | 0.094637 | 0.041009 | 0.050473 | 0.656151 | 0.656151 | 0.656151 | 0.656151 | 0.656151 | 0.656151 | 0 | 0.025478 | 0.181818 | 1,727 | 68 | 75 | 25.397059 | 0.871904 | 0.682108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.