Provides simple functions to assert the state of your program.
Project description
nr.preconditions
Provides simple functions to assert the state of your program.
check_argument(value, message)
check_not_none(value, message=None)
check_instance_of(value, types, message=None)
check_subclass_of(cls, types, message=None)
Copyright © 2021 Niklas Rosenstein
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
nr.preconditions-0.0.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for nr.preconditions-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3223a87808ba5893407284d8c49b9113c512e2d2ec2bc40bbcb717e914ff7a4e |
|
MD5 | 276c82416b221f4d682e99031b3b6b81 |
|
BLAKE2b-256 | 50ee5b46d237b8c04a2941ecba8623b5d5be700d6583b61305f364232cb840a4 |