LCAx is an open, machine and human-readable data format for exchanging LCA results.
Project description
LCAx
The goal for LCAx is to make an open, machine and human-readable data format for exchanging LCA results, EPD's and assemblies.
We propose a simple three level data format with information on project, assembly and EPD level, written in an open data format and paired with a validator for a more robust and standardized format. We intend to create connections to existing tools and API’s.
Our goal is making LCA calculations more accessible, transparent, and open.
Rust
Install Rust
Head over to Rust's installation page
Install Rust Dependencies
cargo update
Run Rust Tests
cargo test --package lcax --target x86_64-unknown-linux-gnu
Export JSON Schema
cargo run --target x86_64-unknown-linux-gnu --bin export-schema > lcax.schema.json
Python
Install Python Dependencies
pip install maturin venv
Run Python Tests
maturin develop --extras tests,codegen --target x86_64-unknown-linux-gnu
source .venv/bin/activate .
datamodel-codegen \
--input lcax.schema.json \
--output packages/python/src/lcax/pydantic.py
cd packages/python
pytest tests/
Build Documentation
maturin develop --extras doc --target x86_64-unknown-linux-gnu
mkdocs serve
JavaScript/TypeScript
Build JS Package
wasm-pack build --features jsbindings
mv pkg/lcax* packages/javascript/src
Run JS Tests
npm run test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
lcax-2.3.2-cp310-abi3-win_amd64.whl
(756.5 kB
view hashes)
Close
Hashes for lcax-2.3.2-cp310-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a5c7b0385efa7a03e46959b3e8a3d027695a6c760b544d33b64ad19c81fe30 |
|
MD5 | 438cee1afe726cea84ba90024140f966 |
|
BLAKE2b-256 | 5ce83796d32fb3b9ef761a8272ab8ac883f0be1238216ef4328ea72a02cd9c89 |
Close
Hashes for lcax-2.3.2-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f55204436f567bf365166b5ffa94eeb5375d35318bfdd14c34026f826971f44 |
|
MD5 | da5a6e1dcbb476eed7a6991f694cd332 |
|
BLAKE2b-256 | 31cbb08c8e67432539fc9b2596883091695a98050b5ca5fe527070409139da71 |
Close
Hashes for lcax-2.3.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3495a5fb035ae0a58fa7b35bc74b114548633c142574ac3744204ddea0004d57 |
|
MD5 | 55723e315861ef3b2a54954faa097a8e |
|
BLAKE2b-256 | add1cae13d26c0c16e33ee3d2219ed42c11eedd312c060dc3841ca08b272ab23 |
Close
Hashes for lcax-2.3.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f38e6da853f8d277f48f4cdda768bf4060442afb878be14db704c910529df93 |
|
MD5 | 75aadb7775836785904822d56d230c64 |
|
BLAKE2b-256 | 2eb3139747e13c335d29ec3d3cccc88476cf027c3e460dffabc3ce9564df107d |