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)

Download files

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

Source Distribution

exact_sync-0.0.40.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

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

exact_sync-0.0.40-py3-none-any.whl (154.8 kB view details)

Uploaded Python 3

File details

Details for the file exact_sync-0.0.40.tar.gz.

File metadata

  • Download URL: exact_sync-0.0.40.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for exact_sync-0.0.40.tar.gz
Algorithm Hash digest
SHA256 8055425a34f9ecf619414f1989b3e8182be0672809c65914b5a3833b3464329b
MD5 b2e047c69697e77dc1d14eaf190f9526
BLAKE2b-256 d9242ef7db36980dee5160492fe2e32bbdf898677205ce368ba1a91f8785c92e

See more details on using hashes here.

File details

Details for the file exact_sync-0.0.40-py3-none-any.whl.

File metadata

  • Download URL: exact_sync-0.0.40-py3-none-any.whl
  • Upload date:
  • Size: 154.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for exact_sync-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 b28895db5abae93bdb48e5922a72b67a7a50f141b7db593574710efa4e07b827
MD5 c305ec07eace1a320bde35bcaba25c11
BLAKE2b-256 d8e5f1e1c5404107b14c02809898ef6f4b0891001b37be43af2f2c3b0bbae2a9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.40 This release

2 files

0.0.39

2 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