Skip to main content

Precise solar and lunar calculations for astronomical applications

Project description

☀️🌙 solarmoonpy

License Version

Solar and moon calculations for Meteocat Home Assistant integration.

solarmoonpy is a Python library that provides accurate calculations of solar and lunar positions, specifically designed to integrate with Home Assistant and Meteocat data.

This project enables you to obtain information such as sunrise, sunset, moon phases, and more, for advanced automations in your home automation system.

🚀 Features

  • ☀️ Solar position calculations (sunrise, sunset, noon, etc.).
  • 🌙 Moon phase and position calculations.
  • Integration with meteorological data from Meteocat.
  • Compatible with Home Assistant for automations based on solar and lunar events.
  • Lightweight, easy to use, and well-documented.
  • Configurable for different geographic locations.

Project details


Download files

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

Source Distribution

solarmoonpy-1.0.4.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solarmoonpy-1.0.4-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file solarmoonpy-1.0.4.tar.gz.

File metadata

  • Download URL: solarmoonpy-1.0.4.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for solarmoonpy-1.0.4.tar.gz
Algorithm Hash digest
SHA256 17375e981863982b270c4eba3be09fadaa54701b1e6802ba81c7a4b8d2ee559a
MD5 f8d602cb730a086d9a41208844ec63da
BLAKE2b-256 0f1f4c65856434ece280398e9ead327e5f1c1b756688baa1d44c116b2715f566

See more details on using hashes here.

File details

Details for the file solarmoonpy-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: solarmoonpy-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for solarmoonpy-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5f431064822b0d4a3d9190751f327263ba921151219cffd1d33bd76d125c721c
MD5 645464831bd82cdadc5e114d8dab74f5
BLAKE2b-256 dcd2fa11d9a7edac791e8a7aad12f0f2ccf0cb11a7c044d9ac5d0c6066720c29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page