Skip to content

Commit

Permalink
PyPI v0.1.5 4 Beta Limited Use Release
Browse files Browse the repository at this point in the history
Signed-off-by: vatsa287 <i.mnshreevatsa@gmail.com>
  • Loading branch information
vatsa287 committed Aug 3, 2020
1 parent 6a97233 commit 20766d4
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 7 deletions.
112 changes: 105 additions & 7 deletions cli_weather.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Metadata-Version: 2.1
Name: cli-weather
Version: 0.1.4
Version: 0.1.5
Summary: Lightweight command line app to get fast weather data right on the command line
Home-page: https://github.com/vatsa287/cli-weather
Author: Shree Vatsa N
Author-email: i.mnshreevatsa@gmail.com
License: GPL 3.0
Description: # cli-weather

**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 also detailed air quality information.
**cli-weather** is a command line app to get instant real-time weather data by city name or postalcode from any corner on earth right on the command line.
Written in python and powered by **WeatherBIT API**, cli-weather also provides detailed weather data, air-quality data and forecasts for next 7 days with 24 hour intervals for weather and 3 days forecast with 12 hour intervals for air-quality.

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!
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 such as GFS 13km, ECMWF, DWD 6.5km ICON-Europe, and NOAA 3km HRRR.!

You can look up weather data by many methods including:
- By entering city_name
Expand All @@ -25,6 +25,7 @@ Description: # cli-weather

## Usage

> cli-weather requires [pip](pip.pypa.io) python package manager to install.
```
cli-weather command [-h] [-c COUNTRY] [-a] [-u UNITS] [-d] [-f] city_name/postal_code
```
Expand All @@ -43,6 +44,52 @@ Description: # cli-weather
|-d, --detailed | Display detailed weather data |
|-h, --help | Show this message and exit |

## Example

- Get current weather. Displays current temprature
```
$ cli-weather city bengaluru
```

- Get detailed current weather. Displays wide of range of weather data from snowfall to solar radiation (--detailed or -d)
```
$ cli-weather city delhi -d
```

- Get weather forecast for next 7 days with 24 hour interval (--forecast or -f)
```
$ cli-weather city mumbai -f
```

- Get current air quality. Displays current Air Quality Index and its associated category (--airquality or -a)
```
$ cli-weather city kolkata -a
```

- Get detailed current air quality. Displays concentration of various polloutants and health risk status (--detailed --airquality or -d -a)
```
$ cli-weather city sydney -da
```

- Get airquality forecast for next 3 days with 12 hour interval (--airquality --forecast or -a -f)
```
$ cli-weather city paris -af
```

- cli-weather supports three diffrent units namely Metric(default), Scientific and Farenheit) which can be specified using --units or -u)
```
$ cli-weather city singapore -u F
```
> Displays the temprature in Farenheit

|Units | Extensions |
|----------------|-------------------------------|
|M | Celcius, m/s, mm |
|S | Kelvin, m/s, mm |
|F | F, mph, in |

> Note: In order to have postalcode as a mode of of input replace city with postalcode and enter known postalcode.

## Data sources

* [weatherbit.io](https://weatherbit.io/)
Expand All @@ -62,9 +109,15 @@ Description: # cli-weather

```

## License
## Version History

**ver 0.1.5**

GNU General Public License v3.0
4 - Beta Limited Use Release
- Introduced new feature to support airquality forecast for next 3 days with 12 hours intervals when used in conjunction with -a and -f which stands for --airquality and --forecast respectively.
- Able to provide key data like aqi and its associated category,concentration of surface no2,so2,co and concentration of particulate matters.
- Introduced --version and --about to provide the version of PyPI package and description of the project.
- Almost production ready, if General API is upgraded since it does not server more than 1 simultaneous HTTPS response.

**ver 0.1.4**

Expand Down Expand Up @@ -104,8 +157,53 @@ Description: # cli-weather
- Change units according as you wish [Metric/Scientific/Farenheit]
- Only temparature by default, detailed information from snowfall to solar radiation using -d

## License

![License](https://img.shields.io/badge/%20licence-%20GNU%20V3.0-yellow)

- **[GNU License](https://img.shields.io/badge/%20licence-%20GNU%20V3.0-yellow)**
- Copyright 2020 © <a href="https://github.com/vatsa287/cli-weather/blob/master/LICENSE" target="_blank">General Public Licence v3.0</a>.

## Reaching Out

<hr>
<p align="center">
<i>You can connect with me here!</i>
<p align="center">
<a href="https://twitter.com/vasta287" alt="Twitter"><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/twitter.svg"/></a>
<a href="https://www.linkedin.com/in/vatsa287" alt="Linkedin"><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg" /></a>
<a href="https://github.com/vatsa287" alt="GitHub"><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/github.svg" /></a>
<a href="https://medium.com/@shreevatsan" alt="Medium"><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/medium.svg" /></a>
</p>
</p>
<hr>


## Support the project

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
this takes time. You can use this service for free.

However, if you are using this project and happy with it or just want to encourage me to continue creating stuff, there are few ways you can do it :-

- Starring and sharing the project :rocket:
- You can donation via BuyMeACoffee. I'll probably buy a ~~coffee~~ tea. :tea:
<a
href="https://www.buymeacoffee.com/vatsa287">
<img
src="https://cdn.buymeacoffee.com/buttons/default-orange.png"
alt="Buy Me A Coffee" width="150" height="30" >
</a>

Thanks!

---

Contributions are welcomed!


Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Utilities
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Expand Down
1 change: 1 addition & 0 deletions cli_weather.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ README.md
setup.py
cli_weather/__init__.py
cli_weather/airquality_data.py
cli_weather/airquality_forecast_data.py
cli_weather/get_by_city.py
cli_weather/get_by_postalcode.py
cli_weather/main.py
Expand Down

0 comments on commit 20766d4

Please sign in to comment.