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.
Release files for peertube-uploader 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| peertube-uploader-1.0.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peertube_uploader-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.8 kB
Release files / peertube-uploader-1.0.0.tar.gz
| Download URL | peertube-uploader-1.0.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f3fdeea4860f09efb71c70bef30e9e68ae22f16bdaade61ad8a7898f4317828
|
|
BLAKE2b-256 checksum How to use checksums |
ee8be4d4f48750ad4e7a9d6ef3a452c1ffa76a1fe6253c41f2f84774835a89ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / peertube_uploader-1.0.0-py3-none-any.whl
| Download URL | peertube_uploader-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60f38be85535f4192bc3c5f278338771cc9ca637bd1152f3a750e295ddbda368
|
|
BLAKE2b-256 checksum How to use checksums |
b16806df5545d2fdf7e3411ee85d882e6ee9cdc5d521bcb303bfc22cc08d4648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|