Metriql Metabase integration
Project description
Metriql Metabase Integration
Synchronize Metabase datasets from Metriql datasets. The idea is to leverage Metriql datasets in your Metabase workflow without any additional modeling in Metabase.
Usage
The library is available in PyPI so you can install it via pip as follows:
pip install metriql-metabase
The library expects stdin
for the Metriql metadata and interacts with Metabase via its API. Here is an example:
curl http://metriql-server.com/api/v0/metadata | metriql-metabase --metriql-url http://metriql-server.com --metabase-username USERNAME --metabase-password PASSWORD --metabase-database METABASE_DATABASE_NAME sync-database
You can use --file
argument instead of reading the metadata from stdin
as an alternative.
Available commands are list-databases
, sync-database
.
FAQ
Do you support Metabase Cloud?
Yes!
How is this related to dbt-metabase?
While this metriql-metabase is heavily influenced by the dbt-metabase codebase, it integrates Metabase with Metriql, not directly to dbt. While you need to maintain Metriql as a separate service, here are advantages of Metriql over dbt-metabase:
- You can define the metrics as native SQL
- You can leverage Aggregates to speed up your queries
- Sync the datasets into various data tools, not just Metabase
- Native MQL experience when running ad-hoc queries on data.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file metriql-metabase-0.5.tar.gz
.
File metadata
- Download URL: metriql-metabase-0.5.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6946941d0a8ed4fcfc1ca8b3c3ae2590d470c14706d953a8d2f856d33c5aaea4 |
|
MD5 | fd17590a2bfae62a5a2a76fbcce8178e |
|
BLAKE2b-256 | bf3bfda55bd27f338888633e6c2db84ff70f8b8e7d190babc84b8e6f968d1db9 |
File details
Details for the file metriql_metabase-0.5-py3-none-any.whl
.
File metadata
- Download URL: metriql_metabase-0.5-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a3f8df18d2772be306f2a87cd6aeb97fe44267f96628863f86223adab26bf0 |
|
MD5 | e2e37129699ee2c1b01eec03dc4c7c6e |
|
BLAKE2b-256 | 3826ced9150be09aaaf54123516e2e0b91b91b204c62deb64c468f74fe15e1fa |