biprop


Namebiprop JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryPython library for biproportional and other apportionment methods.
upload_time2025-02-16 19:06:17
maintainerNone
docs_urlNone
authorTalin Herold
requires_python>=3.7
licenseNone
keywords apportionment biproportional elections politics pukelsheim
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Biprop - A Python Library for Calculating Biproportional Apportionments

> [!CAUTION]
> DO NOT use this repository to calculate the official results of actual elections! The code in this repository was not formally verified and might not always deliver correct results or terminate.

> [!WARNING]
> Please note that version 0.x.x of `biprop.py` is still experimental. I am currently working on a more mature and user-friendly version of `biprop.py` that will not be backwards compatible with version 0.x.x.

Welcome to the the biprop repository. This repository is meant for election enthusiats and statistics nerds like me who want to ask questions like
> How would the parliament of country X look like if they used biproportional apportionment in their last election?

or
> How would the apportionment change if party Y and Z ran together as one and if we introduced a quorum that parties have to fulfill?
> 
The repository includes the `biprop.py` module which contains all the relevant functions to answer questions like the ones above. It also contains an `example.py` module that uses the 2019 and 2023 Swiss National Council Elections to demonstrate how to use `biprop.py`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "biprop",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "apportionment, biproportional, elections, politics, pukelsheim",
    "author": "Talin Herold",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e1/89/018ff13cbd0eacf0cda31d6e2a25b4f1210ed67de83b31f8ab37c9b440b0/biprop-1.0.1.tar.gz",
    "platform": null,
    "description": "# Biprop - A Python Library for Calculating Biproportional Apportionments\n\n> [!CAUTION]\n> DO NOT use this repository to calculate the official results of actual elections! The code in this repository was not formally verified and might not always deliver correct results or terminate.\n\n> [!WARNING]\n> Please note that version 0.x.x of `biprop.py` is still experimental. I am currently working on a more mature and user-friendly version of `biprop.py` that will not be backwards compatible with version 0.x.x.\n\nWelcome to the the biprop repository. This repository is meant for election enthusiats and statistics nerds like me who want to ask questions like\n> How would the parliament of country X look like if they used biproportional apportionment in their last election?\n\nor\n> How would the apportionment change if party Y and Z ran together as one and if we introduced a quorum that parties have to fulfill?\n> \nThe repository includes the `biprop.py` module which contains all the relevant functions to answer questions like the ones above. It also contains an `example.py` module that uses the 2019 and 2023 Swiss National Council Elections to demonstrate how to use `biprop.py`.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python library for biproportional and other apportionment methods.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/herold-t/biprop",
        "Issues": "https://github.com/herold-t/biprop/issues"
    },
    "split_keywords": [
        "apportionment",
        " biproportional",
        " elections",
        " politics",
        " pukelsheim"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "28887861b08d68b7c3bf07a14948ee3ffe767082d4df6eba819a16761d93c3da",
                "md5": "a645969cbf882515d27c32833145c0d2",
                "sha256": "f8da2bc873e7a7eb5294a82db4ee1a07010e3825080047f68deff796ed141120"
            },
            "downloads": -1,
            "filename": "biprop-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a645969cbf882515d27c32833145c0d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 34576,
            "upload_time": "2025-02-16T19:06:15",
            "upload_time_iso_8601": "2025-02-16T19:06:15.829041Z",
            "url": "https://files.pythonhosted.org/packages/28/88/7861b08d68b7c3bf07a14948ee3ffe767082d4df6eba819a16761d93c3da/biprop-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e189018ff13cbd0eacf0cda31d6e2a25b4f1210ed67de83b31f8ab37c9b440b0",
                "md5": "62c0cf679d9bfdbb985749708537f2db",
                "sha256": "f4f934a05212358daa86196d4b3f055b7bbe28922e09bb7678b035797c189ee0"
            },
            "downloads": -1,
            "filename": "biprop-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "62c0cf679d9bfdbb985749708537f2db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 314292,
            "upload_time": "2025-02-16T19:06:17",
            "upload_time_iso_8601": "2025-02-16T19:06:17.162967Z",
            "url": "https://files.pythonhosted.org/packages/e1/89/018ff13cbd0eacf0cda31d6e2a25b4f1210ed67de83b31f8ab37c9b440b0/biprop-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-16 19:06:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "herold-t",
    "github_project": "biprop",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "biprop"
}
        
Elapsed time: 1.46282s