zipzap
Fast batch image compression for local folders, ZIP archives, and Dropbox.
Prerequisite
Add your Dropbox access token to a .env file in your project root:
DROPBOX_ACCESS_TOKEN=your_dropbox_access_token_here
Install
pip install zipzap
CLI
zipzap
zipzap supports:
- Dropbox folder compression
- Local folder compression
- Local ZIP compression
Python Usage
Local Folder
from zipzap.main import batch_compress_local_folder
# Compress all images in a local folder
batch_compress_local_folder(r"C:\path\to\images")
Local ZIP
from zipzap.main import batch_compress_local_zip
# Compress images inside a ZIP and create <name>_compressed.zip
batch_compress_local_zip(r"C:\path\to\images.zip")
Dropbox
from zipzap.main import authenticate_dropbox, batch_compress_dropbox
# Compress a Dropbox folder (interactive folder picker)
dbx = authenticate_dropbox()
batch_compress_dropbox(dbx)
Metadata
Release files for zipzap 0.1.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zipzap-0.1.0.post1.tar.gz | 7.9 kB | Without provenance | Details for zipzap-0.1.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zipzap-0.1.0.post1-py3-none-any.whl | Python 3 | none | any | Details for zipzap-0.1.0.post1-py3-none-any.whl |
Total release size: 15.7 kB
Release files / zipzap-0.1.0.post1.tar.gz
| Download URL | zipzap-0.1.0.post1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fb82cefe34ee1ff1ca800c0e43e504f6c1e37326d3e9de53e8f7477e1bd12c8
|
|
BLAKE2b-256 checksum How to use checksums |
dac8475cc337f76f66daac6099d1de409e7f3793ff2bbb8245ad98bb4f93805c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / zipzap-0.1.0.post1-py3-none-any.whl
| Download URL | zipzap-0.1.0.post1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0323fce0af45c06db1c04fb053b379b79fbccf342e1680e802df82ca5f7cb7f9
|
|
BLAKE2b-256 checksum How to use checksums |
fe841c3c4599ca458195ca508fb8fe83a52f0209720c13251c98a6a9eeb58149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Security for zipzap 0.1.0.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.