Parameter Validation for Python method and function inputs.
Перейти к файлу
Daniel Ciborowski 2ca014b67a
Merge pull request #7 from microsoft/grecoe/doc
Added a mixed function parameter type between predefined args WITH kw…
2021-03-30 11:16:01 -04:00
.github/workflows Update pypi.yml 2021-03-16 13:58:02 -04:00
src Added a mixed function parameter type between predefined args WITH kwargs as well based on code I've seen in one of the repos. 2021-03-19 07:24:39 -04:00
tests Had a line commented out of exception check. 2021-03-19 07:29:40 -04:00
.gitignore Initial commit 2021-03-15 16:58:41 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2021-03-15 09:58:49 -07:00
LICENSE Initial LICENSE commit 2021-03-15 09:58:49 -07:00
README.md Update README.md 2021-03-15 17:54:50 -04:00
SECURITY.md Initial SECURITY.md commit 2021-03-15 09:58:51 -07:00
SUPPORT.md Initial SUPPORT.md commit 2021-03-15 09:58:51 -07:00
pyproject.toml Initial Drop 2021-03-15 14:33:03 -04:00
setup.cfg Initial Drop 2021-03-15 14:33:03 -04:00

README.md

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.