Skip to main content

Import Python modules from 7z archives.

Project description

License Build Status codecov

import7z

This module is a modified version of zipimport to import Python modules and packages from 7z-format archives instead ZIP-format.

Usage

import import7z

sys.path.insert(0, 'example.7z')
sys.path_hooks.insert(0, import7z.importer7z)

import some_module_in_7z

License

It's Python Software Foundation License cause it used zipimport.c from CPython 3.6. LZMA SDK is public domain.

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

import7z-0.1.0.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

import7z-0.1.0-cp37-cp37m-win_amd64.whl (38.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

File details

Details for the file import7z-0.1.0.tar.gz.

File metadata

  • Download URL: import7z-0.1.0.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

File hashes

Hashes for import7z-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8bf5e9dad1ab3a1f3e079865b5b9eb38d002d3af97910569d3263420caf723d1
MD5 c841d055f1a485c8d15feb2bfef9241c
BLAKE2b-256 3fcef77d0103fd5a83f41f912b21626d6288d081729fa2ab3e72b978e3f573fa

See more details on using hashes here.

File details

Details for the file import7z-0.1.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: import7z-0.1.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 38.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

File hashes

Hashes for import7z-0.1.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4cb7a81acbca3362702086dcf35012ee8946f8e16252781378c43da30045c1c0
MD5 57f95d349f3aa4ce48f57e441e392e92
BLAKE2b-256 cec29c7b24ee1f0d864df6a3e2b5bf78b348154296d9990b79ab9b53fbee6ce6

See more details on using hashes here.

Supported by

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