Encord

Latest version: v0.1.121

Safety actively analyzes 638346 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 17

0.1.46.1

New Features
You are now able to set the video, image group, and image title at the time you are uploading the data. Please check the doc strings of these functions for explanations around the interface.v

What's Changed
* Add yoltv4 model to `AutomationModels` enum by denis-cord in https://github.com/encord-team/encord-client-python/pull/177
* Add custom title option for image groups and video upload at upload time. by denis-cord in https://github.com/encord-team/encord-client-python/pull/176
* Update answer dictinary construction for single images. by frederik-encord in https://github.com/encord-team/encord-client-python/pull/178
* Version bump 0.1.46 by denis-cord in https://github.com/encord-team/encord-client-python/pull/181


**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.45...0.1.46.1

0.1.45

New functions

Conveniently inspect your models and training iterations:
py
from encord import EncordUserClient
from encord.utilities.project_utilities import get_all_model_iteration_uids


user_client = EncordUserClient.create_with_ssh_private_key(<your_ssh_key>)
project = user_client.get_project(<project_id>)

model_configurations = project.list_models()
all_model_iteration_uids = get_all_model_iteration_uids(model_configurations)
training_metadata = project.get_training_metadata(
all_model_iteration_uids,
get_model_training_labels=True,
)


Upload single images instead of image groups with:
py
from encord import EncordUserClient

user_client = EncordUserClient.create_with_ssh_private_key(<your_ssh_key>)
dataset = user_client.get_dataset(<dataset_id>)
dataset.upload_image(<image_path>, title="custom_title.jpg")

Read more about images and image groups [here](https://docs.encord.com/docs/annotate/editor/images) and [here](https://docs.encord.com/docs/annotate/editor/videos).

What's Changed
* Add changelog link by denis-cord in https://github.com/encord-team/encord-client-python/pull/174
* DEV-1311 - Add the list_models and get_training_metadata functions by denis-cord in https://github.com/encord-team/encord-client-python/pull/138
* Allow file upload of native single images by denis-cord in https://github.com/encord-team/encord-client-python/pull/172
* Version bump 0.1.45 by denis-cord in https://github.com/encord-team/encord-client-python/pull/175


**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.44...0.1.45

0.1.44

What's Changed
* Remove print statements by denis-cord in https://github.com/encord-team/encord-client-python/pull/166
* Remove unnecessary uuid dependency by denis-cord in https://github.com/encord-team/encord-client-python/pull/167
* Allow native images as a data type by denis-cord in https://github.com/encord-team/encord-client-python/pull/170
* Fix the construct_answer_dictionaries function by denis-cord in https://github.com/encord-team/encord-client-python/pull/171
* Version bump 0.1.44 by denis-cord in https://github.com/encord-team/encord-client-python/pull/173


**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.43...0.1.44

0.1.43

Backwards compatibility warning
If you have been using the `Ontology` object from `encord.objects.ontology` then you will need to do the following:
Replace lines such as:
py
from encord.objects.ontology import Ontology

with this:
py
from encord.objects.ontology_structure import OntologyStructure


The functionality of the new `encord.objects.ontology_structure.OntologyStructure` object is the same as the previous `encord.objects.ontology.Ontology` object.

What's Changed
* Add additional link about private key gen by denis-cord in https://github.com/encord-team/encord-client-python/pull/151
* Ontology entity handling and structure editing by alexey-cord-tech in https://github.com/encord-team/encord-client-python/pull/149
* Docs update and version bump by denis-cord in https://github.com/encord-team/encord-client-python/pull/156
* Uploading images to our platform by denis-cord in https://github.com/encord-team/encord-client-python/pull/157
* Add the OTC integration parameter to StorageLocation by rad-cord in https://github.com/encord-team/encord-client-python/pull/153
* Fix issue with expiring signed URLs on upload of many images (159) by denis-cord in https://github.com/encord-team/encord-client-python/pull/160
* Add DICOM to DataType enum by rad-cord in https://github.com/encord-team/encord-client-python/pull/158
* Retry all network requests by denis-cord in https://github.com/encord-team/encord-client-python/pull/161
* Pin TLS certificate. Point default endpoint to api.encord.com by rad-cord in https://github.com/encord-team/encord-client-python/pull/162
* Improve some tests for safety by denis-cord in https://github.com/encord-team/encord-client-python/pull/164
* Reuse the existing HTTPS session to avoid expensive TCP and TLS hands… by rad-cord in https://github.com/encord-team/encord-client-python/pull/163
* Version bump 0.1.43 by denis-cord in https://github.com/encord-team/encord-client-python/pull/165

**Read more about our new RequestsSettings object for automatic HTTP request retries [here](https://python.docs.encord.com/api.html#encord.http.constants.RequestsSettings).**

If you want to overwrite the default values you can do so when instantiating the `EncordUserClient`
py
encord_user_client = EncordUserClient.create_with_ssh_private_key(
os.environ.get("SSH_KEY"),
requests_settings=RequestsSettings(max_retries=5, backoff_factor=0.1),
)


**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.40.1...0.1.43

0.1.42

What's Changed
* Fix issue with expiring signed URLs on upload of many images by denis-cord in https://github.com/encord-team/encord-client-python/pull/159


**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.41...0.1.42

0.1.41

**Full Changelog**: https://github.com/encord-team/encord-client-python/compare/0.1.40.1...0.1.41
* [Add retry logic for image and video uploads (](https://github.com/encord-team/encord-client-python/commit/d16c8bdf0e1436b7c3396b9f24a21e14374c4f02)https://github.com/encord-team/encord-client-python/pull/154[)](https://github.com/encord-team/encord-client-python/commit/d16c8bdf0e1436b7c3396b9f24a21e14374c4f02)
* [Add CloudUploadSettings to CVAT import (](https://github.com/encord-team/encord-client-python/commit/cf1c90f9f84dad641159eb0ab8e97565f7faee70)https://github.com/encord-team/encord-client-python/pull/155[)](https://github.com/encord-team/encord-client-python/commit/cf1c90f9f84dad641159eb0ab8e97565f7faee70)

Page 13 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.