Metadata-Version: 2.1
Name: meteostat
Version: 0.1.1
Summary: Access and analyze historical weather and climate data with Python.
Home-page: https://github.com/meteostat/meteostat-python
Author: Meteostat
Author-email: info@meteostat.net
License: MIT
Description: # Meteostat Python Package
        The Meteostat Python library provides a simple API for accessing open weather and climate data. The historical observations and statistics are collected by the [Meteostat project](https://meteostat.net/en) from different public interfaces, most of which are governmental. Among the data sources are national weather services like the National Oceanic and Atmospheric Administration (NOAA) and Germany's national meteorological service (DWD).
        
        ## Installation
        The Meteostat Python package is available through [PyPI](https://pypi.org/project/meteostat/):
        ```
        pip install meteostat
        ```
        
        ## Documentation
        The Meteostat Python library is divided into multiple classes which provide access to the actual data.
        * [Weather Stations](https://github.com/meteostat/meteostat-python/wiki/Weather-Stations)
        * [Daily Data](https://github.com/meteostat/meteostat-python/wiki/Daily-Data)
        * [Hourly Data](https://github.com/meteostat/meteostat-python/wiki/Hourly-Data)
        * [Configuration](https://github.com/meteostat/meteostat-python/wiki/Configuration)
        * [Contributing](https://github.com/meteostat/meteostat-python/wiki/Contributing)
        
        ## Example
        Let's pretend you want to plot temperature data for Vancouver, BC from 2018:
        ```python
        # Import Meteostat library and dependencies
        from meteostat import Stations, Daily
        from datetime import datetime
        import matplotlib.pyplot as plt
        
        # Get closest weather station to Vancouver, BC
        stations = Stations(lat = 49.2497, lon = -123.1193)
        station = stations.fetch(1)
        
        # Get daily data for 2018 at the selected weather station
        data = Daily(station, start = datetime(2018, 1, 1), end = datetime(2018, 12, 31))
        data = data.fetch()
        
        # Plot line chart including average, minimum and maximum temperature
        data.plot(x = 'time', y = ['tavg', 'tmin', 'tmax'], kind = 'line')
        plt.show()
        ```
        Take a look at the expected output:
        ![2018 temperature data for Vancouver, BC](https://raw.githubusercontent.com/meteostat/meteostat-python/master/examples/daily/chart.png)
        
        ## Contributing
        Instructions on building and testing the Meteostat Python package can be found in the [documentation](https://github.com/meteostat/meteostat-python/wiki/Contributing). More information about the Meteostat bulk data interface can be found [here](https://dev.meteostat.net/bulk).
        
        ## Data License
        Meteorological data is provided under the terms of the [Creative Commons Attribution-NonCommercial 4.0 International Public License](https://creativecommons.org/licenses/by-nc/4.0/legalcode). Please be aware that Meteostat uses data which is shared under [WMO resolution 40](https://www.wmo.int/pages/prog/www/ois/Operational_Information/Publications/Congress/Cg_XII/res40_en.html).
        
        All meteorological data sources used by the Meteostat project are listed [here](https://meteostat.net/en/sources).
        
        ## Code License
        The code of this library is available under the [MIT license](https://opensource.org/licenses/MIT).
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
