Cdl-convert

Latest version: v0.9.2

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

Scan your dependencies

Page 2 of 2

0.6

===========

- Adds much greater ASC CDL XML compliance with the addition of many classes that represent node concepts in the CDL XML schema.
- Moves ``viewing_desc`` and ``input_desc`` attributes and methods into the base class :class:`AscColorSpaceBase` .
- Moved ``desc`` attribute and methods into the base class :class:`AscDescBase` .
- Adds :class:`ColorCollectionBase` class for a basis of all collection type nodes (:class:`ColorCorrectionCollection` , :class:`ColorDecisionList` , etc).
- Adds :class:`MediaRef` class which represents the MediaRef node of a ColorDecision. This class allows convenient handling of files given as media reference.
- Adds ``HALT_ON_ERROR`` module variable which determines certain exception handling behavior. Exceptions that can normally be handled with default behavior (such as negative Slope or Power values) will be dealt with silently instead of stopping the program. Negative Slope and Power values, for example, will clip to 0.0.
- :class:`ColorCorrection` (formally :class:`AscCdl`) class changes:
- Renames :class:`AscCdl` to :class:`ColorCorrection` .
- Adds class level member dictionary, which allows lookup of a :class:`ColorCorrection` instance by the unique ID.
- :class:`ColorCorrection` objects now require a unique ID to be instantiated.
- Removes ``metadata`` attribute of :class:`ColorCorrection` .
- Moves SOP and SAT operations out of :class:`ColorCorrection` into their own classes, which are based on :class:`ColorNodeBase` . The :class:`SatNode` and :class:`SopNode` classes are still meant to be children of :class:`ColorCorrection`.
- Added ``sop_node`` and ``sat_node`` attributes to access the child :class:`SatNode` and :class:`SopNode` .
- Removed ``metadata`` attribute, splitting it into the inherited attributes of ``input_desc``, ``viewing_desc`` and ``desc``.
- ``desc`` attribute is now fully fleshed out as a list of all encountered description fields.
- Renamed ``cc_id`` field to ``id``, shadowing the built in ``id`` within the class.
- Slope, Offset and Power now return as a tuple instead of a list to prevent index assignment, appending and extending.
- ``parse_cc`` should now parse a much greater variety of ``.cc`` files more accurately.
- Now supports infinite Description fields
- Now supports Viewing and Input Description fields
- Significantly simplifies the function.
- ``parse_flex`` has been significantly simplified.
- Test Suite broken up into sub-modules.
- Adds PyPy support.
- Adds ReadTheDocs
- Adds docs to build

0.5

===========

- Project is now structured according to Python packaging guidelines with ``setup.py`` etc.
- Some :class:`AscCdl` attributes have been moved into dictionaries (Note that this was later reversed in release 0.6)
- Refactors some parse functions to be less complex
- Makes ``write_cdl`` much simpler and more pythonic.

0.4.2

=============

- Hotfix to fix ``from __future__`` imports

0.4.1

=============

- :pep:`8` conversion
- landscape.io support
- Uses ``from __future__`` for print

0.4

===========

- Python 3 compatible
- More unit testing bug fixes and enhancements.
- Adds better type and exception handling for :class:`AscCdl` setters.
- Now sanitizes id fields of any characters they shouldn't contain.
- Test suite runs on windows now
- Adds Travis-ci for continuous integration testing
- ``parse_cc`` now uses ``ElementTree`` for XML parsing

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.