Skip to main content

Type check decorator for python

Project description


Type Check

Type check decorator for python


pip3 install type-check


Import type_check decorator:

from type_check import type_check

Usage in function:

def my_func(arg: type = default) -> return_type:
    return return_type()

At class function, specify type of self with base type, for example:

def __init__(self: object, arg: type = default):

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

type-check-0.1.8.tar.gz (1.8 kB view hashes)

Uploaded source

Built Distribution

type_check-0.1.8-py3-none-any.whl (3.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page