Skip to content

Astroweather is a playful yet insightful Python tool designed for astronomy enthusiasts and casual stargazers alike. It fetches real-time weather data to evaluate the observability of the night sky based on specified location and date.

License

Notifications You must be signed in to change notification settings

lucas-jammes/Astroweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Astroweather 🌌🔭

Overview 🌠

Astroweather is a playful yet insightful Python tool designed for astronomy enthusiasts and casual stargazers alike. It fetches real-time weather data to evaluate the observability of the night sky based on specified location and date.

Key Features 🚀

  • Real-time weather data retrieval for any city.
  • Hourly weather breakdown.
  • Custom Sky Observability Score for stargazing conditions.
  • Moon phase representation with emojis.
  • Easy-to-use interactive prompts.

Technology Stack 💻

  • Python
  • Requests library
  • Visual Crossing Weather API

Installation 🛠️

  1. Clone the repository.
  2. Install Python
  3. Install necessary packages:
pip install requests
  1. Set your Visual Crossing Weather API key as an environment variable named API_KEY.

Usage 🌟

To use Astroweather:

  1. Run python src/main.py in your terminal.
  2. Enter the city name when prompted.
  3. Optionally, provide a date in DD-MM-YYYY format. If left blank, today's date is used.
  4. The program will display weather data along with the Sky Observability Score for night hours.

Contributing 🤝

Contributions are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

License 📜

This project is open-sourced under the MIT License.

About

Astroweather is a playful yet insightful Python tool designed for astronomy enthusiasts and casual stargazers alike. It fetches real-time weather data to evaluate the observability of the night sky based on specified location and date.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages