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.
Metadata
Release files for metabase-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| metabase_client-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for metabase_client-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| metabase_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for metabase_client-1.0.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / metabase_client-1.0.0.tar.gz
| Download URL | metabase_client-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5378e35a10fac3f4efe5b05448c9e34839430bcd52896d715361965c9f33f04
|
|
BLAKE2b-256 checksum How to use checksums |
8456061eb5a312611d25c307f801423e61f9f4da00c6187e5897532669c49e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / metabase_client-1.0.0-py3-none-any.whl
| Download URL | metabase_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1839b3a9278e3da3eb21193ae43b4e2f9adc1c4114de0a9c34fcb2d3c98402a3
|
|
BLAKE2b-256 checksum How to use checksums |
89fcb0ad7975ad8a8d66c095f85b9f8fc26cd0a2a07a8087e026c1a27c7f6c4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for metabase-client 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.