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.0.tar.gz (33.7 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.0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ephem_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 33.7 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.0.tar.gz
Algorithm Hash digest
SHA256 02e301116674d1400de136daebb977d8bdce6f04b8ba8f8e1d9d0072e0907650
MD5 5d69499f95e3772ef230dab086c2911e
BLAKE2b-256 984423c8ebf2a7f80f67aa64e67ff315abb6c6d46208b2604a21786ee610b87c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ephem_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7578518508e4fc6f430a539ad9a1b81aa8a766726c9853def57fd66096f3251b
MD5 cdec3aee2c3ec87a8124b0f3614e714e
BLAKE2b-256 ac6808fdef660b8508bbe59c99ade3a99b611d3363845f182f0eeda5eb5924eb

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