$npx skillfedfor your agent

pyairvisual

A simple API for AirVisual air quality data

Worth itPyPI InternetReleased Dec 202374.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyairvisual-2023.12.0-py3-none-any.whl
v2023.12.0 · released 2023-12-18 · Python >=3.10,<4.0 · 7 runtime deps: aiohttp, certifi, frozenlist, numpy, pygments, pysmb, yarl

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean async interface to AirVisual data. Install it if you need to integrate air quality lookups into a Python application and already have or can obtain an AirVisual API key. No known vulnerabilities as of August 2026.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid AirVisual API key (available from the AirVisual API site); async/await syntax requires Python 3.10+.
  • Low install friction with a pure-Python wheel.
  • Actively maintained as of August 2026 with recent commits; supported on Python 3.10, 3.11, and 3.12.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2023-12-18 (970 days) · last repo commit 2026-08-09 · 10 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,962 downloads/mo, #14,897 on PyPI

Verify before relying

pip install pyairvisual

import asyncio
from pyairvisual.cloud_api import CloudAPI

async def main():
    cloud_api = CloudAPI("<YOUR_AIRVISUAL_API_KEY>")
    data = await cloud_api.air_quality.nearest_city()
    print(data)

asyncio.run(main())
  • Whether the library supports all current AirVisual API endpoints or only a subset of the documented API.
  • Performance characteristics when pooling connections across many concurrent requests.
  • Whether Node/Pro unit Samba access works reliably across different network configurations.
Same gist for agents: .md · .json

What it is and what it does

pyairvisual is an async Python client for the AirVisual air quality API. It wraps the AirVisual service to let you query air quality data by city, station, or geographic coordinates, and retrieve supported locations and global rankings depending on your API plan tier (Community, Startup, or Enterprise). The library uses aiohttp for HTTP requests and supports connection pooling via a ClientSession for efficiency.

It also supports direct queries to AirVisual Node/Pro air quality monitoring units, either through the cloud API or over the local network via Samba. The library is async-first, requiring asyncio patterns for all operations, and targets Python 3.10 and later.

Use it for

  • Fetch current air quality metrics for a specific city or geographic location in an async application.
  • Query the nearest air quality station or city based on latitude/longitude coordinates.
  • Retrieve air quality history and trends from a local Node/Pro monitoring unit over Samba.
  • Build a dashboard or alert system that polls multiple cities or stations concurrently using connection pooling.
  • List supported countries, states, and cities to populate location selectors in a web or mobile app.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean async interface to AirVisual data. Install it if you need to integrate air quality lookups into a Python application and already have or can obtain an AirVisual API key. No known vulnerabilities as of August 2026.

Install

pyairvisual on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained as of August 2026 with recent commits; supported on Python 3.10, 3.11, and 3.12.

Requires a valid AirVisual API key (available from the AirVisual API site); async/await syntax requires Python 3.10+.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install pyairvisual

import asyncio
from pyairvisual.cloud_api import CloudAPI

async def main():
    cloud_api = CloudAPI("<YOUR_AIRVISUAL_API_KEY>")
    data = await cloud_api.air_quality.nearest_city()
    print(data)

asyncio.run(main())

Verify before relying

  • Whether the library supports all current AirVisual API endpoints or only a subset of the documented API.
  • Performance characteristics when pooling connections across many concurrent requests.
  • Whether Node/Pro unit Samba access works reliably across different network configurations.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
aiohttpcertififrozenlistnumpypygmentspysmbyarl
MaintenanceActively maintained 970 days since the last release
Last repo commit
First released
Downloads73,962 / month, #14,897 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: pyairvisual-2023.12.0-py3-none-any.whl

Tags

Capabilities
air quality data apiairvisual python clientasync air quality lookupaqi retrieval libraryenvironmental monitoring apilocation-based air qualitystation air quality data
Topics
air-qualityasync-httpenvironmental-data

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “air quality data api”

  • pyairvisualA thin async Python wrapper for the AirVisual API to retrieve air…
  • giosFetches real-time air quality measurements from GIOŚ (Polish…
  • pyairnowA thin async Python client for the EPA AirNow Air Quality Index API,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also aioairq · gios · pyairnow · simplisafe-python · PyRMVtransport · imgw-pib · aioambient · nettigo-air-monitor · aiorecollect · pytrafikverket