Skip to main content

Manage your Metabase instance programmatically.

Project description

metabase-manager

Manage your Metabase instance programmatically by declaring your desired state. Metabase-manager will create, update, and delete objects in Metabase to ensure to it matches your declared configuration.

Installation

pip install metabase-manager

Usage

Here is an example configuration for Users and Groups:

# metabase.yaml

users:
  - email: jdoe@example.com
    first_name: Jane
    last_name: Doe
    groups:
      - Admin
      - Finance

  - name: jsmith@example.com
    first_name: John
    last_name: Smith
    groups:
      - Marketing

groups:
  - name: Finance
  - name: Marketing

By running the following command, metabase-manager will create these users and groups if they don't already exist, update them if some attributes differ, and delete users and groups that exist in Metabase but are not declared here.

metabase-manager sync --host=https://<org>.metabaseapp.com --user <email> --password <password>

Supported Entities

  • Users
  • Groups

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

metabase-manager-0.2.0.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

metabase_manager-0.2.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page