Jon Herman and I are pleased to announce version 0.2 of pareto.py, a free, open-source nondominated sorting utility. Released under the LGPL, pareto.py performs a nondominated sort on the data in any number of input files. To the best of our knowledge, this is the only standalone nondominated sorting utility available.
Implemented using only the Python standard library, pareto.py features:
- epsilon-nondominated sorting
- “importable” design: can be used from other Python scripts
- tag-along variables: columns (even non-numeric ones) other than those to be sorted may be retained in the output
- verbatim transcription of input: nondominated rows in the output appear exactly the same as they did in the input
- optionally skip header rows, commented rows, and blank lines
We welcome feature requests, bug reports, and pull requests. If you’re in a hurry, here is the source code for version 0.2.
(Edit: bump to version 0.2)