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.
Source Distribution
Built Distribution
File details
Details for the file peertube-uploader-1.0.0.tar.gz
.
File metadata
- Download URL: peertube-uploader-1.0.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3fdeea4860f09efb71c70bef30e9e68ae22f16bdaade61ad8a7898f4317828 |
|
MD5 | 3193e57ee573867295e22ce487197300 |
|
BLAKE2b-256 | ee8be4d4f48750ad4e7a9d6ef3a452c1ffa76a1fe6253c41f2f84774835a89ff |
File details
Details for the file peertube_uploader-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: peertube_uploader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f38be85535f4192bc3c5f278338771cc9ca637bd1152f3a750e295ddbda368 |
|
MD5 | 56fbed8c7eaf2b4d8d3d019ab6e9d99b |
|
BLAKE2b-256 | b16806df5545d2fdf7e3411ee85d882e6ee9cdc5d521bcb303bfc22cc08d4648 |