This Python 3.8 module allows you to find plausible and feasible political coalitions.
How to use this module
Please read the comments in
coalitions.py as well as the examples. The usage is straightforward and self-explanatory. If questions remain, feel free to open an issue.
- Allow the modelling of more complex enmities
- SVG output (for journos!)
My own code in this module is licensed under the GNU Affero General Public License, version 3. See the file
COPYING for more details.
Note that the (trivial and slightly changed) function
powerset is from the Python docs, and therefore possibly distributed under another license.