Skip to main content

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


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.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

metarank-0.1.7-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file metarank-0.1.7.tar.gz.

File metadata

  • Download URL: metarank-0.1.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for metarank-0.1.7.tar.gz
Algorithm Hash digest
SHA256 de7f05833b9baa123a77813777ac41227836503bb6b1df15867332be31f9bb27
MD5 ee980c94a33ae634c0906f12b7b27a35
BLAKE2b-256 64b45d25c70330099db7deec9f0fb02b66ec31607721a65186b9c8ac16c90853

See more details on using hashes here.

File details

Details for the file metarank-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: metarank-0.1.7-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

Hashes for metarank-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cf207a70b62883f93f634acecef9bcb3a3bb754f140d403107b63f608b944fb1
MD5 8eea2a4024b7a7f03a5c8019f79466e0
BLAKE2b-256 9d7af1cecfe4da8dcb21dc8d56bcbdba9d1ac367fda38b796006c6ac367d31f7

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