--- id: named version: "1.4.2" license: MIT license_treatment: permissive maintenance: dormant --- # named — Named types. License: permissive · Maintenance: dormant · Downloads: 196.9K/mo ## What it is and what it does Named is a small utility library for inspecting Python type names and determining whether objects or types are "named" in a specific sense. It exports core functions: `is_named()` checks if a type or object qualifies as named, `get_name()` retrieves the name of a named type, and `get_type_name()` gets the type name of an object. The package depends only on typing-extensions and is fully typed. The library is designed for developers who need programmatic access to type metadata during runtime—useful in type-checking utilities, introspection tools, or frameworks that need to reason about Python types. It is marked Production/Stable and supports Python 3.8, 3.9, 3.10, 3.11, and 3.12, though development has been dormant since early 2024. Use it for: - Retrieve the string name of a Python type for logging, error messages, or dynamic type resolution in frameworks. - Check whether a type or object is named before attempting name-based operations in type-aware code. - Build type introspection tools or debugging utilities that need to display human-readable type information. - Support runtime type validation in libraries that need to distinguish between named and unnamed types. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides utilities to inspect and work with Python type names and named types, including functions to check if an object is named and retrieve its type name. Yes, if you need lightweight type name introspection. The package is stable, has no known vulnerabilities, installs with minimal friction, and carries a permissive MIT license. However, the dormant maintenance status means you should verify that its type-name semantics align with your use case before relying on it for new projects. ## Install pip install named uv add named poetry add named ## Installing named Before you install: Low friction install with a single lightweight dependency (typing-extensions). Maintenance is dormant—last release was in March 2024, though the repository remains active and the package is marked Production/Stable. License in practice: MIT license is permissive and places no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install named from named import get_name, get_type_name, is_named print(is_named(int)) # True print(get_name(int)) # 'int' print(get_type_name(42)) # 'int' Requires Python 3.8 or above. Verify before relying: - Whether the package's type introspection utilities work correctly with all modern Python type hints and generics. - Performance characteristics when used with complex or deeply nested type structures. - How long the package will remain maintained given dormant status since 2024-03-15. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 196.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type name inspection, python type utilities, get type name, named types, type introspection, check if named, python reflection, type-introspection, runtime-metadata [View on SkillFed](https://skillfed.io/packages/named) · [View on PyPI](https://pypi.org/project/named/)