Metadata-Version: 2.1
Name: pysimepar
Version: 0.3
Summary: A python package to retrieve forecast data from SIMEPAR
Home-page: https://github.com/clyra/pysimepar
Author: Christian Lyra
Author-email: poplyra@gmail.com
Project-URL: Bug Tracker, https://github.com/clyra/pysimepar/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# pysimepar

This a is python package to retrieve forecast data from Simepar (www.simepar.br). Since this package
tries to webscrape information from simepar webpage, small changes to that webpage may
break the parsing.


## Install

You may install it using pip:

    pip install pysimepar

## Usage

Import the packge in your code and instantiate the PySimepar class with your city code:

    from pysimepar import PySimepar
    s = PySimepar(4106902)

To retrieve the forecast data, just call the update method. The current condition, hourly_forecast and daily 
forecast will be at the class data dictionary:

    s.update()
    print(s.data)
