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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wahlrecht-0.0.2.tar.gz.

File metadata

  • Download URL: wahlrecht-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wahlrecht-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dc17231204babd179905a557c2714885c4006d0e7958d2ec8e4928634bbbab78
MD5 2f0b7e7c31a5a6a4771a15bf56a91ed5
BLAKE2b-256 a8ca6a2492e9e0b2962cd3451c8921b5a70c82e2c4bd34868f74d7adeb393c41

See more details on using hashes here.

File details

Details for the file wahlrecht-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wahlrecht-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20f46489b99f35b8ae9fdefc515049482ca837577d007b83e4cb260892b0ccde
MD5 d540cb6651c042d91677c6faaf545852
BLAKE2b-256 6cf1e0bd902ea106f1f6eb266a1c4a4f6b86bd1fade462bfd5bb0ca2e66c5a42

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