Undefined Python
A Python implementation of undefined value similar to JavaScript.
Installation
pip install undefined-python
Usage
from pyundefined import undefined
if some_value is undefined:
print("Value is undefined")
# undefined is falsy
if not undefined:
print("undefined is falsy")
Features
-
Singleton pattern - only one instance exists
-
Compatible with Python 2.7+ and Python 3.5+
-
Falsy in boolean context
-
Proper equality checking
Metadata
Release files for undefined-python 1.2.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_python-1.2.0.tar.gz | 3.0 kB | Without provenance | Details for undefined_python-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| undefined_python-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for undefined_python-1.2.0-py3-none-any.whl |
Total release size: 6.3 kB
Release files / undefined_python-1.2.0.tar.gz
| Download URL | undefined_python-1.2.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4be829f2087dd98559294897e548ac754e777f77ceb50316279c22638ef64d6f
|
|
BLAKE2b-256 checksum How to use checksums |
320d072e61088cea1fd4ebc4ba14b38354d933aab0df90f4360cb4a5d8f9568c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / undefined_python-1.2.0-py3-none-any.whl
| Download URL | undefined_python-1.2.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c22bfc1b1c17bca743e15f4a32a785f2a5321d5f64c9f52451c4d4398240bf0
|
|
BLAKE2b-256 checksum How to use checksums |
51ed04b9b6464024f61e1062f644a72cd6806ed08bbfea09cf1b26619a3f88c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for undefined-python 1.2.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.