empower-cli-2.0.0


توضیحات

Empower cli client for API interaction
ویژگی مقدار
سیستم عامل -
نام فایل empower-cli-2.0.0
نام empower-cli
نسخه کتابخانه 2.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Empower Team
ایمیل نویسنده empower@hitachisolutions.com
آدرس صفحه اصلی https://github.com/hitachisolutionsamerica/empower/tree/development/tools/empower_cli
آدرس اینترنتی https://pypi.org/project/empower-cli/
مجوز MIT
# Empower cli client A Command Line Interface ("CLI") is designed to provide rapid access to key Empower functions without the need to construct REST calls manually. The Empower CLI can be used to manage all Empower functions, and certain functions may only be available via the CLI. [Documentation](https://docs.empoweranalytics.io/empower/docs) ## How to start 1. Setup discovery URL `empowercli context set --discovery-url https://discovery.empoweranalytics.io`. Follow step 2 or step 3. 2. Login with your domain if browser flow is used `empowercli auth login <domain>` 3. Login with credentials flow. To do that export EMPOWER_CLI_CLIENT_ID and EMPOWER_CLI_CLIENT_SECRET into environment variables. Those variables represent keycloak client id and secret. After that type `empowercli auth login-pipeline` 4. After the login, cli lists information for this domain from the discovery service. Now you can copy one of the available empower api URLs and setup it up for context. `empowercli empowercli context set --api-url <api-url>` 5. Now cli is able to perform commands to api endpoints, for example `empowercli api sources list` All other commands could be checked in [docs](https://docs.empoweranalytics.io/empower/docs/cli) or with empowercli --help


نیازمندی

مقدار نام
>=0.5.0,<0.6.0 typer
>=1.9.1,<2.0.0 pydantic
>=0.9.2,<0.10.0 pickleDB
>=2.28.1,<3.0.0 requests
>=0.20.0,<0.21.0 python-dotenv
>=6.0,<7.0 PyYAML
>=2.0.0,<3.0.0 python-keycloak
>=2.6.0,<3.0.0 PyJWT
>=38.0.3,<39.0.0 cryptography


زبان مورد نیاز

مقدار نام
>=3.9,<4.0 Python


نحوه نصب


نصب پکیج whl empower-cli-2.0.0:

    pip install empower-cli-2.0.0.whl


نصب پکیج tar.gz empower-cli-2.0.0:

    pip install empower-cli-2.0.0.tar.gz