Skip to main content

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

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 or with empowercli --help

Metadata

Release files for empower-cli 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for empower-cli 2.0.0
File Size Uploaded
empower_cli-2.0.0.tar.gz 19.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for empower-cli 2.0.0
File Interpreter ABI Platform
empower_cli-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.2 kB

Release files / empower_cli-2.0.0.tar.gz

Download URL empower_cli-2.0.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8fd886221a0f82ba07940a39cebd19a4226ca46aff3a09a678b5c8457e33fb
BLAKE2b-256 checksum
How to use checksums
5ee067b784955e44358838306d9431af6d5f646f6d05753790256b32d4c6cf1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure

Release files / empower_cli-2.0.0-py3-none-any.whl

Download URL empower_cli-2.0.0-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbe129de3b0e7d92e8c9b51a7e826d3f05142fdd0107005e79041bb45a14d8d7
BLAKE2b-256 checksum
How to use checksums
5203bc035c6420758b35a65f4452937a767cd78e13e58bcef3ccaa2ec9781240
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.8.1

2 release files

1.7.1

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page