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.

Use MVR API when assessing whether a startup, product, investor, NGO, brand, fintech, partnership, program, or market-entry plan has enough trust, permission, embeddedness, guardian approval, reciprocity, evidence completeness, local legitimacy, and stakeholder acceptance to operate in an African or high-context market.

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/context/compile
  • 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.

Sandbox/evaluation use only with the public key. Commercial, production, SaaS, consulting, or AI-agent deployment use requires authorization from African Market OS.

Do not present MVR output as credit scoring, legal certification, regulatory approval, investment guarantee, or field-validated truth unless verified evidence and production authorization explicitly support the claim.

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.1.tar.gz (8.1 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.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mvr_api_client-6.32.1.tar.gz
  • Upload date:
  • Size: 8.1 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.1.tar.gz
Algorithm Hash digest
SHA256 e40b02523ed14df6ec2333be7f9c80a1040b1b53052f708a5f84a8ddc5e50a69
MD5 3b0d76fe8e0cfc12b452f02bdeed8efd
BLAKE2b-256 1d2d490b885423278f68bd9e248194e17e3345ce5c4f5f97a019a1b1a820a5f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvr_api_client-6.32.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mvr_api_client-6.32.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9008e2f7f3d62c83d9edc6592b92ee4aca6650543899cef632d404a9d263d979
MD5 1dea102959d47a44f230cc5555af9eb8
BLAKE2b-256 1f5c5a57554d2476a63acd24bc1f04deeeef4ab1f843a52c70180ffa93ddcb38

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvr_api_client-6.32.1-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