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_epd <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.4.0.tar.gz (79.3 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.4.0-py3-none-any.whl (157.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: materia_epd-0.4.0.tar.gz
  • Upload date:
  • Size: 79.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 8a40524821f10d8f913efde4af87cf33146e934de4b7f9df12efb997d360890b
MD5 0544d89e2d8dd4356369eb789d4ed0f0
BLAKE2b-256 9a4483d480d60d2406814fc84aecf1ff39aee68627fc8d99cfc2b57359ff4548

See more details on using hashes here.

File details

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

File metadata

  • Download URL: materia_epd-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 157.8 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2da172a3537d583c6e7ac462aa9c7c06cb9532156b032bd941daaa744bda96b3
MD5 bcef4f5b957d1f74e10d43b26e3c0447
BLAKE2b-256 180d38a6f71a95479a1b62b5e702993a79e2c97acb8676d0f2904f39404a950d

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