typing-aliases
Various type aliases.
Decision gist · record as of 2026-08-14
Yes, if you want to reduce type-hint boilerplate and your project targets Python 3.8+. The permissive MIT license and zero security vulnerabilities make it safe to use. However, be aware that maintenance is dormant—no releases in over 844 days—so if you need active support or compatibility updates for future Python versions, you may need to fork or maintain it yourself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Python 3.8 or above is required.
- Low friction install with a single runtime dependency (typing-extensions).
- Maintenance is dormant—last commit was 2024-04-23 and no releases in over 844 days—but the package is marked Production/Stable and carries no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
last release 2024-04-22 (844 days) · last repo commit 2024-04-23 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 116,366 downloads/mo, #12,207 on PyPI
Alternatives
Verify before relying
pip install typing-aliases
from typing_aliases import StrOrInt
def process(value: StrOrInt) -> None:
pass- What specific type aliases are included in the library and which use cases they address most commonly.
- Whether the dormant maintenance status affects compatibility with newer Python typing features or if the stable set of aliases remains sufficient.
What it is and what it does
typing-aliases is a lightweight library that exports a curated set of type aliases for Python's typing module. It sits on top of typing-extensions and is designed to reduce repetition when writing type hints for common patterns—things like union types, optional types, or other frequently-used combinations that developers would otherwise write out in full each time.
The package targets Python 3.8 and above and is marked as Production/Stable. It has no known vulnerabilities and installs with minimal friction, requiring only typing-extensions as a runtime dependency. However, the project is dormant: the last commit was in April 2024 and there have been no releases in over 844 days, so it is not actively maintained.
Use it for
- Reduce boilerplate in type hints by importing pre-defined aliases instead of writing complex union or optional types repeatedly.
- Standardize common type patterns across a codebase by using a shared set of aliases from this library.
- Simplify function signatures and class annotations in projects that target Python 3.8 or later.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want to reduce type-hint boilerplate and your project targets Python 3.8+.
The permissive MIT license and zero security vulnerabilities make it safe to use. However, be aware that maintenance is dormant—no releases in over 844 days—so if you need active support or compatibility updates for future Python versions, you may need to fork or maintain it yourself.
Install
typing-aliases on PyPI
Before you install
Low friction install with a single runtime dependency (typing-extensions). Maintenance is dormant—last commit was 2024-04-23 and no releases in over 844 days—but the package is marked Production/Stable and carries no known vulnerabilities.
Python 3.8 or above is required.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install typing-aliases
from typing_aliases import StrOrInt
def process(value: StrOrInt) -> None:
pass
Verify before relying
- What specific type aliases are included in the library and which use cases they address most commonly.
- Whether the dormant maintenance status affects compatibility with newer Python typing features or if the stable set of aliases remains sufficient.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Dormant 844 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 116,366 / month, #12,207 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: UtilitiesTyping :: Typed |
Evidence: typing_aliases-1.10.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type aliases for typing”
- typing-aliasesProvides a collection of type aliases for Python's typing system,…
- useful-typesProvides reusable type protocols and aliases for Python projects to…
- numpy-typing-compatProvides version-specific type annotations for NumPy code, allowing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also named · useful-types · deprecation-alias · entrypoint · async-extensions · numpy-typing-compat · wraps · mixed-methods · ty