Skip to content

Import modules from a library.tar.lz4 #45

Description

@frmdstryr

This might be beyond the scope of this project, but Is it possible to use this to import from a library.tar.lz4 like you can using pythons zipimporter?

With standard python you can create a zip file (ex. library.zip) with your python packages, add the zip file to the sys.path, and then import directly from the zip file (cx_Freeze uses this for distributed apps) .

I think this would be really useful for the python-for-android project. Currently p4a apps don't use zip import because importing from a .zip on a phone is slow (due to slow decompression speed). Using lz4 might be a good alternative.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions