de.uke.iam.air-pollution
Collect air pollution measures from multiple APIs.
Example 1
Use data from the Umwelt Bundesamt (UBA)
from datetime import datetime
from air_pollution.uba import UBAClient
import polars as pl
client = UBAClient()
# plot hourly NO2 values measured at station 'DENW124' between January and February 2019
rsp = client.get_measures(
datetime(2019, 1, 1, 0, 0),
datetime(2019, 2, 1, 0, 0),
"DENW134",
5,
2
)
df = pl.DataFrame(rsp.data)
df.plot.line(x='date_start', y='value').properties(width=600)
Example 2
Use data from the Hamburger Luftmessnetz
Display monthly PM10 data.
import air_pollution.luftmessnetz as lmn
import polars as pl
client = lmn.LuftmessnetzClient()
res = client.get_component_data("pm10_1m")
res = pl.DataFrame(res)
res.plot.line(x='datetime', y='value', color='station').properties(width=800, height=400)
Metadata
Release files for air-pollution 0.2.2
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 |
|---|---|---|---|---|
| air_pollution-0.2.2.tar.gz | 12.4 kB | Without provenance | Details for air_pollution-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| air_pollution-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for air_pollution-0.2.2-py3-none-any.whl |
Total release size: 30.9 kB
Release files / air_pollution-0.2.2.tar.gz
| Download URL | air_pollution-0.2.2.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d081b5c1934e0d0f691994097622eef8f8f869e89d7f4246b718332cd4aea67
|
|
BLAKE2b-256 checksum How to use checksums |
87a6517df7a9246fc98cc036fe3be1e8cf1eb3b97a576abf052b9cf13ce8dfb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / air_pollution-0.2.2-py3-none-any.whl
| Download URL | air_pollution-0.2.2-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75159942efcda5f98e57fb72dfd2bd9261b5eb2f1019518edf1c16bf7a5e7dcd
|
|
BLAKE2b-256 checksum How to use checksums |
10ee447bd9fc57ceb40ae29eb34cfa1c2ec4f1b63499dbe1138df85d73fc7d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for air-pollution 0.2.2
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.