A method parameter validation decorator
Project description
Project
Parameter validation utility for Python methods whether they are standalone or in a class.
Install: pip install .
Test: pytest tests
See src/Readme.md for more details.
See test_class.py for using the utility with a class. See test_standalone for using with standalone methods.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
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
Built Distribution
File details
Details for the file ai-param-validation-0.0.1.tar.gz
.
File metadata
- Download URL: ai-param-validation-0.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb2ab6f2398443fb68d8d2b48807589dcf53e0f9ef3d8e4c211ad0c85d5ec164 |
|
MD5 | 18bdc9b0103a1c78899ec08dcfddf333 |
|
BLAKE2b-256 | bcf7d3c91f4cab334fc33d542131ccd6d148b6a95332ef27cd53d8215ffd39ee |
File details
Details for the file ai_param_validation-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ai_param_validation-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d935994885f368e9ba5d659e9480713810f50a22f8fdd16cbfd3e42652cbf678 |
|
MD5 | 9d29eb05421e202e1bddb098b94be0bb |
|
BLAKE2b-256 | 0613c55cc8a5b0406362764a9805d62a1cf67649b1d977bc6a8c5fcd2e8d1819 |