Skip to content

tym-xqo/moon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moon

A simple CLI moon phase toy with PyEphem and CoreLocationCLI.

Installation

Clone this repo, then

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

The script assumes you are using a Mac and have CoreLocationCLI installed

brew install cask corelocationcli

Usage

python moon.py prints a human-readable moon phase, the percent illuminated, and calendar date of the next New, Full, or Quarter moon event, for example:

The Moon today is Waning Gibbous, with 99.16% illuminated
Last Quarter upcoming on 2021-05-03

Tests

[TK]

Contributions, issue reports, and any other related contact always welcome.

About

Calculate current phase of the moon at the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages