Python client for the INCEpTION annotation tool remote API
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6eec3db8e2f8baf556892b12ead847d522ae0d060ab36d4bb26a09ea8f35042
|
|
| MD5 |
2367c72ee2c7f294b9b9e10b322894db
|
|
| BLAKE2b-256 |
a17db871c68dcb9f4f7ca821bec173094e8ebd5c1748d4e937842a395716b326
|
Provenance
The following attestation bundles were made for pycaprio-0.3.1.tar.gz:
Publisher:
publish_to_pypi.yml on inception-project/pycaprio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycaprio-0.3.1.tar.gz -
Subject digest:
f6eec3db8e2f8baf556892b12ead847d522ae0d060ab36d4bb26a09ea8f35042 - Sigstore transparency entry: 234449302
- Sigstore integration time:
-
Permalink:
inception-project/pycaprio@c74d79f6f98bb5db9087e3625787bcece3662017 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/inception-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@c74d79f6f98bb5db9087e3625787bcece3662017 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6796d91a6dbc103b4d91563f35e81297ee64988911c9492d0068890b95f6f05d
|
|
| MD5 |
8263edb695de72a8b6799858a7688f47
|
|
| BLAKE2b-256 |
69ea74f7b5ef8db92fe6ba1f8386e9668425e79da4487c9c817004db2b8c66cb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycaprio-0.3.1-py3-none-any.whl -
Subject digest:
6796d91a6dbc103b4d91563f35e81297ee64988911c9492d0068890b95f6f05d - Sigstore transparency entry: 234449318
- Sigstore integration time:
-
Permalink:
inception-project/pycaprio@c74d79f6f98bb5db9087e3625787bcece3662017 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/inception-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@c74d79f6f98bb5db9087e3625787bcece3662017 -
Trigger Event:
push
-
Statement type: