Skip to main content

iapp-core

Shared internal core for the iApp AI Marketplace Python clients. It is the single source of truth for talking to api.iapp.co.th: base URL, API-key auth, error handling, response formatting, and both a synchronous and an asynchronous HTTP transport.

You normally do not install this directly. It is a dependency of:

  • iapp-ai — the synchronous Python SDK (from iapp_ai import api)
  • iapp-mcp — the iApp AI Marketplace MCP server

What it provides

from iapp_core import (
    API_BASE, IAppAPIError, status_error_message,
    request_sync,            # requests-based, returns requests.Response
    request_async,           # httpx-based (needs the `async` extra), returns httpx.Response
    format_json_response, truncate_blobs,
    save_binary, save_pcm_as_wav,
    resolve_input_file, resolve_output_path, get_api_key,
)

The async transport requires httpx; install it with the extra:

pip install "iapp-core[async]"

The sync transport only needs requests, which is a base dependency.

License

MIT © iApp Technology Co., Ltd.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iapp_core-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

iapp_core-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file iapp_core-0.1.1.tar.gz.

File metadata

  • Download URL: iapp_core-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for iapp_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dc2fd1671404246a082720f81cdcbe522d61d2f252a61a4ed39e69dd12cdb578
MD5 f36a4ff0dad6821cb7dbb039066b12de
BLAKE2b-256 f47e36bbe0f638a165683150993115401238f835b19eec918e2bc0b6f2592c08

See more details on using hashes here.

File details

Details for the file iapp_core-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: iapp_core-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for iapp_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58fa61e13c95c61815363014ce11f132ed096e387119e076a4d512cb18e9c511
MD5 6608057bdb48f56101815d9f1659a222
BLAKE2b-256 ace825e404a660e48115990a9fc4f792b8d6b3afc9b9075c13248d60c868b97e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page