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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for covidactnow-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1d0ef2c5ab2c0196edb27ae7d89d27c91cddfae245c0eb7a2590be3a28079b |
|
MD5 | 3a5d909cdd3cb4edd217fe716b87e209 |
|
BLAKE2b-256 | 474f42d523b116ea0fcc911f2c6f939b60f1e393652e6098c53be986bada1c2e |