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.1

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.1
File Size Uploaded Provenance Actions
katcloud-0.1.1.tar.gz 13.7 kB With provenance Details for katcloud-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 25.4 kB

Release files / katcloud-0.1.1.tar.gz

Download URL katcloud-0.1.1.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
67c38ec61e5b9f31182fa47c2d6128a012e7023a072de637c4272421f0d41bbc
BLAKE2b-256 checksum
How to use checksums
118ddf2ab28867f340576931ffdc5d627c18a2bb552575667ee4d4da0e2af85d
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.1-py3-none-any.whl

Download URL katcloud-0.1.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d28d4abefb081a52005ed43546baccd30237a1a79f02ef3b3e82ab1b89ffa5c
BLAKE2b-256 checksum
How to use checksums
497874cbec24086feb4dfb02a53121e0a22e580c8e4c3fa2ab4ec0b09a5615a9
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.1

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.1.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