IMPORTANT INFORMATION: This repository is deprecated and might not work as expected with the latest version of INCEpTION!
LUCKILY, the library keeps living in another place, where it is updated and maintained by Javier Luna (https://github.com/JavierLuna):
https://github.com/JavierLuna/pycaprio
Python client for the INCEpTION annotation tool.
Pycaprio is on PyPi, you can install it via pip
, pipenv
, poetry
or your favourite dependency management tool:
pip install pycaprio
The main object is the Pycaprio
object, which will act as a client to interact with the API.
You will need your INCEpTION's host and an user with a
REMOTE role.
Then, instanciate the Pycaprio client:
from pycaprio import Pycaprio
pycaprio_client = Pycaprio("http://inception-host.com", ('username', 'password'))
# Create a project
pycaprio_client.api.create_project("Project name", "creator-username")
Check the documentation if you want to know more.
Pycaprio is under the MIT license. Check it out here