Schulze-condorcet

Latest version: v2.0.1

Safety actively analyzes 688746 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.1

This release makes the validation functions for candidates and votes public and enhances their interface.

2.0.0

This release reworks the interface of the schulze-condorcet package and makes it more accessible.

* ``schulze_evaluate`` provides a single vote string, reflecting the overall preference
* ``schulze_evaluate_detailed`` provides more insights in the preference by revealing the pro and contra votes for each candidate in the result
* ``pairwise_preference`` gives a direct compairson between each candidate over their preference.

Additonally, the type hints of the different representations of votes (either as strings or as tuple of tuples / list of lists) are more specific now, and some convenient functions are added in ``util.py`` to convert the different representations of votes into each other.

1.0.2

Add a py.typed file, so typechecker are aware that the package is typed.

1.0.1

There were some bugs inside our setup.cfg. This should be fixed now.

1.0.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.