Skip to main content

A production-ready metabase client to spare you from handling HTTP requests directly

Project description

Metabase Client

A production-ready metabase client to spare you from handling HTTP requests directly.

Install

$ pip install metabase_client

Start

You can provide username and password to authenticate...

from metabase_client import MetabaseClient

client = MetabaseClient("http://my-metabase-service.com", username="user", password="pass")
client.auth()

... or just provide an already-authenticated token.

from metabase_client import MetabaseClient

client = MetabaseClient("http://my-metabase-service.com", token="mytoken1q2w3e4r")

Obs: Since metabase limits the number of logins made through its API, using the second approach enables you to cache the token and avoid many logins.

Contributions

Any contributions are welcome. Fork this project and follow the steps below:

  1. Create a virtual env.
  2. Implement the feature along with the automated tests.
  3. Apply makefile commands (make [test|flake|black])
  4. Open a Pull Request.

Help or Suggestions

Please, open an issue at the Github Issues page.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for metabase-client, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size metabase_client-1.0.0-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size metabase_client-1.0.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page