This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Weather from the command line, so cool!

Installation

pip install weather-cli

Configuration

weather-cli --setup

If you installed directly without using virtualenv, you have to use sudo to set it up.

You gonna need a Forecast.io API key, register here to obtain it. You have 999 API calls per day for free, enough to check the weather a couple of times a day.

You could add the latitude and logitude of the city you want to check the weather, just go to travelmath.com and search the city.

If you leave both numbers empty, the script will try to guess your location based on your public IP.

Usage

weather-cli [OPTION] [FORMAT]
Option Description
-n, –now Get current weather
-h, –hourly Get the next 24 hours weather
-f, –forecast Get the next days weather
–about About weather-cli
–info Check current configuration
–setup Run setup
–format [json] Output format
–help Show this message and exit.

Dependencies

Try it without installing

  • git clone git@github.com:faustocarrera/weather-cli.git
  • virtualenv env
  • source env/bin/activate
  • pip install -r requirements.txt
  • python weather/Weather.py –setup
  • python weather/Weather.py [OPTIONS] [FORMAT]
  • profit

License

MIT

Version history

ver 0.2.1
Replace python-geoip for geocoder library for a better geolocation
Enhace the setup process to be more descriptive
Add city name to config file
ver 0.1.12
add output data as json
ver 0.1.11
small fixes
add new short options -n -h -f
add about
add config info
check error on setup
ver 0.1.10
first beta version
ver 0.1.0
first alpha version
Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.12

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.11

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.10

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
weather-cli-0.2.1.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting