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


Download files

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

Source Distribution

metabase_client-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

metabase_client-1.0.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file metabase_client-1.0.0.tar.gz.

File metadata

  • Download URL: metabase_client-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.0

File hashes

Hashes for metabase_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5378e35a10fac3f4efe5b05448c9e34839430bcd52896d715361965c9f33f04
MD5 96ee4e75b58c44b8e9d203c912ede765
BLAKE2b-256 8456061eb5a312611d25c307f801423e61f9f4da00c6187e5897532669c49e9b

See more details on using hashes here.

File details

Details for the file metabase_client-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: metabase_client-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.0

File hashes

Hashes for metabase_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1839b3a9278e3da3eb21193ae43b4e2f9adc1c4114de0a9c34fcb2d3c98402a3
MD5 445811858a913a126be1e4971c4ed537
BLAKE2b-256 89fcb0ad7975ad8a8d66c095f85b9f8fc26cd0a2a07a8087e026c1a27c7f6c4b

See more details on using hashes here.

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