Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

GitHub Release PyPI PyPI - Downloads Buy me a coffee PayPal_Me

zadnegoale

Python wrapper for getting allergen concentration data from Żadnego Ale

How to use package

import asyncio
import logging

from aiohttp import ClientError, ClientSession

from zadnegoale import ApiError, InvalidRegionError, ZadnegoAle

REGION = 2

logging.basicConfig(level=logging.DEBUG)


async def main():
    async with ClientSession() as websession:
        try:
            zadnegoale = ZadnegoAle(websession, REGION)
            data = await zadnegoale.async_update(alerts=True)

        except (ApiError, ClientError, InvalidRegionError) as error:
            print(f"Error: {error}")
        else:
            print(f"Region: {zadnegoale.region_name}")
            print(f"Data: {data}")


loop = asyncio.new_event_loop()
loop.run_until_complete(main())
loop.close()

Metadata

Release files for zadnegoale 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zadnegoale 0.7.0
File Size Uploaded Provenance Actions
zadnegoale-0.7.0.tar.gz 9.2 kB Without provenance Details for zadnegoale-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zadnegoale 0.7.0
File Interpreter ABI Platform Actions
zadnegoale-0.7.0-py3-none-any.whl Python 3 none any Details for zadnegoale-0.7.0-py3-none-any.whl

Total release size: 18.4 kB

Release files / zadnegoale-0.7.0.tar.gz

Download URL zadnegoale-0.7.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a7f3cea3bf978c7edbd24a114d459bc7735447a54da3ffbd270f038042f8f747
BLAKE2b-256 checksum
How to use checksums
a42e1c3ce5c4522404ec2983dc6d5dcf09c08f98baab46fddf3f451ac71c7851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / zadnegoale-0.7.0-py3-none-any.whl

Download URL zadnegoale-0.7.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae2ebbeb7d1d9fca49aee1906798b2db6c89a230787f9340d5b9c0759dda64bc
BLAKE2b-256 checksum
How to use checksums
5c4d5ef0d0058ec30db57ecdf854ff5302ab6ddd36a316b32d82716ff240c461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for zadnegoale 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page