backported type hints for python >= 3.5
Project homepage: https://github.com/python/typing_extensions/
Description
This was originally a backport of the standard library 'typing' module to
Python versions older than 3.5.
Typing defines a standard notation for Python function and variable type
annotations. The notation can be used for documenting code in a concise,
standard format, and it has been designed to also be used by static and runtime
type checkers, static analyzers, IDEs and other tools.
Today, 'typing_extensions' serves two related purposes:
- Enable use of new type system features on older Python versions. For example,
'typing.TypeGuard' is new in Python 3.10, but 'typing_extensions' allows
users on Python 3.6 through 3.9 to use it too.
- Enable experimentation with new type system PEPs before they are accepted and
added to the 'typing' module.
Package information
- Ports path
- devel/py-typing-extensions
- Package architecture
- amd64
- Maintainer
- Renaud Allard <renaud@allard.it>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
Test
Used by (86 dependency relationships)
Includes library, runtime, build and test dependencies.