Skip to main content

zipmanager

downloads changelog wiki

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)

Source distribution for zipmanager 0.8.0
File Size Uploaded
zipmanager-0.8.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zipmanager 0.8.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page