Skip to main content

A copy of the `imp` module that was removed in Python 3.12

Project description

zombie-imp

A particularly mischevious 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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zombie-imp-0.0.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zombie_imp-0.0.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file zombie-imp-0.0.1.tar.gz.

File metadata

  • Download URL: zombie-imp-0.0.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for zombie-imp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab597c901ad444fa0d350e8d56309f14f2fa672ad54f855102d7d7260458f22e
MD5 b5abecb1a7ce66e051b0de9099f13800
BLAKE2b-256 2b6a05740682950939ed048648f3972cdd042d84fca30b5ae8cc3ec33b20738f

See more details on using hashes here.

File details

Details for the file zombie_imp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: zombie_imp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for zombie_imp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40a5b0826c9c434b92ffb7d6f350cca401d85b2326d55dabbd493bd10a2a3ec4
MD5 556f1258b2fb641a78a58513d1283931
BLAKE2b-256 2edb920b08cc3f0e6b3437d7e744eca2b1751191524de4ad82e33fb0a0c3d7da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page