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.

Files for wahlrecht, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size wahlrecht-0.0.2-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wahlrecht-0.0.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page