This release is a pre-release and may not be stable for production use.
We are now honing and automating these methods to develop Air Insights — a powerful suite of automated, open-source analyses designed to help users process large volumes of air quality measurements and provide answers to common, yet complex, questions like:
-
How severe is air pollution in my area?
-
Are certain locations or times more impacted?
-
What are the likely sources contributing to air pollution hotspots?
-
How has air quality in my area changed over time?
-
Are air quality improvement policies in my area working?
-
Are there areas that urgently require follow-up investigation or health alerts?
💡 Core Features
- Pollution Event Detection – Detect and flag measurements that are atypical for each monitor at different hours of the day with the
pollution_events()function and group them into regional and local pollution events to investigate - Trend Analysis – Quantify annual trends to help assess changes over time and understand whether air quality policies are working with the
annual_trends()function - Source Identification – Identify likely locations of upwind pollution sources using Air Tracker with the
source_area()function - Areas of Interest – Detect locations that repeatedly show unusual pollution patterns compared to the monitoring network as a whole with the
anomalous_sites()function
🕑 Coming Soon
- Data Audit – Assess AQ data quality, completeness, and reliability
- Visualizations – Use built-in visualizations to generate custom reports
- Reliability Improvements - Automated tests and improved logging
🗃️ Installation
The source code is currently hosted on GitHub at: https://github.com/edf-org/airinsights
Binary installers for the latest released version are available at the Python Package Index (PyPI).
# PyPI
pip install airinsights
📖 Documentation
Access documentation for each function using Python in your IDE of choice.
For example:
help(airinsights)
help(pollution_event)
📖 Examples
Example scripts using sample data are located in the examples folder on GitHub:
- Pollution event detection example
- Trend analysis example
- Areas of interest example
- Source identification example
Air Insights uses a configuration file to ensure your data can be parsed correctly. Set up instructions are also located in the examples folder.
License
Air Insights is licensed under the Apache License Version 2.0.
Metadata
Release files for airinsights 2026.10.12b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| airinsights-2026.10.12b0.tar.gz | 13.7 MB | Without provenance | Details for airinsights-2026.10.12b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airinsights-2026.10.12b0-py3-none-any.whl | Python 3 | none | any | Details for airinsights-2026.10.12b0-py3-none-any.whl |
Total release size: 13.7 MB
Release files / airinsights-2026.10.12b0.tar.gz
| Download URL | airinsights-2026.10.12b0.tar.gz |
|---|---|
| Size | 13.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d8aa9ed412ad3122dc864a9aa0d409f946fef8cd50001b2cdecaaa9bc873e5
|
|
BLAKE2b-256 checksum How to use checksums |
7165c83af0a83c2fdc6e231da49988c8d1efeee3689801bacfa8a261e3c5d907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / airinsights-2026.10.12b0-py3-none-any.whl
| Download URL | airinsights-2026.10.12b0-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d96e73b1b77b72c112b2fc0b9b26a75db6f8af36021dfb7764cdd0a27dbcab6b
|
|
BLAKE2b-256 checksum How to use checksums |
d491569d751c631ee7fd98e41588d96d9b00607a9a5da34fad2ce79b844a5aa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for airinsights 2026.10.12b0
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.