Skip to main content

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

Metadata

Release files for nr.preconditions 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nr.preconditions 0.0.4
File Size Uploaded
nr.preconditions-0.0.4.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nr.preconditions 0.0.4
File Interpreter ABI Platform
nr.preconditions-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / nr.preconditions-0.0.4.tar.gz

Download URL nr.preconditions-0.0.4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
86b91f9b9500f34b367780c26c60dc17c5f8f5784df38cbed7137b0ea6f3fa4d
BLAKE2b-256 checksum
How to use checksums
7e00ba090ac82a4a731161bc7075634e2eadc967cbc37c7826bcac6ba07ee19d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / nr.preconditions-0.0.4-py3-none-any.whl

Download URL nr.preconditions-0.0.4-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
558e82a24cf78e0724745670f9d334d2fd997b91f3f57bee725dab71133dcfae
BLAKE2b-256 checksum
How to use checksums
99c406c11973f4d4d486482e14477f9845511d3c46f0b1e5de7189253a345fb1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page