teext – typing extensions extensions
Package which provides useful types.
Documentation
Examples
Value-constraint types without runtime overhead
These types are most useful in conjunction with static type checkers like mypy.
import teext as tx
def f(x: tx.PositiveInt) -> None:
print(x)
a = 5
assert tx.is_positive_int(a)
f(a) # OK
f(7) # works at runtime but mypy gives error
assert tx.is_positive_int(-3) # AssertionError
Metadata
Release files for teext 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| teext-0.1.9.tar.gz | 7.8 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teext-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
| teext-0.1.9-cp310-cp310-manylinux_2_35_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.35+ x86-64 | Details |
Total release size: 180.5 kB
Release files / teext-0.1.9.tar.gz
| Download URL | teext-0.1.9.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
743b3be4d593ab208e1a9f0a50b916f87785d2e43cfd5df784e2b4f0501c8946
|
|
BLAKE2b-256 checksum How to use checksums |
7c29f37f455436cbf4475effa7d790a0f70cdb699649bd0636562f586ce054d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / teext-0.1.9-py3-none-any.whl
| Download URL | teext-0.1.9-py3-none-any.whl |
|---|---|
| Size | 86.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4dfc4f7d2c85b7589bb803e22961be047e62ee1291eee7978d4c4dcbcadc11e
|
|
BLAKE2b-256 checksum How to use checksums |
7e8527f2d79e166a8c96e81c1459013839bc5ccfc15ae92086845f02df16ed12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / teext-0.1.9-cp310-cp310-manylinux_2_35_x86_64.whl
| Download URL | teext-0.1.9-cp310-cp310-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 86.3 kB |
| Tags | CPython 3.10 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
43ea723262adce78bbc52ae766b1c9eeab6b53cc69e7a149131cdd9b61dcaace
|
|
BLAKE2b-256 checksum How to use checksums |
ec8fd06bf56745374dec7a503d099d1a88935d4b373de499f7225a5c850264fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|