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.2.tar.gz (34.0 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.2-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ephem_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 34.0 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.2.tar.gz
Algorithm Hash digest
SHA256 79c7766105ab31f736c7a512ebb3dbca51e37387995947c9bea1087b1e201c83
MD5 814250df8e2a0248b060e369a45a746f
BLAKE2b-256 ce2ea4336ac9919a6ad3cc825be074e6251815a8802bd3231e79be7319e2e239

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ephem_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b2d608de6ce01d1b1a6c56788e40051e6b46454057e6af2e677fc29fe2b312
MD5 20574e50f10567f6535975bf6a0e441e
BLAKE2b-256 c09f4532cc0fecfa5ff10cf8206e9d164d014a189411d40a88224cb460522201

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