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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fbdfd3d1573552e0ad7ee3927dfc0557d2df1e1d | 282 | py | Python | rpiRobot/src/vision/domain/iDestinationFinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | rpiRobot/src/vision/domain/iDestinationFinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | rpiRobot/src/vision/domain/iDestinationFinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | from abc import ABC, abstractmethod
from coordinate.cameraCoordinate import CameraCoordinate
from vision.domain.image import Image
class IDestinationFinder(ABC):
@abstractmethod
def find_destination(self, image: Image, destination: int) -> CameraCoordinate:
pass
| 25.636364 | 83 | 0.783688 | 30 | 282 | 7.333333 | 0.566667 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156028 | 282 | 10 | 84 | 28.2 | 0.92437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
83867be05fa3c8612a74e8a39a5011c1d0f36c28 | 13,453 | py | Python | vistrails/db/bin/auto_gen_objects.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 83 | 2015-01-05T14:50:50.000Z | 2021-09-17T19:45:26.000Z | vistrails/db/bin/auto_gen_objects.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 254 | 2015-01-02T20:39:19.000Z | 2018-11-28T17:16:44.000Z | vistrails/db/bin/auto_gen_objects.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 40 | 2015-04-17T16:46:36.000Z | 2021-09-28T22:43:24.000Z | ###############################################################################
##
## Copyright (C) 2014-2016, New York University.
## Copyright (C) 2011-2014, NYU-Poly.
## Copyright (C) 2006-2011, University of Utah.
## All rights reserved.
## Contact: contact@vistrails.org
##
## This file is part of VisTrails.
##
## ... | 31.954869 | 84 | 0.579202 | 1,437 | 13,453 | 5.347947 | 0.197634 | 0.058556 | 0.033312 | 0.043722 | 0.38959 | 0.253351 | 0.222121 | 0.185686 | 0.150033 | 0.118543 | 0 | 0.004335 | 0.314056 | 13,453 | 420 | 85 | 32.030952 | 0.828457 | 0.122872 | 0 | 0.385113 | 0 | 0 | 0.046911 | 0.010626 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242718 | false | 0.045307 | 0.003236 | 0.139159 | 0.566343 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
838eeb32029611d93e9d8dd3f08f8862f483e4b9 | 290 | py | Python | mwevents/types/tests/test_unavailable.py | mediawiki-utilities/python-mwevents | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | 1 | 2015-10-14T18:28:41.000Z | 2015-10-14T18:28:41.000Z | mwevents/types/tests/test_unavailable.py | halfak/MediaWiki-events | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | null | null | null | mwevents/types/tests/test_unavailable.py | halfak/MediaWiki-events | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | 1 | 2018-09-19T11:14:51.000Z | 2018-09-19T11:14:51.000Z | from nose.tools import eq_
from ..unavailable import Unavailable
def test_otherwise():
eq_(Unavailable, Unavailable.otherwise(Unavailable, int))
eq_(None, Unavailable.otherwise(None, int))
eq_(10, Unavailable.otherwise(10, int))
eq_(10, Unavailable.otherwise("10", int))
| 26.363636 | 61 | 0.734483 | 36 | 290 | 5.75 | 0.333333 | 0.386473 | 0.067633 | 0.173913 | 0.294686 | 0.294686 | 0.294686 | 0 | 0 | 0 | 0 | 0.032129 | 0.141379 | 290 | 10 | 62 | 29 | 0.799197 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
839daf6bbedf90dcb8315dbb9b3576db16fb81c3 | 455 | py | Python | program/setup.py | kavinjindal/Nix-Engine | 179943b869f87e700a1c59d7c946d9ef3d73cd6e | [
"MIT"
] | 2 | 2021-11-08T10:38:29.000Z | 2022-03-02T12:18:32.000Z | program/setup.py | kavin-jindal/IDLE-installer-for-linux | 179943b869f87e700a1c59d7c946d9ef3d73cd6e | [
"MIT"
] | null | null | null | program/setup.py | kavin-jindal/IDLE-installer-for-linux | 179943b869f87e700a1c59d7c946d9ef3d73cd6e | [
"MIT"
] | null | null | null | import os
import sys
import time
os.system('clear')
if os.geteuid() != 0:
exit("You need to have root privileges to run the setup"
"\nPlease try again, this time using 'su -', and entering your root password"
'\nExiting the Program')
os.system('pip3 install colorama')
os.system('pip3 install pyfiglet')
p... | 28.4375 | 119 | 0.727473 | 71 | 455 | 4.661972 | 0.676056 | 0.072508 | 0.072508 | 0.114804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015831 | 0.167033 | 455 | 15 | 120 | 30.333333 | 0.85752 | 0 | 0 | 0 | 0 | 0.083333 | 0.663736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.083333 | 0.25 | 0 | 0.25 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
83b2252f76aa50516b972ea20cb384cad4a555ab | 445 | py | Python | ifplus/restful/patched/__init__.py | hitakaken/ifplus | 8354eeceea8abcbcaeb5dcd1c11eef69cbef6557 | [
"MIT"
] | null | null | null | ifplus/restful/patched/__init__.py | hitakaken/ifplus | 8354eeceea8abcbcaeb5dcd1c11eef69cbef6557 | [
"MIT"
] | null | null | null | ifplus/restful/patched/__init__.py | hitakaken/ifplus | 8354eeceea8abcbcaeb5dcd1c11eef69cbef6557 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# See https://github.com/frol/flask-restplus-server-example
from flask_restplus import *
from .api import Api
from .model import Schema, DefaultHTTPErrorSchema
from .namespace import Namespace
from .parameters import Parameters, PostFormParameters, PatchJSONParameters
from .swagger import Swagg... | 31.785714 | 75 | 0.811236 | 55 | 445 | 6.490909 | 0.527273 | 0.072829 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002545 | 0.116854 | 445 | 13 | 76 | 34.230769 | 0.905852 | 0.177528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
83bd061362fc541af9b9d89593b91286519c6a52 | 70 | py | Python | novice/02-02/latihan/project/my_sum/__init__.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/02-02/latihan/project/my_sum/__init__.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/02-02/latihan/project/my_sum/__init__.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | def sum(arg):
total = 0
for val in arg:
total += val
return total | 14 | 16 | 0.642857 | 13 | 70 | 3.461538 | 0.692308 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.257143 | 70 | 5 | 17 | 14 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83c206a575ebed2ef9a3dba16e135755db766268 | 28,206 | py | Python | crds/tests/test_list.py | sean-lockwood/crds | f071f59deca98aac4bee04d688805a127761f3d2 | [
"BSD-3-Clause"
] | null | null | null | crds/tests/test_list.py | sean-lockwood/crds | f071f59deca98aac4bee04d688805a127761f3d2 | [
"BSD-3-Clause"
] | 1 | 2019-04-11T18:19:16.000Z | 2019-04-11T18:19:16.000Z | crds/tests/test_list.py | sean-lockwood/crds | f071f59deca98aac4bee04d688805a127761f3d2 | [
"BSD-3-Clause"
] | null | null | null | from crds.list import ListScript
from crds.tests import test_config
"""
usage: crds list ...
usage: /Users/jmiller/work/workspace_crds/CRDS/crds/list.py
[-h] [--references] [--mappings] [--cached-references]
[--cached-mappings] [--cached-pickles] [--full-path]
[--dataset-ids-for-instruments INSTR... | 40.997093 | 407 | 0.627739 | 3,318 | 28,206 | 5.225738 | 0.218505 | 0.028837 | 0.020762 | 0.023877 | 0.341138 | 0.249957 | 0.211027 | 0.184094 | 0.161486 | 0.13288 | 0 | 0.045386 | 0.199319 | 28,206 | 687 | 408 | 41.056769 | 0.72237 | 0.419662 | 0 | 0.117647 | 0 | 0 | 0.006385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.705882 | true | 0 | 0.205882 | 0 | 0.941176 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
83fde27dc4581116387ea8a9e14144f865ffb1d6 | 77 | py | Python | jade2/deep_learning/enums.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T21:52:23.000Z | 2019-12-23T21:52:23.000Z | jade2/deep_learning/enums.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | null | null | null | jade2/deep_learning/enums.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 2 | 2021-11-13T01:34:15.000Z | 2021-11-13T01:34:34.000Z | from enum import Enum
class SeqEmbed(Enum):
onehot = 1
prottrans = 2 | 15.4 | 21 | 0.675325 | 11 | 77 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.25974 | 77 | 5 | 22 | 15.4 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f7a1f60faea3bef7b4594028bc98df7f031cf97d | 339 | py | Python | RecoBTag/SecondaryVertex/python/negativeCombinedSecondaryVertexV2BJetTags_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/SecondaryVertex/python/negativeCombinedSecondaryVertexV2BJetTags_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/SecondaryVertex/python/negativeCombinedSecondaryVertexV2BJetTags_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
negativeCombinedSecondaryVertexV2BJetTags = cms.EDProducer("JetTagProducer",
jetTagComputer = cms.string('negativeCombinedSecondaryVertexV2Computer'),
tagInfos = cms.VInputTag(cms.InputTag("impactParameterTagInfos"),
cms.InputTag("secondaryVertexNega... | 37.666667 | 76 | 0.775811 | 23 | 339 | 11.434783 | 0.73913 | 0.08365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.132743 | 339 | 8 | 77 | 42.375 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.322485 | 0.281065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7afd6f2927732d2c5e14aeb7cdc02838cc1c3a6 | 94 | py | Python | tests/func/sysfunc01.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/func/sysfunc01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/func/sysfunc01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | from polyphony import testbench
@testbench
def test():
assert 1
assert not 0
test()
| 10.444444 | 31 | 0.691489 | 13 | 94 | 5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.244681 | 94 | 8 | 32 | 11.75 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7cd315a2499d10507498bc59207a7b728439f9e | 777 | py | Python | src/operation.py | abhisheksp/byzantine-chain-replication | 0150d915c8647e31a182751ee5e5b64ae11d24b5 | [
"MIT"
] | null | null | null | src/operation.py | abhisheksp/byzantine-chain-replication | 0150d915c8647e31a182751ee5e5b64ae11d24b5 | [
"MIT"
] | null | null | null | src/operation.py | abhisheksp/byzantine-chain-replication | 0150d915c8647e31a182751ee5e5b64ae11d24b5 | [
"MIT"
] | null | null | null | def new_put_operation(key, val):
return {'operation': 'put', 'key': key, 'val': val}
def new_get_operation(key):
return {'operation': 'get', 'key': key}
def new_append_operation(key, val):
return {'operation': 'append', 'key': key, 'val': val}
def new_slice_operation(key, slice_):
return {'operati... | 28.777778 | 62 | 0.628057 | 95 | 777 | 5.021053 | 0.157895 | 0.050314 | 0.106918 | 0.08805 | 0.339623 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187902 | 777 | 26 | 63 | 29.884615 | 0.755943 | 0 | 0 | 0 | 0 | 0 | 0.160875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0 | 0.222222 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f7ced196430b0209a451c2431f56f1f33479a7c0 | 254 | py | Python | pysnptools/snpreader/_mergeiids.py | fastlmm/PySnpTools | ce2ecaa5548e82b64c8ed6a205dbf419701b66b6 | [
"Apache-2.0"
] | 13 | 2019-12-23T06:51:08.000Z | 2022-01-07T18:14:55.000Z | pysnptools/snpreader/_mergeiids.py | fastlmm/PySnpTools | ce2ecaa5548e82b64c8ed6a205dbf419701b66b6 | [
"Apache-2.0"
] | 3 | 2020-07-30T16:07:43.000Z | 2021-07-14T09:00:42.000Z | pysnptools/snpreader/_mergeiids.py | fastlmm/PySnpTools | ce2ecaa5548e82b64c8ed6a205dbf419701b66b6 | [
"Apache-2.0"
] | 3 | 2020-05-22T09:46:16.000Z | 2021-01-26T13:27:36.000Z | #!! Has not been tested
from pysnptools.snpreader import SnpReader
from pysnptools.pstreader import _MergeRows
class _MergeIIDs(_MergeRows,SnpReader):
def __init__(self, *args, **kwargs):
super(_MergeIIDs, self).__init__(*args, **kwargs)
| 23.090909 | 57 | 0.744094 | 29 | 254 | 6.103448 | 0.62069 | 0.158192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 254 | 10 | 58 | 25.4 | 0.819444 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f7de60a23f6b0e99f02588750cc544eee0347a1b | 459 | py | Python | python/ql/test/3/library-tests/web/django/views.py | PavelBansky/ql | 0631bc97bc8ee3f1aedb97e7e3c83b95c71c5d5f | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-07-12T09:23:48.000Z | 2021-10-04T10:05:46.000Z | python/ql/test/3/library-tests/web/django/views.py | felicitymay/ql | bf0201a36e116255d2ff6e69e2c460d12682bb22 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-02-21T16:20:02.000Z | 2019-05-01T12:10:05.000Z | python/ql/test/3/library-tests/web/django/views.py | felicitymay/ql | bf0201a36e116255d2ff6e69e2c460d12682bb22 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
from django.http import HttpResponse
from django.shortcuts import redirect, render
from django.views.generic import View
def view_func1(request):
# Whether this is safe depends on template.html -- annoyingly
return HttpResponse(request.GET.get("untrusted"))
def view_func2(request, path='default'):
env =... | 22.95 | 65 | 0.723312 | 60 | 459 | 5.5 | 0.583333 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.172113 | 459 | 19 | 66 | 24.157895 | 0.863158 | 0.12854 | 0 | 0 | 0 | 0 | 0.100756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.272727 | 0.090909 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f7f2fe3b179c3390f607e784deb93df00d5d95bb | 278 | py | Python | front_end/aux/modify_version.py | zacheliason/CodeBuddy | 18694771ccbb74e6966e08f1247aadda2d5d06f7 | [
"MIT"
] | null | null | null | front_end/aux/modify_version.py | zacheliason/CodeBuddy | 18694771ccbb74e6966e08f1247aadda2d5d06f7 | [
"MIT"
] | 11 | 2020-06-12T19:13:12.000Z | 2021-08-28T23:47:57.000Z | front_end/aux/modify_version.py | zacheliason/CodeBuddy | 18694771ccbb74e6966e08f1247aadda2d5d06f7 | [
"MIT"
] | 3 | 2020-05-12T16:54:16.000Z | 2021-04-30T16:19:46.000Z | with open("/VERSION") as version_file:
version = version_file.read()
with open("/tmp/footer_version.html") as footer_file:
footer = footer_file.read().replace("VERSION", version)
with open("/tmp/footer_version.html", "w") as footer_file:
footer_file.write(footer)
| 30.888889 | 59 | 0.723022 | 40 | 278 | 4.825 | 0.3 | 0.207254 | 0.11399 | 0.176166 | 0.290155 | 0.290155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125899 | 278 | 8 | 60 | 34.75 | 0.794239 | 0 | 0 | 0 | 0 | 0 | 0.230216 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
790000ca60eca1b680d51304f349756cd85eaf86 | 1,321 | py | Python | src_old/tests/scripts/lambda/pdes/2d/ex10.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/lambda/pdes/2d/ex10.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/lambda/pdes/2d/ex10.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | # coding: utf-8
# ... import symbolic tools
weak_formulation = load('pyccel.symbolic.gelato', 'weak_formulation', True, 2)
glt_function = load('pyccel.symbolic.gelato', 'glt_function', True, 3)
Grad = load('pyccel.symbolic.gelato', 'Grad', False, 1)
Curl = load('pyccel.symbolic.gelato', 'Curl', False, 1)
... | 25.901961 | 78 | 0.549584 | 195 | 1,321 | 3.671795 | 0.220513 | 0.111732 | 0.201117 | 0.268156 | 0.041899 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059396 | 0.222559 | 1,321 | 50 | 79 | 26.42 | 0.63778 | 0.056775 | 0 | 0.103448 | 0 | 0 | 0.313916 | 0.142395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.413793 | 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 | 1 | 0 | 3 |
790175423e938eeaeb79260c59952e39d2b5a8cf | 1,637 | py | Python | recognition/base.py | ReanGD/smart-home | 0d3ebe3213ad275f64490218ca3dbc0128c12339 | [
"Apache-2.0"
] | 1 | 2018-07-31T21:17:37.000Z | 2018-07-31T21:17:37.000Z | recognition/base.py | ReanGD/smart-home | 0d3ebe3213ad275f64490218ca3dbc0128c12339 | [
"Apache-2.0"
] | null | null | null | recognition/base.py | ReanGD/smart-home | 0d3ebe3213ad275f64490218ca3dbc0128c12339 | [
"Apache-2.0"
] | null | null | null | from audio import Stream, AudioSettings
class PhraseRecognizer(object):
def __init__(self, config, audio_settings: AudioSettings):
self._config = config
self._audio_settings = audio_settings
def get_config(self):
return self._config
def get_audio_settings(self) -> AudioSettings:
... | 28.719298 | 70 | 0.717776 | 177 | 1,637 | 6.344633 | 0.225989 | 0.104185 | 0.121104 | 0.199466 | 0.449688 | 0.338379 | 0.338379 | 0.30098 | 0.30098 | 0.217275 | 0 | 0 | 0.193647 | 1,637 | 56 | 71 | 29.232143 | 0.850758 | 0 | 0 | 0.277778 | 0 | 0 | 0.169823 | 0.046426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.361111 | false | 0.027778 | 0.027778 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7903eef5a8bc5a4a589813ab0d1164bef047564a | 1,037 | py | Python | py_lex.py | Spico197/PythonCompilerPrinciplesExp | cb06dd7ee50ed7755c18b0684c8b7aa169396e3d | [
"MIT"
] | 3 | 2020-12-05T07:39:44.000Z | 2021-12-06T05:58:49.000Z | py_lex.py | Spico197/PythonCompilerPrinciplesExp | cb06dd7ee50ed7755c18b0684c8b7aa169396e3d | [
"MIT"
] | null | null | null | py_lex.py | Spico197/PythonCompilerPrinciplesExp | cb06dd7ee50ed7755c18b0684c8b7aa169396e3d | [
"MIT"
] | null | null | null | #! /usr/bin/env python
#coding=utf-8
import ply.lex as lex
# LEX for parsing Python
# Tokens
tokens=('VARIABLE','NUMBER', 'IF', 'ELIF', 'ELSE', 'WHILE', 'FOR', 'PRINT', 'INC', 'LEN', 'GDIV', 'BREAK', 'LET')
literals=['=','+','-','*','(',')','{','}','<','>', ';', ',', '[', ']']
#Define of tokens
def t... | 14.013514 | 114 | 0.479267 | 159 | 1,037 | 3.025157 | 0.301887 | 0.116424 | 0.135135 | 0.274428 | 0.054054 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0.006983 | 0.309547 | 1,037 | 73 | 115 | 14.205479 | 0.664804 | 0.14947 | 0 | 0.276596 | 0 | 0 | 0.171068 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 1 | 0.297872 | false | 0 | 0.021277 | 0 | 0.595745 | 0.042553 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
790a42de2c372488a969ad7dfc9c9229356f7c69 | 9,840 | py | Python | alembic/versions/3741581c7fc4_initial.py | ShacharOch/anyway | dd62eeec19d478aca78bf9eb151110a26690495d | [
"BSD-3-Clause"
] | null | null | null | alembic/versions/3741581c7fc4_initial.py | ShacharOch/anyway | dd62eeec19d478aca78bf9eb151110a26690495d | [
"BSD-3-Clause"
] | null | null | null | alembic/versions/3741581c7fc4_initial.py | ShacharOch/anyway | dd62eeec19d478aca78bf9eb151110a26690495d | [
"BSD-3-Clause"
] | null | null | null | """initial
Revision ID: 3741581c7fc4
Revises:
Create Date: 2017-10-02 09:13:51.619334
"""
# revision identifiers, used by Alembic.
revision = '3741581c7fc4'
down_revision = None
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by... | 48.955224 | 125 | 0.683232 | 1,272 | 9,840 | 5.158019 | 0.154874 | 0.139003 | 0.219784 | 0.283493 | 0.759183 | 0.720165 | 0.536961 | 0.326475 | 0.277702 | 0.239902 | 0 | 0.00918 | 0.125407 | 9,840 | 200 | 126 | 49.2 | 0.753195 | 0.027744 | 0 | 0.214286 | 0 | 0 | 0.213447 | 0.023495 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0.005495 | 0.010989 | 0 | 0.021978 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7910c60a015daeff804de57424ab74d1a1121cdc | 370 | py | Python | 07-User-Authentication/00-Password-Hashing/Using-Bcrypt.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | 07-User-Authentication/00-Password-Hashing/Using-Bcrypt.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | 07-User-Authentication/00-Password-Hashing/Using-Bcrypt.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | #pip install flask-bcrypt
from flask_bcrypt import Bcrypt
# Create the Hasher
bcrypt = Bcrypt()
hashed_pass = bcrypt.generate_password_hash('somethingSuperSecret')
print(hashed_pass)
wrong_check = bcrypt.check_password_hash(hashed_pass, 'wrongpass')
print(wrong_check)
right_check = bcrypt.check_password_hash(hashed... | 24.666667 | 77 | 0.827027 | 48 | 370 | 6.0625 | 0.416667 | 0.137457 | 0.109966 | 0.164948 | 0.261168 | 0.261168 | 0.261168 | 0 | 0 | 0 | 0 | 0 | 0.086486 | 370 | 14 | 78 | 26.428571 | 0.860947 | 0.113514 | 0 | 0 | 1 | 0 | 0.150307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0.125 | 0 | 0.125 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7926d0cc168b375b9284510b3443c0ea45ebe1ef | 9,650 | py | Python | mirage/libs/utils.py | HomeSen/mirage | 6beb4df508758bd152f5d929ba3e6353f161ef27 | [
"MIT"
] | null | null | null | mirage/libs/utils.py | HomeSen/mirage | 6beb4df508758bd152f5d929ba3e6353f161ef27 | [
"MIT"
] | null | null | null | mirage/libs/utils.py | HomeSen/mirage | 6beb4df508758bd152f5d929ba3e6353f161ef27 | [
"MIT"
] | null | null | null | import psutil,time,os,sys,string,random,imp
from os.path import expanduser,exists
def generateModulesDictionary(moduleDir, moduleUserDir):
'''
This function generates a dictionary of Mirage modules, by including files stored in ``moduleDir`` and ``moduleUserDir``.
:param moduleDir: path of Mirage's modules direct... | 23.197115 | 130 | 0.702176 | 1,294 | 9,650 | 5.217156 | 0.193972 | 0.04266 | 0.025181 | 0.026663 | 0.434454 | 0.331062 | 0.301437 | 0.279218 | 0.264109 | 0.20945 | 0 | 0.017385 | 0.165492 | 9,650 | 415 | 131 | 23.253012 | 0.820936 | 0.604041 | 0 | 0.14 | 1 | 0 | 0.05581 | 0.007819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.11 | 0 | 0.58 | 0.02 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7929ff5ea4ab05d58099e4f853334955b936419d | 12 | py | Python | tu/__init__.py | zsqw123/tujian_python | 361a32d051801083375b3f67a5087c3b8c136e92 | [
"MIT"
] | null | null | null | tu/__init__.py | zsqw123/tujian_python | 361a32d051801083375b3f67a5087c3b8c136e92 | [
"MIT"
] | null | null | null | tu/__init__.py | zsqw123/tujian_python | 361a32d051801083375b3f67a5087c3b8c136e92 | [
"MIT"
] | null | null | null | name = 'tu'
| 6 | 11 | 0.5 | 2 | 12 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 12 | 1 | 12 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
792f78ca410a4d9627948f2198c7e0ee0749bce5 | 3,772 | py | Python | src/serenity/model/instrument.py | neosavvy/serenity | c7c8f4d2f48437cd33e0f6b135455f008031b19f | [
"Apache-2.0"
] | null | null | null | src/serenity/model/instrument.py | neosavvy/serenity | c7c8f4d2f48437cd33e0f6b135455f008031b19f | [
"Apache-2.0"
] | null | null | null | src/serenity/model/instrument.py | neosavvy/serenity | c7c8f4d2f48437cd33e0f6b135455f008031b19f | [
"Apache-2.0"
] | 1 | 2021-09-23T10:47:35.000Z | 2021-09-23T10:47:35.000Z | from abc import ABC
from datetime import datetime
from typing import Optional
from serenity.model.api import TypeCode
class Currency:
def __init__(self, currency_id: int, currency_code: str):
self.currency_id = currency_id
self.currency_code = currency_code
def get_currency_id(self) -> int:
... | 28.360902 | 114 | 0.695652 | 443 | 3,772 | 5.571106 | 0.110609 | 0.081037 | 0.035656 | 0.048217 | 0.16248 | 0.100486 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22667 | 3,772 | 132 | 115 | 28.575758 | 0.846075 | 0.012725 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322222 | false | 0.011111 | 0.044444 | 0.222222 | 0.688889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
793b8202e57995e3f606dfec0c91ded8758f847b | 236 | py | Python | flatcontent/admin.py | davemerwin/django-flatcontent | cd3587c2c5f438bd925aeea7370849e8359c109c | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:37:43.000Z | 2016-05-09T03:37:43.000Z | flatcontent/admin.py | davemerwin/django-flatcontent | cd3587c2c5f438bd925aeea7370849e8359c109c | [
"BSD-3-Clause"
] | null | null | null | flatcontent/admin.py | davemerwin/django-flatcontent | cd3587c2c5f438bd925aeea7370849e8359c109c | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from flatcontent.models import FlatContent
class FlatContentAdmin(admin.ModelAdmin):
list_display = ('slug', 'content')
ordering = ('slug',)
admin.site.register(FlatContent, FlatContentAdmin)
| 23.6 | 50 | 0.766949 | 25 | 236 | 7.2 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 236 | 9 | 51 | 26.222222 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.063559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
793c02fbc7a6ceaf5a5ab85747c3bbbd55c6e6c4 | 1,873 | py | Python | ordery/forms.py | lambdagirl/ordery | f80c195a0e77a0dc7de979463a5103946c634f47 | [
"MIT"
] | 5 | 2018-10-15T22:02:57.000Z | 2020-03-05T11:12:05.000Z | ordery/forms.py | lambdagirl/ordery | f80c195a0e77a0dc7de979463a5103946c634f47 | [
"MIT"
] | 1 | 2018-10-29T15:21:26.000Z | 2020-04-01T05:10:31.000Z | ordery/forms.py | lambdagirl/ordery | f80c195a0e77a0dc7de979463a5103946c634f47 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import Form,StringField,SubmitField, TextAreaField, DateTimeField, IntegerField, PasswordField, SelectField
from wtforms.validators import DataRequired, ValidationError
from flask_wtf.file import FileField, FileAllowed, FileRequired
from flask import request
class CSVForm(... | 39.020833 | 120 | 0.711159 | 181 | 1,873 | 7.243094 | 0.375691 | 0.201373 | 0.070175 | 0.085431 | 0.076278 | 0.076278 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157501 | 1,873 | 47 | 121 | 39.851064 | 0.830798 | 0.030966 | 0 | 0.117647 | 0 | 0 | 0.105843 | 0.012679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0.058824 | 0.147059 | 0 | 0.852941 | 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 | 1 | 0 | 0 | 3 |
f745e627baa4f27c556fa93c5bc6a8607a16af32 | 16,200 | py | Python | tests/test_visualization.py | EmadAlamoudi/libpetab-python-MS | 7d21d79e9c02200d361a19c737d61c0e56123ca0 | [
"MIT"
] | null | null | null | tests/test_visualization.py | EmadAlamoudi/libpetab-python-MS | 7d21d79e9c02200d361a19c737d61c0e56123ca0 | [
"MIT"
] | null | null | null | tests/test_visualization.py | EmadAlamoudi/libpetab-python-MS | 7d21d79e9c02200d361a19c737d61c0e56123ca0 | [
"MIT"
] | null | null | null | import warnings
from os import path
from tempfile import TemporaryDirectory
import pytest
from petab.C import *
from petab.visualize import (plot_data_and_simulation,
plot_measurements_by_observable,
save_vis_spec)
import matplotlib.pyplot as plt
@pytest.fixtu... | 42.1875 | 79 | 0.614444 | 1,750 | 16,200 | 5.225143 | 0.118286 | 0.094051 | 0.053587 | 0.064304 | 0.817148 | 0.794291 | 0.752515 | 0.669291 | 0.592738 | 0.574913 | 0 | 0.029603 | 0.326481 | 16,200 | 383 | 80 | 42.29765 | 0.80845 | 0.081358 | 0 | 0.615672 | 0 | 0 | 0.154362 | 0.098009 | 0 | 0 | 0 | 0 | 0.044776 | 1 | 0.108209 | false | 0 | 0.026119 | 0.052239 | 0.186567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f74ceb9568e36d6ee22864edba2a12bbca2a62f7 | 3,137 | py | Python | alipay/aop/api/domain/SubMerchantParams.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/SubMerchantParams.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/SubMerchantParams.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import simplejson as json
from alipay.aop.api.constant.ParamConstants import *
class SubMerchantParams(object):
def __init__(self):
self._sub_merchant_id = None
self._sub_merchant_name = None
self._sub_merchant_service_description = None
... | 36.476744 | 115 | 0.685049 | 394 | 3,137 | 4.982234 | 0.114213 | 0.33622 | 0.275089 | 0.2216 | 0.741212 | 0.541518 | 0.307183 | 0.268467 | 0.1243 | 0.1243 | 0 | 0.000419 | 0.240038 | 3,137 | 85 | 116 | 36.905882 | 0.822987 | 0.013389 | 0 | 0.115942 | 0 | 0 | 0.13329 | 0.073763 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15942 | false | 0 | 0.028986 | 0.057971 | 0.304348 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f75ad2f3a7078510d9060095ba75d816c8b1020b | 817 | py | Python | usaspending_api/search/models/tas_autocomplete_matview.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/search/models/tas_autocomplete_matview.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/search/models/tas_autocomplete_matview.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | from django.db import models
class TASAutocompleteMatview(models.Model):
"""
Supports TAS autocomplete. For performance reasons, pre-filters the TAS
codes/numbers/symbols/whatever that can be linked to File D data.
"""
tas_autocomplete_id = models.IntegerField(primary_key=True)
allocation_tr... | 34.041667 | 76 | 0.750306 | 100 | 817 | 5.89 | 0.56 | 0.203735 | 0.16129 | 0.195246 | 0.237691 | 0.14601 | 0.14601 | 0 | 0 | 0 | 0 | 0 | 0.170135 | 817 | 23 | 77 | 35.521739 | 0.868732 | 0.168911 | 0 | 0 | 0 | 0 | 0.036419 | 0.036419 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f762ed8a51b6c1cbaedd599fc4e4202645413910 | 30 | py | Python | doll/__init__.py | badge/doll | 36d99d9dd8ab6ff2e155e8daa8dad28619e46ef7 | [
"Apache-2.0"
] | 2 | 2016-12-17T23:10:50.000Z | 2020-04-29T23:03:31.000Z | doll/__init__.py | badge/doll | 36d99d9dd8ab6ff2e155e8daa8dad28619e46ef7 | [
"Apache-2.0"
] | 3 | 2015-08-30T16:11:50.000Z | 2015-09-01T19:59:50.000Z | doll/__init__.py | badge/doll | 36d99d9dd8ab6ff2e155e8daa8dad28619e46ef7 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Matthew Badger'
| 15 | 29 | 0.766667 | 3 | 30 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f768413f32065e98b0367cba14c159ff0ac16f3b | 142 | py | Python | config.sample.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 21 | 2020-02-24T07:56:55.000Z | 2022-01-22T11:32:28.000Z | config.sample.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 1 | 2021-02-07T13:08:47.000Z | 2021-02-09T04:50:49.000Z | config.sample.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 3 | 2020-06-04T07:56:20.000Z | 2021-06-21T04:04:15.000Z | from config_default import *
# 使用你自己的配置项覆盖默认的配置项
# 例如下面一行
HOST = "0.0.0.0"
# 完整的配置项列表见config_default下的*.py文件
# 永远不要直接修改config_default下的任何文件! | 17.75 | 33 | 0.788732 | 16 | 142 | 6.8125 | 0.8125 | 0.055046 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.112676 | 142 | 8 | 34 | 17.75 | 0.833333 | 0.605634 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f76b1edda21ac5fe3fdbb371a4ce2fcb0934b6c2 | 1,199 | py | Python | tests/stakes_test.py | glieb/dilemma | f61d564314f3f5494da19fb4212d9dd04d77b284 | [
"MIT"
] | null | null | null | tests/stakes_test.py | glieb/dilemma | f61d564314f3f5494da19fb4212d9dd04d77b284 | [
"MIT"
] | null | null | null | tests/stakes_test.py | glieb/dilemma | f61d564314f3f5494da19fb4212d9dd04d77b284 | [
"MIT"
] | null | null | null | import sys
sys.path.append("..")
from dilemma.stakes import generate_stakes
from dilemma.config import lowest_stakes, highest_stakes
def main(iterations):
try:
iterations = int(iterations)
except ValueError:
print("First argument must be an int")
exit()
for _ in range(iterations):
... | 30.74359 | 63 | 0.59633 | 165 | 1,199 | 4.236364 | 0.290909 | 0.309013 | 0.074392 | 0.071531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034522 | 0.275229 | 1,199 | 38 | 64 | 31.552632 | 0.76985 | 0.041701 | 0 | 0 | 1 | 0 | 0.053182 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.030303 | false | 0 | 0.090909 | 0 | 0.121212 | 0.060606 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7778766e19cf6bf31f1de6366a87c8ef8c4de9e | 162 | py | Python | _posts/ideals_varieties_and_algorithms/chapter4/section2/ex-4-2-8.py | hidenori-shinohara/hidenori-shionohara.github.io | ba0b2af624e18dca34f99eb5e38a6dc43b2cf843 | [
"MIT"
] | null | null | null | _posts/ideals_varieties_and_algorithms/chapter4/section2/ex-4-2-8.py | hidenori-shinohara/hidenori-shionohara.github.io | ba0b2af624e18dca34f99eb5e38a6dc43b2cf843 | [
"MIT"
] | 6 | 2017-11-21T06:01:52.000Z | 2021-03-30T00:46:51.000Z | _posts/ideals_varieties_and_algorithms/chapter4/section2/ex-4-2-8.py | hidenori-shinohara/hidenori-shinohara.github.io | ba0b2af624e18dca34f99eb5e38a6dc43b2cf843 | [
"MIT"
] | null | null | null | from sympy import *
from sympy.polys.orderings import monomial_key
x, y = symbols('x y')
print(groebner([y * y + 2 * x * y - 1, x * x + 1], x, y, order='lex'))
| 23.142857 | 70 | 0.611111 | 30 | 162 | 3.266667 | 0.533333 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.209877 | 162 | 6 | 71 | 27 | 0.742188 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f7932cce4152143010ac74921bb6a7228341172b | 4,336 | py | Python | temboo/core/Library/PayPal/OAuth/GetAccessToken.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/PayPal/OAuth/GetAccessToken.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/PayPal/OAuth/GetAccessToken.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# GetAccessToken
# Retrieves an Access Token from PayPal.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | 40.148148 | 211 | 0.681042 | 519 | 4,336 | 5.612717 | 0.348748 | 0.027463 | 0.019224 | 0.035702 | 0.261243 | 0.146928 | 0.10024 | 0.065911 | 0 | 0 | 0 | 0.004905 | 0.200646 | 4,336 | 107 | 212 | 40.523364 | 0.835545 | 0.488007 | 0 | 0 | 0 | 0 | 0.053591 | 0.01989 | 0 | 0 | 0 | 0 | 0 | 1 | 0.371429 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f793c8439bd9b5e290e91ad952fb62dc0e54857a | 425 | py | Python | callflow/datastructures/__init__.py | LLNL/CallFlow | 30bd6f94e2428c910ed45bccd3b7a62e0f2623bd | [
"MIT"
] | 23 | 2017-11-03T07:38:35.000Z | 2022-02-23T15:54:49.000Z | callflow/datastructures/__init__.py | LLNL/CallFlow | 30bd6f94e2428c910ed45bccd3b7a62e0f2623bd | [
"MIT"
] | 15 | 2017-12-01T22:40:37.000Z | 2022-02-28T02:05:59.000Z | callflow/datastructures/__init__.py | LLNL/CallFlow | 30bd6f94e2428c910ed45bccd3b7a62e0f2623bd | [
"MIT"
] | 5 | 2017-11-03T19:22:04.000Z | 2018-01-14T00:49:11.000Z | # Copyright 2017-2021 Lawrence Livermore National Security, LLC and other
# CallFlow Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: MIT
# ------------------------------------------------------------------------------
"""
CallFlow's data structure API.
"""
from .supergraph i... | 35.416667 | 80 | 0.623529 | 44 | 425 | 6.022727 | 0.772727 | 0.060377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021563 | 0.127059 | 425 | 11 | 81 | 38.636364 | 0.692722 | 0.703529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f798b1930c565cc8c6e24822ac9dd23068375a73 | 52 | py | Python | emailhub/__init__.py | h3/django-emailhub | a618256096b3faa55479c46b6313861cfd898a9f | [
"MIT"
] | null | null | null | emailhub/__init__.py | h3/django-emailhub | a618256096b3faa55479c46b6313861cfd898a9f | [
"MIT"
] | null | null | null | emailhub/__init__.py | h3/django-emailhub | a618256096b3faa55479c46b6313861cfd898a9f | [
"MIT"
] | null | null | null | default_app_config = 'emailhub.apps.EmailhubConfig'
| 26 | 51 | 0.846154 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.538462 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3a15a2e97b33809f8cfc62462472b75acb54017 | 125 | py | Python | setup.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null | setup.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null | setup.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null |
from distutils.core import setup
setup(name='mc',
version='0.1.5',
packages=['mc'],
license='MIT'
)
| 15.625 | 32 | 0.552 | 16 | 125 | 4.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.272 | 125 | 7 | 33 | 17.857143 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3a4991c32967b7ac0521f1065f8cb4aeaedb23c | 943 | py | Python | core/models.py | rodrigondec/Open_CliEng | 83e399a35c1cf96283409ac43a61b2725cd93982 | [
"MIT"
] | 3 | 2019-09-26T13:58:23.000Z | 2020-06-18T16:43:40.000Z | core/models.py | rodrigondec/Open_Clineng | 83e399a35c1cf96283409ac43a61b2725cd93982 | [
"MIT"
] | 24 | 2017-11-20T05:27:32.000Z | 2017-11-29T05:46:56.000Z | core/models.py | rodrigondec/Open_CliEng | 83e399a35c1cf96283409ac43a61b2725cd93982 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db import models
from polymorphic.models import PolymorphicModel
class Responsavel(PolymorphicModel):
pass
class EmpresaResponsavel(Responsavel):
nome = models.CharField(max_length=50)
cnpj = models.CharField(max_length=20)
email = models.CharF... | 24.815789 | 97 | 0.752916 | 108 | 943 | 6.388889 | 0.398148 | 0.130435 | 0.156522 | 0.208696 | 0.376812 | 0.272464 | 0.272464 | 0.171014 | 0.171014 | 0.171014 | 0 | 0.015209 | 0.163309 | 943 | 37 | 98 | 25.486486 | 0.859316 | 0 | 0 | 0.375 | 0 | 0 | 0.026511 | 0.026511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.041667 | 0.166667 | 0.125 | 0.958333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e3ab1154ef7f50a2cad7e4989bba571de9a12aef | 766 | py | Python | server/rideshare/migrations/0002_usertest.py | aadabi/tagrides | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | 2 | 2018-03-21T23:32:09.000Z | 2018-03-22T01:39:51.000Z | server/rideshare/migrations/0002_usertest.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | server/rideshare/migrations/0002_usertest.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-15 01:08
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rideshare', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | 29.461538 | 114 | 0.584856 | 78 | 766 | 5.576923 | 0.666667 | 0.137931 | 0.165517 | 0.22069 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059675 | 0.278068 | 766 | 25 | 115 | 30.64 | 0.726944 | 0.088773 | 0 | 0 | 1 | 0 | 0.090647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.111111 | 0 | 0.277778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e3bdf5d8d937bb8ea4591abcd1f03b919275ecd9 | 566 | py | Python | MaquinaTuring/ControleFinito.py | Eudess/ProjetoMaquinaTuring-ITC | 9065c58e6b8bbbecc7ebb6c1c408e7fcb818555f | [
"MIT"
] | null | null | null | MaquinaTuring/ControleFinito.py | Eudess/ProjetoMaquinaTuring-ITC | 9065c58e6b8bbbecc7ebb6c1c408e7fcb818555f | [
"MIT"
] | null | null | null | MaquinaTuring/ControleFinito.py | Eudess/ProjetoMaquinaTuring-ITC | 9065c58e6b8bbbecc7ebb6c1c408e7fcb818555f | [
"MIT"
] | null | null | null | class ControleFinito:
def __init__(self):
self.__estado = "q0"
self.__posicao = 0
self.__posicaoFitaDois = 1
def setEstado(self, novoEstado):
self.__estado = novoEstado
def getEstado(self):
return self.__estado
def setPosicao(self, novaPosicao):
self.__... | 24.608696 | 46 | 0.660777 | 53 | 566 | 6.641509 | 0.377358 | 0.085227 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007177 | 0.261484 | 566 | 23 | 47 | 24.608696 | 0.834928 | 0 | 0 | 0 | 0 | 0 | 0.003527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e3c71cbcf9823f24a5d30bdae1f446b3b7e01ce4 | 149 | py | Python | tests/unit/test_unit.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T18:37:13.000Z | 2022-01-24T18:37:13.000Z | tests/unit/test_unit.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_unit.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | null | null | null | from backendpy.unittest import AsyncTestCase
class MyTestCase(AsyncTestCase):
def test_something(self):
self.assertEqual(True, False)
| 18.625 | 44 | 0.758389 | 16 | 149 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167785 | 149 | 7 | 45 | 21.285714 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3d92ec382be4332b5aade3983ce33dadd6a0be3 | 83 | py | Python | capanno_utils/templates/tool_templates/snakemake_templates.py | xDBio-Inc/xD-CWL-utils | a7c602e221f3711aeea41a68e868eb13b37550c5 | [
"Apache-2.0"
] | null | null | null | capanno_utils/templates/tool_templates/snakemake_templates.py | xDBio-Inc/xD-CWL-utils | a7c602e221f3711aeea41a68e868eb13b37550c5 | [
"Apache-2.0"
] | 1 | 2019-12-16T17:06:44.000Z | 2019-12-16T17:06:44.000Z | capanno_utils/templates/tool_templates/snakemake_templates.py | xDBio-Inc/xD-CWL-utils | a7c602e221f3711aeea41a68e868eb13b37550c5 | [
"Apache-2.0"
] | 1 | 2020-06-15T18:29:18.000Z | 2020-06-15T18:29:18.000Z |
snakemake_rule = """\
rule some_rule_name:
input:
output:
shell:
""" | 10.375 | 21 | 0.578313 | 9 | 83 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277108 | 83 | 8 | 22 | 10.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.707317 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3dece7460cd921ebebf05b9b26c5dc5f2a64151 | 58 | py | Python | input_forms/__init__.py | nembery/aframe | 29c92b4eb246a5d02168349fa041473065024b23 | [
"Apache-2.0"
] | 19 | 2016-04-28T19:53:43.000Z | 2021-08-09T09:04:56.000Z | input_forms/__init__.py | nembery/aframe | 29c92b4eb246a5d02168349fa041473065024b23 | [
"Apache-2.0"
] | 23 | 2016-06-03T00:13:19.000Z | 2018-10-11T14:32:22.000Z | input_forms/__init__.py | nembery/aframe | 29c92b4eb246a5d02168349fa041473065024b23 | [
"Apache-2.0"
] | 10 | 2016-05-17T18:27:13.000Z | 2020-08-14T09:49:48.000Z | default_app_config = 'input_forms.apps.InputFormAppConfig' | 58 | 58 | 0.87931 | 7 | 58 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 58 | 1 | 58 | 58 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.59322 | 0.59322 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3f2b7033f78e9344206eef8776153a333fac942 | 452 | py | Python | payroll/tests/test_simple_payslip.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 36 | 2019-11-26T11:46:32.000Z | 2022-02-17T13:18:18.000Z | payroll/tests/test_simple_payslip.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 13 | 2020-02-14T09:30:16.000Z | 2022-03-12T00:58:09.000Z | payroll/tests/test_simple_payslip.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 16 | 2019-06-14T12:11:29.000Z | 2022-02-14T15:16:07.000Z | from django.test import TestCase
from payroll.simple_payslip import SimplePayslip
from payroll.tests.payroll_objects import create_test_employee_object
class TestSimplePayslip(TestCase):
def setUp(self):
employee = create_test_employee_object()
self.simple_payslip = SimplePayslip(employee,overt... | 28.25 | 73 | 0.79646 | 55 | 452 | 6.254545 | 0.418182 | 0.151163 | 0.104651 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.141593 | 452 | 15 | 74 | 30.133333 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e3fac4605f28808b4071e1bddac03ecfc6e65588 | 125 | py | Python | 2.py | AJ-54/Intro-to-Webd | 4d68784cea8a5f26f3f55a4d736d5fa08c6f37bb | [
"MIT"
] | 1 | 2019-01-15T09:02:31.000Z | 2019-01-15T09:02:31.000Z | 2.py | AJ-54/Intro-to-Webd | 4d68784cea8a5f26f3f55a4d736d5fa08c6f37bb | [
"MIT"
] | null | null | null | 2.py | AJ-54/Intro-to-Webd | 4d68784cea8a5f26f3f55a4d736d5fa08c6f37bb | [
"MIT"
] | null | null | null | s=list(input("Enter the names with commas:").split(","))
for i in s:
f=" "
a=i.split(" ")
for j in a:
f+=j[0]
print(f)
| 15.625 | 56 | 0.552 | 26 | 125 | 2.653846 | 0.653846 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.2 | 125 | 7 | 57 | 17.857143 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
540ff5820e3c35112a173c155f318b432f0522a1 | 94 | py | Python | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/000Exercicios/03funcionario/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/000Exercicios/03funcionario/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/000Exercicios/03funcionario/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | from funcionario import Funcionario
f1 = Funcionario('Pedro', 1000, 30)
print(f1.aumento()) | 15.666667 | 35 | 0.744681 | 12 | 94 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.12766 | 94 | 6 | 36 | 15.666667 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
541943c672e4767c2187470ece790314a3673acd | 59 | py | Python | tomahaw.py | Pratyush2703/testgit | 0b0e75f52069b2091e5c04c10d395169d538505f | [
"MIT"
] | null | null | null | tomahaw.py | Pratyush2703/testgit | 0b0e75f52069b2091e5c04c10d395169d538505f | [
"MIT"
] | null | null | null | tomahaw.py | Pratyush2703/testgit | 0b0e75f52069b2091e5c04c10d395169d538505f | [
"MIT"
] | 1 | 2019-10-14T13:04:30.000Z | 2019-10-14T13:04:30.000Z | #python file
f = open("actualyaml.yml",'r')
print(f.read()) | 19.666667 | 30 | 0.661017 | 10 | 59 | 3.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 3 | 31 | 19.666667 | 0.722222 | 0.186441 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5810c0f5677b0b4cd928abef1dd6151c62752e66 | 2,014 | py | Python | lfs/integrationtests/wmtests.py | restless/django-lfs | 4058f9d45b416ef2e8c28a87856ea0f1550b523d | [
"BSD-3-Clause"
] | 1 | 2020-02-26T03:07:39.000Z | 2020-02-26T03:07:39.000Z | lfs/integrationtests/wmtests.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | lfs/integrationtests/wmtests.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | import os
import datetime
from django.conf import settings
from windmill.authoring import djangotest
from lfs.core.models import Shop
from lfs.catalog.models import Product
class CartPriceIntegrationTest(djangotest.WindmillDjangoUnitTest):
test_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'win... | 34.135593 | 107 | 0.711519 | 235 | 2,014 | 6.012766 | 0.32766 | 0.025478 | 0.036093 | 0.044586 | 0.67799 | 0.67799 | 0.67799 | 0.67799 | 0.67799 | 0.67799 | 0 | 0.00124 | 0.199106 | 2,014 | 58 | 108 | 34.724138 | 0.874768 | 0.203575 | 0 | 0.588235 | 0 | 0 | 0.13739 | 0.062735 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.117647 | false | 0.058824 | 0.176471 | 0 | 0.529412 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
581a64a4fb769313c6cfd04dffe277389ee518f0 | 117 | py | Python | MyDjango/index/urls.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | MyDjango/index/urls.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | MyDjango/index/urls.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | from django.urls import path
from index import views
urlpatterns = [
path('', views.indexView, name='index'),
]
| 16.714286 | 44 | 0.700855 | 15 | 117 | 5.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 6 | 45 | 19.5 | 0.845361 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
58346503c5aea3dd7828c34155f4fc7d06bce75e | 1,258 | py | Python | lino_cosi/lib/cosi/user_types.py | khchine5/cosi | 808d71cc4d709fbab0d2d598d069dfc749b235b6 | [
"BSD-2-Clause"
] | null | null | null | lino_cosi/lib/cosi/user_types.py | khchine5/cosi | 808d71cc4d709fbab0d2d598d069dfc749b235b6 | [
"BSD-2-Clause"
] | null | null | null | lino_cosi/lib/cosi/user_types.py | khchine5/cosi | 808d71cc4d709fbab0d2d598d069dfc749b235b6 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
# Copyright 2015-2017 Luc Saffre
# License: BSD (see file COPYING for details)
"""Defines a default set of user types and fills
:class:`lino.modlib.users.choicelists.UserTypes`.
"""
from lino.api import _
from lino.modlib.users.choicelists import UserTypes
from lino.core.roles import UserRol... | 31.45 | 70 | 0.760731 | 154 | 1,258 | 6.142857 | 0.474026 | 0.084567 | 0.063425 | 0.082452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01659 | 0.13752 | 1,258 | 39 | 71 | 32.25641 | 0.8553 | 0.153418 | 0 | 0.095238 | 0 | 0 | 0.04649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095238 | 0.47619 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
583f49aebbffd3469b49db9bdda3de843637daf9 | 143 | py | Python | app/kamenica/app_settings/dev.py | mbranko/kamenica-backend | 9d3384171095e43efed198b124e711d9c1ca3896 | [
"MIT"
] | null | null | null | app/kamenica/app_settings/dev.py | mbranko/kamenica-backend | 9d3384171095e43efed198b124e711d9c1ca3896 | [
"MIT"
] | null | null | null | app/kamenica/app_settings/dev.py | mbranko/kamenica-backend | 9d3384171095e43efed198b124e711d9c1ca3896 | [
"MIT"
] | null | null | null | from .base import *
DEBUG = True
SECRET_KEY = '-+4=sz__@64=357(g#svy17$c=^3(i93@kpk8+v1^nosmap96!'
ALLOWED_HOSTS = ['localhost', '127.0.0.1']
| 23.833333 | 65 | 0.671329 | 26 | 143 | 3.538462 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 0.104895 | 143 | 5 | 66 | 28.6 | 0.554688 | 0 | 0 | 0 | 0 | 0.25 | 0.475524 | 0.34965 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
584a15705617a847afabef1b5dd73abc7b931fbc | 185 | py | Python | clib/tmp.py | Swall0w/clib | 46f659783d5a0a6ec5994c3c707c1cc8a7934385 | [
"MIT"
] | 1 | 2017-08-27T00:01:27.000Z | 2017-08-27T00:01:27.000Z | clib/tmp.py | Swall0w/clib | 46f659783d5a0a6ec5994c3c707c1cc8a7934385 | [
"MIT"
] | 49 | 2017-08-20T02:09:26.000Z | 2017-12-31T11:58:27.000Z | clib/tmp.py | Swall0w/clib | 46f659783d5a0a6ec5994c3c707c1cc8a7934385 | [
"MIT"
] | 1 | 2017-12-08T08:31:38.000Z | 2017-12-08T08:31:38.000Z | def sumfunc(x):
"""
Incremental function
This function increments input value.
It returns the value that the input value added one.
"""
x = x + 1
return x
| 16.818182 | 56 | 0.616216 | 25 | 185 | 4.56 | 0.68 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.313514 | 185 | 10 | 57 | 18.5 | 0.889764 | 0.605405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
58595e10c802f656f2e8d92d2115d05e2133ddd0 | 4,175 | py | Python | a365_request.py | MeEntity/nexar-token-py | d7779c3a20a67a8fe0f5ec2fbf64550eb345eab3 | [
"MIT"
] | null | null | null | a365_request.py | MeEntity/nexar-token-py | d7779c3a20a67a8fe0f5ec2fbf64550eb345eab3 | [
"MIT"
] | null | null | null | a365_request.py | MeEntity/nexar-token-py | d7779c3a20a67a8fe0f5ec2fbf64550eb345eab3 | [
"MIT"
] | null | null | null | """Sample request for extracting GraphQL part data."""
import argparse
import json
import sys
import webbrowser #browser
import requests
from nexar_token import get_token
NEXAR_URL = "https://api.nexar.com/graphql"
QUERY_WORKSPACES = """query {
desWorkspaces {
id
name
url
}
}
... | 40.931373 | 1,005 | 0.780599 | 284 | 4,175 | 11.25 | 0.40493 | 0.010955 | 0.015962 | 0.020657 | 0.710485 | 0.686072 | 0.686072 | 0.686072 | 0.686072 | 0.686072 | 0 | 0.067042 | 0.149701 | 4,175 | 102 | 1,006 | 40.931373 | 0.832958 | 0.013413 | 0 | 0.272727 | 0 | 0.015152 | 0.539438 | 0.355624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.090909 | 0 | 0.151515 | 0.075758 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58670111fa46cbf68e028ec12186674d2103cc3c | 2,404 | py | Python | thrift/perf/py/asyncio_load_handler.py | fakeNetflix/facebook-repo-fbthrift | 24f2357142d1da8c89f4cabc6cb144d83749b3c6 | [
"Apache-2.0"
] | 2 | 2021-06-29T13:42:22.000Z | 2021-09-06T10:57:34.000Z | thrift/perf/py/asyncio_load_handler.py | fakeNetflix/facebook-repo-fbthrift | 24f2357142d1da8c89f4cabc6cb144d83749b3c6 | [
"Apache-2.0"
] | null | null | null | thrift/perf/py/asyncio_load_handler.py | fakeNetflix/facebook-repo-fbthrift | 24f2357142d1da8c89f4cabc6cb144d83749b3c6 | [
"Apache-2.0"
] | 5 | 2021-06-29T13:42:26.000Z | 2022-02-08T02:41:34.000Z | #!/usr/bin/env python3
from apache.thrift.test.asyncio.load import LoadTest
from apache.thrift.test.asyncio.load.ttypes import LoadError
import asyncio
from concurrent.futures import ProcessPoolExecutor
import pickle
import time
def us_to_sec(microseconds):
return microseconds / 1000000
def burn_in_executor(us)... | 23.568627 | 64 | 0.633111 | 305 | 2,404 | 4.872131 | 0.370492 | 0.040377 | 0.023553 | 0.043069 | 0.273217 | 0.248991 | 0.207268 | 0.162853 | 0.162853 | 0.162853 | 0 | 0.004611 | 0.278286 | 2,404 | 101 | 65 | 23.80198 | 0.851873 | 0.114809 | 0 | 0.328358 | 0 | 0 | 0.000952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.313433 | false | 0.119403 | 0.089552 | 0.119403 | 0.552239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
586ba34b80f51fcd8851d6f82a738e0d50372acc | 225 | py | Python | wagtail/contrib/wagtailsearchpromotions/apps.py | hanpama/wagtail | e0e3cdc824b1acd9f9daa6d80b5455c969b385dd | [
"BSD-3-Clause"
] | null | null | null | wagtail/contrib/wagtailsearchpromotions/apps.py | hanpama/wagtail | e0e3cdc824b1acd9f9daa6d80b5455c969b385dd | [
"BSD-3-Clause"
] | null | null | null | wagtail/contrib/wagtailsearchpromotions/apps.py | hanpama/wagtail | e0e3cdc824b1acd9f9daa6d80b5455c969b385dd | [
"BSD-3-Clause"
] | 1 | 2019-03-05T15:37:22.000Z | 2019-03-05T15:37:22.000Z | from django.apps import AppConfig
class WagtailSearchPromotionsAppConfig(AppConfig):
name = 'wagtail.contrib.wagtailsearchpromotions'
label = 'wagtailsearchpromotions'
verbose_name = "Wagtail search promotions"
| 28.125 | 52 | 0.795556 | 19 | 225 | 9.368421 | 0.789474 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137778 | 225 | 7 | 53 | 32.142857 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0.386667 | 0.275556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
586efe1580fa6ac358d3d734876089674b59b88e | 1,813 | py | Python | migrations/versions/86740594ef44_ajout_pollinarium_sentinelle.py | betagouv/indice_pollution | 112f262397686110475ed360101b311e76d5d914 | [
"MIT"
] | 2 | 2020-09-02T20:17:22.000Z | 2022-03-04T21:06:28.000Z | migrations/versions/86740594ef44_ajout_pollinarium_sentinelle.py | betagouv/indice_pollution | 112f262397686110475ed360101b311e76d5d914 | [
"MIT"
] | 34 | 2020-08-13T11:47:13.000Z | 2022-03-31T08:05:37.000Z | migrations/versions/86740594ef44_ajout_pollinarium_sentinelle.py | betagouv/indice_pollution | 112f262397686110475ed360101b311e76d5d914 | [
"MIT"
] | 2 | 2020-03-26T17:15:03.000Z | 2020-08-10T08:23:20.000Z | """Ajout pollinarium sentinelle
Revision ID: 86740594ef44
Revises: 51c45c33b356
Create Date: 2021-06-29 15:57:36.687557
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '86740594ef44'
down_revision = '51c45c33b356'
branch_labels = None
depends_on = None
def up... | 67.148148 | 1,122 | 0.60011 | 200 | 1,813 | 5.385 | 0.825 | 0.077994 | 0.033426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.407309 | 0.169884 | 1,813 | 26 | 1,123 | 69.730769 | 0.308306 | 0.086597 | 0 | 0 | 0 | 0 | 0.456311 | 0.052791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5878f6c43bf219184d7b0196572b1cbbb90f84f1 | 5,270 | py | Python | test/jit/test_slice.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 183 | 2018-04-06T21:10:36.000Z | 2022-03-30T15:05:24.000Z | test/jit/test_slice.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 818 | 2020-02-07T02:36:44.000Z | 2022-03-31T23:49:44.000Z | test/jit/test_slice.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 58 | 2018-06-05T16:40:18.000Z | 2022-03-16T15:37:29.000Z | # Owner(s): ["oncall: jit"]
import os
import sys
import torch
from typing import List
# Make the helper files in test/ importable
pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(pytorch_test_dir)
from torch.testing._internal.jit_utils import JitTestCase
if __name__ ==... | 30.639535 | 97 | 0.577799 | 703 | 5,270 | 4.16074 | 0.219061 | 0.043077 | 0.065641 | 0.062222 | 0.384274 | 0.354872 | 0.302564 | 0.275214 | 0.250598 | 0.148718 | 0 | 0.028162 | 0.285769 | 5,270 | 171 | 98 | 30.818713 | 0.748937 | 0.033776 | 0 | 0.201613 | 0 | 0 | 0.041675 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.314516 | false | 0.008065 | 0.040323 | 0.129032 | 0.532258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
58818034499d895e894ab8591a0441a09c689c52 | 1,173 | py | Python | watson/html/elements.py | watsonpy/watson-html | 2e7a7024ce2d9301a8a87c762d5a3c468e002e0a | [
"BSD-3-Clause"
] | null | null | null | watson/html/elements.py | watsonpy/watson-html | 2e7a7024ce2d9301a8a87c762d5a3c468e002e0a | [
"BSD-3-Clause"
] | null | null | null | watson/html/elements.py | watsonpy/watson-html | 2e7a7024ce2d9301a8a87c762d5a3c468e002e0a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import collections
from watson.common import strings
class TagMixin(object):
"""Simple tag mixin used for all html tags.
All keyword arguments that get passed to __init__ will be converted into
attributes for the element.
Attributes:
attributes (dict): a dictionary o... | 28.609756 | 79 | 0.683717 | 153 | 1,173 | 5.091503 | 0.54902 | 0.057766 | 0.038511 | 0.04878 | 0.125802 | 0.064185 | 0.064185 | 0 | 0 | 0 | 0 | 0.0033 | 0.225064 | 1,173 | 40 | 80 | 29.325 | 0.853685 | 0.363171 | 0 | 0 | 0 | 0 | 0.073759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
58904a18d05fe8cf174d3e7c25e2c35a6056eea6 | 507 | py | Python | lib/bes/python/python_installer.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | lib/bes/python/python_installer.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | lib/bes/python/python_installer.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | #-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*-
from bes.common.check import check
from bes.system.host import host
if host.SYSTEM == 'macos':
from .python_installer_macos import python_installer_macos as python_installer
elif host.SYSTEM == 'linux':
from .python_install... | 36.214286 | 90 | 0.78501 | 74 | 507 | 5.162162 | 0.486486 | 0.314136 | 0.099476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006652 | 0.110454 | 507 | 13 | 91 | 39 | 0.840355 | 0.175542 | 0 | 0 | 0 | 0 | 0.06235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
543cdfa673ceb57eb6cc914fe2085ece4af3c7ff | 353 | py | Python | colorboardapp/models.py | ifedorov/UvikTest | 4a4e8c17befbc2f4c78fdd586b15d63cbe0756d9 | [
"MIT"
] | null | null | null | colorboardapp/models.py | ifedorov/UvikTest | 4a4e8c17befbc2f4c78fdd586b15d63cbe0756d9 | [
"MIT"
] | null | null | null | colorboardapp/models.py | ifedorov/UvikTest | 4a4e8c17befbc2f4c78fdd586b15d63cbe0756d9 | [
"MIT"
] | null | null | null | from django.db import models
class GameResult(models.Model):
number_of_players = models.IntegerField()
number_of_squares = models.IntegerField()
number_of_cards = models.IntegerField()
board_sequence = models.CharField(max_length=100)
cards_in_deck = models.CharField(max_length=1000)
result = ... | 32.090909 | 53 | 0.767705 | 45 | 353 | 5.755556 | 0.533333 | 0.092664 | 0.208494 | 0.277992 | 0.208494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033003 | 0.141643 | 353 | 10 | 54 | 35.3 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
545a64b2f516e9431f6bc035ee49949be3517210 | 1,246 | py | Python | rtb/transforms/transforms.py | ruchtem/toolbox | 1a2d8128671b7069436416ee88a0d1b70c7b2296 | [
"MIT"
] | null | null | null | rtb/transforms/transforms.py | ruchtem/toolbox | 1a2d8128671b7069436416ee88a0d1b70c7b2296 | [
"MIT"
] | null | null | null | rtb/transforms/transforms.py | ruchtem/toolbox | 1a2d8128671b7069436416ee88a0d1b70c7b2296 | [
"MIT"
] | null | null | null | import numpy as np
import fvcore.transforms as T
from fvcore.transforms.transform import NoOpTransform, ScaleTransform
__all__ = [
"CropTransform",
"ScaleTransform",
"NoOpTransform",
"RotationTransform",
]
"""
Deterministic transforms.
Inspired by the great work in `detectron2`.
"""
class RotationT... | 19.169231 | 90 | 0.654093 | 138 | 1,246 | 5.702899 | 0.427536 | 0.045743 | 0.057179 | 0.05845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006218 | 0.225522 | 1,246 | 64 | 91 | 19.46875 | 0.809326 | 0.040128 | 0 | 0.137931 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.103448 | 0.137931 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5461688719bddd549a3a985f66010c68eb1f68ef | 291 | py | Python | Machine learning book/6 - Learning with Trees/test_tree.py | dalmia/Lisa-Lab-Tutorials | ee1b0b4fcb82914085420bb289ebda09f248c8d1 | [
"MIT"
] | 25 | 2017-01-14T08:17:23.000Z | 2022-02-26T13:53:17.000Z | Machine learning book/6 - Learning with Trees/test_tree.py | dalmia/Lisa-Lab-Tutorials | ee1b0b4fcb82914085420bb289ebda09f248c8d1 | [
"MIT"
] | 1 | 2020-06-20T02:49:16.000Z | 2020-06-20T02:49:16.000Z | Machine learning book/6 - Learning with Trees/test_tree.py | dalmia/Lisa-Lab-Tutorials | ee1b0b4fcb82914085420bb289ebda09f248c8d1 | [
"MIT"
] | 6 | 2017-08-24T08:40:41.000Z | 2020-03-17T00:01:56.000Z | import dtree
tree = dtree.dtree()
party, classes, features = tree.read_data('party.data')
t = tree.make_tree(party, classes, features)
tree.print_tree(t, ' ')
print tree.classify_all(t, party)
for i in range(len(party)):
tree.classify(t, party[i])
print "True Classes"
print classes
| 19.4 | 55 | 0.718213 | 46 | 291 | 4.456522 | 0.413043 | 0.117073 | 0.195122 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137457 | 291 | 14 | 56 | 20.785714 | 0.816733 | 0 | 0 | 0 | 0 | 0 | 0.079038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54801892440ab02b2823a728451eb2d4afc5030e | 15 | py | Python | engine/__init__.py | ElliotVilhelm/Chess | 2469657a23f15af79a723346839d6e6a6501f318 | [
"MIT"
] | 4 | 2019-01-31T00:04:33.000Z | 2019-08-19T14:55:54.000Z | engine/__init__.py | ElliotVilhelm/Chess | 2469657a23f15af79a723346839d6e6a6501f318 | [
"MIT"
] | 2 | 2017-11-25T09:25:02.000Z | 2018-04-05T10:11:02.000Z | engine/__init__.py | ElliotVilhelm/Chess | 2469657a23f15af79a723346839d6e6a6501f318 | [
"MIT"
] | null | null | null | board_hash = {} | 15 | 15 | 0.666667 | 2 | 15 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54910c8beddccc76cb958cc66cf343d9d1757ebf | 3,665 | py | Python | src/primaires/scripting/structure.py | vlegoff/tsunami | 36b3b974f6eefbf15cd5d5f099fc14630e66570b | [
"BSD-3-Clause"
] | 14 | 2015-08-21T19:15:21.000Z | 2017-11-26T13:59:17.000Z | src/primaires/scripting/structure.py | vincent-lg/tsunami | 36b3b974f6eefbf15cd5d5f099fc14630e66570b | [
"BSD-3-Clause"
] | 20 | 2015-09-29T20:50:45.000Z | 2018-06-21T12:58:30.000Z | src/primaires/scripting/structure.py | vlegoff/tsunami | 36b3b974f6eefbf15cd5d5f099fc14630e66570b | [
"BSD-3-Clause"
] | 3 | 2015-05-02T19:42:03.000Z | 2018-09-06T10:55:00.000Z | # -*-coding:Utf-8 -*
# Copyright (c) 2010-2017 LE GOFF Vincent
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# ... | 35.931373 | 79 | 0.707503 | 466 | 3,665 | 5.444206 | 0.515021 | 0.026015 | 0.013402 | 0.018132 | 0.072527 | 0.053607 | 0.053607 | 0.053607 | 0.053607 | 0.053607 | 0 | 0.003504 | 0.221282 | 3,665 | 101 | 80 | 36.287129 | 0.885424 | 0.644475 | 0 | 0.117647 | 0 | 0 | 0.032636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.029412 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5494787b5c4ec44532074ebe3a3a2656bab66e18 | 31,435 | py | Python | pysnmp_mibs/PIM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/PIM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/PIM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module PIM-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/PIM-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:23:34 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52)
#
( Integer, Oct... | 189.36747 | 3,010 | 0.739462 | 3,790 | 31,435 | 6.132454 | 0.137467 | 0.014371 | 0.009939 | 0.01308 | 0.418983 | 0.37841 | 0.315162 | 0.26792 | 0.199596 | 0.159195 | 0 | 0.041257 | 0.14258 | 31,435 | 165 | 3,011 | 190.515152 | 0.821059 | 0.009225 | 0 | 0 | 0 | 0.253165 | 0.453976 | 0.032053 | 0 | 0 | 0 | 0 | 0.088608 | 1 | 0 | false | 0 | 0.056962 | 0 | 0.056962 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54a70b79481a69011ea95a52462dfcc58eb1f3c9 | 241,331 | py | Python | pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayUniMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayUniMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayUniMIB.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 Nortel-MsCarrier-MscPassport-FrameRelayUniMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-FrameRelayUniMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:20:47 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by... | 165.749313 | 14,315 | 0.780252 | 25,140 | 241,331 | 7.490016 | 0.046539 | 0.008263 | 0.011694 | 0.01555 | 0.498133 | 0.478054 | 0.468526 | 0.456906 | 0.444086 | 0.42782 | 0 | 0.087906 | 0.075067 | 241,331 | 1,455 | 14,316 | 165.86323 | 0.755671 | 0.001591 | 0 | 0 | 0 | 0 | 0.121039 | 0.048373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.075967 | 0.006215 | 0 | 0.006215 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
54ad74851bb18b4f14b87d84e08bb781a1fd5c5e | 58 | py | Python | api/core/csv/__init__.py | pollitosabroson/fly | 2f0846d26e4482f723a990bbd18b43220b3c4521 | [
"Apache-2.0"
] | null | null | null | api/core/csv/__init__.py | pollitosabroson/fly | 2f0846d26e4482f723a990bbd18b43220b3c4521 | [
"Apache-2.0"
] | null | null | null | api/core/csv/__init__.py | pollitosabroson/fly | 2f0846d26e4482f723a990bbd18b43220b3c4521 | [
"Apache-2.0"
] | null | null | null | from .parse_csv import ParseCsv
__all__ = ['ParseCsv', ]
| 14.5 | 31 | 0.724138 | 7 | 58 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 3 | 32 | 19.333333 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
54be7d1056fdffdbd95b719e1ece6cb74abbc035 | 206 | py | Python | flask_auth/app/extensions/migrate/migrate_framework.py | GabrielCarneiroDeveloper/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 8 | 2020-03-19T06:14:26.000Z | 2021-04-08T18:36:33.000Z | flask_auth/app/extensions/migrate/migrate_framework.py | gabrielkrneiro/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 5 | 2020-05-02T20:43:25.000Z | 2020-05-10T11:05:02.000Z | flask_auth/app/extensions/migrate/migrate_framework.py | gabrielkrneiro/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 1 | 2020-11-30T14:52:34.000Z | 2020-11-30T14:52:34.000Z | from flask import Flask
from flask_migrate import Migrate
from flask_auth.app.extensions.database.database_framework import db
def init_app(app: Flask):
migrate = Migrate(app, db)
return migrate
| 20.6 | 68 | 0.786408 | 30 | 206 | 5.266667 | 0.433333 | 0.170886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 206 | 9 | 69 | 22.888889 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
54c55cc2b2f892955d5010aa03cce2f73d967836 | 15,583 | py | Python | test/test_client.py | radiantearth/radiant-mlhub | 37021d80d71f5a32cfcb13eb5444ddfc12574e67 | [
"Apache-2.0"
] | 27 | 2020-11-29T17:11:57.000Z | 2022-03-01T08:12:36.000Z | test/test_client.py | radiantearth/radiant-mlhub | 37021d80d71f5a32cfcb13eb5444ddfc12574e67 | [
"Apache-2.0"
] | 40 | 2020-12-28T14:58:45.000Z | 2022-03-29T18:57:28.000Z | test/test_client.py | radiantearth/radiant-mlhub | 37021d80d71f5a32cfcb13eb5444ddfc12574e67 | [
"Apache-2.0"
] | 7 | 2020-10-24T08:25:16.000Z | 2022-01-13T02:54:28.000Z | import os
import pathlib
import re
from urllib.parse import urljoin, parse_qs, urlsplit
from typing import TYPE_CHECKING
import pytest
import radiant_mlhub.client
from radiant_mlhub.exceptions import EntityDoesNotExist, MLHubException, AuthenticationError
if TYPE_CHECKING:
from requests_mock import Mocker as Moc... | 40.370466 | 123 | 0.694924 | 2,025 | 15,583 | 5.05037 | 0.111605 | 0.058668 | 0.054561 | 0.034419 | 0.799355 | 0.7621 | 0.730224 | 0.685441 | 0.642026 | 0.617972 | 0 | 0.012486 | 0.208496 | 15,583 | 385 | 124 | 40.475325 | 0.816686 | 0.085991 | 0 | 0.426829 | 0 | 0 | 0.171662 | 0.058956 | 0 | 0 | 0 | 0 | 0.170732 | 1 | 0.121951 | false | 0.004065 | 0.036585 | 0 | 0.174797 | 0.00813 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49b88d3be23c93cb6b9081c773e2872b582d2848 | 548 | py | Python | tasks/MTAT.03.100/2013/Midterm_2/KT3_N16_1_fraktal.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 9 | 2015-06-06T06:15:12.000Z | 2020-05-27T21:37:16.000Z | tasks/MTAT.03.100/2013/Midterm_2/KT3_N16_1_fraktal.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | null | null | null | tasks/MTAT.03.100/2013/Midterm_2/KT3_N16_1_fraktal.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 3 | 2018-11-17T22:51:45.000Z | 2021-01-22T14:07:48.000Z | from turtle import *
def fraktal(tase, pikkus):
if tase == 1:
forward(pikkus)
backward(pikkus)
else:
forward(pikkus)
left(90)
forward(pikkus/2)
right(90)
kantpuu(tase-1, pikkus*0.5)
right(90)
forward(pikkus)
left(90)
... | 17.677419 | 36 | 0.50365 | 64 | 548 | 4.3125 | 0.40625 | 0.282609 | 0.217391 | 0.206522 | 0.304348 | 0.15942 | 0.15942 | 0 | 0 | 0 | 0 | 0.093842 | 0.377737 | 548 | 30 | 37 | 18.266667 | 0.715543 | 0.021898 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49c424fbd1cbb1ef6ce79fd8aee7903512af8c74 | 10,147 | py | Python | tests/tu/binance/futures_tests.py | Xispa33/winy_sloths | ff0d06fb5881f23627906e361a49f6998d740368 | [
"MIT"
] | null | null | null | tests/tu/binance/futures_tests.py | Xispa33/winy_sloths | ff0d06fb5881f23627906e361a49f6998d740368 | [
"MIT"
] | 8 | 2021-12-17T13:54:59.000Z | 2022-03-03T23:56:23.000Z | tests/tu/binance/futures_tests.py | Xispa33/winy_sloths | ff0d06fb5881f23627906e361a49f6998d740368 | [
"MIT"
] | 1 | 2022-01-17T20:35:44.000Z | 2022-01-17T20:35:44.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
import subprocess
from time import *
from datetime import *
import unittest
import ast
sys.path.append(os.getenv('SCRIPT_DIR'))
from constants import *
sys.path.append(os.getenv('CEPS_DIR') + "binance")
sys.path.append(os.getenv('CEPS_DIR') + "bybit")
from strategy... | 41.929752 | 134 | 0.635853 | 1,187 | 10,147 | 5.133951 | 0.137321 | 0.091894 | 0.126354 | 0.14785 | 0.75681 | 0.716935 | 0.716935 | 0.699869 | 0.665245 | 0.665245 | 0 | 0.011848 | 0.259683 | 10,147 | 242 | 135 | 41.929752 | 0.799388 | 0.072238 | 0 | 0.555556 | 0 | 0 | 0.029574 | 0 | 0 | 0 | 0 | 0 | 0.179894 | 1 | 0.058201 | false | 0.005291 | 0.047619 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49dc3d22b57adde813e23b004d494534d1305b0c | 154 | py | Python | dialogy/types/plugin/__init__.py | skit-ai/dialogy | fb60501351d2bfa8b91ded3963cec38a854819ee | [
"MIT"
] | 13 | 2021-09-09T15:18:08.000Z | 2022-03-15T10:02:59.000Z | dialogy/types/plugin/__init__.py | Vernacular-ai/dialogy | fb60501351d2bfa8b91ded3963cec38a854819ee | [
"MIT"
] | 48 | 2021-01-14T21:06:28.000Z | 2021-08-30T07:23:51.000Z | dialogy/types/plugin/__init__.py | Vernacular-ai/dialogy | fb60501351d2bfa8b91ded3963cec38a854819ee | [
"MIT"
] | 4 | 2021-01-18T11:19:49.000Z | 2021-08-06T05:52:17.000Z | """
Module provides access to pre-defined plugin types.
Import Types:
- PluginFn
"""
from typing import Any, Callable
PluginFn = Callable[..., Any]
| 15.4 | 51 | 0.701299 | 19 | 154 | 5.684211 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 9 | 52 | 17.111111 | 0.857143 | 0.525974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
49ee020fabb0b8581a482878b21a354e7205adbb | 198 | py | Python | redundant_connection.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | redundant_connection.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | redundant_connection.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null |
class RedundantConnection:
"""
https://leetcode-cn.com/problems/redundant-connection/
"""
def findRedundantConnection(self, edges: List[List[int]]) -> List[int]:
| 19.8 | 75 | 0.616162 | 18 | 198 | 6.777778 | 0.833333 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237374 | 198 | 9 | 76 | 22 | 0.807947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b71c822c1c37b1350241120fd108719a48ebf05a | 308 | py | Python | Analysis.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | 1 | 2020-04-18T05:08:03.000Z | 2020-04-18T05:08:03.000Z | Analysis.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | null | null | null | Analysis.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | null | null | null | import numpy as np
if __name__ == '__main__':
data = np.load('./data/data_with_label_v2.npz')
class_distribution = {}
labels = data['labels']
for i in range(labels.shape[0]):
class_distribution[labels[i, 0]] = class_distribution.get(labels[i, 0], 0) + 1
print(class_distribution) | 34.222222 | 86 | 0.665584 | 44 | 308 | 4.318182 | 0.568182 | 0.357895 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.188312 | 308 | 9 | 87 | 34.222222 | 0.736 | 0 | 0 | 0 | 0 | 0 | 0.139159 | 0.093851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b730add341f69e52b86b8f33cdb9f7fd0e70f5f1 | 205 | py | Python | topCoder/srms/300s/srm350/div2/distance_between_strings.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/300s/srm350/div2/distance_between_strings.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/300s/srm350/div2/distance_between_strings.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class DistanceBetweenStrings:
def getDistance(self, a, b, letterSet):
a, b, c = map(lambda s: s.lower(), [a, b, letterSet])
return sum(map(lambda e: (a.count(e) - b.count(e)) ** 2, c))
| 41 | 68 | 0.590244 | 32 | 205 | 3.78125 | 0.5625 | 0.049587 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.22439 | 205 | 4 | 69 | 51.25 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b739a84e24c31a68a8fb2f7c62945626769da53c | 347 | py | Python | Sorts/selectionSort.py | MarcoBonato09/pythonlearning | ef906f00caf23d47c05a817a7daf7de73326a554 | [
"Unlicense"
] | null | null | null | Sorts/selectionSort.py | MarcoBonato09/pythonlearning | ef906f00caf23d47c05a817a7daf7de73326a554 | [
"Unlicense"
] | null | null | null | Sorts/selectionSort.py | MarcoBonato09/pythonlearning | ef906f00caf23d47c05a817a7daf7de73326a554 | [
"Unlicense"
] | null | null | null | def selectionSort(l1):
sorted_list = []
while len(l1) != 0:
smallest_value_index = 0
for i, v in enumerate(l1):
if v < l1[smallest_value_index]:
smallest_value_index = i
sorted_list.append(l1[smallest_value_index])
l1.pop(smallest_value_index)
... | 28.916667 | 53 | 0.59366 | 44 | 347 | 4.386364 | 0.454545 | 0.336788 | 0.466321 | 0.207254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034043 | 0.322767 | 347 | 11 | 54 | 31.545455 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b73cd66d9149eb433450f658a932ecfdde09896a | 214 | py | Python | distributed/cli/tests/test_dask_ssh.py | crusaderky/distributed | d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a | [
"BSD-3-Clause"
] | 1,358 | 2016-02-09T21:25:27.000Z | 2022-03-30T08:06:36.000Z | distributed/cli/tests/test_dask_ssh.py | crusaderky/distributed | d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a | [
"BSD-3-Clause"
] | 4,789 | 2016-02-10T00:13:43.000Z | 2022-03-31T23:56:27.000Z | distributed/cli/tests/test_dask_ssh.py | crusaderky/distributed | d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a | [
"BSD-3-Clause"
] | 791 | 2016-02-19T04:34:38.000Z | 2022-03-31T16:26:38.000Z | from click.testing import CliRunner
from distributed.cli.dask_ssh import main
def test_version_option():
runner = CliRunner()
result = runner.invoke(main, ["--version"])
assert result.exit_code == 0
| 21.4 | 47 | 0.724299 | 28 | 214 | 5.392857 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.168224 | 214 | 9 | 48 | 23.777778 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0.042056 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b741036e3066c97db00c0cad3f47105f5d82e75c | 123 | py | Python | examples/scrapy/bea/bea/settings.py | scrapfly/python-scrapfly | ee3112971bc28b6a8e7039711f59da90de7025c2 | [
"BSD-2-Clause"
] | 3 | 2021-05-18T05:06:23.000Z | 2021-12-19T02:57:33.000Z | examples/scrapy/bea/bea/settings.py | scrapfly/python-scrapfly | ee3112971bc28b6a8e7039711f59da90de7025c2 | [
"BSD-2-Clause"
] | 5 | 2021-01-08T04:12:28.000Z | 2021-07-14T07:53:54.000Z | examples/scrapy/bea/bea/settings.py | scrapfly/python-scrapfly | ee3112971bc28b6a8e7039711f59da90de7025c2 | [
"BSD-2-Clause"
] | 1 | 2021-05-18T05:06:30.000Z | 2021-05-18T05:06:30.000Z | SPIDER_MODULES = ['bea.spiders']
NEWSPIDER_MODULE = 'bea.spiders'
SCRAPFLY_API_KEY = '__API_KEY__'
CONCURRENT_REQUESTS = 2
| 24.6 | 32 | 0.788618 | 16 | 123 | 5.4375 | 0.75 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.097561 | 123 | 4 | 33 | 30.75 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b74232c5306c3841b37728627cee125b97c5af69 | 339 | py | Python | tests/_context.py | tavin/vugrad | 471630370df55ac5487e4b4810910a74da1438ef | [
"MIT"
] | 19 | 2020-10-06T15:57:48.000Z | 2021-11-19T14:22:59.000Z | tests/_context.py | tavin/vugrad | 471630370df55ac5487e4b4810910a74da1438ef | [
"MIT"
] | null | null | null | tests/_context.py | tavin/vugrad | 471630370df55ac5487e4b4810910a74da1438ef | [
"MIT"
] | 8 | 2020-11-19T21:28:38.000Z | 2021-12-19T15:42:33.000Z | """
This is a little bit of python trickery to allow you to run the test without installing the vugrad package.
Ignore this.
"""
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../vugrad... | 28.25 | 107 | 0.731563 | 57 | 339 | 4.210526 | 0.508772 | 0.15 | 0.108333 | 0.116667 | 0.45 | 0.45 | 0.45 | 0.45 | 0.45 | 0.45 | 0 | 0.006645 | 0.112094 | 339 | 12 | 108 | 28.25 | 0.790698 | 0.353982 | 0 | 0 | 0 | 0 | 0.051887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f90fedf8b0240605f147f079fbf5b3d19226cea | 380 | py | Python | pontoon_hook/context_processors.py | rtnpro/django-pontoon-hook | fd636381540647ff8c2a9d33e480cf8f8c102607 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T14:31:23.000Z | 2021-01-28T14:31:23.000Z | pontoon_hook/context_processors.py | rtnpro/django-pontoon-hook | fd636381540647ff8c2a9d33e480cf8f8c102607 | [
"BSD-3-Clause"
] | null | null | null | pontoon_hook/context_processors.py | rtnpro/django-pontoon-hook | fd636381540647ff8c2a9d33e480cf8f8c102607 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from django.conf import settings
def pontoon_js_url(request):
"""
Inserts a context variable PONTOON_JS_URL from settings
"""
return {'PONTOON_JS_URL': getattr(settings, 'PONTOON_JS_URL', None) or
"https://pontoon-dev.mozillal... | 27.142857 | 74 | 0.678947 | 50 | 380 | 4.9 | 0.62 | 0.183673 | 0.195918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003279 | 0.197368 | 380 | 13 | 75 | 29.230769 | 0.8 | 0.205263 | 0 | 0 | 0 | 0 | 0.342657 | 0.073427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f90ff8acc196bac0839e26e7956a5563ff9b91e | 145 | py | Python | winauthenticator/__init__.py | ociule/jupyterhub-winauthenticator | d3f3439d3714c7a6389fc90940c7b1568142d0c4 | [
"MIT"
] | 6 | 2019-04-10T09:44:35.000Z | 2020-11-01T05:54:55.000Z | winauthenticator/__init__.py | ociule/jupyterhub-winauthenticator | d3f3439d3714c7a6389fc90940c7b1568142d0c4 | [
"MIT"
] | 4 | 2019-11-04T17:29:21.000Z | 2020-05-11T20:38:08.000Z | winauthenticator/__init__.py | ociule/jupyterhub-winauthenticator | d3f3439d3714c7a6389fc90940c7b1568142d0c4 | [
"MIT"
] | 4 | 2018-11-09T03:18:26.000Z | 2020-11-01T05:54:57.000Z | """Windows local accounts authenticator """
from winauthenticator.winauthenticator import WinAuthenticator
__all__ = ['WinAuthenticator']
| 24.166667 | 63 | 0.786207 | 11 | 145 | 10 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 5 | 64 | 29 | 0.873016 | 0.248276 | 0 | 0 | 0 | 0 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3fa08ea659c014f93a480b926e0dc9f3ba9712f3 | 16,544 | py | Python | brainscore/tolerance_bs.py | arjunsinghrathore/brain-score | 4cacdc38d30fc41580d364059e6ae26fb21020e4 | [
"MIT"
] | null | null | null | brainscore/tolerance_bs.py | arjunsinghrathore/brain-score | 4cacdc38d30fc41580d364059e6ae26fb21020e4 | [
"MIT"
] | null | null | null | brainscore/tolerance_bs.py | arjunsinghrathore/brain-score | 4cacdc38d30fc41580d364059e6ae26fb21020e4 | [
"MIT"
] | null | null | null | from brainscore.utils import LazyLoad
from brainscore.benchmarks.majajhong2015_combined import _DicarloMajajHong2015Region_lmh, \
_DicarloMajajHong2015Region_lmh_covariate, _DicarloMajajHong2015Region_lmh_toleranceceiling, _DicarloMajajHong2015Region_lmh_imagedir, _DicarloMajajHong2015Region_lmh_covariate_gram, _... | 43.536842 | 244 | 0.684478 | 1,722 | 16,544 | 6.288037 | 0.121371 | 0.04904 | 0.031862 | 0.027614 | 0.747414 | 0.735501 | 0.708903 | 0.663465 | 0.647396 | 0.647396 | 0 | 0.015018 | 0.227212 | 16,544 | 379 | 245 | 43.651715 | 0.831912 | 0.281371 | 0 | 0.599034 | 0 | 0 | 0.091094 | 0.012748 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.077295 | false | 0 | 0.057971 | 0.033816 | 0.251208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3faff253b5e0bdb06214ee4cbe28019fb6d6273a | 102 | py | Python | test.py | Aaronarphaxad/final-project | 1a0148fb617e514c8ea23f97a970783048ec5d8a | [
"MIT"
] | 1 | 2021-04-11T14:28:23.000Z | 2021-04-11T14:28:23.000Z | test.py | Aaronarphaxad/final-project | 1a0148fb617e514c8ea23f97a970783048ec5d8a | [
"MIT"
] | null | null | null | test.py | Aaronarphaxad/final-project | 1a0148fb617e514c8ea23f97a970783048ec5d8a | [
"MIT"
] | null | null | null | listed = ['hello','hi','how are you', 'fine']
listed_string = str(listed)
print(type(listed_string)) | 20.4 | 45 | 0.686275 | 15 | 102 | 4.533333 | 0.733333 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 5 | 46 | 20.4 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3fb67796e56abe34d763c8bc3540ae5d1c0d4d13 | 1,266 | py | Python | pyxrf/db_config/xfm_db_config.py | dmgav/test_doc | 2e3b8faf55364c5b3f7e2897b8d6bfe61f5b4664 | [
"BSD-3-Clause"
] | null | null | null | pyxrf/db_config/xfm_db_config.py | dmgav/test_doc | 2e3b8faf55364c5b3f7e2897b8d6bfe61f5b4664 | [
"BSD-3-Clause"
] | null | null | null | pyxrf/db_config/xfm_db_config.py | dmgav/test_doc | 2e3b8faf55364c5b3f7e2897b8d6bfe61f5b4664 | [
"BSD-3-Clause"
] | null | null | null | import h5py
from databroker import Broker
from databroker._core import register_builtin_handlers
# srx detector, to be moved to filestore
# from databroker.assets.handlers import Xspress3HDF5Handler
from databroker.assets.handlers import HandlerBase
db = Broker.named('xfm')
register_builtin_handlers(db.reg)
class ... | 25.836735 | 72 | 0.725118 | 152 | 1,266 | 5.690789 | 0.322368 | 0.069364 | 0.076301 | 0.065896 | 0.366474 | 0.287861 | 0.287861 | 0.287861 | 0.287861 | 0.287861 | 0 | 0.018112 | 0.171406 | 1,266 | 48 | 73 | 26.375 | 0.806482 | 0.076619 | 0 | 0.357143 | 0 | 0 | 0.072103 | 0.025751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.107143 | 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 | 1 | 1 | 0 | 0 | 3 |
3fd8cc58f4077a0b6cb47eabf6d2cff3d9667654 | 134 | py | Python | tests/conftest.py | malthejorgensen/pytest-usedfixtures | 9219d96676809f19e360a826fdbb6f0924453cfc | [
"MIT"
] | null | null | null | tests/conftest.py | malthejorgensen/pytest-usedfixtures | 9219d96676809f19e360a826fdbb6f0924453cfc | [
"MIT"
] | null | null | null | tests/conftest.py | malthejorgensen/pytest-usedfixtures | 9219d96676809f19e360a826fdbb6f0924453cfc | [
"MIT"
] | null | null | null | import pytest
pytest_plugins = 'pytester'
@pytest.fixture()
def message_template():
return 'Fixture name: {}, location: {}.py'
| 14.888889 | 46 | 0.69403 | 15 | 134 | 6.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156716 | 134 | 8 | 47 | 16.75 | 0.80531 | 0 | 0 | 0 | 0 | 0 | 0.30597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
3fe1798db9b06fcfd9fb87a3e77e8a0a4286caa6 | 290 | py | Python | comments/api/viewsets.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | comments/api/viewsets.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | comments/api/viewsets.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from comments.models import Comment
from .serializers import CommentSerializer
class CommentViewSet(viewsets.ModelViewSet):
serializer_class = CommentSerializer
def get_queryset(self):
return Comment.objects.all().filter(status=True)
| 24.166667 | 56 | 0.796552 | 32 | 290 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141379 | 290 | 11 | 57 | 26.363636 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 3 |
b20d597612b25b4fd75c314820aca1f1e019b84a | 489 | py | Python | app/api/errors/string.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | null | null | null | app/api/errors/string.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | null | null | null | app/api/errors/string.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | 1 | 2022-02-23T22:40:03.000Z | 2022-02-23T22:40:03.000Z | TASKNOTFOUND = {"details": "Task not found", "hint": "Check the `pk` parameter", "type": "Invalid input"}
CREDENTIALSERROR = {"details": "Could not validate credentials", "type": "Invalid credentials"}
USERNOTFOUND = {"details": "User not found", "type": "Invalid credentials"}
INVALIDEMAIL = {"details": "Incorrect em... | 97.8 | 126 | 0.707566 | 56 | 489 | 6.178571 | 0.571429 | 0.127168 | 0.069364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128834 | 489 | 5 | 126 | 97.8 | 0.812207 | 0 | 0 | 0 | 0 | 0 | 0.64898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b74b862db707fd5257756e084c65e7786194135d | 263 | py | Python | setup.py | ryankuczka/pymux | 05f7d71fd3133959b0c42e83cc0f4d8786c525b0 | [
"MIT"
] | null | null | null | setup.py | ryankuczka/pymux | 05f7d71fd3133959b0c42e83cc0f4d8786c525b0 | [
"MIT"
] | null | null | null | setup.py | ryankuczka/pymux | 05f7d71fd3133959b0c42e83cc0f4d8786c525b0 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='pymux',
version='0.1.0.dev1',
install_requires=[
'Click',
],
entry_points="""
[console_scripts]
pymux=pymux.pymux:pymux
""",
packages=find_packages(),
)
| 17.533333 | 43 | 0.589354 | 28 | 263 | 5.357143 | 0.678571 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020725 | 0.26616 | 263 | 14 | 44 | 18.785714 | 0.756477 | 0 | 0 | 0 | 0 | 0 | 0.315589 | 0.087452 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b764b16b25c3c755a946ab4a9ab5827298bf0f66 | 103,782 | py | Python | sdk/python/pulumi_google_native/sqladmin/v1beta4/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/sqladmin/v1beta4/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/sqladmin/v1beta4/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 45.900929 | 470 | 0.674385 | 12,654 | 103,782 | 5.363996 | 0.058242 | 0.088323 | 0.105811 | 0.070982 | 0.805719 | 0.676189 | 0.595674 | 0.519285 | 0.489304 | 0.427559 | 0 | 0.00543 | 0.221031 | 103,782 | 2,260 | 471 | 45.921239 | 0.834172 | 0.318793 | 0 | 0.376093 | 1 | 0 | 0.129812 | 0.061357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202624 | false | 0.028426 | 0.004373 | 0.000729 | 0.317784 | 0.00656 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b76ee95f1d7980ea283b25ab29ce1db91058d879 | 149 | py | Python | corehq/couchapps/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | 1 | 2017-02-10T03:14:51.000Z | 2017-02-10T03:14:51.000Z | corehq/couchapps/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | null | null | null | corehq/couchapps/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | null | null | null | from corehq.preindex import CouchAppsPreindexPlugin
CouchAppsPreindexPlugin.register('couchapps', __file__, {
'form_question_schema': 'meta'
})
| 24.833333 | 57 | 0.798658 | 13 | 149 | 8.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 5 | 58 | 29.8 | 0.843284 | 0 | 0 | 0 | 0 | 0 | 0.221477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b78529a74d7bd48b6ee2c21f59dd31fc26107559 | 92 | py | Python | commands/basic.py | Akhitar/Twitterbot | e3df5277f63ec3e1afb9931ae992be0d1027c8d7 | [
"MIT"
] | null | null | null | commands/basic.py | Akhitar/Twitterbot | e3df5277f63ec3e1afb9931ae992be0d1027c8d7 | [
"MIT"
] | null | null | null | commands/basic.py | Akhitar/Twitterbot | e3df5277f63ec3e1afb9931ae992be0d1027c8d7 | [
"MIT"
] | null | null | null |
def start(bot, update):
bot.sendMessage(text='Hola',chat_id=update.message.chat.id)
| 13.142857 | 63 | 0.706522 | 14 | 92 | 4.571429 | 0.714286 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 6 | 64 | 15.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b78814eb45a47947f388a4260b35366622c8f82e | 820 | py | Python | transformfiles/finders.py | jswinarton/django-transformfiles | 866df2cda7bf0f1bd8c7072f1bbefd2aaaa72200 | [
"Unlicense"
] | 1 | 2020-05-29T21:46:58.000Z | 2020-05-29T21:46:58.000Z | transformfiles/finders.py | jswinarton/django-transformfiles | 866df2cda7bf0f1bd8c7072f1bbefd2aaaa72200 | [
"Unlicense"
] | 1 | 2018-10-03T16:51:38.000Z | 2018-10-03T16:51:38.000Z | transformfiles/finders.py | jswinarton/django-transformfiles | 866df2cda7bf0f1bd8c7072f1bbefd2aaaa72200 | [
"Unlicense"
] | null | null | null | from django.contrib.staticfiles.finders import BaseFinder
from django.conf import settings
from transformfiles.manifest import transformfiles_manifest
from transformfiles.storage import transformfiles_storage
class TransformfilesFinder(BaseFinder):
def __init__(self, *args, **kwargs):
super().__init__(*ar... | 37.272727 | 77 | 0.735366 | 95 | 820 | 6.168421 | 0.557895 | 0.179181 | 0.088737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192683 | 820 | 21 | 78 | 39.047619 | 0.885196 | 0.147561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.214286 | false | 0 | 0.285714 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b7a9b2b22e3f1dd26e78a601ab7094a2a539cc2f | 222 | py | Python | examples/hello/pkg/hello/ext/__init__.py | aivazis/mm | 02faa87f3e08ad7f836639c3b1aa5a8632d29ac1 | [
"BSD-3-Clause"
] | 5 | 2018-04-25T21:33:04.000Z | 2020-03-05T19:56:36.000Z | examples/hello/pkg/hello/ext/__init__.py | aivazis/mm | 02faa87f3e08ad7f836639c3b1aa5a8632d29ac1 | [
"BSD-3-Clause"
] | 8 | 2019-08-17T17:09:47.000Z | 2020-12-11T23:57:49.000Z | examples/hello/pkg/hello/ext/__init__.py | aivazis/mm | 02faa87f3e08ad7f836639c3b1aa5a8632d29ac1 | [
"BSD-3-Clause"
] | 3 | 2019-10-01T23:47:32.000Z | 2020-03-27T21:31:22.000Z | # -*- Python-*-
# -*- coding: utf-8 -*-
#
# michael a.g. aïvázis <michael.aivazis@para-sim.com>
# parasim
# (c) 1998-2022 all rights reserved
#
# pull the extension module
from . import hello as libhello
# end of file
| 14.8 | 53 | 0.653153 | 32 | 222 | 4.53125 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.189189 | 222 | 14 | 54 | 15.857143 | 0.755556 | 0.752252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b7bab5d95e03bba86e2ae49c5e039de8192f6d23 | 1,108 | py | Python | zerver/finders.py | Frouk/zulip | 6b29da1dc6dc432d0b20af08132d9ef15b537beb | [
"Apache-2.0"
] | null | null | null | zerver/finders.py | Frouk/zulip | 6b29da1dc6dc432d0b20af08132d9ef15b537beb | [
"Apache-2.0"
] | null | null | null | zerver/finders.py | Frouk/zulip | 6b29da1dc6dc432d0b20af08132d9ef15b537beb | [
"Apache-2.0"
] | 1 | 2018-08-05T07:00:16.000Z | 2018-08-05T07:00:16.000Z | from __future__ import absolute_import
from typing import Any, Generator, Tuple
import re
from django.contrib.staticfiles.finders import FileSystemFinder
class ExcludeUnminifiedMixin(object):
""" Excludes unminified copies of our JavaScript code, templates
and stylesheets, so that these sources don't end up g... | 38.206897 | 116 | 0.697653 | 139 | 1,108 | 5.489209 | 0.683453 | 0.055046 | 0.044561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00348 | 0.222022 | 1,108 | 28 | 117 | 39.571429 | 0.881671 | 0.425993 | 0 | 0 | 0 | 0 | 0.037459 | 0.037459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b7d17ae852f0864363db2012d3396401f9288d34 | 72 | py | Python | rapidsms/__init__.py | catalpainternational/rapidsms | eb7234d04ceb31e4d57187f2d6ba2806d0c54e15 | [
"BSD-3-Clause"
] | 330 | 2015-01-11T03:00:14.000Z | 2022-03-21T11:34:23.000Z | rapidsms/__init__.py | catalpainternational/rapidsms | eb7234d04ceb31e4d57187f2d6ba2806d0c54e15 | [
"BSD-3-Clause"
] | 45 | 2015-01-06T16:14:19.000Z | 2022-03-16T13:12:53.000Z | rapidsms/__init__.py | catalpainternational/rapidsms | eb7234d04ceb31e4d57187f2d6ba2806d0c54e15 | [
"BSD-3-Clause"
] | 166 | 2015-01-30T19:53:38.000Z | 2021-11-09T18:44:44.000Z | "Build SMS applications with Python and Django"
__version__ = '1.1.0'
| 14.4 | 47 | 0.736111 | 11 | 72 | 4.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 72 | 4 | 48 | 18 | 0.766667 | 0.625 | 0 | 0 | 0 | 0 | 0.694444 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b7d3be5d292a9249303f4812e859a34ed8ba2c08 | 46 | py | Python | Implementation/1152_단어의 개수/1152_단어의 개수.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2022-03-30T15:50:47.000Z | 2022-03-30T15:50:47.000Z | Implementation/1152_단어의 개수/1152_단어의 개수.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | null | null | null | Implementation/1152_단어의 개수/1152_단어의 개수.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2021-07-20T07:11:06.000Z | 2021-07-20T07:11:06.000Z | word = input()
a = word.split()
print(len(a))
| 11.5 | 16 | 0.608696 | 8 | 46 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 17 | 15.333333 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b7fc5f901fa58e8dc97c6c2ffbbaf425866b4e90 | 2,218 | py | Python | bigone/client.py | jeffkit/bigone-python | 3a47084ba918fc381129ddd17417f17bcf09f98e | [
"MIT"
] | 5 | 2018-06-26T11:44:46.000Z | 2020-02-13T17:44:47.000Z | bigone/client.py | jeffkit/bigone-python | 3a47084ba918fc381129ddd17417f17bcf09f98e | [
"MIT"
] | 1 | 2018-07-03T12:46:29.000Z | 2018-07-03T13:01:21.000Z | bigone/client.py | jeffkit/bigone-python | 3a47084ba918fc381129ddd17417f17bcf09f98e | [
"MIT"
] | 2 | 2018-06-28T01:48:26.000Z | 2020-02-29T17:24:22.000Z | from . base import Request
class BigOneClient(Request):
# public methods
def get_all_tickers(self):
return self.public_get('tickers', 'Ticker')
def get_ticker(self, market):
return self.public_get('markets/%s/ticker' % market, 'Ticker')
def get_order_book(self, market):
... | 32.144928 | 75 | 0.588368 | 251 | 2,218 | 4.988048 | 0.195219 | 0.111821 | 0.122204 | 0.095847 | 0.440096 | 0.376997 | 0.228435 | 0.228435 | 0.103834 | 0.103834 | 0 | 0 | 0.289901 | 2,218 | 68 | 76 | 32.617647 | 0.794921 | 0.013526 | 0 | 0.204082 | 0 | 0 | 0.160714 | 0.02152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.020408 | 0.244898 | 0.612245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4d1d06070e97c9805fa5119dd4456a369773f45e | 966 | py | Python | db/models.py | abdulaziz-mirzaeev/health-cosmetics-bot | e14ee602279d2d46d6737fbeae770c9ce0f3a0fd | [
"MIT",
"Unlicense"
] | null | null | null | db/models.py | abdulaziz-mirzaeev/health-cosmetics-bot | e14ee602279d2d46d6737fbeae770c9ce0f3a0fd | [
"MIT",
"Unlicense"
] | null | null | null | db/models.py | abdulaziz-mirzaeev/health-cosmetics-bot | e14ee602279d2d46d6737fbeae770c9ce0f3a0fd | [
"MIT",
"Unlicense"
] | null | null | null | import sys
import django.utils.timezone as timezone
from django.utils.datetime_safe import datetime
try:
from django.db import models
except Exception:
print('Exception: Django Not Found, please install it with "pip install django".')
sys.exit()
class Person(models.Model):
full_name = models.CharFie... | 30.1875 | 86 | 0.753623 | 125 | 966 | 5.672 | 0.424 | 0.169252 | 0.203103 | 0.270804 | 0.266573 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028015 | 0.150104 | 966 | 32 | 87 | 30.1875 | 0.835566 | 0 | 0 | 0 | 0 | 0 | 0.075491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0.041667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4d3ef1cc8bb738d4b90e6ed4b6ea3c692a2ea1c0 | 115 | py | Python | comet_chaser_api/analysis/urls.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | comet_chaser_api/analysis/urls.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | comet_chaser_api/analysis/urls.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | from . import views
from django.urls import path
urlpatterns = [
path("",views.analysisView,name="analysis")
] | 19.166667 | 47 | 0.721739 | 14 | 115 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 6 | 48 | 19.166667 | 0.846939 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4d433d3890bca0d7bd4a8e785078f6e33f318204 | 453 | py | Python | test/clipboard-test.py | cylin2000/clipboard-monitor | 81d21a554440d7f81f2f46910317144173283ec5 | [
"MIT"
] | 1 | 2022-03-08T05:42:41.000Z | 2022-03-08T05:42:41.000Z | test/clipboard-test.py | cylin2000/clipboard-monitor | 81d21a554440d7f81f2f46910317144173283ec5 | [
"MIT"
] | null | null | null | test/clipboard-test.py | cylin2000/clipboard-monitor | 81d21a554440d7f81f2f46910317144173283ec5 | [
"MIT"
] | null | null | null | import clipboard_monitor
from PIL import Image, ImageGrab
def print_text(text):
print("got text")
print(text)
def print_files(files):
print("got files")
print(files)
def print_image():
print("got image")
image = ImageGrab.grabclipboard()
image.save("./test.png")
clipboard_monitor.on_update(print)
clipboard_... | 20.590909 | 39 | 0.790287 | 65 | 453 | 5.261538 | 0.292308 | 0.280702 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092715 | 453 | 22 | 40 | 20.590909 | 0.832117 | 0 | 0 | 0 | 0 | 0 | 0.079295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.117647 | 0 | 0.294118 | 0.705882 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4d6da1a27118804195e3de84cf34373bd74b815e | 48 | py | Python | flashback/accessing/__init__.py | PaulRenvoise/flashback | f9a16f4b0cb12a2180206c7b95d9eb8fb256381d | [
"MIT"
] | 3 | 2021-06-08T11:40:59.000Z | 2022-03-31T16:22:56.000Z | flashback/accessing/__init__.py | PaulRenvoise/flashback | f9a16f4b0cb12a2180206c7b95d9eb8fb256381d | [
"MIT"
] | 28 | 2020-04-28T22:36:14.000Z | 2021-06-06T20:32:00.000Z | flashback/accessing/__init__.py | PaulRenvoise/flashback | f9a16f4b0cb12a2180206c7b95d9eb8fb256381d | [
"MIT"
] | null | null | null | from .dig import dig
__all__ = (
"dig",
)
| 6.857143 | 20 | 0.541667 | 6 | 48 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 48 | 6 | 21 | 8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d730109c7d7789f656d4c339767d66990c332ec | 452 | py | Python | pricecalc/pricecalc/apps/calc/migrations/0002_alter_post_options_alter_tag_options.py | oocemb/Calculation | 91d202d1b5a2dde6376487147517310682294278 | [
"Apache-2.0"
] | null | null | null | pricecalc/pricecalc/apps/calc/migrations/0002_alter_post_options_alter_tag_options.py | oocemb/Calculation | 91d202d1b5a2dde6376487147517310682294278 | [
"Apache-2.0"
] | null | null | null | pricecalc/pricecalc/apps/calc/migrations/0002_alter_post_options_alter_tag_options.py | oocemb/Calculation | 91d202d1b5a2dde6376487147517310682294278 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 4.0.2 on 2022-02-19 17:40
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('calc', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='post',
options={'ordering': ['-date_pub']},
... | 20.545455 | 48 | 0.542035 | 41 | 452 | 5.926829 | 0.780488 | 0.222222 | 0.255144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061489 | 0.316372 | 452 | 21 | 49 | 21.52381 | 0.724919 | 0.099558 | 0 | 0.266667 | 1 | 0 | 0.130864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.