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 the you need to provide a \matches folder in the generic data folder to link generic products and EPDs. .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 ..."
  ]
}

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.2.tar.gz (319.4 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.2-py3-none-any.whl (462.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: materia_epd-0.2.2.tar.gz
  • Upload date:
  • Size: 319.4 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.2.tar.gz
Algorithm Hash digest
SHA256 887c9ab28cd7e7af83f3327809b12dd6d7ace8c0eb4f481723d75832b6ce30f1
MD5 56040833b81b3816a71bc6a6b7310ee4
BLAKE2b-256 3ddff0a49a28a8d4606d59d37df5e83049d67a7b0861d623413616769be9b21f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: materia_epd-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 462.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0cc80e1640c0ff2fb571699893c02b777d9cd80c18282d620a8a59a4b55cfbc
MD5 8e4efa6c1196319922bd2563fa6f82b1
BLAKE2b-256 793d75c6d7d2f31d0ae39bcef4dca1fc67a81f8adeb2487faceb66594835974e

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