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

Uploaded Source

File details

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

File metadata

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

Hashes for metarank-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5f9eaba5a572dfcda4fc9597b3d6c6c93d422c561340f9966ecde36a73ba93cf
MD5 a9bd9098c996a3eaf4a3f2c06427fa10
BLAKE2b-256 ad31188f05a26aa7bdd38bcefe767d69706c8dbc0293e113d2515302f6acf7d9

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