Upload images via APIs
Project description
images-upload-cli
Upload images via APIs
Installation
PyPI
pip install images-upload-cli
# or
pipx install images-upload-cli
AUR
yay -S python-images-upload-cli
Hostings
host | key required | return example |
---|---|---|
beeimg | - | https://beeimg.com/images/{id}.png |
catbox | - | https://files.catbox.moe/{id} |
fastpic | - | https://i120.fastpic.org/big/2022/0730/d9/{id}.png |
filecoffee | - | https://file.coffee/u/{id}.png |
freeimage | - | https://iili.io/{id}.png |
gyazo | + | https://i.gyazo.com/{id}.png |
imageban | + | https://i2.imageban.ru/out/2022/07/30/{id}.png |
imagebin | - | https://ibin.co/{id}.png |
imgbb | + | https://i.ibb.co/{id}/image.png |
imgchest | + | https://cdn.imgchest.com/files/{id}.png |
imgur | - | https://i.imgur.com/{id}.png |
pictshare | - | https://pictshare.net/{id}.png |
pixeldrain | - | https://pixeldrain.com/api/file/{id} |
pixhost | - | https://img75.pixhost.to/images/69/{id}_img.png |
ptpimg | + | https://ptpimg.me/{id}.png |
screenshotting | - | https://screenshotting.site/i/{id}.png |
smms | + | https://s2.loli.net/2022/07/30/{id}.png |
sxcu | - | https://sxcu.net/{id}.png |
telegraph | - | https://telegra.ph/file/{id}.png |
thumbsnap | + | https://thumbsnap.com/i/{id}.png |
up2sha | + | https://up2sha.re/media/raw/{id}.png |
uplio | + | https://upl.io/i/{id}.png |
uploadcare | + | https://ucarecdn.com/{id}/img.png |
vgy | + | https://i.vgy.me/{id}.png |
Usage
Usage: images-upload-cli [OPTIONS] IMAGES...
Upload images via APIs.
Options:
-h, --hosting [catbox|fastpic|filecoffee|freeimage|gyazo|imageban|imagebin|imgbb|imgchest|imgur|pictshare|pixeldrain|pixhost|ptpimg|screenshotting|smms|sxcu|telegraph|thumbsnap|up2sha|uplio|uploadcare|vgy]
[default: imgur]
-b, --bbcode Add bbcode tags.
-t, --thumbnail Add caption thumbnail and bbcode tags.
-c, --clipboard / -C, --no-clipboard
Copy result to clipboard. [default: c]
--version Show the version and exit.
--help Show this message and exit.
Env variables
CAPTION_FONT= # The default font is system dependent.
FREEIMAGE_KEY=
GYAZO_TOKEN=
IMAGEBAN_TOKEN=
IMGBB_KEY=
IMGCHEST_KEY=
IMGUR_CLIENT_ID=
PTPIMG_KEY=
SMMS_KEY=
THUMBSNAP_KEY=
UP2SHA_KEY=
UPLIO_KEY=
UPLOADCARE_KEY=
VGY_KEY=
You can set these in environment variables, or in .env
file:
- Unix:
~/.config/images-upload-cli/.env
- MacOS:
~/Library/Application Support/images-upload-cli/.env
- Windows:
C:\Users\<user>\AppData\Roaming\images-upload-cli\.env
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file images_upload_cli-1.0.9a0.tar.gz
.
File metadata
- Download URL: images_upload_cli-1.0.9a0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1905502fe5b46a5b71c9cef454ae9906bf2b5b78a15beafbe2104d59e4d37f4 |
|
MD5 | 0a0b9ef8d595b1943c50b824ecc3825b |
|
BLAKE2b-256 | 0df0deae2993613d101913f698f9b42701cd522ba1019b99d32e0682253a9883 |
File details
Details for the file images_upload_cli-1.0.9a0-py3-none-any.whl
.
File metadata
- Download URL: images_upload_cli-1.0.9a0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2524beda0b382cd18a9a130914c8f4b99ae475bcf9e4523a1d7d5f252582ed1a |
|
MD5 | e33c11928d138ac3608770a468cc7488 |
|
BLAKE2b-256 | 9ea9178a9c1f61db5a28b2c9df45595428dc4711b4e63f90404ab0e4ef173e47 |