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.3.tar.gz (319.5 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.3-py3-none-any.whl (462.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: materia_epd-0.2.3.tar.gz
  • Upload date:
  • Size: 319.5 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.3.tar.gz
Algorithm Hash digest
SHA256 5023c4c8353b5ae7020369df786662638be05a3262e7cbbd1ff3bf92a8b8283b
MD5 a8e2ff8a2649dac73bd785a30c469cc9
BLAKE2b-256 ced07951a2b7d8dd561131e190b02106c454cfbd4d0847b13bf0508c0dd334ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: materia_epd-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 462.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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 090e91f0a693ec7b6348b730b70950e236f30a857045a653c001df647aa3b63d
MD5 13aca2992dd6292ea72e4ca4d5315b85
BLAKE2b-256 65192480eef1adaa3ccf22e262641b6963f5f51e0cf20b5f404ba256b20b6125

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