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.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for nr.preconditions-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d48a812cc5db42479077bb2dd25cb65950eb41c76ac01b891d56c7aa515e6c |
|
MD5 | e003e8af26d8b48df3398f9648e47e3f |
|
BLAKE2b-256 | 3ec599ad6c030932d763d8634b76cd0234ba0799109e66dab58ef13364d9b287 |