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

Uploaded Source

Built Distribution

metarank-1.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metarank-1.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/23.6.0

File hashes

Hashes for metarank-1.0.1.tar.gz
Algorithm Hash digest
SHA256 520c7b9468a3a8778a4c83be6f3b698477ecf25d8e219a5ee5c605eabd092248
MD5 0fa8e610dd0495ee4a09ed943792f6d6
BLAKE2b-256 a94372eb683ec9bd063384094c7cc93975527bebbc143a7935748de633f47e77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metarank-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/23.6.0

File hashes

Hashes for metarank-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 876846c15671e4f385fa5c963ba2bd4e2ea13d262839180425361045d6b80165
MD5 ef6e4e951300a4bcb3aa74ad0402372d
BLAKE2b-256 0599636d1bd05a81f6d7c9fe81386e039e3dde410da4a17cfbbdcb382069f1ee

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