cli-rack-1.0.6
توضیحات
CLI Rack - Lightweight set of tools for building pretty-looking CLI applications in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cli-rack-1.0.6 |
| نام | cli-rack |
| نسخه کتابخانه | 1.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dmitry Berezovsky |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/corvis/cli-rack |
| آدرس اینترنتی | https://pypi.org/project/cli-rack/ |
| مجوز | MIT |
# CLI Rack

Lightweight set of tools for creating pretty-looking CLI applications in Python. This library tends to simplify and
unify the approach to structuring CLI related code. At the moment it covers:
* Managing terminal output - verbosity levels, colored output, logger configuration
* Parsing arguments
* Modular application design - each module could extend argument parser with own command
* Modules discovery - scanning packages to find cli extension modules
* Module availability support - module might declare a method to verify if environment is suitable (e.g. all
dependencies are present). If not, module will be automatically excluded from CLI interface
* Sync and Async execution manager
More details and documentation is here: https://github.com/corvis/cli-rack
## Quick examples
Using unified CLI output:
```python
from cli_rack import CLI
CLI.setup()
CLI.print_info("This is just a message to user")
CLI.print_warn("This is a warning")
CLI.print_error("This is an error message")
CLI.print_error(ValueError("This is an exception"))
CLI.print_data("This text comes to STDOUT, not STDERR")
```
# Credits
* Dmitry Berezovsky, author
# Disclaimer
This module is licensed under MIT. This means you are free to use it in commercial projects.
The MIT license clearly explains that there is no warranty for this free software. Please see the included LICENSE file
for details.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.12.1 | voluptuous |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >3.6 | Python |
نحوه نصب
نصب پکیج whl cli-rack-1.0.6:
pip install cli-rack-1.0.6.whl
نصب پکیج tar.gz cli-rack-1.0.6:
pip install cli-rack-1.0.6.tar.gz