Skip to main content

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)

Source distribution for teext 0.1.9
File Size Uploaded
teext-0.1.9.tar.gz 7.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for teext 0.1.9
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.9 This release

3 release files

0.1.8

3 release files

0.1.7

3 release files

0.1.6

3 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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