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
Coverage
Latests PyPI Release
License
onegov.ballot is released under GPLv2
Changelog
Unreleased
0.3.0 (2015-12-15)
Enables translation of the votes title in the database. [href]
0.2.0 (2015-12-10)
Adds the ability to create an exportable representation of a vote. [href]
0.1.2 (2015-12-08)
If nobody votes on an issue the yeas percentage is now assumed to be 0%. Before it was undefined and lead to a division by zero. [href]
Changes the votes order to date, domain, shortcode, title. [href]
0.1.1 (2015-10-16)
Adds a last_result_change property on the vote, indicating the last time a result was added or changed. [href]
Adds a shortcode to each vote for internal reference. [href]
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
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
Built Distribution
File details
Details for the file onegov.ballot-0.3.0.tar.gz
.
File metadata
- Download URL: onegov.ballot-0.3.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e46d776a7f54819611d010cd9fdc68366c1c51e3f33a4d8a1eeed8dd6c4701a1 |
|
MD5 | 82aeec3f3f23c65b28cda7ef50bf8c75 |
|
BLAKE2b-256 | 0eeaaf2203e4d3dc100869f394296d10fa34aa15cc658cf8987969b8300569bf |
File details
Details for the file onegov.ballot-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: onegov.ballot-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62e1224e726f1edd674e4640c52f0e02cbefebc7fff23942bdf339839b5f534f |
|
MD5 | ea9574717936da2f2e89e703b8f22e8f |
|
BLAKE2b-256 | 7ce4a5c8702b31222bcdd6e3270c607ee8ab62c7a5956ac6ba32fed92cc5cbc8 |