Metadata-Version: 2.1
Name: pyipma
Version: 1.1.4
Summary: Python library to retrieve information from Instituto Português do Mar e Atmosfera.
Home-page: https://github.com/dgomes/pyipma
Author: Diogo Gomes
Author-email: diogogomes@gmail.com
License: MIT License
Description: [![PyPI version](https://badge.fury.io/py/pyipma.svg)](https://badge.fury.io/py/pyipma)
        
        # pyipma
        Python library to retrieve information from [Instituto Português do Mar e Atmosfera](http://www.ipma.pt)
        
        ## Requirements
        - aiohttp
        - geopy
        
        ## Example
        
        ```python
        import asyncio
        import aiohttp
        
        from pyipma import Station 
        
        async def main():
            async with aiohttp.ClientSession() as session:
                station = await Station.get(session, 40.61,-8.64)
                print("Nearest station is {}".format(station.local))
                print("Current Weather:")
                print(await station.observation())
                print("Next days:")
                for forecast in await station.forecast():
                    print(forecast)
        
        asyncio.get_event_loop().run_until_complete(main())
        ```
        
        ## Credits
        Values are obtained from [IPMA](http://api.ipma.pt)
        
        ## Copyright
        
        (C) 2018 Diogo Gomes <diogogomes@gmail.com> 
        
Platform: any
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
