How nleiaa/ephemerisgen works
EphemerisGen is a command-line tool for calculating daily zodiac positions and sidereal time for a selected month or year, displaying the results, and optionally exporting them as JSON or CSV. The principal workflow starts at the interactive menu, dispatches to the matching consultation, generates ephemeris data, displays it, and offers export. Yearly generation iterates through months and delegates daily calculations to its date routine; monthly generation calculates its own daily records. The README documents both query modes and export formats. Source excerpts support the shown calls; no other runtime subsystems are evident.
Main entry points: EphemerisGen_year.py Year consultation · EphemerisGen_month.py Month consultation · main.py Query menu
Components 14
Interactive CLI
- Query menu
main.py - Year consultation
EphemerisGen_year.py - Month consultation
EphemerisGen_month.py
Ephemeris generation
- Year generator
EphemerisGen_year.py - Month generator
EphemerisGen_month.py - Daily calculation
EphemerisGen_year.py
Terminal display
- Yearly display
EphemerisGen_year.py - Monthly display
EphemerisGen_month.py
Data export
- Year exporter
EphemerisGen_year.py - Month exporter
EphemerisGen_month.py
Other components
- CLI user
- PyEphem library
- JSON output
- CSV output
Connections 17
- CLI user → Query menu: selects query
README - Query menu → Year consultation: dispatches year
main.py - Query menu → Month consultation: dispatches month
main.py - Year consultation → Year generator: requests year
EphemerisGen_year.py - Year consultation → Yearly display: displays results
EphemerisGen_year.py - Year generator → Yearly display: prints months
EphemerisGen_year.py - Year generator → Daily calculation: requests daily data
EphemerisGen_year.py - Daily calculation → PyEphem library: computes positions
EphemerisGen_year.py - Month consultation → Month generator: requests month
EphemerisGen_month.py - Month consultation → Monthly display: displays results
EphemerisGen_month.py - Month generator → PyEphem library: computes positions
EphemerisGen_month.py - Year consultation → Year exporter: selects export
EphemerisGen_year.py - Month consultation → Month exporter: selects export
EphemerisGen_month.py - Year exporter → JSON output: writes JSON
EphemerisGen_year.py - Year exporter → CSV output: writes CSV
EphemerisGen_year.py - Month exporter → JSON output: writes JSON
EphemerisGen_month.py - Month exporter → CSV output: writes CSV
EphemerisGen_month.py