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 enacpsia_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.1.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

encapsia_cli-0.5.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file encapsia-cli-0.5.1.tar.gz.

File metadata

  • Download URL: encapsia-cli-0.5.1.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.6.0

File hashes

Hashes for encapsia-cli-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8f445a8fb8d2166431cc71ed874db3ad5ec13a3013d6eb54c07959d7dc80803f
MD5 92b7c0efe08022c6c0432d30943ac7cd
BLAKE2b-256 349caf5b57f29d20301e87b08ae19c5415a4a0673b0559467a92d79ae8415961

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encapsia_cli-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.6.0

File hashes

Hashes for encapsia_cli-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 631e71248f0b81b00cdb74df6b1f9e84130636a9b9c6afbe92c21faf2dc4ab52
MD5 bf215d3e9c440ede0c5d366112aec35e
BLAKE2b-256 325b67894d193ddec67ddca258e5951f836fbd888b322c79b976daba87ccf48b

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