Skip to main content

pyguardian simplifies parameter type validation

Project description

pyguardian

Description

pyguardian is a Python library that validates the types of a function's parameters via the guard decorator:

@guard(int, int)
def add(a, b):
    return a+b

Installation

pip install pyguardian

Documentation

pyguardian documentation

License

pyguardian is licensed under the MIT License.

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

pyguardian-0.0.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

pyguardian-0.0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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