Skip to content

ActiveState/filearchive

Repository files navigation

filearchive

Python module to work with file archives

Example

>>> import filearchive
>>> filearchive.unpack_archive("/Users/srid/Downloads/data.tgz")
...
>>> srcdir = "/home/me/project"
>>> filearchive.pack_archive(
       "/tmp/data.zip", [srcdir], os.path.dirname(srcdir), "zip")
...

About

Python module to work with file archives

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published