Mescal

Latest version: v1.1.3

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

Scan your dependencies

Page 2 of 2

1.0.1

Added
- Perform double-counting removal using the `create_esm_database` function (from `double_counting.py`).
- Compute your LCA metrics for a set of impact categories using the `compute_impact_scores` function (from `impact_assessment.py`).
- Reformat results as `.mod` and `.dat` files if you are using [AMPL](https://ampl.com/) with the `normalize_lca_metrics` (from `normalization.py`) and `gen_lcia_obj` (from `generate_lci_obj_ampl.py`) functions.
- Feed the ESM results back in the LCI database using the `create_new_database_with_esm_results` function (from `esm_back_to_lca.py`).
- Add CPC categories to additional LCI datasets, e.g., from [`premise`](https://premise.readthedocs.io/en/latest/introduction.html), with the `create_new_database_with_CPC_categories` function (from `CPC.py`).
- Relink a mapping to a new database using the `create_complementary_database` function (from `link_to_premise.py`).
- Relink a mapping to a new version of [ecoinvent](https://ecoinvent.org/) using the `change_ecoinvent_version_mapping` and `update_unit_conversion_file` functions (`change_ecoinvent.py`).
- Regionalize the foreground of LCI datasets by setting `regionalize_foregrounds=True` in the `create_esm_database` function (from `double_counting.py`).

Page 2 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.