Skip to main content

Python module to download and parse wahlrecht.de polls

Project description

# Python module for getting Wahlrecht.de polling data

Install:

pip install wahlrecht

Run like this:

$ python -m wahlrecht <jurisdiction> > output.csv

jurisdiction determines which kind of election will be downloaded. It can be a state election with a state slug (like ‘baden-wuerttemberg’) or for the federal election ‘bund’.

Or just download everything:

$ sh download.sh

Or use like this as a Python module.:

from wahlrecht import get_state_polls

for info in get_state_polls(‘nrw’):

print(info)

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

wahlrecht-0.0.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

wahlrecht-0.0.2-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

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