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.1.tar.gz (3.8 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.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: air-quality-index-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 441a9e1800b28894840dc49984372cd62682b3ae522eb4b2e69e4794ad578121
MD5 5bac34497f20e3f1168485ed7eae3f79
BLAKE2b-256 eab2a286e449135766e5ffc7bbb9a68b4bd7b4bef64690c79608945e1de91f1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: air_quality_index-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7809b001c5cf33b7ea8806c7a3921d0a244cf8452a011503a31df96ae096ef3f
MD5 693f63f787985248b54bab18b7cc8dab
BLAKE2b-256 7a8a028ecbc3e486dc414b413017703245ba675765d4901386201d6e02931d4e

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