Skip to main content

katcloud

한국에이아이통신(주) KAT Cloud API 용 Python SDK 입니다. 표준 라이브러리만 쓰고 Python 3.8 이상에서 동작합니다.

KAT Cloud 는 AI 에이전트를 한국 전화망에 연결하는 통신 인프라입니다. 070 번호 발급, 문자, 통화 기록, AI 발신, 웹훅을 API 로 다룹니다.

설치

pip install katcloud

사용

from katcloud import Client, KatError

kat = Client(api_key="zpa...")          # 또는 환경 변수 KATCLOUD_API_KEY

# 번호 발급
group_id = kat.create_group(group_title="my-agent")
for group in kat.list_groups():
    print(group["phoneNumber"])

# 문자 보내기
chat_id = kat.send_message("01098765432", "예약이 확정되었습니다.", from_number="07012345678")

# AI 발신 (실제 전화가 걸리고 요금이 생길 수 있습니다)
call = kat.create_ai_outbound_call(group_id, {
    "agentId": 12,
    "callerChannelId": 34,
    "destination": "01098765432",
    "inputs": {},
})

try:
    kat.list_agents(group_id)
except KatError as e:
    print(e.status, e.code, e.message)

웹훅 서명 검증

from katcloud import construct_event

event = construct_event(raw_body, headers, secret)   # 실패하면 WebhookSignatureError

라이선스

MIT

Metadata

Release files for katcloud 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for katcloud 0.1.0
File Size Uploaded Provenance Actions
katcloud-0.1.0.tar.gz 13.6 kB With provenance Details for katcloud-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for katcloud 0.1.0
File Interpreter ABI Platform Actions
katcloud-0.1.0-py3-none-any.whl Python 3 none any Details for katcloud-0.1.0-py3-none-any.whl

Total release size: 25.3 kB

Release files / katcloud-0.1.0.tar.gz

Download URL katcloud-0.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e035008bd0bfe17302aa04968d108e58566964eaaceb7debe2f23545dce7136f
BLAKE2b-256 checksum
How to use checksums
de66c70935b9cec18e44ca8844ebb496d7a5d16091ffae4cd8e35ff4d9715d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / katcloud-0.1.0-py3-none-any.whl

Download URL katcloud-0.1.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ccbaa01e7ec1f9069150c2c0009a07004f04af08af36f6c0ae40c4b57a8b7af
BLAKE2b-256 checksum
How to use checksums
3383537bfbf81fb2362e65ea02a1af30305bb15d3578d60cd92db840a0e8e99d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for katcloud 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for katcloud-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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