Skip to main content

EXACT-Sync

PyPI version fury.io MIT license

Rest API sync with the EXACT Server https://github.com/ChristianMarzahl/Exact

Browsable-API

Example Notebooks

In the folder examples

Pip

pip install EXCAT-Sync

Tests

with a lot of implementation examples /exact_sync/v1/test

Basic features:

Connect to server

configuration = Configuration()
configuration.username = 'exact'
configuration.password = 'exact'
configuration.host = "http://127.0.0.1:8000"

client = ApiClient(configuration)

image_sets_api = ImageSetsApi(client)
annotations_api = AnnotationsApi(client)
annotation_types_api = AnnotationTypesApi(client)
images_api = ImagesApi(client)
product_api = ProductsApi(client)
team_api = TeamsApi(client)

Get image set information

image_sets = image_sets_api.list_image_sets(name="cluster_asthma_imageset")
image_sets

Upload image to image set

image_type = int(Image.ImageSourceTypes.DEFAULT)
image = images_api.create_image(file_path=target_file, image_type=image_type, image_set=image_set.id).results[0]
Donwload image from image set
images_api.download_image(id=image_id, target_path=image_path, original_image=True)

Download image annotations

annotations_api.list_annotations(pagination=False, async_req=True, image=image.id)

Metadata

Release files for EXCAT-Sync 0.0.38

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EXCAT-Sync 0.0.38
File Size Uploaded
EXCAT-Sync-0.0.38.tar.gz 79.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for EXCAT-Sync 0.0.38
File Interpreter ABI Platform
EXCAT_Sync-0.0.38-py3-none-any.whl Python 3 none any Details

Total release size: 233.9 kB

Release files / EXCAT-Sync-0.0.38.tar.gz

Download URL EXCAT-Sync-0.0.38.tar.gz
Size 79.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7a166add6c53f89ed369763f1955ad352a49ac0c54d4e1af1cd35dc0148f54dc
BLAKE2b-256 checksum
How to use checksums
a8991d5dbcaca4f30d411ace78a5add6fe676344e48674e73d806fd53caad46a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / EXCAT_Sync-0.0.38-py3-none-any.whl

Download URL EXCAT_Sync-0.0.38-py3-none-any.whl
Size 154.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3e7d9ff6db0f2f20ce11d3aca884b52a734e5b6953c942ca0d1752b73a19731
BLAKE2b-256 checksum
How to use checksums
3ede7bd0c44a8c61455558740e775a0aeead875af28c8b9e524de7ad85315275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13
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