Skip to main content

Client CLI for talking to an Encapsia system.

Project description


Known Vulnerabilities

This package provides command line access to Encapsia over the REST API.

All of these are designed to work with server 1.5 and beyond.


Setup autocomplete using the instructions found on


Unit tests


poetry run pytest

Walkthrough Tests

Prerequisite: an instance of ice must be running on your localhost, and valid token for it must be present in your key store.

See the walkthrough_tests directory for bash scripts which exercise the CLI.

Run them e.g. with:

poetry run bash walkthrough_tests/

or test specific subcommands with:

poetry run bash walkthrough_tests/

Note that these tests are not self-verifying; they just provide helpful coverage, assurance, and working documentation.

Release checklist

  • Run: poetry run black .
  • Run: poetry run isort .
  • Run: poetry run flake8 .
  • Run: poetry run mypy .
  • Ensure "tests" run ok (see above).
  • Capture test output and commit with: poetry run bash walkthrough_tests/ 2>&1 | poetry run ansi2html -f 80% >WALKTHROUGH.html
  • Create requirements.txt for Snyk scanning with: poetry export -f requirements.txt >requirements.txt
  • Ensure git tag, package version, and encapsia_cli.__version__ are all equal.

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

encapsia_cli-0.5.4.tar.gz (25.8 kB view hashes)

Uploaded source

Built Distribution

encapsia_cli-0.5.4-py3-none-any.whl (30.4 kB view hashes)

Uploaded py3

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