Skip to main content

Lib for checking types of functions arguments and returning data to accordance with annotating

Project description

Lib for checking types of functions arguments and returning data to accordance with annotating

Installation:

pip install pystatity

Usage:

from pystatity import strict_types

@strict_types
def your_func(one: str, two: int ) -> tuple:
    return one, two

your_func('one', 2)         # ok

your_func('one', 'two')     # will raise WrongParametersType exception

Project details


Download files

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

Files for statity, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size statity-0.0.1-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size statity-0.0.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page