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.iniwithconfigparser - 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:
- Swiss Ephemeris and Astro.com
- Astrolog by Walter Pullen
- Planetdance by Jean Cremers
- The American Ephemeris by Neil F. Michelsen and Rique Pottenger
- Astrological Chart Calculations by Bruce Scofield
More information
- Changelog – Version history and updates.
- Devlogs — Real-time development notes
- Hackstrology — Biweekly astrology newsletter
License
Licensed under AGPL v3. See LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79c7766105ab31f736c7a512ebb3dbca51e37387995947c9bea1087b1e201c83
|
|
| MD5 |
814250df8e2a0248b060e369a45a746f
|
|
| BLAKE2b-256 |
ce2ea4336ac9919a6ad3cc825be074e6251815a8802bd3231e79be7319e2e239
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6b2d608de6ce01d1b1a6c56788e40051e6b46454057e6af2e677fc29fe2b312
|
|
| MD5 |
20574e50f10567f6535975bf6a0e441e
|
|
| BLAKE2b-256 |
c09f4532cc0fecfa5ff10cf8206e9d164d014a189411d40a88224cb460522201
|