undefined by Ouroboros Coding
undefined: A value to use as a default value to indicate an argument was absolutely not set buy the user of the method. Will not match as true to any other value but itself.
Installation
pip install undefined-oc
Import
import undefined
def print_me(value = undefined):
if value is undefined:
print('Please pass a value to print')
else:
print(value)
>>> print_me('hello, there')
hello, there
>>> print_me(None)
None
>>> print_me([])
[]
>>> print_me()
Please pass a value to print
Metadata
Release files for undefined-oc 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| undefined-oc-1.0.0.tar.gz | 2.7 kB | Without provenance | Details for undefined-oc-1.0.0.tar.gz |
Release files / undefined-oc-1.0.0.tar.gz
| Download URL | undefined-oc-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf7bf857eedaf87d65a5edda93dd25523f66e89834fb140f4b911a1a30fcab07
|
|
BLAKE2b-256 checksum How to use checksums |
275ac1649f3048c2688ba3d8f6be41fe8be67eec4fe7fdcb630486ade76af222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.65.0 urllib3/1.26.5 CPython/3.10.6
|
Security for undefined-oc 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.