$npx skillfedfor your agent

importlib

Backport of importlib.import_module() from Python 2.7

SkipPyPI Software DevelopmentReleased Aug 2016341.3K downloads / moSource build

Decision gist · record as of 2026-08-14

sdist only — importlib-1.0.4.zip · builds from source
v1.0.4 · released 2016-08-31

No. This package targets only Python versions that are no longer supported and is itself abandoned. Modern Python includes importlib in the standard library. Install it only if you are maintaining legacy code on an end-of-life Python version and cannot upgrade—and even then, consider upgrading Python instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • This package is only applicable to Python versions prior to 2.7 or Python 3.0; modern Python versions include importlib in the standard library and do not need this backport.
  • High install friction: the package is abandoned (last release 2016-08-31, last commit 2016-12-19) and explicitly states it will receive no further maintenance.
  • It targets Python versions that are no longer supported.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is provided in the package metadata, making it difficult to assess legal obligations before use.

last release 2016-08-31 (3635 days) · last repo commit 2016-12-19 · 1 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 341,274 downloads/mo, #7,405 on PyPI

Verify before relying

pip install importlib==1.0.4
import importlib
module = importlib.import_module('os')
  • Whether this package is safe to use with any currently-supported Python version, or only with end-of-life releases.
  • What the actual license is, given the metadata provides no SPDX identifier or raw license text.
  • Whether the code has been modified from the Python 2.7 source or remains an exact copy.
Same gist for agents: .md · .json

What it is and what it does

This package is a backport of the importlib module from Python 2.7's standard library, intended for use with older Python releases that do not include importlib natively. It provides the import_module() function, which allows dynamic module imports by name at runtime. The code is copied directly from Python 2.7 standard library.

The package is no longer maintained. Its own documentation states that because it targets only end-of-life Python versions, no further updates will be released. If you need bug fixes or compatibility patches, the maintainers recommend copying the files manually from Python 2.7 source. Modern Python versions include importlib in the standard library, making this backport unnecessary for any currently-supported environment.

Use it for

  • Running legacy code on systems still using Python versions prior to 2.7 that rely on importlib.import_module().
  • Porting code to older environments where importlib is not yet available in the standard library.
  • Temporary compatibility layer when maintaining end-of-life Python deployments.

Worth the install?

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

Skip

No.

This package targets only Python versions that are no longer supported and is itself abandoned. Modern Python includes importlib in the standard library. Install it only if you are maintaining legacy code on an end-of-life Python version and cannot upgrade—and even then, consider upgrading Python instead.

Install

importlib on PyPI

Before you install

High install friction: the package is abandoned (last release 2016-08-31, last commit 2016-12-19) and explicitly states it will receive no further maintenance. It targets Python versions that are no longer supported.

This package is only applicable to Python versions prior to 2.7 or Python 3.0; modern Python versions include importlib in the standard library and do not need this backport.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is provided in the package metadata, making it difficult to assess legal obligations before use.

Quickstart

pip install importlib==1.0.4
import importlib
module = importlib.import_module('os')

Verify before relying

  • Whether this package is safe to use with any currently-supported Python version, or only with end-of-life releases.
  • What the actual license is, given the metadata provides no SPDX identifier or raw license text.
  • Whether the code has been modified from the Python 2.7 source or remains an exact copy.

Package facts

LicenseNot declared unclear
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,635 days since the last release
Last repo commit repository archived
First released
Downloads341,274 / month, #7,405 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: importlib-1.0.4.zip

Tags

Capabilities
importlib backportdynamic module importlegacy python importimport_module compatibilitypython backport import
Topics
legacyabandoned

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 › “importlib backport”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also importlib-resources · inspect2 · typing · backports.entry-points-selectable · pyasyncore · importlib-metadata · asyncio · linecache2 · django-utils-six · feedparser-sgmllib