Skip to main content

A library for CLI interaction

Project description

Python CLI Interaction Library

Upload Python Package Pypi

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


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 details)

Uploaded Source

Built Distribution

py_cli_interaction-0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file py-cli-interaction-0.3.tar.gz.

File metadata

  • Download URL: py-cli-interaction-0.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for py-cli-interaction-0.3.tar.gz
Algorithm Hash digest
SHA256 c822daec6810b238a97b87682a053bbc2e196e01bbe5cabafe75146e7bc2ee37
MD5 76219b544d7c407029ff0f66a94747c7
BLAKE2b-256 eb48d9bd4c63b3cae5122731fde0d24c7afe99fe54b0afae48b56c922b7d9ed5

See more details on using hashes here.

File details

Details for the file py_cli_interaction-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for py_cli_interaction-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 485f9ced12af97324c01bde818e9f523f31e04fb908e26ecfa409bc559f19f4b
MD5 7d9c90255b1818e20f7c50092c064865
BLAKE2b-256 a1ab715dd7d46992b376da87161bc1cd7f7b4390486ec66aac33847ea1c1db49

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