Skip to main content

Whipstaff is a command-line tool for operating one or more Liberty Deckplan Hosts (LDHs) from your local session. The reference implementation for an LDH operator toolkit.

Project description

Whipstaff

project | code | tracker | pypi

Whipstaff is a command-line tool for operating one or more Liberty Deckplan Hosts (LDHs) from your local session. The reference implementation for an LDH operator toolkit.

Installation

The preferred way to install Whipstaff is with your package manager. The recommended package name is ldh-operator. For example:

sudo apt install ldh-operator # Debian-based

or

pipx install ldh-operator # Python-based

Usage

For help and a list of available commands:

whipstaff --help

Installation (from source)

If you'd prefer to run from source...

  1. Install Python 3.x and pipenv. (See https://docs.pipenv.org/install/ for a tutorial.)

  2. Get source:

     git clone https://source.puri.sm/liberty/tool/operator.git ldh_operator_toolkit
    
  3. Install with pipenv:

     cd ldh_operator_toolkit
     pipenv install --dev -e .
    

Usage (from source)

cd ldh_operator_toolkit
pipenv run whipstaff --help
# using "pipenv run" avoids confusion with a regular installation

Build wheel package (and optionally upload)

Follow these instructions to build Liberty CLI as a Python package:

git clone https://source.puri.sm/liberty/tool/operator.git ldh_operator_toolkit
cd ldh_operator_toolkit
pipenv install --dev
pipenv shell
# optionally edit default.yaml
python setup.py sdist bdist_wheel

If everything works as expected you should end up with the files:

  • dist/ldh_operator-<version>-py3-none-any.whl
  • dist/ldh_operator-<version>.tar.gz

You can now optionally upload the created Python package to PyPI using twine:

twine upload dist/*

Sharing and contributions

Whipstaff (LDH operator toolkit)
https://source.puri.sm/liberty/tool/operator
Copyright 2018-2020 Purism SPC
SPDX-License-Identifier: AGPL-3.0-or-later

Shared under AGPL-3.0-or-later. We adhere to the Community Covenant 1.0 without modification, and certify origin per DCO 1.1 with a signed-off-by line. Contributions under the same terms are welcome.

For details see:

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

ldh_operator-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

ldh_operator-0.0.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file ldh_operator-0.0.3.tar.gz.

File metadata

  • Download URL: ldh_operator-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for ldh_operator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 47faf779e4d8a66028e669dea82e23aa8d0eb50f0d8fa70a652fabe5d2fa5c71
MD5 b77742f8f861e36f7b000022e8ad2cb7
BLAKE2b-256 afe8a5e9e4025a328dcc935654f7b4955b0c774250b5d0ca758142e0eec5243e

See more details on using hashes here.

File details

Details for the file ldh_operator-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ldh_operator-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for ldh_operator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d29fb9069825c869f60a58ba47b8a54ae27e3666bf020aebaf17526ea741ddfa
MD5 225a0e40eb23c8424b71f49c79e45767
BLAKE2b-256 da58a0042759b05adf6c4f646739a5e12e6bda8786b28345ea772f9de3ecc1a9

See more details on using hashes here.

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