Metadata-Version: 2.0
Name: openweathermap-cli
Version: 1.1.1
Summary: A openweathermap command line program in Python.
Home-page: https://github.com/aziezahmed/openweathermap-cli
Author: Aziez Ahmed Chawdhary
Author-email: aziezahmed@gmail.com
License: MIT License
Keywords: cli,weather
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: docopt
Requires-Dist: pyowm
Requires-Dist: tabulate
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'

openweathermap-cli
==================

|PyPI version|

*A command line application for displaying weather details, written in Python.*

Getting Started
---------------

Prerequisites
~~~~~~~~~~~~~

-  `Python`_

Installing
~~~~~~~~~~

Openweathermap-cli is on `PyPi`_ so it can be installed with pip.

.. code-block:: bash

    $ pip install openweathermap-cli

To upgrade use the -U flag.

.. code-block:: bash

    $ pip install -U openweathermap-cli

Adding your API key
~~~~~~~~~~~~~~~~~~~

To begin you will need to add your API key. If you do not have an API key you can get one free from `Open Weather Map`_.

.. code-block:: bash

  $ weather api YOUR00API00KEY00GOES00HERE

Using openweathermap-cli
~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: bash

    Usage:
      weather
      weather week
      weather -h | --help
      weather --version

Get today's weather forecast

.. code-block:: bash

    $ weather

Get the week's weather forecast

.. code-block:: bash

    $ weather week

Example
~~~~~~~

Get today's weather details

.. code-block:: bash

    $ weather 
    +-----------------------+------------+
    | City of Westminster   |            |
    |-----------------------+------------|
    | Temperature           | 10.45      |
    | Temp Max              | 12.0       |
    | Temp Min              | 9.0        |
    | Summary               | Rain       |
    | Detail                | light rain |
    | Sunrise               | 07:05:26   |
    | Sunset                | 17:23:52   |
    +-----------------------+------------+


Built With
----------

-  `skele-cli`_
-  `Open Weather Map`_

Authors
-------

-  `Aziez Ahmed Chawdhary`_

License
-------

This project is licensed under the MIT License

.. _Open Weather Map: http://openweathermap.org/
.. _Python: https://www.python.org
.. _PyPi: https://pypi.python.org/pypi
.. _skele-cli: https://github.com/rdegges/skele-cli
.. _Aziez Ahmed Chawdhary: https://github.com/aziezahmed
.. |PyPI version| image:: https://img.shields.io/pypi/v/openweathermap-cli.svg
   :target: https://pypi.python.org/pypi/openweathermap-cli


