Skip to main content

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.

Release files for metriql-metabase 0.5

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

Source distribution (sdist)

Source distribution for metriql-metabase 0.5
File Size Uploaded
metriql-metabase-0.5.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metriql-metabase 0.5
File Interpreter ABI Platform
metriql_metabase-0.5-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / metriql-metabase-0.5.tar.gz

Download URL metriql-metabase-0.5.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6946941d0a8ed4fcfc1ca8b3c3ae2590d470c14706d953a8d2f856d33c5aaea4
BLAKE2b-256 checksum
How to use checksums
bf3bfda55bd27f338888633e6c2db84ff70f8b8e7d190babc84b8e6f968d1db9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / metriql_metabase-0.5-py3-none-any.whl

Download URL metriql_metabase-0.5-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75a3f8df18d2772be306f2a87cd6aeb97fe44267f96628863f86223adab26bf0
BLAKE2b-256 checksum
How to use checksums
3826ced9150be09aaaf54123516e2e0b91b91b204c62deb64c468f74fe15e1fa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5 This release

2 release files

0.4

2 release files

0.3

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