metriql Superset integration
Project description
metriql Superset Integration
Synchronize Superset datasets from Metriql datasets. The idea is to leverage metriql datasets in your Tableau workflow without any additional modeling in Tableau.
Usage
The library is available in PyPI so you can install it via pip as follows:
pip install metriql-superset
The library expects stdin
for the metriql metadata and interacts with Superset via session tokens. Here is an example:
curl http://metriql-server.com/api/v0/metadata | metriql-superset --metriql-url http://metriql-server.com --superset-username USERNAME --superset-password PASSWORD sync-database
You can use --file
argument instead of reading the metadata from stdin
as an alternative.
Available commands are create-database
, list-databases
, sync-database
.
FAQ
Why don't you use Superset API?
While Superset provides an API, it doesn't let updating / creating datasets and databases. Therefore, we create session token using internal APIs and interact with the internal APIs.
Do you support Preset Cloud?
Not yet because Preset has its own authentication method using Auth0. Contributions are welcomed though!
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
Built Distribution
Hashes for metriql_superset-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b6ab8a2bb95297eff4807a43a5b745e6234e5934f8eac70d6239cf2746a049 |
|
MD5 | 989c7b0a390d887277ea8ecd6ae37be5 |
|
BLAKE2b-256 | 66bdf97becce8fe33b8d926c4fed5087bb3cec6b248908989b34e44ed81a80fe |