$npx skillfedfor your agent

qualname

__qualname__ emulation for older Python versions

SkipPyPI LibrariesReleased Apr 2015395.8K downloads / moBSDSource build

Decision gist · record as of 2026-08-14

sdist only — qualname-0.1.0.tar.gz · builds from source
v0.1.0 · released 2015-04-11

No. The package is abandoned (last release 2015-04-11, no updates since then) and explicitly targets Python 2.6–3.4, all of which are end-of-life. Modern Python has `__qualname__` built-in. Install only if you are maintaining legacy Python 2 code with no path to upgrade and have verified the package works in your specific environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires source files to be available on disk; does not work with dynamically generated or compiled code.
  • Targets Python 2.6–3.4; behavior on modern Python versions is untested.
  • High install friction: the package has been abandoned since its only release on 2015-04-11, with no updates since then.

License · maintenance · safety

BSD (permissive) — BSD license is permissive and imposes minimal restrictions on use or modification, making it safe to incorporate into most projects from a licensing standpoint.

last release 2015-04-11 (4143 days) · last repo commit 2020-05-25 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 395,769 downloads/mo, #6,979 on PyPI

Verify before relying

pip install qualname

from qualname import qualname

class C:
    class D:
        def g(self):
            pass

print(qualname(C.D.g))  # 'C.D.g'
  • Whether the package functions correctly on Python 3.5+, given it was last released in 2015 and explicitly targets only up to 3.4.
  • Whether source-code-based AST parsing handles all edge cases (decorators, metaclasses, dynamic definitions) reliably.
  • Current real-world usage: the package has 395769 monthly downloads but was abandoned in 2015, suggesting either legacy dependents or inflated statistics.
Same gist for agents: .md · .json

What it is and what it does

qualname is a backport shim that adds the `__qualname__` attribute (introduced in Python 3.3) to classes and functions in older Python versions. It works by inspecting and parsing the source code of the module containing the target object, then walking its abstract syntax tree to determine the fully qualified name—for example, 'C.D.g' for a method g inside a nested class D inside class C.

The package is designed for Python 2.6–3.4 codebases that need to introspect nested class and function names before `__qualname__` became standard. It has no runtime dependencies and relies entirely on the `ast` module and source file availability. However, the package has been unmaintained since 2015 and is incompatible with modern Python versions.

Use it for

  • Introspect qualified names of nested classes and methods in Python 2 or early Python 3 code for logging or debugging.
  • Support legacy Python 2 codebases that require qualified name information for reflection or dynamic dispatch.
  • Provide a uniform API for accessing qualified names across Python 2 and 3.3+ in projects that must support both.
  • Enable error reporting or stack trace formatting that includes the full qualified name of a function or class.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release 2015-04-11, no updates since then) and explicitly targets Python 2.6–3.4, all of which are end-of-life. Modern Python has `__qualname__` built-in. Install only if you are maintaining legacy Python 2 code with no path to upgrade and have verified the package works in your specific environment.

Install

qualname on PyPI

Before you install

High install friction: the package has been abandoned since its only release on 2015-04-11, with no updates since then. It targets Python 2.6–3.4, versions now far outside modern support. Installation may succeed but the package is unmaintained and unlikely to receive bug fixes.

Requires source files to be available on disk; does not work with dynamically generated or compiled code. Targets Python 2.6–3.4; behavior on modern Python versions is untested.

License in practice

BSD license is permissive and imposes minimal restrictions on use or modification, making it safe to incorporate into most projects from a licensing standpoint.

Quickstart

pip install qualname

from qualname import qualname

class C:
    class D:
        def g(self):
            pass

print(qualname(C.D.g))  # 'C.D.g'

Verify before relying

  • Whether the package functions correctly on Python 3.5+, given it was last released in 2015 and explicitly targets only up to 3.4.
  • Whether source-code-based AST parsing handles all edge cases (decorators, metaclasses, dynamic definitions) reliably.
  • Current real-world usage: the package has 395769 monthly downloads but was abandoned in 2015, suggesting either legacy dependents or inflated statistics.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 4,143 days since the last release
Last repo commit
First released
Downloads395,769 / month, #6,979 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: qualname-0.1.0.tar.gz

Tags

Capabilities
qualified name emulationqualname python 2__qualname__ backportnested class namesfunction qualified namespython 2 compatibilityast source inspection
Topics
legacy-pythonbackportintrospection

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 › “qualified name emulation”

  • qualnameProvides a `qualname()` function that emulates Python 3.3+'s…
  • fqdnValidates fully-qualified domain names (FQDNs) against RFC 1123…
  • codefindCodefind locates code objects by filename and qualified name,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also inspect2 · codefind · openqasm3 · eval-type-backport · enum-compat · pkgutil_resolve_name · nameof · astunparse · dataclasses · pep8-naming