pystv


Namepystv JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://github.com/chrisroat/pyrcv
SummaryPython API for adjudicating single transferable vote elections. Also contains basic web server to adjudicate results in CSV format.
upload_time2023-10-03 23:21:11
maintainer
docs_urlNone
authorChris Roat
requires_python>=3.10
licenseGNU General Public License v3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =====
pyrcv
=====


.. image:: https://img.shields.io/pypi/v/pystv.svg
        :target: https://pypi.python.org/pypi/pystv
        :alt: PyPi Status

.. image:: https://github.com/chrisroat/pyrcv/actions/workflows/ci.yml/badge.svg
        :target: https://github.com/chrisroat/pyrcv/actions/workflows/ci.yml
        :alt: Test Status

.. image:: https://readthedocs.org/projects/pystv/badge/?version=latest
        :target: https://pystv.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status


Python project for adjudicating ranked choice voting elections using the
single transferable vote (STV) method.  For more information on ranked
choice voting, visit the `FairVote website on RCV`_.

The project also contains a small flask server for adjudicating and visualizing
election results from a CSV file.  It is automatically deployed at at `pyrcv.org`_

* Free software: GNU General Public License v3
* Documentation: https://pystv.readthedocs.io.


Features
--------

* General standards and APIs for voting data and vote tabulation.
* Tabulation of ranked-choice elections using the single-transferable-vote (STV) method.
* Support for both single-winner and multi-winner contests.
* Generation of Sankey diagram showing the flow of vote counts through the
  rounds of a multi-round election.
* Parser for converting Google Form based election output to voting data standard format.
* Web server which processes CSV data output from a Google Form based election, and
  displays winners and a Sankey diagram.


Credits
-------

Inspired by FairVote_ and CalRCV_.  FairVote's examples were extremely helpful for
development and correctness-testing.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _FairVote website on RCV: https://fairvote.org/our-reforms/ranked-choice-voting/
.. _pyrcv.org: https://www.pyrcv.org
.. _FairVote: https://fairvote.org/
.. _CalRCV: https://www.calrcv.org/
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/chrisroat/pyrcv",
    "name": "pystv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "Chris Roat",
    "author_email": "chris.roat@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/be/44770ab1323d1b854bd091931bb2b8bb75aea4812672187133b8264a8704/pystv-2.0.2.tar.gz",
    "platform": null,
    "description": "=====\npyrcv\n=====\n\n\n.. image:: https://img.shields.io/pypi/v/pystv.svg\n        :target: https://pypi.python.org/pypi/pystv\n        :alt: PyPi Status\n\n.. image:: https://github.com/chrisroat/pyrcv/actions/workflows/ci.yml/badge.svg\n        :target: https://github.com/chrisroat/pyrcv/actions/workflows/ci.yml\n        :alt: Test Status\n\n.. image:: https://readthedocs.org/projects/pystv/badge/?version=latest\n        :target: https://pystv.readthedocs.io/en/latest/?version=latest\n        :alt: Documentation Status\n\n\nPython project for adjudicating ranked choice voting elections using the\nsingle transferable vote (STV) method.  For more information on ranked\nchoice voting, visit the `FairVote website on RCV`_.\n\nThe project also contains a small flask server for adjudicating and visualizing\nelection results from a CSV file.  It is automatically deployed at at `pyrcv.org`_\n\n* Free software: GNU General Public License v3\n* Documentation: https://pystv.readthedocs.io.\n\n\nFeatures\n--------\n\n* General standards and APIs for voting data and vote tabulation.\n* Tabulation of ranked-choice elections using the single-transferable-vote (STV) method.\n* Support for both single-winner and multi-winner contests.\n* Generation of Sankey diagram showing the flow of vote counts through the\n  rounds of a multi-round election.\n* Parser for converting Google Form based election output to voting data standard format.\n* Web server which processes CSV data output from a Google Form based election, and\n  displays winners and a Sankey diagram.\n\n\nCredits\n-------\n\nInspired by FairVote_ and CalRCV_.  FairVote's examples were extremely helpful for\ndevelopment and correctness-testing.\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _FairVote website on RCV: https://fairvote.org/our-reforms/ranked-choice-voting/\n.. _pyrcv.org: https://www.pyrcv.org\n.. _FairVote: https://fairvote.org/\n.. _CalRCV: https://www.calrcv.org/\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3",
    "summary": "Python API for adjudicating single transferable vote elections.  Also contains basic web server to adjudicate results in CSV format.",
    "version": "2.0.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/chrisroat/pyrcv/issues",
        "Homepage": "https://github.com/chrisroat/pyrcv",
        "Production Server": "https://www.pyrcv.org"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "004ef24d0513eba5c9a4180df9f26563df15dd71f7eaaf7be2a977d8c8dc8c64",
                "md5": "2b23e7596ad4a205b36c13462ad37770",
                "sha256": "3375ecdca218cd42a91500dca15f39ce7996340d5e3230ec8034bb4ba948fdea"
            },
            "downloads": -1,
            "filename": "pystv-2.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2b23e7596ad4a205b36c13462ad37770",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 14532,
            "upload_time": "2023-10-03T23:21:10",
            "upload_time_iso_8601": "2023-10-03T23:21:10.009471Z",
            "url": "https://files.pythonhosted.org/packages/00/4e/f24d0513eba5c9a4180df9f26563df15dd71f7eaaf7be2a977d8c8dc8c64/pystv-2.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0be44770ab1323d1b854bd091931bb2b8bb75aea4812672187133b8264a8704",
                "md5": "a1cf79473b89ced15aba29a7fb2fded5",
                "sha256": "5dc3ec4bd5afec12baabe4e1572bdb4a4457e682f4b71798b9043ad61b470981"
            },
            "downloads": -1,
            "filename": "pystv-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a1cf79473b89ced15aba29a7fb2fded5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 24176,
            "upload_time": "2023-10-03T23:21:11",
            "upload_time_iso_8601": "2023-10-03T23:21:11.741559Z",
            "url": "https://files.pythonhosted.org/packages/d0/be/44770ab1323d1b854bd091931bb2b8bb75aea4812672187133b8264a8704/pystv-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-03 23:21:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "chrisroat",
    "github_project": "pyrcv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "pystv"
}
        
Elapsed time: 0.15056s