Odml

Latest version: v1.5.4

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

Scan your dependencies

Page 3 of 3

1.3.3

Features

- Terminology caching and loading update.
- Terminology section access and type listing functions.
- Define and use common format version number for all parsers.
- Supported format version check: When trying to open a file with any of the odml parsers,
first the document format version number is checked. If the found version number does
not match the supported one, file loading will fail an exception, since this is the
oldest format version. If anyone tries to open a newer format, they should first
update their odML package and not use this one.
- Document saving: An odML document can now only be saved, if the validation does not show
any errors. Saving an invalid document will exit while printing all encountered
errors.
- Parser: All parsers are now more relaxed when encountering unsupported tags or missing
tags and only print warnings instead of ending with an exception. Warnings are
collected and can be accessed via the parser object (required for display in
[odml-ui](https://github.com/G-Node/odml-ui) to avoid potential loss of information).
- Package and format information added or updated: `Version`, `Format version`, `Contact`,
`Homepage`, `Author`, PyPI `Classifiers`, `Copyright`.
- Removes the license text from `setup.py`. The license text interfered with the PyPI
process in a way, that the description was not displayed on PyPI.
- Removes the image folder from the project, since they are exclusively used in the
outsourced [odml-ui](https://github.com/G-Node/odml-ui) project.

Fixes
- Fixes a bug that prohibits the parsing of `json` or `yaml` files; 191.
- Fixes a bug that fails parsing of `json` or `yaml` files when `Section.repository`, `Section.link` or `Section.include` are present; 194.

1.3.2

- Expose load, save, and display functions to top level module
- These functions accept a `backend` argument that specifies the parser or writer.
Can be one of `XML`, `JSON`, or `YAML`.

1.3.1

- move ui to a separate repository https://github.com/g-node/odml-ui
- python3 compatibility
- add json and yaml storage backends

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.