A script to make uploading to peertube instances easier.
Project description
PeerTube Uploader
A script to make uploading to peertube instances easier.
For documentation on the API used see https://docs.joinpeertube.org/api-rest-reference.html
Installation
pip install peertube-uploader
Development
pip install -r requirements.txt
Usage
One installed you can run the ptu
command.
usage: main.py [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]
[-e ENDPOINT]
A script to make uploading to peertube instances easier. For documentation on
the API used see https://docs.joinpeertube.org/api-rest-reference.html
optional arguments:
--version show program's version number and exit
-v, --verbose Increase verbosity of output. Can be repeated.
-q, --quiet Suppress output except warnings and errors.
--log-file LOG_FILE Specify a file to log output. Disabled by default.
-h, --help Show help message and exit.
--debug Show tracebacks on errors.
-e ENDPOINT, --endpoint ENDPOINT
MANDATORY! URL to a server e.g
https://peertube.cpy.re/ (alternatively use
PEERTUBE_ENDPOINT env var)
Commands:
complete print bash completion command (cliff)
get-access-token Requests an access-token from the server. (peertube-uploader)
help print detailed help for another command (cliff)
import Trigger an import of a URI (peertube-uploader)
upload-video Upload videos from the file-system (peertube-uploader)
Thanks
Thanks to all the contributors.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size peertube_uploader-1.0.0-py3-none-any.whl (25.5 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size peertube-uploader-1.0.0.tar.gz (8.3 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for peertube_uploader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f38be85535f4192bc3c5f278338771cc9ca637bd1152f3a750e295ddbda368 |
|
MD5 | 56fbed8c7eaf2b4d8d3d019ab6e9d99b |
|
BLAKE2-256 | b16806df5545d2fdf7e3411ee85d882e6ee9cdc5d521bcb303bfc22cc08d4648 |