zipmanager
pip install zipmanager
What does this package do ?
It allows you to create and handle zip folders as data without needing to save them.
Usage
from zipmanager import ZipFolder
file_data = b'some data'
zip_folder = ZipFolder({'file_name.file_extension': file_data})
# file extension not required
# ZipFolder will hold all the files given in the dictionary
file_data = zip_folder['file_name.file_extension']
# will return the file data
Main functions
from zipmanager import ZipFolder
file_data = b'some_data'
zip_folder = ZipFolder({'file_name.file_extension': file_data})
# list of functions:
zip_folder.add_files({'new_file': 'new_data'}) # add files to zip. read more at docstring.
zip_folder.delete_file('new_file') # removes file from zip
zip_folder.get('file_name') # returns None if file was not found
# or
zip_folder['file_name']
zip_folder.save() # saves zip in given location (empty is './temp.zip')
Features
info on more of the features is available on the wiki
Metadata
Release files for zipmanager 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zipmanager-0.8.0.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zipmanager-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / zipmanager-0.8.0.tar.gz
| Download URL | zipmanager-0.8.0.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fd56475cb964dd0003f22a105425d6c89b2542fe3389c44574ab261f257853c
|
|
BLAKE2b-256 checksum How to use checksums |
c6f1d6f8e2706965ebbad002ef105df6c55f25668e6469c7e07660fe1e600165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / zipmanager-0.8.0-py3-none-any.whl
| Download URL | zipmanager-0.8.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6be7ad7bdc458895145a93981d0bc08fbeb7686ed21b0b2a8de4fbe4c98b85ec
|
|
BLAKE2b-256 checksum How to use checksums |
c5bdcacaa9cbf6c4753238e07c3e82a3633b9e59008caa9f7fa68c4caa203c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|