Skip to main content

Client for parsing the Associated Press's elections API

Project description

Build status PyPI downloads Version License Support Python versions

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 2016-03-01 > results.csv

Disclaimer

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.

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.

The New York Times has a sample implementation that demonstrates how you might integrate the FTP loader with your Elex-based system.

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-2.0.10.tar.gz (29.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for elex-2.0.10.tar.gz
Algorithm Hash digest
SHA256 f824ac9f5b6f04901d479092a3e8257ac359c5d161975adba650aae28afcf8f1
MD5 f6104e057efa14523b146dcbffc79efa
BLAKE2b-256 3545e899ba3811e7a48001abd7f582ac12348b714cdd0c5bf579847675ce0577

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