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 EXACT-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 EXACT-Sync 0.0.40

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

Source distribution (sdist)

Source distribution for EXACT-Sync 0.0.40
File Size Uploaded
exact_sync-0.0.40.tar.gz 76.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for EXACT-Sync 0.0.40
File Interpreter ABI Platform
exact_sync-0.0.40-py3-none-any.whl Python 3 none any Details

Total release size: 231.3 kB

Release files / exact_sync-0.0.40.tar.gz

Download URL exact_sync-0.0.40.tar.gz
Size 76.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8055425a34f9ecf619414f1989b3e8182be0672809c65914b5a3833b3464329b
BLAKE2b-256 checksum
How to use checksums
d9242ef7db36980dee5160492fe2e32bbdf898677205ce368ba1a91f8785c92e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / exact_sync-0.0.40-py3-none-any.whl

Download URL exact_sync-0.0.40-py3-none-any.whl
Size 154.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b28895db5abae93bdb48e5922a72b67a7a50f141b7db593574710efa4e07b827
BLAKE2b-256 checksum
How to use checksums
d8e5f1e1c5404107b14c02809898ef6f4b0891001b37be43af2f2c3b0bbae2a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.0.40 This release

2 release files

0.0.39

2 release files

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