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"
            )
        ]
    )
]

Release

We use python-semantic-release to automatically release the package to pypi.

License

MIT

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

Uploaded Source

Built Distribution

metarank-1.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metarank-1.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for metarank-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7bea4e8e41f1b10c804315c7cc4439b109268ad8bfd652dd2276d8e48ecf14b2
MD5 95e9936e5f556f15b19d4199984b1419
BLAKE2b-256 5079d6079d2b4d91f4762a9b9cabe3ca9e91dd00ff3a78c1aaf2ec4e9bd7e109

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metarank-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for metarank-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abe142446520f5fb24f0076a038c014418941e35b07c6936f3ad0ad840939083
MD5 bb9b278f228de237ea321ff9e6e33973
BLAKE2b-256 277f104a1260d8a161f815f3cb80cd78142f897009ef57cf355af103b2a39fbb

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