https://github.com/andriisoldatenko/datarobot
Homework Assignment: Today's Weather
https://github.com/andriisoldatenko/datarobot
Last synced: 2 months ago
JSON representation
Homework Assignment: Today's Weather
- Host: GitHub
- URL: https://github.com/andriisoldatenko/datarobot
- Owner: andriisoldatenko
- Created: 2015-09-18T19:11:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-19T05:53:29.000Z (over 9 years ago)
- Last Synced: 2025-02-04T19:45:27.061Z (4 months ago)
- Language: Python
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Homework Assignment: Today's Weather
====================================The program should retrieve and display current weather conditions,
using a supplied IP address to look up the location data. If no address
is provided, use the user's public IP address. It should have a CLI, with
any flags and parameters deemed appropriate. It should be a tool that
others can easily use and modify.The program should be written in Python, and should run on Python 2.7.3.
You may use third party libraries from PyPI, but if so you must include
a `requirements.txt` file.### How to use
#### Install requirements```
pip install -r requirements.txt
```#### Run weather now
```
python weather.py
Today it's 63° ☀ and sky is clear
```#### or with ip address
```
python weather.py -ip 17.0.0.0
```