Whalrus
Which Alternative Represents Us, a package for voting rules
Free software: GNU General Public License v3
Documentation: https://francois-durand.github.io/whalrus/.
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
We use the checklist provided by Package Helper 2.
History
0.4.6 (2020-12-01): Improve test coverage
Reach 100% of test coverage. Cf. https://codecov.io/gh/francois-durand/whalrus.
Convert documentation to Numpy style. The documentation is not changed much in html format, but is more readable in plain text.
Remove hash function for BallotOneName and BallotOrder. It had a bug, and fixing it would have implied to change all sets of candidates to frozen sets. Since this function is non-essential, we decided to remove it instead.
Fix bug in MatrixWeightedMajority when using the option ordered_vs_absent or absent_vs_ordered.
Fix bug in Rule.trailer_ when there is only one candidate in the election.
0.4.5 (2020-11-26): Fix Missing Files in Deployment
Files from some sub-packages, such as scale, were missing. This release fixes that bug.
0.4.4 (2020-11-26): Fix PyPI deployment
Fix PyPI deployment.
0.4.3 (2020-11-26): GitHub Actions
This patch concerns Whalrus’ developpers only. To develop and maintain the package, it uses GitHub actions instead of additional services such as Travis-CI and ReadTheDocs.
Use Codecov.
Prepare support for Numpy documentation style (not used yet).
Prepare support for notebooks in documentation (not used yet).
0.4.2 (2019-08-22): Speeding Up
Minor patch to speed up the computation of the winner in some cases.
0.4.1 (2019-04-01): Tie-breaking
Fix a bug related to random tie-break.
In the arguments of class RuleRankedPairs, the tie-break can be given directly, instead of having to go through the argument matrix.
0.4.0 (2019-03-29): Schulze
Implement Schulze rule.
0.3.0 (2019-03-29): Ranked Pairs
Implement Ranked Pairs rule.
0.2.1 (2019-03-28): Optimize argument passing
Optimize argument passing between child classes, their parent classes and their __call__ function.
0.2.0 (2019-03-21): Classic voting systems
First “real” release, where most classic voting systems are implemented.
0.1.0 (2018-03-13): First release
First release on PyPI.
Metadata
Release files for whalrus 0.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| whalrus-0.4.6.tar.gz | 119.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| whalrus-0.4.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 251.7 kB
Release files / whalrus-0.4.6.tar.gz
| Download URL | whalrus-0.4.6.tar.gz |
|---|---|
| Size | 119.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e57c4d739eed5774d2d14145bfec3d1c6ec808be0db8c2940baed68359ec0c2
|
|
BLAKE2b-256 checksum How to use checksums |
4bec61a6629ead1285f775a50f0c798ee199549ab95c2cc46cd866a9acccd62b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Release files / whalrus-0.4.6-py2.py3-none-any.whl
| Download URL | whalrus-0.4.6-py2.py3-none-any.whl |
|---|---|
| Size | 132.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5ada3ee06bd33a88b5c1a3978833c9ac54d6e9db63e16b13b0eca5a967391c89
|
|
BLAKE2b-256 checksum How to use checksums |
de40c78fffb3157b97331d8dade1fad33666323a64e6ed5da59f2fbe6afb3077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Security for whalrus 0.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.