Skip to main content

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)

Source distribution for zipzap 0.1.0.post1
File Size Uploaded
zipzap-0.1.0.post1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zipzap 0.1.0.post1
File Interpreter ABI Platform
zipzap-0.1.0.post1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0.post1 This release

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