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 hashes)

Uploaded Source

Built Distribution

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

Uploaded CPython 3.7m Windows x86-64

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