Skip to content

Python client to the INCEpTION annotation tool

License

Notifications You must be signed in to change notification settings

Savanamed/pycaprio

Repository files navigation

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

PyCaprio

Python versions PyPI version Documentation Status CircleCI codecov

Python client for the INCEpTION annotation tool.

Installation

Pycaprio is on PyPi, you can install it via pip, pipenv, poetry or your favourite dependency management tool:

pip install pycaprio

Basic usage

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.

License

Pycaprio is under the MIT license. Check it out here