Skip to main content
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

Release files for lct 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lct 0.4.0
File Size Uploaded
lct-0.4.0.tar.gz 80.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for lct 0.4.0
File Interpreter ABI Platform
lct-0.4.0.win32-py2.7.exe Details
lct-0.4.0-py2-none-any.whl Python 2 none any Details

Total release size: 599.9 kB

Release files / lct-0.4.0.tar.gz

Download URL lct-0.4.0.tar.gz
Size 80.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8a5f001db4505be905aa4c2487695416bcf8db6169180aebfd8a42c132c14e19
BLAKE2b-256 checksum
How to use checksums
18ef5bcaba1cd77e76ba63723da241ebb6a8b4317e15daf419fdecfe2583fe1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lct-0.4.0.win32-py2.7.exe

Download URL lct-0.4.0.win32-py2.7.exe
Size 358.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7fd9f4ef3d46152b66f7ac8a3f1e89d45f0f57db5b83a4102a9ed7c7362666f8
BLAKE2b-256 checksum
How to use checksums
d269892f836f93b05b7abb845d56a1937ba635a2e1c4ac9287acdc7af477d09f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lct-0.4.0-py2-none-any.whl

Download URL lct-0.4.0-py2-none-any.whl
Size 161.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a898d8d0d1dadb4915329b694bb99073c7327e4342b0ea99c03941e41f2882de
BLAKE2b-256 checksum
How to use checksums
972cd1cd57fc52325e690bb41c3db07ef33c757747775c6e6ca73e1435828245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page