Skip to main content

Download air quality index data from AirNow

Project description

Download air quality index data from AirNow

Installation

$ pipenv install air_quality_index

Command-line usage

Usage: airqualityindex [OPTIONS] COMMAND [ARGS]...

  A command-line interface for downloading wildfire data from NASA
  satellites.

  Returns GeoJSON.

Options:
  --help  Show this message and exit.

Commands:
  air-quality  Download a GeoJSON of air quality index from AirNow

Download a GeoJSON of air quality index from AirNow.

$ air_quality_index modis

Python usage

Import the library.

>>> import air_quality_index

Download a GeoJSON of air quality index from AirNow. Returns GeoJSON.

>>> data = air_quality_index.get_air_quality()

Contributing

Install dependencies for development.

$ pipenv install --dev

Run tests.:

$ make test

Shipping new version to PyPI.

$ make ship

Developing the CLI

The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.

$ pip install --editable .

AirNow API Usage

In order to use this package, you’ll need to obtain an API key from AirNow and set it as a variable in your environment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

air-quality-index-0.0.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

air_quality_index-0.0.4-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file air-quality-index-0.0.4.tar.gz.

File metadata

  • Download URL: air-quality-index-0.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for air-quality-index-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fd2b2e72038f8bf9dc66e16efc1a030b7455f28f044d350efbc5072d000f69cd
MD5 6d7231e4d4290b6688256001b8fda38f
BLAKE2b-256 4c47cf481aace04655131c9b31a1753ddc59113bb9944cb82805bc7ffa12f8bb

See more details on using hashes here.

File details

Details for the file air_quality_index-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: air_quality_index-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for air_quality_index-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b64cb3e5e8d190e7b56d69d9422ca85b327fcad64fd602e79c1a6d1ef7aa456e
MD5 1ada68ffaa4335a09e94ac3a7aec5a63
BLAKE2b-256 58b642e8de7af4562ce583ad90c3db542b136d7608087be13f093f549052c5da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page