Skip to main content

Models ballot results for OneGov.

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 Ballot follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Ballot uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.ballot is released under GPLv2

Changelog

Unreleased

0.1.0 (2015-10-12)

  • Adds the ability to query the votes by year. [href]

  • Removes Python 2.x support. [href]

0.0.5 (2015-10-06)

  • Fixes the counts/results/percentages for votes without results. [href]

  • Yeas/Nays on the vote are no longer simple summations if a counter-proposal is present. In this case, the absolute total is taken from the winning proposition (say the yeas of the proposal or the counter-proposal, but not a merge of the two.). [href]

0.0.4 (2015-08-31)

  • Renames the “yays” to “yeas”, the correct spelling.

0.0.3 (2015-06-26)

  • Remove support for Python 3.3. [href]

  • Adds support for onegov.core.upgrade. [href]

0.0.2 (2015-06-19)

  • Each ballot result now needs a municipality id, a.k.a BFS-Nummer. [href]

0.0.1 (2015-06-18)

  • Initial Release

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

onegov.ballot-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

onegov.ballot-0.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file onegov.ballot-0.1.0.tar.gz.

File metadata

File hashes

Hashes for onegov.ballot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 add54d594a992c92783152994b7c296b8fb55a13be70819815ed3a3c87223390
MD5 ad1aac0a284bf5fa6626fe7e3b917997
BLAKE2b-256 2c9a31fb58c9dd0ba35ddd2d7ebd19467d6fa1786cda983c593b56386944b1d1

See more details on using hashes here.

File details

Details for the file onegov.ballot-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onegov.ballot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09c04dedcca8abc80042f632b8cf651b0223877b198036b7d9851fa8b1c5b664
MD5 e3691cbc0cc2bb45e63329246c066419
BLAKE2b-256 857c747dc424d3d89b74553f612bb1a6e87e7aab882992d725c645c9f6c264bf

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