Skip to main content

Python tool using asynchronous web requests to manage files on catbox.moe

Project description

boibox 🐍📦

Boiga is a large genus of rear-fanged, mildly venomous snakes, known commonly as cat-eyed snakes or simply cat snakes

Python tool using asynchronous web requests to manage files on catbox.moe.

Installation

pip install boibox

Features

Upload

Upload a space-separated list of files from your computer to catbox. Optionally provide your userhash to associate uploads with your account and allow them to be deleted later. See more in the Delete documentation below.

Usage:

> boibox upload image.png video.mp4 readme.txt
image.png -> https://files.catbox.moe/us8ulr.png
video.mp4 -> https://files.catbox.moe/qoqoku.mp4
readme.txt -> https://files.catbox.moe/834wl6.txt

Download

Download a space-separated list of filenames or URLs from files.catbox.moe. Outputs to the current directory by default, but this can be overriden with the -destination flag.

Usage:

> boibox download -destination Downloads us8ulr.png https://files.catbox.moe/qoqoku.mp4 834wl6.txt
Downloads/us8ulr.png
Downloads/qoqoku.mp4
Downloads/834wl6.txt

Delete

Deletes a space-separated list of filenames or URLs from files.catbox.moe. Requires -userhash to be provided or the USERHASH environment variable to be set. Your userhash can be found on the Manage Account page at catbox. Your userhash must be specified on uploads to make them deletable.

Usage:

> boibox delete -userhash 2ab3bc08105ba7c171838f420 us8ulr.png https://files.catbox.moe/qoqoku.mp4 834wl6.txt
Files successfully deleted.

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

boibox-1.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

boibox-1.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file boibox-1.1.1.tar.gz.

File metadata

  • Download URL: boibox-1.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for boibox-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2a5e39f62eeb95944fd21f1a042f236cf6dfc62561875f5f5aed9c01a85cfce1
MD5 346fe7c2e7f971c391f5e8bcaddff8b1
BLAKE2b-256 beb5dfc4e8bec6dd05481ac4144dbbb9b8f81416107eddc96800b7f163d13453

See more details on using hashes here.

File details

Details for the file boibox-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: boibox-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for boibox-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cea970cb5427a3302cd178e1468e93227b8b68f8f7392f4cfd6efddb08aac8e3
MD5 f263a4c4b8b17910630c50256221be49
BLAKE2b-256 dd69aa3ebab27548d499201e22130c6361ec6bcb195fee3979f243d4efa57818

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