skillfed

named

Named types.

named v1.4.2 196.9K downloads/30d#9,773 on PyPI3
Permissive license MIT DORMANT released

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 named

uv

uv add named

poetry

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 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

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

Tags

type name inspectionpython type utilitiesget type namenamed typestype introspectioncheck if namedpython reflection
type-introspectionruntime-metadata

More Utilities packages