Skip to main content

a minimal and configurable astrology CLI

Project description

ephem

ephem is a minimal, opinionated, and configurable horoscope CLI designed with electional astrology and premodern revivalism in mind. It aims to be a portable, terminal version of print ephemerides in widespread use among astrologers prior to personal computers and GUIs, providing a reliable offline alternative to web-based chart generators.

Table of Contents

Features

  • ephem now shows the current chart for your location.
  • ephem asc prints the ascendant for your location, for an efficient, scriptable clock.
  • ephem cast DATE TIME TITLE casts a chart for a specific event, like a birth.
  • --save-config saves default place and display settings to ephem.ini
  • Accommodates incomplete information by defaulting to UTC noon or Null Island (0,0) for hypothetical charts.
  • Default ANSI coloring following Hellenistic planetary sect along with sign-based element and modality themes.

Usage

Show chart of the moment for your location:

ephem now

Cast an event or birth chart:

ephem cast 1998-08-26 8:20 "Jeon Soyeon" --lat 37.49 --lng 127.0855
ephem cast 1993-08-16 13:05 "Debian Linux"

Installation

PyPI

pip install ephem-cli

From source

Clone this repo:

git clone https://codeberg.org/sailorfe/ephem.git

Create a venv:

python -m venv venv
source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Install locally:

pip install .

Roadmap

  • Save, list, and view chart data from a SQLite database
  • Pseudo "wheel" text output option in the style of Astrolog
  • [-] Conversion from local time to UTC and vice versa
  • Alternate ANSI color schemes by sign triplicity or quadruplicity
  • Integrate shell scriptable clock from ascendant
  • config.ini with configparser!
  • Option to hide coordinates from printing.

Contributing

This is my self-taught Python bootcamp project, so very much a work in progress as I learn. I welcome early testers and feedback but plan to keep development mostly solo for now.

License

Per the original Swiss Ephemeris C library, this software is licensed under the AGPL.

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-0.3.0.tar.gz (25.1 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-0.3.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ephem_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a500b61849ed99d1143018b7fca5e4849cce1de90f86f6bf083d93b3e4d8a056
MD5 de1b92c1bb6f1abc8d8aef4f9e0ea81f
BLAKE2b-256 843739047e569be5c96e9ba68b1daee4ffbde5692641bc068d47a07066a7fa7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ephem_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 27.1 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-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae9e89b68d8ebafd36912d4e7edd608ef92b4f458f0bd13e546219a5c69e61c7
MD5 e8d1132d85dcc5ddbb782f5f1507366c
BLAKE2b-256 8d8d07e481ae57567693028c8c138e446177e3cf7714d06f031383be9628ac55

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