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:
- Create a virtual env.
- Implement the feature along with the automated tests.
- Apply makefile commands (
make [test|flake|black]
) - Open a Pull Request.
Help or Suggestions
Please, open an issue at the Github Issues page.
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for metabase_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1839b3a9278e3da3eb21193ae43b4e2f9adc1c4114de0a9c34fcb2d3c98402a3 |
|
MD5 | 445811858a913a126be1e4971c4ed537 |
|
BLAKE2b-256 | 89fcb0ad7975ad8a8d66c095f85b9f8fc26cd0a2a07a8087e026c1a27c7f6c4b |