A Python client for metarank
Project description
metarank
A Python client for metarank.
Usage
pip install metarank
Example
from metarank import Client
from metarank.schemas import FeedbackSchema, FieldSchema
base_url = "http://localhost:8080"
client = Client(base_url)
is_healthy = client.health_check() # True
events = [
FeedbackSchema(
event="item",
id="event:1",
timestamp="1985-07-03T14:31:43+13:00",
item="item:1",
fields=[
FieldSchema(
name="color",
value="red"
)
]
)
]
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
metarank-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file metarank-0.1.0.tar.gz
.
File metadata
- Download URL: metarank-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 954a352ed5f566ee7f5c1159af2356cb1a16f1c9d72bc30b0e505a4d203f5b1e |
|
MD5 | 9d961184cb77099eb911de3923b26f8d |
|
BLAKE2b-256 | 4ead24cab14430b1a6370ed8255edd8ad478fc35ee6393f550800a7c3a884a2b |
File details
Details for the file metarank-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: metarank-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c623ccd77c260100d048ecebb1969d485768cacf75f98a7e6efcd18f51ee5d45 |
|
MD5 | 9e7869a051de83cde6aa19cb0703026a |
|
BLAKE2b-256 | fedbc44da5c3d053ec1c326261270e0aae5868b3d68189ced19fa355e725d710 |