--- id: typing-aliases version: "1.10.1" license: MIT license_treatment: permissive maintenance: dormant --- # typing-aliases — Various type aliases. License: permissive · Maintenance: dormant · Downloads: 116.4K/mo ## 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 above — verify before relying. Provides a collection of type aliases for Python's typing system, reducing boilerplate when declaring complex type hints in modern Python codebases. 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 pip install typing-aliases uv add typing-aliases poetry add typing-aliases ## Installing typing-aliases 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. 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 Python 3.8 or above is required. 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_current - Install friction: low - Maintenance: dormant - Downloads: 116.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type aliases for typing, typing shortcuts, python type hints helpers, common type alias library, typing-extensions utilities, reduce type annotation boilerplate, typing, type-hints [View on SkillFed](https://skillfed.io/packages/typing-aliases) · [View on PyPI](https://pypi.org/project/typing-aliases/)