kerykeion-cli
The Kerykeion astrology library from the terminal.
pip install "kerykeion[cli]" gives you the kerykeion command: natal,
synastry, transit, composite, return and progression charts as text reports,
JSON, AI-ready XML context or SVG wheels; aspects, dominants, moon
phase, relationship score; profections, firdaria, zodiacal releasing, horary,
primary directions, solar arc, astrocartography; eclipses, lunations, ingresses,
stations, void-of-course Moon, sun times, planetary hours; ephemeris and transit
time series — plus a guarded call that reaches any public factory.
- Standard library only (argparse): this package adds no dependency beyond the library itself
- Local and offline: the same in-process engine as the Python API, no key
- Text on a terminal, JSON in a pipe;
-f text|json|xml|svg,-o file - Payload on stdout, warnings on stderr — pipes stay clean
- Exit codes are the contract: 0 ok, 4 invalid input, 5 kerykeion, 6 ephemeris, 7 network, 8 sampling ceiling, 9 warnings-as-errors
- Saved subject profiles (
kerykeion subject save ada …, then-s ada), written0600because birth data is personal
Install
pip install "kerykeion[cli]==6.0.0" # the library plus this package
# or, as a standalone tool:
uv tool install "kerykeion-cli==6.0.0"
Python 3.12+. pip install kerykeion alone installs the library without the
command; python -m kerykeion_cli reaches the same entry point. This is the first stable v6 release; the CLI pins the matching library version
exactly.
Use
kerykeion subject save ada --name "Example Person" --date 1990-07-15 --time 18:00 \
--lat 51.5074 --lng -0.1278 --tz Europe/London --offline
kerykeion natal -s ada # ASCII report on a terminal
kerykeion natal -s ada | jq -r .sun.sign # JSON in a pipe, no extra flag
kerykeion natal -s ada -f svg -o ada.svg --theme dark
kerykeion sky lunations --from 2026-01-01 --to 2026-12-31
kerykeion transits -s ada --from 2026-01-01 --to 2026-01-02 \
--include-subjects --calculate-dignities -f json
kerykeion status --check # judge the install (exit 6 if broken)
kerykeion --help lists every command; kerykeion info literals lists every
value the flags accept, read from the library at runtime. A Unix man page,
kerykeion(1), ships in the wheel: after a pip install into a prefix whose
share/man is indexed (a system Python, Homebrew), man kerykeion works with
no further step. Isolated installs keep the page inside their own prefix, so
add it to the search path once:
man -M "$(uv tool dir)/kerykeion-cli/share/man" kerykeion # a uv tool install
# or, in the shell profile:
# export MANPATH="$HOME/.local/share/uv/tools/kerykeion-cli/share/man:$MANPATH"
Documentation
- CLI reference: https://www.kerykeion.net/content/docs/cli/
- Library: https://www.kerykeion.net
- Agent skill, for AI coding agents:
skills/kerykeion-cli/in the repository
License
AGPL-3.0, the same as the library it drives.
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 kerykeion_cli-6.0.0.tar.gz.
File metadata
- Download URL: kerykeion_cli-6.0.0.tar.gz
- Upload date:
- Size: 68.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac27823a3b4ed064df7a4dc2fd2a234b018887d324336084d3c1a846ccfabd8f
|
|
| MD5 |
760c57234f25631f897edc2a30871309
|
|
| BLAKE2b-256 |
22d888c636c807da978582359b75f2fcc54badf52e9a970b5dbf56acb229bc2e
|
File details
Details for the file kerykeion_cli-6.0.0-py3-none-any.whl.
File metadata
- Download URL: kerykeion_cli-6.0.0-py3-none-any.whl
- Upload date:
- Size: 83.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a90bba3c0b723606a382bea64ed70982ed4b35432f13915783fb54d47136048
|
|
| MD5 |
6321040716b1338fa198366d24ea619b
|
|
| BLAKE2b-256 |
e7c2dec89d4cb1ea4ad47532716a77f303f7e0d7a62c270fe3c382284b5c8150
|