NOTE: this library is not being maintained anymore, if anyone is willing to continue please open an issue/discussion.
Simple library to acces the Foreman API, the full documentation can be found here:
http://python-foreman.readthedocs.org
Execute as root:
$ python setup.py sdist $ pip install ./dist/python-foreman-\*.tar.gz
The plugins should be a simple module file with the a dictionary named DEFS with the definitions of the new methods as in the definitions.py file