PrefLib / preflibtools

A small and lightweight Python package for working with and generating data from www.PrefLib.org.
https://preflib.github.io/preflibtools/
GNU General Public License v3.0
11 stars 8 forks source link

Preflibtools

PyPI Status Build badge codecov

Overview

The PrefLib-Tools is a set of Python tools developed to work with preference data from the PrefLib.org website.

This package provides input and output operations on PrefLib instances, together with some additional functionalities on the instances: Testing whether a Condorcet winner exists, whether the instance is single-peaked, etc...

We developed this package in the hope of making the use of PrefLib instances easy. This has been done in the same spirit as PrefLib: Providing tools for the community with the help of the community. If you want to contribute, feel free to create pull requests. If you have a question, a remark, or encounter a problem, please open an issue, create a pull request etc...

The full documentation of the package can be found there: https://preflib.github.io/preflibtools/.

If, for some reasons, you are looking for the older version of the PrefLib-Tools, it is still available in the GitHub repository Preflib-Tools-Old.

Installation

The installation is as easy as:

pip3 install preflibtools

Documentation

The complete documentation is available here.