Ocdskit

Latest version: v1.3.2

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

Scan your dependencies

Page 8 of 10

0.2.4

------------------

Fixed
~~~~~

- ``convert-to-oc4ids`` no longer errors.

0.2.3

------------------

Added
~~~~~

New CLI commands:

- ``convert-to-oc4ids``

New library module:

- ``ocdskit.oc4ids``

Changed
~~~~~~~

- :ref:`compile` errors if an ``ocid`` field is missing from a release (see :meth:`ocdskit.packager.AbstractBackend.add_release`).
- :ref:`upgrade` upgrades records (see :func:`ocdskit.upgrade.upgrade_10_11`).

0.2.2

------------------

Changed
~~~~~~~

- Avoid exception when piping output to tools like ``head``.
- :ref:`package-releases`, :ref:`package-records`: Use fast writer if ``--size`` is set.
- :ref:`echo`: Use fast writer (assuming ``--root-path`` is set anytime input is too large).

0.2.1

------------------

Added
~~~~~

New CLI options:

- :ref:`package-records`: ``--size``
- :ref:`package-releases`: ``--size``

New CLI commands:

- :ref:`echo`

Changed
~~~~~~~

- Implement iterative JSON writer.
- Use ``orjson`` if available to improve performance of dumping/loading JSON, especially to/from SQL in :ref:`compile` command (see :mod:`ocdskit.packager`).

Fixed
~~~~~

- :ref:`combine-record-packages` no longer duplicates release package URLs in ``packages`` field (see :func:`ocdskit.combine.combine_record_packages`).

0.2.0

------------------

Added
~~~~~

New library module:

- :mod:`ocdskit.packager`

Changed
~~~~~~~

CLI:

- :ref:`compile` accepts either release packages or individual releases (see :func:`ocdskit.combine.merge`).
- :ref:`compile` is memory efficient if given a long list of inputs (see :func:`ocdskit.combine.merge`).

Library:

- Deprecate ``ocdskit.combine.compile_release_packages`` in favor of :func:`ocdskit.combine.merge`.

Fixed
~~~~~

- ``--linked-releases`` no longer uses the same linked releases for all records (see :meth:`ocdskit.packager.Packager.output_records`).

0.1.5

------------------

Added
~~~~~

New library methods:

- :func:`ocdskit.util.is_record`
- :func:`ocdskit.util.is_release`

The internal methods ``ocdskit.util.json_load`` and ``ocdskit.util.json_loads`` are removed.

Page 8 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.