Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Scrapers for Texas elections results

Project Description

Hi. This is just me fooling around trying to come up a better way to scrape election results. The tricky logic has been refined in other Texas Tribune projects, but they were deeply tied to other logic.

The idea is to split the process up into multiple logical steps that other people might find useful:

  1. Ingest results: Typically either with curl or cat or anything that pipes output to stdout.
  2. Serialize the output html as JSON: Does not attempt to extract information. Just separates data from the html. This is the hard part that scrapers have trouble with.
  3. Interpret the serialized output: Turns the raw serialized data into something you might expect to see from a nice API.

In a Extract, transform, load (ETL) process, this just covers the extractions, with support for minor transforming.

Release History

Release History

This version
History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tx_elections_scrapers-0.4.1-py2-none-any.whl (19.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Feb 17, 2015
tx_elections_scrapers-0.4.1.tar.gz (13.0 kB) Copy SHA256 Checksum SHA256 Source Feb 17, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting