Skip to main content

Lunar Club Tools

Project description

https://travis-ci.org/mareuter/lct-python.svg

A tool to aid in completing the Astronomical League’s Lunar and Lunar II observing clubs. It is written in Python using PyQt for the UI and the pyephem library for lunar calculations.

The program provides general information about the current lunar status. Based on the current location of the lunar terminator, the program determines the visibility of features required to complete the observing clubs. Certain requirements are based on the current lunar phase and the times to and from new moon. These are calculated and presented in a table with indicators that show when the requirement is occurring (not necessarily visible).

Installing

Requirements

  • Python 2.7
  • PyQt >= 4.8 (not 5)
  • pyephem >= 3.7.4.1
  • tzlocal >= 1.1.1
  • QDarkStyle >= 1.9

Linux

The correct version of Python should already be install on your system. If not, get the 2.7 version via the appropriate package manager. You will then need to install PyQt libraries and build tools packages. The names vary between OS flavors. Next, follow the installation instructions for pip appropriate to Linux. Once that is complete, run the following:

pip install lct

OSX

The correct version of Python should already be install on your system. To get PyQt, the best way is via homebrew:

brew install pyqt

Then, follow the installation instructions for pip appropriate to OSX. Once that is complete, run the following:

pip install lct

Windows

Download the correct version from Python. Be sure you note if you install the 64-bit or 32-bit version of Python. Download the correct associated version of PyQt from their site and install. Next, download the correct associated version of pyephem and install. Then, follow the installation instructions for pip appropriate to Windows. Once that is complete, run the following:

pip install lct

Alternatively, you can download the associated version of the Lunar Club Tools here. However, you will need to install two other packages via pip:

pip install tzlocal
pip install qdarkstyle

Running

As long as the installation directory for Python scripts is in your PATH, the program is run via the following:

lunar_club_tools.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lct, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size lct-0.4.0-py2-none-any.whl (161.3 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size lct-0.4.0.tar.gz (80.6 kB) File type Source Python version None Upload date Hashes View
Filename, size lct-0.4.0.win32-py2.7.exe (358.0 kB) File type Windows Installer Python version 2.7 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page