Skip to main content

Python client for the INCEpTION annotation tool remote API

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycaprio-0.3.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycaprio-0.3.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file pycaprio-0.3.1.tar.gz.

File metadata

  • Download URL: pycaprio-0.3.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pycaprio-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f6eec3db8e2f8baf556892b12ead847d522ae0d060ab36d4bb26a09ea8f35042
MD5 2367c72ee2c7f294b9b9e10b322894db
BLAKE2b-256 a17db871c68dcb9f4f7ca821bec173094e8ebd5c1748d4e937842a395716b326

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycaprio-0.3.1.tar.gz:

Publisher: publish_to_pypi.yml on inception-project/pycaprio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pycaprio-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pycaprio-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pycaprio-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6796d91a6dbc103b4d91563f35e81297ee64988911c9492d0068890b95f6f05d
MD5 8263edb695de72a8b6799858a7688f47
BLAKE2b-256 69ea74f7b5ef8db92fe6ba1f8386e9668425e79da4487c9c817004db2b8c66cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycaprio-0.3.1-py3-none-any.whl:

Publisher: publish_to_pypi.yml on inception-project/pycaprio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page