python-elections

A Python wrapper for the AP's U.S. election data service.


License
Other
Install
pip install python-elections==1.1.3

Documentation

   _
  (_)
 <___>
  | |______
  | |* * * )
  | | * * (_________
  | |* * * |* *|####)
  | | * * *| * |   (________________
  | |* * * |* *|####|##############|
  | | * * *| * |    |              |
  | |* * * |* *|####|##############|
  | |~~~~~~| * |    |              |
  | |######|* *|####|##############|
  | |      |~~~'    |              |
  | |######|########|##############|
  | |      |        |              |
  | |######|########|##############|
  | |~~~~~~|        |              |
  | |      |########|##############|
  | |      '~~~~~~~~|              |
  | |               |##############|
  | |               '~~~~~~~~~~~~~~~
  | |
  | |      PYTHON-ELECTIONS
  | |
  | |

A Python wrapper for the Associated Press's U.S. election data service.

Build Status Coverage Status

Features

  • Easy access to AP election results for races in U.S. states and counties.
  • Easy access to AP's delegate estimates in presidential nomination contests

Requirements

In order to use this library, you must pay AP for access to the data. More information can be found on the AP's web site or by contacting Anthony Marquez at amarquez@ap.org.

Getting Started

Credits

ASCII art by Joan Stark