Skip to main content

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 details)

Uploaded Source

Built Distribution

nr.preconditions-0.0.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file nr.preconditions-0.0.4.tar.gz.

File metadata

  • Download URL: nr.preconditions-0.0.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for nr.preconditions-0.0.4.tar.gz
Algorithm Hash digest
SHA256 86b91f9b9500f34b367780c26c60dc17c5f8f5784df38cbed7137b0ea6f3fa4d
MD5 ca394136732818f816fca94cd3cad421
BLAKE2b-256 7e00ba090ac82a4a731161bc7075634e2eadc967cbc37c7826bcac6ba07ee19d

See more details on using hashes here.

File details

Details for the file nr.preconditions-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: nr.preconditions-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for nr.preconditions-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 558e82a24cf78e0724745670f9d334d2fd997b91f3f57bee725dab71133dcfae
MD5 6c5c401b44a63aa50bec9c34b6212c51
BLAKE2b-256 99c406c11973f4d4d486482e14477f9845511d3c46f0b1e5de7189253a345fb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page