Skip to main content

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

Release files for lunation 0.0.3

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

Source distribution (sdist)

Source distribution for lunation 0.0.3
File Size Uploaded
lunation-0.0.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lunation 0.0.3
File Interpreter ABI Platform
lunation-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / lunation-0.0.3.tar.gz

Download URL lunation-0.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9e6ffe964d8f19c021a56372d5e11d1887357cf670f9d5af877d8b7198c0aff0
BLAKE2b-256 checksum
How to use checksums
00dbefe21d387ff35b9bf0a70c16cbb37e45e1183680b1936e35f22f668a8a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / lunation-0.0.3-py3-none-any.whl

Download URL lunation-0.0.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a241539c6d20ae134d7bfa04643da50c179c819acfd6ca542810b17926ffc70
BLAKE2b-256 checksum
How to use checksums
f04992ef1764caf15f181e3663bae655757e1b1227a43a44ab519899202e8cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 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