Skip to main content

PyCaprio

Python versions PyPI version Documentation Status Run Tests codecov

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)

Source distribution for pycaprio 0.3.1
File Size Uploaded
pycaprio-0.3.1.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycaprio 0.3.1
File Interpreter ABI Platform
pycaprio-0.3.1-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page