{ "info": { "author": "Brad Beattie", "author_email": "bradbeattie@gmail com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering :: Mathematics" ], "description": "Python Vote Core\n================\n\npython-vote-core implements various electoral methods, providing the results\ncalculated off a provided set of ballots and options.\n\n* Project page: http://github.com/bradbeattie/python-vote-core\n* Issue tracker: http://github.com/bradbeattie/python-vote-core/issues\n* Example usage: http://vote.cognitivesandbox.com, http://modernballots.com\n\nMethods implemented\n-------------------\n\n* Single Winner Methods\n\n * Plurality (aka first-past-the-post or fptp)\n * Instant-Runoff Voting (aka IRV)\n * Schulze Method (aka Beatpath)\n\n* Multiple Winner Methods\n\n * Plurality at large (aka block voting)\n * Single Transferable Vote (aka STV)\n * Schulze STV\n\n* Ordering Methods\n\n * Schulze Proportional Representation\n * Schulze Nonproportional Representation\n\nBasic Usage\n-----------\n\nSchulze method example::\n\n print SchulzeMethod([\n { \"count\":3, \"ballot\":[[\"A\"], [\"C\"], [\"D\"], [\"B\"]] },\n { \"count\":9, \"ballot\":[[\"B\"], [\"A\"], [\"C\"], [\"D\"]] },\n { \"count\":8, \"ballot\":[[\"C\"], [\"D\"], [\"A\"], [\"B\"]] },\n { \"count\":5, \"ballot\":[[\"D\"], [\"A\"], [\"B\"], [\"C\"]] },\n { \"count\":5, \"ballot\":[[\"D\"], [\"B\"], [\"C\"], [\"A\"]] }\n ], ballot_notation = \"grouping\").as_dict()\n\n\n\n20110509.1\n---\n\n- Fixing PyPi release\n\n20110509.0\n---\n\n- Initial PyPi release\n\n\nLicense\n-------\n\nCopyright (C) 2009, Brad Beattie\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bradbeattie/python-vote-core", "keywords": "library election", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "python-vote-core", "package_url": "https://pypi.org/project/python-vote-core/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-vote-core/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bradbeattie/python-vote-core" }, "release_url": "https://pypi.org/project/python-vote-core/20120423.0/", "requires_dist": null, "requires_python": null, "summary": "An implementation of various election methods, most notably the Schulze Method and Schulze STV.", "version": "20120423.0" }, "last_serial": 798122, "releases": { "20110509.1": [ { "comment_text": "", "digests": { "md5": "ee0f940299b8755704d4191df9dad218", "sha256": "8e8b96a7a508accd49a46306ff31e09c7a4dd0f6c5316fd72d42f2cbdb010460" }, "downloads": -1, "filename": "python-vote-core-20110509.1.tar.gz", "has_sig": false, "md5_digest": "ee0f940299b8755704d4191df9dad218", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28725, "upload_time": "2011-05-10T05:58:02", "url": "https://files.pythonhosted.org/packages/8b/13/2e41799d33fb5792622d7dfab4c85a6077754c12adfb43bd701eda5aef85/python-vote-core-20110509.1.tar.gz" } ], "20120423.0": [ { "comment_text": "", "digests": { "md5": "16b966a03389c0cd9d2485e37f9c7029", "sha256": "7f6d9614615e52a51d8af4fb445c0961644425596fb0b89d7de739fbc6910e3a" }, "downloads": -1, "filename": "python_vote_core-20120423.0-py2.7.egg", "has_sig": false, "md5_digest": "16b966a03389c0cd9d2485e37f9c7029", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 74429, "upload_time": "2012-04-24T05:15:35", "url": "https://files.pythonhosted.org/packages/6e/eb/7dad243e347e7499eebba32df45f0aca949f58882f8a72010eb545b44620/python_vote_core-20120423.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "0d1448eda378e2dbbba70ad9f9f0a787", "sha256": "b69ebe52c851e3e789a9ee656ee60840284a2b00b10f9b4dee7b396a867eb35d" }, "downloads": -1, "filename": "python-vote-core-20120423.0.tar.gz", "has_sig": false, "md5_digest": "0d1448eda378e2dbbba70ad9f9f0a787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29842, "upload_time": "2012-04-24T05:16:44", "url": "https://files.pythonhosted.org/packages/17/34/59054b45c1b995a38361f1bd692af8f047762a2fb485c6bccb02593242f0/python-vote-core-20120423.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16b966a03389c0cd9d2485e37f9c7029", "sha256": "7f6d9614615e52a51d8af4fb445c0961644425596fb0b89d7de739fbc6910e3a" }, "downloads": -1, "filename": "python_vote_core-20120423.0-py2.7.egg", "has_sig": false, "md5_digest": "16b966a03389c0cd9d2485e37f9c7029", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 74429, "upload_time": "2012-04-24T05:15:35", "url": "https://files.pythonhosted.org/packages/6e/eb/7dad243e347e7499eebba32df45f0aca949f58882f8a72010eb545b44620/python_vote_core-20120423.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "0d1448eda378e2dbbba70ad9f9f0a787", "sha256": "b69ebe52c851e3e789a9ee656ee60840284a2b00b10f9b4dee7b396a867eb35d" }, "downloads": -1, "filename": "python-vote-core-20120423.0.tar.gz", "has_sig": false, "md5_digest": "0d1448eda378e2dbbba70ad9f9f0a787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29842, "upload_time": "2012-04-24T05:16:44", "url": "https://files.pythonhosted.org/packages/17/34/59054b45c1b995a38361f1bd692af8f047762a2fb485c6bccb02593242f0/python-vote-core-20120423.0.tar.gz" } ] }