A library for CLI interaction
Project description
Python CLI Interaction Library
Introduction
This library is created for simplify INPUT
/OUTPUT
procedure when generating YAML
/JSON
configurations for daemon services.
Get Started
TODO: complete this example
You can follow this example.
resolution_sel = must_parse_cli_sel("Select color resolution", self.__COLOR_RESOLUTION_CANDIDATES__,
default_value=self.__COLOR_RESOLUTION_DEFAULT_SEL__)
fps_sel = must_parse_cli_sel("Select color fps", self.__COLOR_FPS_CANDIDATES__, default_value=self.__COLOR_FPS_DEFAULT_SEL__)
format_sel = must_parse_cli_sel("Select color format", self.__COLOR_FORMAT_CANDIDATES__,
default_value=self.__COLOR_FORMAT_DEFAULT_SEL__)
exposure_sel = must_parse_cli_int("Set exposure [ 0 - 10000 ], -1 for auto exposure", min=-1, max=10001, default_value=-1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-cli-interaction-0.3.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for py_cli_interaction-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485f9ced12af97324c01bde818e9f523f31e04fb908e26ecfa409bc559f19f4b |
|
MD5 | 7d9c90255b1818e20f7c50092c064865 |
|
BLAKE2b-256 | a1ab715dd7d46992b376da87161bc1cd7f7b4390486ec66aac33847ea1c1db49 |