Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Asynchronous library to retrieve data from PEGELONLINE.
:warning: this is in early development state :warning:
breaking changes may occure at every time
pip install aiopegelonline
import asyncio
import aiohttp
from aiopegelonline import PegelOnline
async def main():
async with aiohttp.ClientSession() as session:
pegelonline = PegelOnline(session)
stations = await pegelonline.async_get_all_stations()
for uuid, station in stations.items():
print(f"uuid: {uuid} name: {station.name}")
if __name__ == "__main__":
asyncio.run(main())
import asyncio
import aiohttp
from aiopegelonline import PegelOnline
async def main():
async with aiohttp.ClientSession() as session:
pegelonline = PegelOnline(session)
measurements = await pegelonline.async_get_station_measurements("70272185-b2b3-4178-96b8-43bea330dcae")
for name, data in measurements.as_dict().items():
if data is None:
print(f"{name} not provided by measurement station")
else:
print(f"{name}: {data.value} {data.uom}")
if __name__ == "__main__":
asyncio.run(main())
You like my work?
FAQs
Asynchronous library to retrieve data from PEGELONLINE.
We found that aiopegelonline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.