Skip to main content

lightdash-ops

This is a python-based Lightdash. It focuses on to operate resources like users' roles and spaces on Lightdash by calling, as the official CLI, as The Lightdash CLI | Documentation | Lightdash enables us to deploy projects and so on. For instance, we can get members

Install

pip install -U lightdash-ops

Settings

We can configure the API endpoint and so on with environment variables. We can also take advantage of an .env file. The template is located at .env.template.

# .env
LIGHTDASH_URL=https://localhost:8000
...

How to use

The CLI requires a personal access token to call the Lightdash APIs. The official documentation describes how to get personal access tokens.

The CLI provides many sub commands. Please refer to the detailed documentation in docs/cli.ms.

Example

The subsequent command is used to get all members in an organization.

$ export LIGHTDASH_URL="https://localhost:8000"
$ export LIGHTDASH_API_KEY="YOUR-LIGHTDASH-PERSONAL-ACCESS-TOKEN"
$ lightdash-ops organization get-members
[
  {
    "member_uuid": "ade0aef5-bca8-4cbe-819b-07803390ffb0",
    "email": "lightdash-member@example.com",
    "role": "member"
  },
  {
    "member_uuid": "d7ee948b-26d6-461a-b289-906cc7bb0c73",
    "email": "lightdash-admin@example.com",
    "role": "admin"
  }
]

Metadata

Release files for lightdash-ops 0.3.1

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

Source distribution (sdist)

Source distribution for lightdash-ops 0.3.1
File Size Uploaded Provenance
lightdash_ops-0.3.1.tar.gz 36.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lightdash-ops 0.3.1
File Interpreter ABI Platform
lightdash_ops-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 114.9 kB

Release files / lightdash_ops-0.3.1.tar.gz

Download URL lightdash_ops-0.3.1.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
10460851c44b1765724bcbe47c5c31cd699879bba3406b41f8eb5a329f6a327e
BLAKE2b-256 checksum
How to use checksums
792afadf7486ed4c50315e46a635228384528704b27670e8e10d96552d489742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / lightdash_ops-0.3.1-py3-none-any.whl

Download URL lightdash_ops-0.3.1-py3-none-any.whl
Size 78.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6643299097dfaab022f9e7601f426e560bf9b206e89e92149934509d1491a14
BLAKE2b-256 checksum
How to use checksums
71062e0a5ea6370d5bed78560e97b06ecb9a660df74d7ef7a0726a09f4081f3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Security for lightdash-ops 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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