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.4.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for nr.preconditions-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558e82a24cf78e0724745670f9d334d2fd997b91f3f57bee725dab71133dcfae |
|
MD5 | 6c5c401b44a63aa50bec9c34b6212c51 |
|
BLAKE2b-256 | 99c406c11973f4d4d486482e14477f9845511d3c46f0b1e5de7189253a345fb1 |