Skip to main content

Official server-side Python SDK for the Reeve API.

Project description

meetreeve (Python)

Server-side Python SDK for the Reeve API.

Status: not yet released. meetreeve is free on PyPI with a pending trusted publisher already registered, and the package is staged at 0.1.0 awaiting its first tag (DEV-4920). Deliberately not reeve-sdk, which is taken on PyPI by an unrelated project that also calls itself Reeve.

Licence: proprietary, not open source — see LICENSE.

Install (from git — no PyPI yet)

pip install "meetreeve @ git+https://github.com/MindFortressInc/reeve-sdks.git@main#subdirectory=python"

Quickstart

from meetreeve import ReeveClient, ReeveError

client = ReeveClient(api_key="your-host-key")  # sent as X-Reeve-Host-Key

try:
    stats = client.crm.get("/api/crm/v1/stats")
    print(stats)
except ReeveError as e:
    print(e.status, e.code, e.message, e.retryable)

client.close()

Or as a context manager:

with ReeveClient(api_key="your-host-key") as client:
    namespaces = client.memory.get("/api/memory/v1/namespaces")

What's generated vs. hand-written

  • meetreeve/client.py, errors.py, retry.py — hand-written. Auth header injection, retry/backoff on 429/5xx, and error normalization across both the migrated {"error": {...}} envelope and legacy {"detail": ...} shapes.
  • meetreeve/_generated/<product>/ — generated per catalog group via openapi-python-client from specs/<product>-v1.json. Typed models + per-operation call functions for callers who want full typing instead of the raw-JSON client.<product>.get(...) facade. Regenerate with scripts/generate_models.sh.

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
pytest

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

meetreeve-0.1.0.tar.gz (312.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meetreeve-0.1.0-py3-none-any.whl (936.3 kB view details)

Uploaded Python 3

File details

Details for the file meetreeve-0.1.0.tar.gz.

File metadata

  • Download URL: meetreeve-0.1.0.tar.gz
  • Upload date:
  • Size: 312.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for meetreeve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1393e54425f31f733659690a0e66c4e6e1b33a038a95452c87658d08ce8d755
MD5 f30fd006f9c33e4fddeaf37403ed38fd
BLAKE2b-256 44fb4afb397c76d562ca75d114b2e9a9009cc8f0b6a2f56e8ad068620888afb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for meetreeve-0.1.0.tar.gz:

Publisher: publish.yml on MindFortressInc/reeve-sdks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meetreeve-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: meetreeve-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 936.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for meetreeve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d85eb5369343688d8eeb2d05e6cff8a5404934f39541be5ac36bc6b586d31e8
MD5 c0ce28ba469a45d748c6da6ea6e91fce
BLAKE2b-256 e0b06c676abb5302a6d795775e4938a5b771dd29bcc84a581f5b244a5e5d430f

See more details on using hashes here.

Provenance

The following attestation bundles were made for meetreeve-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MindFortressInc/reeve-sdks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page