Skip to main content

Generic EPD Aggregator

Project description

Generic EPD Aggregator

Build Coverage PyPI Python License pre-commit Code style: black Flake8


Features

  • Parse ILCD process and flow XMLs
  • Normalize material properties and LCIA modules
  • Aggregate impacts and compute weighted averages
  • Write new ILCD XML datasets

Installation

Install via PyPI:

pip install materia-epd

Requires Python 3.10+.


Usage

Here’s a minimal example:

python -m materia <generic_processes_dir> <epd_processes_dir> -o <output_dir>

Note that you need to point to the \root\provesses folders and need to provide a \matches folder in the generic data folder to link generic products and EPDs. The .json files are named after corresponding generic products and should be strucured as follows:

{
  "type": "<aggregation_type>",  // "average" or "assembled"
  "uuids": [
    "<uuid-1>",
    "<uuid-2>",
    "<uuid-3>",
    "... more UUIDs ..."
  ]
}

where the provided uuids link to the process files of the EPDs that match.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

materia_epd-0.2.4.tar.gz (319.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

materia_epd-0.2.4-py3-none-any.whl (463.0 kB view details)

Uploaded Python 3

File details

Details for the file materia_epd-0.2.4.tar.gz.

File metadata

  • Download URL: materia_epd-0.2.4.tar.gz
  • Upload date:
  • Size: 319.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for materia_epd-0.2.4.tar.gz
Algorithm Hash digest
SHA256 2355ec856676b559723d616d10f861d74200895018785ad1b7a95a97b40df555
MD5 ad9c597b35baf8dc41c40bbb8bf953d3
BLAKE2b-256 654525e7c0db29fc1d26ad764157a9fdbd451025fb8c687ba71d5714fcb4ac8b

See more details on using hashes here.

File details

Details for the file materia_epd-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: materia_epd-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 463.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for materia_epd-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73a9349c897b7b383eb124756dea89f18fb1c78251493d0f10bb1dd3c4becea5
MD5 058c4841cf346d86242d2fc18c098a69
BLAKE2b-256 d85996f523eb48a42e2bf329ad5347942e55c9efa1d0b4b7dff1b53d1267730b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page