Skip to main content

Command Line Utility to upload clipboard images to B2 buckets

Reason this release was yanked:

regression preventing function of clipboard upload

Project description

UClip - Clipboard image uploader

Build codecov

PyPI - Python Version PyPI version

Upload clipboard images to B2 buckets

After upload, the displayed URL is also copied to the clipboard.

Install via pip or pipx

pipx install uclip

Usage

1. Upload clipboard image

> uclip
✅ https://img.example.org/screens/9felsH.jpg

2. -f or --file: Upload file from path

> uclip -f /Documents/dog.webp
? Generate random file name? Otherwise use name from path. Yes
✅ https://cdn.ionite.io/img/ik8tZg.webp

3. -d or --delete: Delete named file from bucket

> uclip -d 9felsH.jpg
🗑️ Deleted 9felsH.jpg

Run --config to set up your B2 API Keys and URL

> uclip --config
? B2 Application ID: 0013770e41044120000000001
? B2 Application Key: **********************
? B2 Bucket Name: bucket-name
? B2 Upload Path in Bucket: /screenshots/
? Alternate URL: https://img.example.org/
? File Name Length: 6

The OS Keychain Service is used for secure API credential storage

The keychain can be set to always allow, or via biometric authentication by Touch ID or Windows Hello.

Windows MacOS Ubuntu LTS 20.04
Credential locker Keychain Secret Service

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

uclip-0.1.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

uclip-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file uclip-0.1.2.tar.gz.

File metadata

  • Download URL: uclip-0.1.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for uclip-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ea6d140d3c193010dab23e4b3fe1d4b5ad949bb8b91f3c9573546d350d463287
MD5 1de8c9493ed1f1c7d65a00193eae2d97
BLAKE2b-256 4aea4fffe9e4f1744e236cd40e960fcd59e9e175a540b38a8a89e7946a9b9e2a

See more details on using hashes here.

File details

Details for the file uclip-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: uclip-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for uclip-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d5a24351560390e21abb5381b5e714ac80f59c524160c219cea6923063b40ef
MD5 19b6286b051d9a5a02c58173d95b4f90
BLAKE2b-256 f3f01985d90aed734c749c00e41d4e081378757bd16a0b39c27e7af37019c3e9

See more details on using hashes here.

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