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
License
pyguardian is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pyguardian-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe555b0cee97e4a8b6eb8ed019bff1485cbe95211a87e70a4b959db20ba30e79 |
|
MD5 | 1d5ad99503fa6e4906613f3720270b03 |
|
BLAKE2b-256 | cb5058a17e18bde8fd97e86d60ff5ceb4fe06dc3d61a07b44028dd7d9bb3dd1a |