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.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wahlrecht-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5679f01f938c6159e1a2db4b676d42b4b3d3830f287cee7c55c81456e358c5f6
MD5 208dad4cf4a1f1249be56f4a91226b9d
BLAKE2b-256 453c48f8113bb64ab590c7261a3eb07d4fa8bffde2c7a618ae0eff82b13dfd90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wahlrecht-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3ce5a62eeaa0a898a1194e2db50ecb6255b6077d40a9f9486810218e403093d
MD5 a496d07cc12c092017f78b0bec20f514
BLAKE2b-256 3d8fbeac9d09d6352e090a91bee44d48f9b0c11f2a6a1d6a17f368255497f710

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