Skip to main content

OneGov ballot results website used on election day.

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Onegov Election Day follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Election Day uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.election_day is released under GPLv2

Changelog

0.5.0 (2016-02-08)

  • Normalizes the title used as filename in XLSX exports. [msom]

  • Shows the domain name of the base url instead of the principal name. [msom]

  • Adds analytics tracking code. [msom]

  • Allows the select a sheet when importing XLSX files. [msom]

0.4.1 (2016-01-12)

  • No longer caches responses with a status code other than 200. [href]

0.4.0 (2016-01-08)

  • Adds a 5 minute cache for all anonymous pages. [href]

  • Adds complete french / italian / romansh support. [href]

0.3.0 (2015-12-10)

  • Adds JSON/CSV and XLSX export of all votes. [href]

  • Shows the votes archive at the bottom of.. the votes archive. [gref]

0.2.1 (2015-12-08)

  • Shows the votes archive at the bottom of each vote. [href]

  • Shows a helpful error message if a vote exists already. [href]

0.2.0 (2015-11-27)

  • Enables YubiKey integration. [href]

0.1.6 (2015-10-26)

  • Adds accidentally removed ‘last change’ factoid. [href]

  • Adds missing translations. [href]

0.1.5 (2015-10-26)

  • Adds XLS/XLSX support. [href]

  • Improves display of votes with long titles in the manage table. [href]

  • Fixes display issues with IE9+. [href]

  • Factoids are now shown for each ballot without being summarized on the vote. [href]

  • Fixes division by zero error occuring on votes without any results. [href]

0.1.4 (2015-10-16)

  • Adds the ability to leave out uncounted towns in the upload. Missing towns are assumed to be uncounted. [href]

  • Adds internal shortcode for votes. [href]

  • Improves the design of uncounted votes. [href]

  • Colors are now always blue if rejected, red if accepted, without exception. [href]

  • Switch from ‘de’ to ‘de_CH’ to properly support Swiss formatting. [href]

  • Make sure all uploads are aborted if one file fails. [href]

  • Fix javascript in map when hovering over a lake. [href]

0.1.3 (2015-10-12)

  • Fix upload not allowing for different ballot types initially. [href]

0.1.2 (2015-10-12)

  • Explicitly passes the encoding when reading the yaml file to avoid getting the wrong one through the environment. [href]

0.1.1 (2015-10-12)

  • Enables requirements.txt generation on release. [href]

0.1.0 (2015-10-12)

  • Initial Release

Project details


Release history Release notifications | RSS feed

This version

0.5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.election_day-0.5.0.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

onegov.election_day-0.5.0-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file onegov.election_day-0.5.0.tar.gz.

File metadata

File hashes

Hashes for onegov.election_day-0.5.0.tar.gz
Algorithm Hash digest
SHA256 38ce64f836bf051993b7d4b8f08d258afe3eaf0ed30fd15301a45e2325392bb0
MD5 83ab614ae073ac2b01ef7f6ab97f4c29
BLAKE2b-256 40b2594bac7d81fbd5a7dcc04cdda22f79378c99b540f251320bc650e230dd5a

See more details on using hashes here.

File details

Details for the file onegov.election_day-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onegov.election_day-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df47436d3908013f3b4489747ddd618fdb70a84711814df432f65d89369fa00a
MD5 068d4997ddcda387076a4c664178e3ba
BLAKE2b-256 1ac979377fbcac4a9dd1e8d4da635997722b7a89d076f60138f2736847680483

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