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.

Source Distribution

peertube-uploader-1.0.0.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

peertube_uploader-1.0.0-py3-none-any.whl (25.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page