Skip to main content

Database for federal votes

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

tox -e pep8

Onegov Swissvotes uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.swissvotes is released under GPLv2

Changelog

0.0.25 (2018-12-17)

  • Adds the swissvotes logo. [msom]

0.0.24 (2018-12-17)

  • Fixes default sorting of votes collections. [msom]

  • Fixes display of the voter share of yes camp. [msom]

  • Fixes display of procedure number. [msom]

0.0.23 (2018-12-11)

  • Visually aligns the multiple tree select widget options. [msom]

0.0.21 (2018-12-11)

  • Adds more margins to the multiple tree select widget. [msom]

0.0.20 (2018-12-11)

  • Uses a multiple tree select widget for policy descriptors. [msom]

0.0.19 (2018-12-10)

  • Adds descriptors. [msom]

  • Fixes the click area of collapsible tables. [msom]

0.0.18 (2018-12-09)

  • Import data files in alphabetical order. [msom]

  • Fixes XLSX import for quasi-empty string cells. [msom]

0.0.17 (2018-12-09)

  • Fixes data import. [msom]

0.0.16 (2018-12-09)

  • Reorganizes the vote details view. [msom]

  • Makes groups of vote details collapsible. [msom]

0.0.15 (2018-11-25)

  • Fixes switching the extended filters. [msom]

0.0.14 (2018-11-21)

  • Fixes displaying yeas and nays of council positions. [msom]

0.0.13 (2018-11-21)

  • Improves the XLSX import. [msom]

0.0.12 (2018-11-20)

  • Allows to search for BFS and procedure numbers. [msom]

  • Allows to search by council positions. [msom]

  • Adds a full text search option. [msom]

  • Fixes the formatting of BFS numbers. [msom]

0.0.11 (2018-11-05)

  • Adds resolution and realization attachments. [msom]

  • Reorders the votes columns. [msom]

  • Only shows the top level of the descriptor in the votes view. [msom]

  • Uses the latest onegov.form. [msom]

0.0.10 (2018-10-07)

  • Use tsquery phrases for multipley fulltext terms. [msom]

0.0.9 (2018-10-07)

  • Uses prostgres for keyword filtering instead of elastic search. [msom]

0.0.8 (2018-09-28)

  • Use a wider range of MIME types when updating the dataset. [msom]

0.0.7 (2018-09-28)

  • Adds full text search support for attachments. [msom]

  • Adds voting booklet attachments. [msom]

  • Adds a CLI command for importing attachments. [msom]

  • Makes the update, export and delete vote views to be indifferent to the filters. [msom]

  • Handles search beeing unavailable. [msom]

  • Sorts full text search results by rank. [msom]

0.0.6 (2018-09-23)

  • Adds search. [msom]

  • Uses XLSX for import. [msom]

  • Uses excel format for CSV export. [msom]

0.0.5 (2018-09-18)

  • Adds XLSX export. [msom]

  • Improves UI. [msom]

  • Enables English. [msom]

0.0.4 (2018-09-03)

  • Styles content pages. [msom]

0.0.3 (2018-08-31)

  • Improves vote(s) views. [msom]

  • Adds editor options. [msom]

  • Fixes votes pagination. [msom]

0.0.2 (2018-08-31)

  • Adds the GitHub deploy key. [msom]

0.0.1 (2018-08-30)

  • Initial Release. [msom]

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.swissvotes-0.0.25.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

onegov.swissvotes-0.0.25-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file onegov.swissvotes-0.0.25.tar.gz.

File metadata

  • Download URL: onegov.swissvotes-0.0.25.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for onegov.swissvotes-0.0.25.tar.gz
Algorithm Hash digest
SHA256 2a90a329d3b79f05baf3c7441490e3267c7dc295d69f7b02384076f4afabc1fa
MD5 c31ff47ac1ab0c1d4e8bee01ce9d174b
BLAKE2b-256 81dae28afcdf6c78de271522d66b448687d694ca7bd488ebcf99ec24be202a6a

See more details on using hashes here.

File details

Details for the file onegov.swissvotes-0.0.25-py3-none-any.whl.

File metadata

  • Download URL: onegov.swissvotes-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for onegov.swissvotes-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 6b55f57905d6db13dc6775826c3ff459ea96a41c78d42ffcaab9d706fa77f589
MD5 2f68a0d4e9b5608439884c8f9baad94b
BLAKE2b-256 289f9402f8a2ff0eca74be25d1308c6fc15501369972bc22898335652aeabb1e

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