Skip to main content

Professional WEBP converter CLI

Project description

TOWEBP

  _____ _______          ________ ____  _____  
 |_   _/ __ \ \        / /  ____|  _ \|  __ \ 
   | || |  | \ \  /\  / /| |__  | |_) | |__) |
   | || |  | |\ \/  \/ / |  __| |  _ <|  ___/ 
  _| || |__| | \  /\  /  | |____| |_) | |     
 |_____\____/   \/  \/   |______|____/|_|     

TOWEBP is a lightweight, high-performance command-line interface (CLI) to convert PNG, JPG, and JPEG images to WebP format.

Developed by theFunadou.


🚀 Installation

# Clone the repository
git clone https://github.com/theFunadou/towebp.git
cd towebp

# Install globally or in your environment
pip install .

💻 Usage

towebp [OPTIONS]

Essential Examples:

  • Convert current directory:
    towebp
    
  • Convert a specific directory recursively:
    towebp -d ./assets -r
    
  • Convert and save in the same directory (instead of a 'webp' subfolder):
    towebp -o .
    

⚙️ Options

Option Shortcut Default Description
--directory -d . Root directory to search for images.
--recursive -r Off Searches images recursively in subdirectories.
--output-dir -o webp Output folder. Use . to save next to originals.
--quality -q 80 WEBP quality (0–100).
--overwrite None Off Overwrite existing WebP files.
--help-s --hs Off Show help menu in Spanish.

📄 License

Licensed under the MIT License. See LICENSE for details.

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

towebp-1.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

towebp-1.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file towebp-1.0.0.tar.gz.

File metadata

  • Download URL: towebp-1.0.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for towebp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a3de9b7eeda32863585299a42eaaa414d82d837d92abb2913f7c12ce07547d60
MD5 1cc61b697d36193d318df6b4f6a840eb
BLAKE2b-256 d94aea38cec77a4dda7c0ea23561e860d358fd6f9d5068cc84f723db0a3a20d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for towebp-1.0.0.tar.gz:

Publisher: publish.yml on TheFunadou/towebp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file towebp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: towebp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for towebp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abd760c155a84954809cf8ae183ddf1319087a381814398e2c517cd762fbc2bc
MD5 f7e4c4db867f0f857c4044d55242f6ce
BLAKE2b-256 22c38b3aec454b1e0b3285f91171824f582c7bab9c3af1a9885eca15fe57166a

See more details on using hashes here.

Provenance

The following attestation bundles were made for towebp-1.0.0-py3-none-any.whl:

Publisher: publish.yml on TheFunadou/towebp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page