a cli script and tiny library to upload files to pastebin
Project description
Paste it
Paste it is a python script that I made to upload files to pastebin using requests. it aims to be fast and light and hence doesn't support a large array of options. Currently paste_it reads from json.config in the directory its launched from, in the future it may support reading from appdata dirs using the appdirs
python library. I don't intened for this to be used as a library but it can be used as one if you wish to, all functions do have docstrings incase you do decied to use this a library.
Usage
usage: paste_it [-h] [--format FORMAT] [--private PRIVATE] [--title [TITLE]] path
positional arguments:
path file who's contents you want to paste on pastebin
optional arguments:
-h, --help show this help message and exit
--format FORMAT format of the file contents. you can find the avalible formats at https://pastebin.com/doc_api
--private PRIVATE if your file should be privte, 0 public, 1 unlisted, 2 Private (only allowed in combination with api_user_key, as you have to be logged into your account to
access the paste)
--title [TITLE] the title of your paste
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 paste_it-0.1.2.tar.gz
.
File metadata
- Download URL: paste_it-0.1.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19d268e218d8da3616c52e290a45646d2c59a99e72e0d98f92868b797619802 |
|
MD5 | 942620ec34c0c1e76941dcc36ef9674d |
|
BLAKE2b-256 | 5bc434bd6fbe3b41470064f13222608ce9194c2e5587f1e74981d07bc7486c47 |
File details
Details for the file paste_it-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: paste_it-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956567eebf57bc10932dd537e67234c72e90684e5c27a1c286ad77604fe5c69d |
|
MD5 | 9b63c3a78efe6912ab773fd7f659b393 |
|
BLAKE2b-256 | cacc878db810c88c5339f758df7012301e57a58ccbe5d01f6ec6819d326545e7 |