A python package to retrieve forecast data from SIMEPAR
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysimepar-0.5.tar.gz.
File metadata
- Download URL: pysimepar-0.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24864ad5aa91bd96373448f9df36a7da80c783ba162e223f4cbb07bb7e4b73ee
|
|
| MD5 |
dd9edf0317a3d9d648c8b3a5d39c667b
|
|
| BLAKE2b-256 |
b7b81bd7f4c9463f6f9923abb314b0d79aad3a8748841cbbbe5bdf32a5bc99ed
|
File details
Details for the file pysimepar-0.5-py3-none-any.whl.
File metadata
- Download URL: pysimepar-0.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b84b40bd4baf33a4fa120936ef7cee54ce842ea83f58ef9f4657ab6bbb8272
|
|
| MD5 |
70b183c6e89db95ebe1e66935e8cf03a
|
|
| BLAKE2b-256 |
8eb2e9a3a9c8860e2d1b2dae68848f9e331fd5bf3ab0316ac6ed1bcf679c1ad2
|