Openscm-units

Latest version: v0.5.4

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

Scan your dependencies

Page 1 of 2

0.5.4

Announcements

* This is a hot-fix release as v0.5.3 had the LICENSE metadata set incorrectly

Changes

* 34100df bump: version 0.5.3 -> 0.5.4
* 865d168 CHANGELOG
* e4538ce Fix license metadata

0.5.3

Announcements

* OpenSCM-Units now has type hints 🎉 If there are any issues in your IDEs etc., please raise an issue
* We have also cleaned up our docs a bit, check them out at https://openscm-units.readthedocs.io/en/latest/

Changes

* b8c4003 bump: version 0.5.2 -> 0.5.3
* 0adac5f Fix up trailing full stop
* 47fad25 CHANGELOG
* cdba618 Move unit_registry into __init__ so it appears in docs
* d1b8546 Get members showing correctly
* 4af286f Move docs
* b726f96 CHANGELOG
* 774013c Catch one more error
* 35801f3 Hotfix status badge
* cf64076 Remove redundant changelog entry
* f38e949 Add private mdoule into docs too
* 47fc71f Delete redundant .gitkeep files
* f880841 Fix up copier answers
* a706702 Revert pint minimum version
* a1d3395 Give up fighting sphinx
* 1a28417 Clean up docs
* cfadc93 Remove old notebook
* ac72f30 Update version
* dba5c62 Add breaking changelog
* c723051 Update rtd config
* c451e1a Update PR template
* 5890f77 Get pre-commit passing
* 90b876c Switch to copier
* 424d087 docs: correct github links

0.5.2

- (`40 <https://github.com/openscm/openscm-units/pull/40>`_) Fixed broken definition of ppm, caused by regression in Pint where `'ppm' was added to Pint <https://github.com/hgrecco/pint/pull/1661>`_

0.5.0

- (`30 <https://github.com/openscm/openscm-units/pull/30>`_) Custom metrics are now to be provided as :obj:`pd.DataFrame` rather than being read off disk
- (`29 <https://github.com/openscm/openscm-units/pull/29>`_) Load Global Warming Potentials from `globalwarmingpotentials <https://github.com/openclimatedata/globalwarmingpotentials>`_ package.

0.4.0

- (`28 <https://github.com/openscm/openscm-units/pull/28>`_) Add ability to use a custom metrics csv with :class:`ScmUnitRegistry`
- (`28 <https://github.com/openscm/openscm-units/pull/28>`_) Drop Python3.6 support
- (`27 <https://github.com/openscm/openscm-units/pull/27>`_) Add github action to automatically draft a github release from a git tag.

0.3.0

------

- (`25 <https://github.com/openscm/openscm-units/pull/25>`_) Add "N2O_conversions" context to remove ambiguity in N2O conversions
- (`23 <https://github.com/openscm/openscm-units/pull/23>`_) Add AR5 GWPs with climate-carbon cycle feedbacks (closes `#22 <https://github.com/openscm/openscm-units/issues/22>`_)
- (`20 <https://github.com/openscm/openscm-units/pull/20>`_) Make ``openscm_units.data`` a module by adding an ``__init__.py`` file to it and add docs for ``openscm_units.data`` (closes `#19 <https://github.com/openscm/openscm-units/issues/19>`_)
- (`18 <https://github.com/openscm/openscm-units/pull/18>`_) Made NH3 a separate dimension to avoid accidental conversion to CO2 in GWP contexts. Also added an ``nh3_conversions`` context to convert to nitrogen (closes `#12 <https://github.com/openscm/openscm-units/issues/12>`_)
- (`16 <https://github.com/openscm/openscm-units/pull/16>`_) Added refrigerant mixtures as units, including automatic GWP calculation from the GWP of their constituents. Also added the ``unit_registry.split_gas_mixtures`` function which can be used to split quantities containing a gas mixture into their constituents (closes `#10 <https://github.com/openscm/openscm-units/issues/10>`_)

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.