python package for lunar information
Project description
lunation
lunation is a python library for lunar and solar information
Lunar Usage:
:
from lunation.main import myMoon
# create instance of myMoon
moon = myMoon()
# functions
phase = moon.get_lunar_phase() # returns lunar phase
age = moon.get_lunar_age() # returns lunar age
percent = moon.get_lunar_age_percent() # returns percent of lunar age
The library can also be used to calculate distance from the sun
Solar Usage:
from lunation.sun import Sun
# instance of Sun
sun = Sun()
distance = sun.solardistance() # returns solar distance in astronomical units
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
lunation-0.0.3.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file lunation-0.0.3.tar.gz
.
File metadata
- Download URL: lunation-0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6ffe964d8f19c021a56372d5e11d1887357cf670f9d5af877d8b7198c0aff0 |
|
MD5 | 909d336d23f346eaf719811bb6a60faa |
|
BLAKE2b-256 | 00dbefe21d387ff35b9bf0a70c16cbb37e45e1183680b1936e35f22f668a8a81 |
File details
Details for the file lunation-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: lunation-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a241539c6d20ae134d7bfa04643da50c179c819acfd6ca542810b17926ffc70 |
|
MD5 | 995ad355257476dd219777670c226fbd |
|
BLAKE2b-256 | f04992ef1764caf15f181e3663bae655757e1b1227a43a44ab519899202e8cbe |