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.0b2.tar.gz (23.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for elex-1.1.0b2.tar.gz
Algorithm Hash digest
SHA256 62364cd225c1cc0ee27dfa0790d79053b4db89883ca9b422cd372674afa51d6d
MD5 f04a3fa1f3467dc316ffe7de075b414e
BLAKE2b-256 2ec9b80e2906ef6d0a5a4b57a3975098c653f2b1e4a591bc7f91e966dc41572d

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