Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brandon-wallace/simpleweatherreport

Get the Weather Report with Python and Flask using Geolocation.
https://github.com/brandon-wallace/simpleweatherreport

flask geolocation geopy python python3 weather weather-report

Last synced: 6 days ago
JSON representation

Get the Weather Report with Python and Flask using Geolocation.

Awesome Lists containing this project

README

        

# A weather report application build with Python, Flask, and Geopy.

![screenshot_mobile](application/static/images/screenshot_mobile.png)
![screenshot](application/static/images/screenshot.png)

# Requirements
```
Python 3
Flask
Requests
Geopy
```

# Clone repository
```
$ git clone https://github.com/brandon-wallace/simpleweatherreport.git

$ cd simpleweatherreport/
```

# Create a .env file
```
$ vim .env
# Add these 4 lines.

FLASK_APP=run.py
FLASK_ENV=development
SECRET_KEY=
OWM_API_KEY=
```

# Install requirements
```
$ pipenv install
```

# Start application
```
$ flask run
```

# Browse to address:

http://127.0.0.1:5000