Skip to main content

zombie-imp

A particularly mischievous act of necromancy. That is, A copy of the imp module that was removed in Python 3.12.

Don't use this, it'll probably trick and bite you.

Usage

Can be summoned by import zombie_imp.

On Python versions where imp was banished, reanimate it using import imp. It promises (with a sneer) to be the same as before.

Some functionality that was severed from pkgutil is interred in zombie_imp.pkgutil, ready for reattachment:

  • ImpImporter
  • ImpLoader

Development

You want to help it? Think you'll be rewarded? Great! It loves gullible brains.

Seriously, run! Find a project that needs this and port that to importlib.

License

The code was snatched from CPython, and is available under CPython's license (SPDX: Python-2.0.1).

Release files for zombie-imp 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zombie-imp 0.0.4
File Size Uploaded
zombie_imp-0.0.4.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zombie-imp 0.0.4
File Interpreter ABI Platform
zombie_imp-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / zombie_imp-0.0.4.tar.gz

Download URL zombie_imp-0.0.4.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c888321fbd942f1a3205c0923a2f21d3ed6e5ab6c2f6237abf43c147f37df97f
BLAKE2b-256 checksum
How to use checksums
48ac0701001f59a7eee5630b094252ac3019df62110a71aa5282b14a7293ffd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / zombie_imp-0.0.4-py3-none-any.whl

Download URL zombie_imp-0.0.4-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ba08bf13602358c7c39561b939e97bba181c7c5f96ff1b2d707e0f43d9e05a7
BLAKE2b-256 checksum
How to use checksums
4e438704451c1a8ad255aa27acf302243c9f2cc8e96953696d2968242cb5e235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page