Unfccc-di-api

Latest version: v4.0.1

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

Scan your dependencies

Page 1 of 2

4.0.1

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

* Use data released until 2024-01-08 when using the ZenodoReader.
* Support python 3.12.

4.0.0

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

* Breaking: the UNFCCC restricted API access, likely you have to change your code to
use the new ZenodoReader instead.
* Add ZenodoReader which doesn't rely on API access.
* Use data released until 2023-07-18 when using the ZenodoReader.
* Build the documentation on ReadTheDocs using newer Python and Sphinx versions.

3.0.2

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

* Support python 3.11.
* Drop support for python 3.6.

3.0.1

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

* Fix handling of unspecified measure IDs. The DI API started returning measure IDs
without a name or description. We now call them ``unknown measure nr. {measureId}``
instead of erroring out.

3.0.0

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

* Support python 3.10.
* Fix handling of duplicate variable IDs. **Note**: This entails changes to the public
API! In particular, UNFCCCSingleCategoryApiReader.variables now has a generic index
instead of using the ``variableId`` as index. Also, the ``query`` function now
correctly restricts queries if ``category_ids`` are provided and correctly fills
all categories with data for a multi-category variable.
* Fix pre-commit config for newer mypy type checking versions.
* Raise a more informative NoDataError (subclass of KeyError) instead of a generic
KeyError when a query result is empty.

2.0.1

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

* Change build system.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.