Skip to main content

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


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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

teext-0.1.6-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

teext-0.1.6-cp310-cp310-manylinux_2_35_x86_64.whl (11.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

File details

Details for the file teext-0.1.6.tar.gz.

File metadata

  • Download URL: teext-0.1.6.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for teext-0.1.6.tar.gz
Algorithm Hash digest
SHA256 9c33260463b4ac49b3460e725e04d687216b0e93df651496be73b03762fcecfc
MD5 7cb21b651f5115dd6e6513ca0e02b187
BLAKE2b-256 541356f3441bb0e538533aef11261b8063b4be79a7c7ae61e0e5508f1bb31cf2

See more details on using hashes here.

File details

Details for the file teext-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: teext-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for teext-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 511e282d022005f175d6d21517f6aff5c5b03e3b61abd50d7b8936da119380dd
MD5 616dab8f3f75878641a1bb05016d2d67
BLAKE2b-256 9a32a5140cd463fefbd41fa382aaffdbc7c72fc2612987ee8c511c413952f274

See more details on using hashes here.

File details

Details for the file teext-0.1.6-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for teext-0.1.6-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 cfd57a151c49b050d2cad9ff757f8152674804db4d77bd4f0edc024a9ca37ff4
MD5 75d3314ab0b469f335bc6aa35c176eef
BLAKE2b-256 45e90d527948cb4c0f26c09f0c36d70ddde9b1738ab9f4d0eef86e0f5f1201fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page