named
Named types.
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 on this page — 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
named on PyPI
pip
pip install nameduv
uv add namedpoetry
poetry add namedInstalling 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 the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | dormant — 882 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 196,896/month — #9,773 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: named-1.4.2-py3-none-any.whl
Keywords: python, named, name
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
typing-aliasesProvides a collection of type aliases for…
permissive · top 15,000 on PyPI
typing-inspectProvides runtime inspection utilities for…
permissive · top 1,000 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
inspect2Provides the Python 3.6 inspect module API on…
permissive · top 15,000 on PyPI
wrapsProvides type-safe wrapper types for…
permissive · top 15,000 on PyPI
mixed-methodsProvides a decorator that lets a single method…
permissive · top 15,000 on PyPI
typeapiProvides a unified API for reflecting and…
permissive · top 15,000 on PyPI
entrypointProvides a decorator to mark functions as entry…
permissive · top 15,000 on PyPI
async-extensionsProvides utilities and abstractions built on…
permissive · top 15,000 on PyPI