Skip to main content

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:

Metadata

Release files for ldh-operator 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ldh-operator 0.0.5
File Size Uploaded Provenance Actions
ldh_operator-0.0.5.tar.gz 26.0 kB Without provenance Details for ldh_operator-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ldh-operator 0.0.5
File Interpreter ABI Platform Actions
ldh_operator-0.0.5-py3-none-any.whl Python 3 none any Details for ldh_operator-0.0.5-py3-none-any.whl

Total release size: 42.8 kB

Release files / ldh_operator-0.0.5.tar.gz

Download URL ldh_operator-0.0.5.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5a8f3de371bc7693283de4dd57e18dc460dc8cfa214e76c80d1de3639b1bfa99
BLAKE2b-256 checksum
How to use checksums
7e79eb935870301f92c3303a705600762bda5812bc9ef1be5cb2c391cd8fec0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.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

Release files / ldh_operator-0.0.5-py3-none-any.whl

Download URL ldh_operator-0.0.5-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45d8fbf5d0b25198d306ebccd4fa1b846a415dffa42a32bc3f883263c9d64d93
BLAKE2b-256 checksum
How to use checksums
1e7d33dfa503c411d076934c52987fec0aec0f7b5fb33690a58cf33b70bc933d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.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

Security for ldh-operator 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page