Skip to main content

Client CLI for talking to an Encapsia system.

Project description

About

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.

Autocomplete

Setup autocomplete using the instructions found on https://github.com/click-contrib/click-completion

Tests

Unit tests

Run:

poetry run pytest

Walkthrough Tests

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

Run them e.g. with:

poetry run bash walkthrough_tests/all.sh

or test specific subcommands with:

poetry run bash walkthrough_tests/token.sh

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/all.sh 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.2.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

encapsia_cli-0.5.2-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file encapsia_cli-0.5.2.tar.gz.

File metadata

  • Download URL: encapsia_cli-0.5.2.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for encapsia_cli-0.5.2.tar.gz
Algorithm Hash digest
SHA256 d2047a4faaa1d8227bba22c583ece46679614c7c0ae731909777a30d4475a69f
MD5 7f22d72d79a61bef493e1004950f860b
BLAKE2b-256 23a498c6c99920e6898f2a09f6432a60bf5bd404e951a81dfc3914ee861b2c1d

See more details on using hashes here.

File details

Details for the file encapsia_cli-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: encapsia_cli-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for encapsia_cli-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5099f5c2513854142158ffb9165e27457497ae71cf3a5b9ccde1acafbab2553c
MD5 1b20e6efed21a39e4b4aa26ed0ff516c
BLAKE2b-256 7ba53d344c451663be8c1dc20fa8aa8ba9a7815caebfb118161d05aebbfb42cf

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