Skip to main content

Python client for the MVR API relational-readiness layer

Project description

MVR API Python Client

Lightweight Python client for the current MVR API - Minimum Viable Relationships surface.

This client targets the live MVR Core API v6.32.x:

  • POST /v1/auth-check
  • POST /v1/entity-resolve
  • POST /v1/evidence-completeness
  • POST /v1/decision-check
  • GET /v1/model-card
  • GET /v1/capabilities

It is aligned with the agent OpenAPI contract, public sandbox, and MCP registry entry.

Install

pip install mvr-api-client

Public Sandbox

The default key is the public sandbox key:

X-API-Key: mvr-demo-key-2026

Sandbox use is non-commercial evaluation only. It is full_advisory, client_safe, illustrative, not for production, not for model training, and not for reverse engineering.

Example

from mvr_api import MVRClient

client = MVRClient()

result = client.entity_resolve("MTN Nigeria", country="NG")
print(result["response_meta"]["environment"])  # sandbox when using the demo key

Evidence Completeness

from mvr_api import MVRClient

client = MVRClient()

result = client.evidence_completeness({
    "subject": {
        "entity_name": "Sandbox Kampala catering operator",
        "entity_archetype": "retail_chain",
        "country": "UG",
    },
    "market_scope": {
        "country": "UG",
        "city": "Kampala",
        "sector": "catering",
    },
    "evidence_pack": [
        {
            "id": "ev-licence-001",
            "evidence_type": "public_filing",
            "source_class": "administrative_record",
            "source_grade": "B",
            "stakeholder_class": "guardian",
            "evidence_origin": "field_research",
            "collection_method": "direct",
            "freshness_date": "2026-05-20",
            "evidence_geography": {"country": "UG", "city": "Kampala"},
            "structured_values": {"guardian_strength": 72, "permission": 68},
        }
    ],
})

print(result["status"])

Agent Discovery

Attribution

Minimum Viable Relationships (MVR), originated by Farouk Mark Mukiibi, African Market OS.

Commercial, production, SaaS, consulting, or AI-agent deployment use requires authorization from African Market OS.

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

mvr_api_client-6.32.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

mvr_api_client-6.32.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mvr_api_client-6.32.0.tar.gz.

File metadata

  • Download URL: mvr_api_client-6.32.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mvr_api_client-6.32.0.tar.gz
Algorithm Hash digest
SHA256 64d1795035a677ce5e4030044632cf6d10c4c3c5fabdbf78b4d281701495e199
MD5 cd9fa7e1be79e81ceff9d65abd0cb43f
BLAKE2b-256 45548952395fe4e92e17836d8f21d227258d5968c45df5b47b545882bdfeacbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvr_api_client-6.32.0.tar.gz:

Publisher: main.yml on africanmarketos591/mvr-api-py-client

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

File details

Details for the file mvr_api_client-6.32.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mvr_api_client-6.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a18423eec0d29ba1473916e226920a0c333a476844e5516ac66fe45602d22a80
MD5 7041a99c8638ec0144f634b52157ca0e
BLAKE2b-256 cede8f9b77d9f989ad87ef95b23fb3aa32ea1bf2f685a22ca0642bcd0669ef1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvr_api_client-6.32.0-py3-none-any.whl:

Publisher: main.yml on africanmarketos591/mvr-api-py-client

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