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)
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.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for nr.preconditions-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1aba4ad5124a8da3920ece53b5b5d9fe1677472d0e5722ed106a3c79768ded6 |
|
MD5 | d87083814e29bfb36503039d2374635b |
|
BLAKE2b-256 | a31aefe1dd0f763347008b02ca52a077062494bfdc248dbf2e6a029f9a9688f9 |