Skip to main content

A wrapper allowing users to get specific state-based COVID information from the Covid Act Now database.

Project description

Covid Act Now Python Wrapper

This package is an extremely simple wrapper around Covid Act Now's database of COVID-19 related information.

Usage is simple. Install the package with pip install covidactnow.

import covidactnow

api = covidactnow.User(api_key = 'yourapikey')

washingtonInfectionRate = api.infRate('WA')
massachussettsVaxRate = api.vaxRate('MA')

print(f"{washingtonInfectionRate = }")
print(f"{massachussettsVaxRate = }")

This will result (with different data, of course):


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

covidactnow-1.0.20.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

covidactnow-1.0.20-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file covidactnow-1.0.20.tar.gz.

File metadata

  • Download URL: covidactnow-1.0.20.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for covidactnow-1.0.20.tar.gz
Algorithm Hash digest
SHA256 56e4a309ae165475218bfca7d99b6080b9ecd1b36ed73623634474a235bffcac
MD5 80625f5883ad73566d17d03729c1259e
BLAKE2b-256 06f1c51ebb62447b091ab97b07222bc300eecec112b2aeb0282bc85ee3c6cfd1

See more details on using hashes here.

File details

Details for the file covidactnow-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: covidactnow-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for covidactnow-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1d0ef2c5ab2c0196edb27ae7d89d27c91cddfae245c0eb7a2590be3a28079b
MD5 3a5d909cdd3cb4edd217fe716b87e209
BLAKE2b-256 474f42d523b116ea0fcc911f2c6f939b60f1e393652e6098c53be986bada1c2e

See more details on using hashes here.

Supported by

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