leejeonghun / import7z

Import Python modules from 7z archives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyPI - License Build Status codecov PyPI version

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.

About

Import Python modules from 7z archives

License:Other


Languages

Language:C 98.7%Language:Python 0.8%Language:C++ 0.5%