Skip to main content

Client SDK for the CodedProjects AI ApiMapper Runtime

Project description

api-mapper-client

Python SDK for discovering and invoking AI ApiMapper Runtime tools from Python applications and agents.

Install

pip install api-mapper-client

Optional integrations:

pip install "api-mapper-client[langchain]"
pip install "api-mapper-client[langgraph]"
pip install "api-mapper-client[all]"

What it provides

  • runtime tool discovery,
  • runtime system prompt loading,
  • tool invocation over MCP-compatible HTTP endpoints,
  • API key, delegated bearer token, and OAuth2 client credentials authentication helpers,
  • optional LangChain and LangGraph integration helpers.

Quick start

import uuid

from api_mapper_client import ApiMapperClient, ApiMapperClientOptions
from api_mapper_client.auth.api_key import ApiKeyCredentialProvider

client = ApiMapperClient(
    ApiMapperClientOptions(
        base_url="https://runtime.example.com",
        tenant_id=uuid.UUID("11111111-1111-1111-1111-111111111111"),
        client_id="my-ai-client",
        credentials=ApiKeyCredentialProvider("replace-with-your-api-key"),
    )
)

tools = await client.get_tools()
print([tool.name for tool in tools])

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

api_mapper_client-1.0.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

api_mapper_client-1.0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: api_mapper_client-1.0.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for api_mapper_client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a4bd53950dc937f8b451067a49ca934a7badfaa27a7c03904da64210104f954a
MD5 a382fb6e45002cac6d81baba90185bb8
BLAKE2b-256 6a5eefa068073f97930d63b402f37df219ace5b6308efb418582be192bbdabae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for api_mapper_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a40fb55e936d41af0a03120b27b6156bad79a3f9fdd4515a6db1bcc06caefeee
MD5 49ae6c2928681a5822f770ba23523d8f
BLAKE2b-256 595d23abf4b1d78d4e40e1ab95c83c4bcdb0b44a344eb0bd129455d01d7b5ceb

See more details on using hashes here.

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