=============== epidatpy =============== This package provides Python access to the `Delphi Epidata API `_ published by the `Delphi research group `_ at `Carnegie Mellon University `_. The package source code and bug tracker can be found `on GitHub `_. .. note :: **You should consider subscribing** to the `API mailing list `_ to be notified of package updates, new data sources, corrections, and other updates. See also the `CMU Delphi Terms of Use `_, noting that the data is a research product and not warranted for a particular purpose. Installation =============== This package will soon be available on PyPI as `epidatpy `_. Meanwhile, it can be installed from GitHub: .. code-block:: sh pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy" API Keys =============== The Delphi Epidata API requires a (free) API key for full functionality. To generate your key, register for a pseudo-anonymous account `here `_ and see more discussion on the `general API website `_. The ``epidatpy`` client will automatically look for this key in the environment variable ``DELPHI_EPIDATA_KEY``. We recommend storing your key in a ``.env`` file, using `python-dotenv `_ to load it into your environment, and adding ``.env`` to your ``.gitignore`` file. Note that for the time being, the private endpoints (i.e. those prefixed with ``pvt``) will require additional permissions (contact us for more information). Documentation Contents =============== .. toctree:: :maxdepth: 1 getting_started signal_discovery versioned_data epidatpy