-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,71 @@ | ||
# CLITemp | ||
# cli-weather | ||
|
||
A command line tool for getting complete weather data of a particular geographical area. | ||
Powered by WeatherBIT API brings all the emergency alerts, historic, current and forecasts of weather data right on the command line with simple commands! | ||
**cli-weather** is a command line app to get instant weather data based on city name or postalcode right on the command line. | ||
Written in python and powered by **WeatherBIT API**, cli-weather also provides detailed weather data on historic and 16 day forecasts basis and not just the temparature. | ||
|
||
Maintainer: Shree Vatsa N | ||
Email : i.mnshreevatsa@gmail.com | ||
With *cli-weather app* you can retrieve current weather observations from over **45,000** live weather stations using WeatherBIT API, and highly localized weather forecasts for any point on the globe using the world's most trusted weather models! | ||
|
||
Estimated date avalaibility on PyPI is 1/8/20 | ||
You can look up weather data by many methods including: | ||
- By entering city_name | ||
- By entering postal_code | ||
|
||
## Installation | ||
|
||
``` | ||
pip install cli-weather | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
cli-weather command [-h] [-c COUNTRY] [-u UNITS] [-d] city_name/postal_code | ||
``` | ||
|
||
|Command | Description | | ||
|----------------|-------------------------------| | ||
|city | Get weather by city name | | ||
|postalcode | Get weather by postal code | | ||
|
||
|Option | Description | | ||
|----------------|-------------------------------| | ||
|-c, --country | Country of entered area | | ||
|-u, --units | Metric, Scientific, Farenheit | | ||
|-d, --detailed | Display detailed weather data | | ||
|-h, --help | Show this message and exit | | ||
|
||
## Data sources | ||
|
||
* [weatherbit.io](https://weatherbit.io/) | ||
|
||
## Dependencies | ||
|
||
* [requests](http://docs.python-requests.org/en/latest/) >= 2.4 | ||
|
||
## Try without using pip | ||
|
||
``` | ||
Fork this repository | ||
$ git clone "https://github.com/username/cli-weather" | ||
$ cd cli_weather | ||
$ pip install -r requirements.txt | ||
$ python main.py [command] [options] | ||
``` | ||
|
||
## License | ||
|
||
GNU General Public License v3.0 | ||
|
||
**ver 0.1.1** | ||
|
||
3 - Alpha Test Release | ||
- Minor bug fixes in setup.py | ||
- Doc update in PyPIDocumentation.md | ||
|
||
**ver 0.1.0** | ||
|
||
3 - Alpha Test Release | ||
- Get weather by city | ||
- Get weather by postalcode | ||
- Change units according as you wish [Metric/Scientific/Farenheit] | ||
- Only temparature by default, detailed information from snowfall to solar radiation |