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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file api_mapper_client-1.0.0.tar.gz.
File metadata
- Download URL: api_mapper_client-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c0609ade0a1e7565a807abc71b50953f8d90d827a8eeee7576a17d912def47c
|
|
| MD5 |
1bcc490b8c3f9a0e0a929eedc2221405
|
|
| BLAKE2b-256 |
22f95e91e382121fcbe2c8ea4eba9e9a64f385bb2bffec0ae548aeb1cd783f52
|
File details
Details for the file api_mapper_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: api_mapper_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c83b69242790166b0d7375dd826f5e6d08d41fa30aee8192c8db4137ea80cb
|
|
| MD5 |
6a4e13fae7f138900f1fe4396661628b
|
|
| BLAKE2b-256 |
5c9e258b0e49425646ef69b394fc609c3cbde41d7e870057f7d2eb860b8e18f2
|