Skip to main content

No project description provided

Project description

weblaze

PyPI - Version PyPI - Downloads

Usage:

$ weblaze [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • edit: Edit the configuration file in the...

  • init: Initialize and generate a configuration...

  • run: main function

Configuration

backblaze:
    application_key_id: ***
    application_key: ***
    bucket_name: ***
local:
    compressor: ***\cwebp.exe

Commands

edit

Edit the configuration file in the system's default editor.

Usage:

$ edit [OPTIONS]

Options:

  • --help: Show this message and exit.

init

Initialize and generate a configuration file in the user's .config directory.

Usage:

$ init [OPTIONS]

Options:

  • --help: Show this message and exit.

run

main function

Usage:

$ run [OPTIONS]

Options:

  • -i, --local-directory TEXT: Path to the local directory where images are stored [default: ./]
  • --compress-max INTEGER: max workers to compress [default: 3]
  • --upload-max INTEGER: max workers to upload [default: 3]
  • --help: Show this message and exit.
flowchart TD
    w(weblaze) --> 1.jpg --> cwebp1(cwebp 1)
    w --> 2.jpg --> cwebp2(cwebp 2)
    w --> 3.jpg --> cwebp3(cwebp 3)
    cwebp1 --> |compress| 1.webp
    cwebp2 --> |compress| 2.webp
    cwebp3 --> |compress| 3.webp
    1.webp --> |upload| b1[B2_uploader_1] --> B2(Backblaze)
    2.webp --> |upload| b2[B2_uploader_2] --> B2
    3.webp --> |upload| b3[B2_uploader_3] --> B2

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

weblaze-0.1.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

weblaze-0.1.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

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