PyCaprio
Python client for the INCEpTION annotation tool remote API.
Installation
At the moment, this fork of Pycaprio is only available here, in GitHub (see reasons in "Current state of Pycaprio" below):
python -m pip install git+https://github.com/inception-project/pycaprio.git@0.2.1#egg=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, instantiate 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.
Release
- Set the release version in
pyproject.toml(e.g.version = "0.3.1") - Create a tag for the version e.g.
v0.3.1 - Push the tag - this will trigger a GitHub action that requires approval
- Approve the action (or ask somebody who has the necessary permissions to approve)
- Wait until build is complete and release is on pypi
- Set the next dev version in
pyproject.toml(e.g.version = "0.4.0-dev")
License
PyCaprio is under the MIT license. Check it out here.
PyCaprio was originally developed by Savanamed and Javier Luna Molina. It is now part of the INCEpTION project.
Metadata
Release files for pycaprio 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycaprio-0.3.1.tar.gz | 11.6 kB | With provenance | Details for pycaprio-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycaprio-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for pycaprio-0.3.1-py3-none-any.whl |
Total release size: 30.6 kB
Release files / pycaprio-0.3.1.tar.gz
| Download URL | pycaprio-0.3.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6eec3db8e2f8baf556892b12ead847d522ae0d060ab36d4bb26a09ea8f35042
|
|
BLAKE2b-256 checksum How to use checksums |
a17db871c68dcb9f4f7ca821bec173094e8ebd5c1748d4e937842a395716b326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2025.
Transparency logRelease files / pycaprio-0.3.1-py3-none-any.whl
| Download URL | pycaprio-0.3.1-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6796d91a6dbc103b4d91563f35e81297ee64988911c9492d0068890b95f6f05d
|
|
BLAKE2b-256 checksum How to use checksums |
69ea74f7b5ef8db92fe6ba1f8386e9668425e79da4487c9c817004db2b8c66cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2025.
Transparency logSecurity for pycaprio 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pycaprio-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.