Typing extensions extensions
Reason this release was yanked:
incorrect wheel
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
teext-0.1.6.tar.gz
(7.8 kB
view hashes)
Built Distributions
teext-0.1.6-py3-none-any.whl
(8.2 kB
view hashes)
Close
Hashes for teext-0.1.6-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd57a151c49b050d2cad9ff757f8152674804db4d77bd4f0edc024a9ca37ff4 |
|
MD5 | 75d3314ab0b469f335bc6aa35c176eef |
|
BLAKE2b-256 | 45e90d527948cb4c0f26c09f0c36d70ddde9b1738ab9f4d0eef86e0f5f1201fe |