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: about 1 year ago
JSON representation
Get the Weather Report with Python and Flask using Geolocation.
- Host: GitHub
- URL: https://github.com/brandon-wallace/simpleweatherreport
- Owner: brandon-wallace
- Created: 2020-03-24T16:46:53.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T01:30:49.000Z (over 3 years ago)
- Last Synced: 2024-11-06T15:46:07.482Z (over 1 year ago)
- Topics: flask, geolocation, geopy, python, python3, weather, weather-report
- Language: Python
- Homepage: http://yourweather.tk
- Size: 3.89 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# A weather report application build with Python, Flask, and Geopy.


# 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