Averbis-python-api

Latest version: v0.12.0

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

Scan your dependencies

Page 1 of 2

0.12.0

We are happy to announce release `0.12.0` of the Averbis Python API. This release introduces new features such as annotator listings, experimental PDF analysis, and document deletion from a collection, along with a new endpoint for uploading license files. Additionally, it resolves an evaluation process bug and updates compatibility to support Python 3.12, dropping support for Python 3.6 and 3.7.

What's Changed
* Issue 152: List annotators by UWinch in https://github.com/averbis/averbis-python-api/pull/153
* Issue 154: Evaluation fails when calling _ensure_process_created by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/155
* Issue 156: Support analysing pdf by UWinch in https://github.com/averbis/averbis-python-api/pull/157
* Issue 159: Support for Python 3.12+ & Drop Support for Python 3.6 & Python 3.7 by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/160
* Issue 158: Add support for document deletion endpoint by UWinch in https://github.com/averbis/averbis-python-api/pull/162
* Issue 161: Add endpoint for uploading license file by UWinch in https://github.com/averbis/averbis-python-api/pull/163


**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.11.0...0.12.0

0.11.0

What's Changed
With the latest release 0.11.0, one can configure via the Averbis Python API which annotation types are saved for each process.

* Issue 147: Support for annotation_types parameter in create_process … by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/148
* Issue 149: Support for lists in annotation types parameter by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/150


**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.10.0...0.11.0

0.10.0

Averbis Python API 0.10.0
The main focus in this release is improving the document export speed together with providing new end points for renaming processes, usability and documentation improvements.

What's Changed
* Issue 127: rename process by UWinch in https://github.com/averbis/averbis-python-api/pull/128
* Issue 129: Run tests against all Python versions 3.6 - 3.11. by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/130
* Issue 131: Speed up exporting processes via export document by UWinch in https://github.com/averbis/averbis-python-api/pull/132
* Issue 139: Normalize URL in Client by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/140
* Issue 134: Export as CAS: only get document id if really necessary by UWinch in https://github.com/averbis/averbis-python-api/pull/135
* Issue 143: Option to set arbitrary config params in the EvaluationCo… by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/144
* Issue 141: Get document typesystem by name instead of id by UWinch in https://github.com/averbis/averbis-python-api/pull/142
* Issue 137: Document evaluation API endpoint by UWinch in https://github.com/averbis/averbis-python-api/pull/138
* Issue 133: Support type filter for exporting as CAS by UWinch in https://github.com/averbis/averbis-python-api/pull/136

**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.9.0...0.10.0

0.9.0

We are happy to announce release `0.9.0` of the Averbis Python API.

Evaluation API Support
We now provide experimental support for evaluating text analysis results using the Averbis Python API. If you have two processes, let's say one `gold_process` containing an annotated dataset, and a second process that is the result of processing the documents from the same dataset with a pipeline (e.g. `discharge_process`), then you can compare the created annotations. In a simple scenario, one compares the spans of all Diagnosis annotations with the following code snippet.

python
eval_config = EvaluationConfiguration("de.averbis.types.health.Diagnosis", ["begin", "end"])
eval_process: Process = discharge_process.evaluate_against(gold_process,
process_name=f"{collection_name}-discharge-eval",
evaluation_configurations=[eval_config])

One can then download the results of the `eval_process` and proceed, e.g. by computing metrics over the whole dataset or by inspecting differences in the annotations. It is also possible to configure the `EvaluationConfiguration` to compare specific features or using different matching_criteria (e.g. `OVERLAP_MATCH`) using `eval_config.use_overlap_partial_match()`. The Evaluation API is avaiable in `Health-Discovery version >= 6.11.0`.

What's Changed
* Issue 121: Update URL for list_projects by UWinch in https://github.com/averbis/averbis-python-api/pull/124
* Issue 120: Compare results of textanalysis processes by UWinch in https://github.com/averbis/averbis-python-api/pull/122
* Issue 123 add flag exist ok when creating project by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/125

**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.8.0...0.9.0

0.8.0

We are happy to release a new Python API version.

What's Changed
* Feature 103: Support calls to addTextAnalysisResult and updateTextAnalysisResult by UWinch in https://github.com/averbis/averbis-python-api/pull/111
* Feature 110: Add support for the analyzeCasToCas endpoint by reckart in https://github.com/averbis/averbis-python-api/pull/112
* Bugfix 115 analyse texts to cas returns results only after all data has been processed by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/116
* Bugfix 118: Require filename to be provided in import_documents for str by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/119


**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.7.0...0.8.0

0.7.0

We are happy to release a new Python API version.

What's Changed
* 96 - Properly encoding special chars in URL by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/97
* 98 - Adding `page` and `page_size` parameter to export_text_analysis by DavidHuebner in https://github.com/averbis/averbis-python-api/pull/99
* 100 - Remove annotation_types from analyse_text_to_cas as platform does not support this parameter by reckart in https://github.com/averbis/averbis-python-api/pull/106
* 101 - analyse_texts returns results only after all data has been processed by reckart in https://github.com/averbis/averbis-python-api/pull/102
* 103 - Add update textanalysis result by UWinch in https://github.com/averbis/averbis-python-api/pull/104
* 108 - Update to cassis 0.7.0 by reckart in https://github.com/averbis/averbis-python-api/pull/109

New Contributors
* UWinch made their first contribution in https://github.com/averbis/averbis-python-api/pull/104

**Full Changelog**: https://github.com/averbis/averbis-python-api/compare/0.6.0...0.7.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.