Skip to main content

airpatrol

Python package for interacting with AirPatrol devices.

Installation

pip install airpatrol

Usage

from airpatrol.api import AirPatrolAPI
import asyncio
from aiohttp import ClientSession

async def main():
    async with ClientSession() as session:
        api = await AirPatrolAPI.authenticate(session, 'your@email.com', 'password')
        devices = await api.get_devices()
        print(devices)

asyncio.run(main())

Development

  • Clone the repo
  • Install dependencies: pip install -r requirements.txt
  • Run tests: pytest

License

MIT License

Metadata

Release files for airpatrol 0.1.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 airpatrol 0.1.0
File Size Uploaded Provenance Actions
airpatrol-0.1.0.tar.gz 7.0 kB Without provenance Details for airpatrol-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / airpatrol-0.1.0.tar.gz

Download URL airpatrol-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
342444101dea047cf63ed1e429f0ce9b4efeee47860966443df037a20275a3a7
BLAKE2b-256 checksum
How to use checksums
ba18c8664efbc51df156193fca3dcd25e2020dbe4b48011df5d1b4f852e506e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release files / airpatrol-0.1.0-py3-none-any.whl

Download URL airpatrol-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc0983068680fd01bcc104510a8adc4bd6292c00cbfa2ec2bbc374cd49a3f6a6
BLAKE2b-256 checksum
How to use checksums
087f8831f8f0678c4bc6a6c9483992852af58230dcf5e1bb84c5a6ce1387ff62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Security for airpatrol 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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