Python module to work with file archives
Project description
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")
...
```
===========
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")
...
```
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
filearchive-1.1.1.tar.gz
(4.1 kB
view hashes)