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.1.tar.gz
(3.6 kB
view details)
File details
Details for the file metarank-0.1.1.tar.gz
.
File metadata
- Download URL: metarank-0.1.1.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 | 306276ec2c73edc823df9220a5727722b11bcb088f419e75c62a00212da4b845 |
|
MD5 | a631ac2e70d70a6cf5783cc5f7c2cffd |
|
BLAKE2b-256 | 826674ab1a74abc230275310031a54b92ceb94b3e5ddb737ec603fe9c26e3676 |