Skip to main content

a minimal and configurable astrology CLI

Project description

Ephem

Ephem is a minimal, opinionated astrology CLI.

It provides offline, terminal-based horoscope calculations using the Swiss Ephemeris, serving as a portable alternative to web-based chart generators.

Features

  • Swiss Ephemeris calculations
  • Readable, terminal-friendly table output
  • Configurable default location
  • Multiple display modes and ANSI color schemes
  • Handles incomplete data gracefully

Installation

You can install ephem-cli directly from PyPI.

With pipx

pipx installs Python command-line apps in their own isolated environments, so you don’t have to worry about dependencies messing with your system.

pipx install ephem-cli

With pip

If you don’t have pipx, you can install with pip:

pip install --user ephem-cli

Make sure your Python user bin directory (often ~/.local/bin) is on your $PATH.

From source

Clone the repo and install in editable mode:

git clone https://codeberg.org/sailorfe/ephem.git
cd ephem
pip install -e .

Usage

# Chart for the current moment
ephem now

# Chart for a specific date and time; location optional
ephem cast 1993-08-16 13:05 "Debian Linux"

Commands

Command Description
now Calculate the chart of the moment
cast Calculate chart for an event or birth
asc Print current local ascendant
data Manage chart database
config Update saved preferences

Roadmap

v1.0.0

  • Write unit tests
  • Save, list, and view chart data in an SQLite database
  • Sidereal zodiac and custom ayanamsa support
  • Convert local time input to UTC
  • Alternate ANSI color schemese
  • Integrate ascendant
  • config.ini with configparser
  • Option to hide coordinates in output

Future

  • calendar view for current and specified months
  • YAML-based database interaction
  • fight with configparser and argparse over display settings
  • SVG wheel and square charts with multiple house systems

Contributing

Ephem is in early development. Contributions are welcome, especially from developers with experience in astrology software.

Acknowledgments

Ephem draws inspiration from:

More information

License

Licensed under AGPL v3. See LICENSE file for details.

Project details


Download files

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

Source Distribution

ephem_cli-1.0.1.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

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

ephem_cli-1.0.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file ephem_cli-1.0.1.tar.gz.

File metadata

  • Download URL: ephem_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ephem_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b5a4c0e81bc4cecc6e0929af8956d37b5ad6b476466354da01e89cbbe91a743d
MD5 daf02b441cc0c91023fc5d4502631db2
BLAKE2b-256 c5657dd2a5baf3da14352beaa679ae4c12e5ff14511d9d3a747b1c3e1277edd2

See more details on using hashes here.

File details

Details for the file ephem_cli-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ephem_cli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ephem_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17b921bfa8ef03c19063dfd4dcae320858cac2fa3f86111fbafd6f540e87d97c
MD5 ec22309a4675a9842cdbcc455b3b8cea
BLAKE2b-256 f5271fde7bb424f34a3b49e14b016042164cb10c65dd7e214b010bb5a99b3ebf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page