Skip to main content

kakaome

카카오톡 나에게 보내기 REST API를 사용하는 작은 Python CLI입니다.

비공식 프로젝트이며 Kakao Corp.와 제휴하거나 Kakao가 보증하는 제품이 아닙니다.

설치

pipx install kakaome

개발 버전은 프로젝트 디렉터리에서 다음과 같이 실행할 수 있습니다.

uv sync
uv run kakaome --help

Kakao Developers 설정

  1. 앱에서 카카오 로그인을 활성화합니다.
  2. Redirect URI로 http://127.0.0.1:8765/callback을 등록합니다.
  3. 동의 항목에서 **카카오톡 메시지 전송 (talk_message)**을 활성화합니다.
  4. 제품 링크 > 웹 도메인에 기본값인 https://pypi.org를 등록합니다.

REST API 키와 기본 링크를 저장하고 최초 한 번 로그인합니다.

kakaome configure --rest-api-key YOUR_KEY
kakaome auth

Client Secret 기능을 활성화한 앱은 --client-secret도 지정합니다. 기본 메시지 링크는 https://pypi.org/project/kakaome/입니다. 다른 주소를 쓰려면 해당 도메인을 제품 링크에 등록하고 --default-link로 지정합니다.

사용

kakaome send "배치 작업이 완료되었습니다."
kakaome send "결과 보기" --link https://example.com/report
kakaome send "오늘의 결과" --image-url https://example.com/result.png

카카오 기본 텍스트 템플릿은 링크를 필수로 요구하고 최대 200자까지 지원합니다. --image-url은 인터넷에서 공개 접근 가능한 이미지여야 합니다. PDF나 ZIP 같은 로컬 파일을 카카오톡 첨부파일로 직접 업로드하는 기능은 공식 나에게 보내기 REST API에서 지원하지 않습니다.

설정과 OAuth 토큰은 Windows의 %APPDATA%\kakaome\config.json 또는 다른 운영체제의 ~/.config/kakaome/config.json에 저장됩니다. 경로는 KAKAOME_CONFIG 환경 변수로 바꿀 수 있습니다.

배포 빌드

uv build
uv run twine check dist/*

Metadata

Release files for kakaome 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 kakaome 0.1.1
File Size Uploaded
kakaome-0.1.1.tar.gz 39.6 kB Details

Built distribution (wheel)

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

Total release size: 48.0 kB

Release files / kakaome-0.1.1.tar.gz

Download URL kakaome-0.1.1.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9f26f114c07334ea558ec94ce086f451488e99455103ce376672fc60023cd33e
BLAKE2b-256 checksum
How to use checksums
19a786170914450b0753818d88c10f4f266e00ed77e52ceb3eb78863196127cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / kakaome-0.1.1-py3-none-any.whl

Download URL kakaome-0.1.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87cc41b0460fe18c641e3a9fc73ff0e4d2c1bde3021b656ba399e5048e40277b
BLAKE2b-256 checksum
How to use checksums
08e715869322ff84f79d016e1c1f4bc0b04a7bc7ff646a936cd99803fb8fcb13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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