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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metarank-1.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for metarank-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f9766c822ecce80277a6136fb46022d3b09047217cda6fa4a75c644ced2ea5fc
MD5 f1408851e4e31fb79da6a7ffa32e5dcf
BLAKE2b-256 547255d372ffaa3e3b5c22641e44f981a4372d91ad6f05f426ad09efca0ad0c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metarank-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for metarank-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53657c533a85664f404de2de9e52460386075def85b42b8372e91bc2c9f87a25
MD5 767653652a3b01282172ecb756b6a0d8
BLAKE2b-256 83a473ab9aa5d1b8bef8269023b65c53cf6e11f76202e41c73e98714305ad545

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