litter
A simple CLI tool to upload temporary files to Litterbox/Catbox. You type a command, you get a link. As simple as that!
Made for those who are too lazy to open SCP/SFTP.
Installation
pip install pylitter
or use pipx if you're on Arch or equivalent.
Usage
The main command is "throw", because just "throw it into the litter, man". Geddit?
throw file (for|forever) [1h/12h/24h/72h]
- Use
for <time>if you want to upload to Litterbox, temporary. - Use
foreverif you want to upload to Catbox, permanent.
[!NOTE] The old command
litterand the newthrowcan still be used interchangeably, but it is recommended to use the superiorthrow.
[!IMPORTANT] Remember that Catbox has a file size limit of 200mb.
Examples
throw test.jpg for 12h
[71097/71097] bytes |====================>|
Your link : https://litter.catbox.moe/zmr6i6.jpg
throw test2.jpg forever
[23039/23039] bytes |====================>|
Your link : https://files.catbox.moe/nxulxl.jpg
Acknowledgements
- @yukinotenshi for creating PyUpload.
- catbox.llc for litterbox and catbox.
You guys are amazing!
Contributing
If you wish to, you can contribute to the project by submitting a pull request.
The best way to contribute would be to suggest the developer a provider or a feature, more better if you can show a logic of how that can be done, you'll be mentioned and thanked!
Sponsoring
Money is appreciated, but stars even more! Feel free to star the project if you think it is worthy of one. Moreover, you can just talk, banter and argue with the developer as that way you'll be paying with your time.
Never forget, you are SUPER cool!
Metadata
Release files for pylitter 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylitter-1.1.1.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylitter-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / pylitter-1.1.1.tar.gz
| Download URL | pylitter-1.1.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8262698837ff18bdd3599f907593eee462d6f5b45dfcfbbd0165d60718af81bf
|
|
BLAKE2b-256 checksum How to use checksums |
c450da61a671dba410c7c6537bb76aedea64612e74bd182e11eb51481cfb8d32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / pylitter-1.1.1-py3-none-any.whl
| Download URL | pylitter-1.1.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41cc8985e1d1f4288a1347f9226fd200ea9e6f227022f41c311ac6f6a65caff9
|
|
BLAKE2b-256 checksum How to use checksums |
101f9a9ac7d8cedc2fb3b57e292145beda2a4b1f96dc3055b28d0f4722416dc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|