Skip to content

colebolebole/pyweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyWeather

PyWeather is a free and open-source piece of software that utilizes the OpenWeatherMap API to fetch weather information based on user input. Now with a GUI!

Prerequisites

Python

Requests (1.0 CLI)

Folium, pyqtwebengine, pyqt5 (2.0 & Up CLI)

Screenshots

image

image

image

image

Setup 1.0 - CLI

First install requests

pip install requests

2.0 & Up

pip install folium pyqtwebengine pyqt5

CLI

Then simply create a API key from this link.

Paste it in @ line 38

image


CLI 2.0 & Up

Create a API key from here

Paste @ line 12

image


Mobile Version: GUI

Create a API key from here

Paste @ line 137

Screenshot 2024-01-17 210218


Desktop Version: GUI

Create a API key from here

Paste @ line 153

Screenshot 2024-01-17 210211


Setup - GUI

  1. Choose Your Web Server:

Flexibility: You have the freedom to use various web server clients, including SiPyWeb and nginx. nginx on Windows: If you're using nginx on Windows, simply download the zip file from the releases, extract it, and run nginx.exe. It's that easy!

  1. Start the Server:

No extra steps: Once you've chosen your web server, just fire it up and you're ready to go. API Key:

Free public key: A free public API key is conveniently pre-installed, so you can start using the service right away. Customization: If you prefer to use your own API key, you can easily create one at openweathermap.org/appid That's it! With these simple steps, you'll be up and running in no time.

Don't want to use an API Key?

Get a release that already has one!

https://github.com/colebolebole/openweather/releases/tag/pyweather