Python library to retrieve information from Instituto Português do Mar e Atmosfera.
Project description
pyipma
Python library to retrieve information from Instituto Português do Mar e Atmosfera
Requirements
- aiohttp
- BeautifulSoup4
- geopy
Example
import asyncio
from pyipma import *
async def main():
async with aiohttp.ClientSession() as session:
station = await Station.get(session, 40.6147336,-8.6424433)
print("Nearest station if {}".format(station.local))
print(await station.forecast())
print(await station.observation())
if __name__ == "__main__":
asyncio.get_event_loop().run_until_complete(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyipma-1.0.1.tar.gz
(3.0 kB
view details)
File details
Details for the file pyipma-1.0.1.tar.gz
.
File metadata
- Download URL: pyipma-1.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9dd3ef8ca08a25b6d5d1f415f4d0745fff595b19c4ea77b402206c699bc6df7 |
|
MD5 | c6d894d6123903d79af97ac0051dba03 |
|
BLAKE2b-256 | 9fc58f2e030336ed9004cfd49d772fe211ace0b8ad3849c7f9e899bae96e6202 |