Skip to main content

aqipy

A python client for aqms.doe.ir (Iran's AQI measuring system)

installation

install using:

pip install aqms-iran

examples

fetch city data:

import aqipy

client = aqipy.AQIClient()
data = client.fetch_city_aqi_data('مشهد')
# or data = client.fetch_city_aqi_data('mashhad', names_are_farsi=False)

print(data)

fetch station data

import aqipy

client = aqipy.AQIClient()
data = client.fetch_all_stations()

station = 'دورود'
data = list(
    filter(
        lambda x: station in x['S'].strip(),
        data
    )
)[0]

print(data)

Metadata

Release files for aqms-iran 0.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 aqms-iran 0.0.2
File Size Uploaded Provenance
aqms_iran-0.0.2.tar.gz 28.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aqms-iran 0.0.2
File Interpreter ABI Platform
aqms_iran-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 56.3 kB

Release files / aqms_iran-0.0.2.tar.gz

Download URL aqms_iran-0.0.2.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
500754d4304875178c5b96ba96346800d980a37a1e1a35ad4e66e6a475a5be04
BLAKE2b-256 checksum
How to use checksums
4ab3b552ea2b98d7bed7fc27c764780d0244288476f275bf4679984a4645ad21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / aqms_iran-0.0.2-py3-none-any.whl

Download URL aqms_iran-0.0.2-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a004c1a8c6f490e3ab10ce7d4121621e529ed39a065de3c7f11b1e7e4c54bb78
BLAKE2b-256 checksum
How to use checksums
316f49b193275a4ea88c423a9c874ca6d0bf952ac2a3f6ece17a87de50332f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for aqms-iran 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.2 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