Skip to main content

Air quality data

A toolkit to retrieve, analyze and visualize data from a variety of air quality sensors.

The scripts include tools to

  • wrap the APIs of various data providers, including Civic Lab Brussels' InfluencAir project, the luftdaten.info project, madavi.de and irceline.be
  • represent sensors of those different providers as objects with a unified interface to make it easy to interact with them
  • retrieve sensor measurement data through API calls
  • cache those data
  • clean and combine the data
  • describe measurements statistically - individual sensors or groups to compare
  • plot measurement time series
  • find sensors that are geographically close to a point of interest or to other sensors

For usage examples, see the demo notebook.

Installation

To install airqdata from PyPI, run
pip install airqdata

A Python 3.5+ environment and several Python packages are required. When installing airqdata with pip, those dependencies will be installed automatically. Otherwise see requirements.txt and install_requirements.sh in this repository.

Legal

The scripts are licensed under the GPLv3.

Data made available by the luftdaten.info project are licensed under the Open Database License.

Data published by the Belgian Interregional Environment Agency (IRCEL/CELINE) are licensed under the Creative Commons Attribution 4.0 license.

Release files for airqdata 0.2

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

Source distribution (sdist)

Source distribution for airqdata 0.2
File Size Uploaded
airqdata-0.2.tar.gz 16.9 kB Details

Built distribution (wheel)

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

Total release size: 48.6 kB

Release files / airqdata-0.2.tar.gz

Download URL airqdata-0.2.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
53c5b2d363b8ec670c9544058e254f924d743dec13a4a0253a16d1b33deb2fc0
BLAKE2b-256 checksum
How to use checksums
0bbceff0d6c434fc99c113fc2c2c03cb68767efda9f9319d997da5d1754c3713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / airqdata-0.2-py3-none-any.whl

Download URL airqdata-0.2-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e235b0392bd82a0e375242646309be13988ab1993d5a314e855cb64661ca29a
BLAKE2b-256 checksum
How to use checksums
53299961d0afe04e57fb72505291c9b1f2347ca8da6cc411572f739f781b7027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

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