This release is a pre-release and may not be stable for production use.
votingsys
Overview
A Python library that provides implementations of various voting systems. This library is designed to simulate the outcomes of elections using multiple voting methods. It enables users to compare how different voting systems may influence election results based on the same set of voter preferences or inputs.
Motivation
Documentation
- latest (stable): documentation from the latest stable release.
- main (unstable): documentation associated to the main branch of the repo. This documentation may contain a lot of work-in-progress/outdated/missing parts.
Installation
We highly recommend installing
a virtual environment.
votingsys can be installed from pip using the following command:
pip install votingsys
To make the package as slim as possible, only the minimal packages required to use votingsys are
installed.
To include all the dependencies, you can use the following command:
pip install votingsys[all]
Please check the get started page to see how
to install only some specific dependencies or other alternatives to install the library.
The following is the corresponding votingsys versions and tested dependencies.
votingsys |
numpy |
polars |
python |
|---|---|---|---|
main |
>=2.0,<3.0 |
>=1.0,<2.0 |
>=3.10,<3.15 |
* indicates an optional dependency
older versions
Contributing
Please check the instructions in CONTRIBUTING.md.
Suggestions and Communication
Everyone is welcome to contribute to the community. If you have any questions or suggestions, you can submit Github Issues. We will reply to you as soon as possible. Thank you very much.
API stability
:warning: While votingsys is in development stage, no API is guaranteed to be stable from one
release to the next.
In fact, it is very likely that the API will change multiple times before a stable 1.0.0 release.
In practice, this means that upgrading votingsys to a new version will possibly break any code
that was using the old version of votingsys.
License
votingsys is licensed under BSD 3-Clause "New" or "Revised" license available
in LICENSE file.
Metadata
Release files for votingsys 0.0.1a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| votingsys-0.0.1a1.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| votingsys-0.0.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.8 kB
Release files / votingsys-0.0.1a1.tar.gz
| Download URL | votingsys-0.0.1a1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87dc73872b0f3fd3c872fd1cebb8936389fb8677114f97760e8bb0328fa16b4c
|
|
BLAKE2b-256 checksum How to use checksums |
0d8675384d2a5fccb373b3eb0bffd5ef78bff68928c7ed8e26f68bc4971241a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / votingsys-0.0.1a1-py3-none-any.whl
| Download URL | votingsys-0.0.1a1-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16444193bf922637078b0a4fa4e5a3e103020c6b90912fbdaa9fc7674004e79c
|
|
BLAKE2b-256 checksum How to use checksums |
eed51cd2cab7e72cd5df4788417fc28aea25cfd2f0d9751f89cd4941b5b56377
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|