Python undefined type.
Installation
You can install from pypi
pip install -U python-undefined
Usage
from undefined import undefined, is_undefined, Undefined
x: int | Undefined = 1
if is_undefined(x):
...
else:
# then x is narrowed to int
...
Metadata
Release files for python-undefined 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_undefined-0.0.4.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_undefined-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / python_undefined-0.0.4.tar.gz
| Download URL | python_undefined-0.0.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed0939e5ee78eb2a498bb0eeb9a9b42fe4239c9eb98af0c42ee6e25b5f55e373
|
|
BLAKE2b-256 checksum How to use checksums |
4dfe35b07b94ff4bb7a4eccd5bbc7d03a3ae9f70e5b42d74ea758f1a0b3b8b84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / python_undefined-0.0.4-py3-none-any.whl
| Download URL | python_undefined-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
693524ef1ba8c41d80bafbf5ec7174bbaaec37586c44b1cd40923e4b6ba1d339
|
|
BLAKE2b-256 checksum How to use checksums |
cc2937ace4b13ba658e34a7852cc34ae1e69a060d081ab07394e81a93ed767cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|