Skip to main content

Python client for parsing the Associated Press's elections API.

Project description

Build status PyPI downloads Version License Support Python versions

Elex was developed by The New York Times and NPR and not in concert with the Associated Press. Though we plan on using Elex for the 2016 cycle, there is no guarantee that this software will work for you. If you’re thinking about using Elex, check out the license and contact the authors.

Get database-ready election results from the Associated Press Election API v2.0.

Elex is designed to be fast, friendly, and largely agnostic to stack/language/database choice. Basic usage is as simple as:

elex results 2015-11-21 > results.csv

Important links:

Elex projects and implementations

NPR

  • NPR loader: A simple reference data loader for PostgreSQL.

New York Times

Experimental

News

Using the FTP system?

Use the Los Angeles Times’ python-elections library.

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

elex-1.1.0.tar.gz (23.2 kB view details)

Uploaded Source

File details

Details for the file elex-1.1.0.tar.gz.

File metadata

  • Download URL: elex-1.1.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for elex-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a4f602ba24e316d0e93764df3d62604c21c9399da903a058997e6a25b1b04a7b
MD5 b5c5242bad0ce41bc19921592bc2ac7d
BLAKE2b-256 fd16324e5ca139101e4ef51767dea45a4ecbaa99aab74ea00c70299e89f840d1

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