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)
Built Distribution
Close
Hashes for metabase_manager-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2294c2f39a20f1ba1ef10ef2a9dda944beb4f1fe9714f1d2b9618a16049ce08 |
|
MD5 | 31df32a388508d7fa4918892ea452d9d |
|
BLAKE2b-256 | 1b9de7c3ba13c2b1fd4563fc4e197f144ed9f0446fba2f49c538105cae869c02 |