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

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
  • Conversion from local time to UTC and vice versa
  • Pseudo "wheel" text output option in the style of Astrolog
  • 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.1.0.tar.gz (24.3 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.1.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ephem_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 24.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 c374b22ecd6e027d3f651f909e8a47ee0456bfe1032b534f12154474aec81ecf
MD5 fc413be1c019003d7ccb84f2b07a1170
BLAKE2b-256 fbb93034188b214964e0f40915340dcc89464ffe27d6aaf1e4a69693eb6c631b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ephem_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60409892a786d74626b4b13df02a4005495393928f45f6e9caaf04ec7ad1d4a4
MD5 eac021f9d45af9e185ee122b3bfc49cf
BLAKE2b-256 5beab1dca2dc63d1e8e364b032fcdcd61ebdd30bf0130c315ae581ffb2510c4f

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