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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for wahlrecht-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f46489b99f35b8ae9fdefc515049482ca837577d007b83e4cb260892b0ccde |
|
MD5 | d540cb6651c042d91677c6faaf545852 |
|
BLAKE2b-256 | 6cf1e0bd902ea106f1f6eb266a1c4a4f6b86bd1fade462bfd5bb0ca2e66c5a42 |