Electorama Logo

abiftool for ABIF

abiftool is Python-based software for parsing ABIF files. "What is ABIF" you may ask? Read on to learn more....

ABIF and abiftool

It is important to distinguish between "ABIF" (the format) and "abiftool" (convertion software)

Conversion of ABIF to/from other formats

This script (abiftool.py) aspires to convert between ABIF and other commonly-used electoral expression formats. abiftool.py calls out to "abiflib", which is a Python conversion library between various election summary formats that can be found in the electorama/abiftool source repository (as " electorama/abiftool/abiflib").

Input formats

The 2023 version of abiftool/abiflib accepts input in the following formats:

Output formats

The 2023 version of abiftool/abiflib converts to the following formats:

Community

Please join the Electorama community to meet other people interested in ABIF

Contributing bug reports and feature ideas

Please file issues in the abiftool.py issue tracker if you notice problems with the tool that likely need to get fixed sooner rather than later. Please note your issues in one of the GitHub repos to help make this project go faster:

Chat/Email/Forum

There are many communication channels used by the Electorama community and folks interested in ABIF.

Future work

There are many tools and formats out there, and (as of January 2024), much work to be done. Visit electorama/abif#29 to discuss this topic.

Licensing

The primary author of abiftool.py (Rob Lanphier, a.k.a. "robla") has not yet fully decided on what the long-term license will be (it's currently licensed under GPLv3). As of this writing (in January 2024), the primary author can probably be convinced to switch to an MIT, BSD, or Apache license of some sort, but could decide to go with a more restrictive license (e.g. AGPLv3 or some other strong copyleft). As other contributors contribute under GPLv3, it will become more difficult for the primary author to convince other contributors to change license. Visit electorama/abiftool#1 to discuss this topic.


Back to home page: Home