EXACT-Sync
Rest API sync with the EXACT Server https://github.com/ChristianMarzahl/Exact
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)
| File | Size | Uploaded | |
|---|---|---|---|
| exact_sync-0.0.40.tar.gz | 76.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|