Skip to main content

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.

Files for peertube-uploader, version 1.0.0
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 hashes
Filename, size peertube-uploader-1.0.0.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page