Skip to main content

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.

LCAx

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

Install wasm-pack

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Build JS Package

cd modules/lcax
wasm-pack build --features jsbindings
mv pkg/lcax* ../../packages/javascript/src

Run JS Tests

npm run test

Project details


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.6.0-cp310-abi3-win_amd64.whl (913.6 kB view details)

Uploaded CPython 3.10+ Windows x86-64

lcax-2.6.0-cp310-abi3-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.34+ x86-64

lcax-2.6.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARM64

lcax-2.6.0-cp310-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.10+ macOS 11.0+ ARM64

lcax-2.6.0-cp310-abi3-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+ macOS 10.12+ x86-64

File details

Details for the file lcax-2.6.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: lcax-2.6.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 913.6 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for lcax-2.6.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0dd8ae057c4c62a365047fee7fe051ec56bb8dab9af9f6766934f927326daa57
MD5 b2d0be176a23c2784d4dc9e624b62dc1
BLAKE2b-256 bbe0e76efc0258c752ac8b461793a9758a3ec25c19dedffc4f1ddf4d83f54f66

See more details on using hashes here.

File details

Details for the file lcax-2.6.0-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for lcax-2.6.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e74d7aa46dc155600347a3e761439a2d145d5ce0a7e6a98d24877ba675961957
MD5 293e35070491057ac16894f0f39471de
BLAKE2b-256 5df938dacc499bb0d91b3fac8c58164e1066c537237a4b67951cf6f2bf8657b5

See more details on using hashes here.

File details

Details for the file lcax-2.6.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lcax-2.6.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7244c88b572f67056b7b5afcc37191b7dd6675529e215e98abb66bcdee469393
MD5 ac87d0c7ef1e5d75ec58409473c51b2a
BLAKE2b-256 361c1b94e5c3c2aa67c9d0f7febc8eb265e9f819069461ddfdea4d75ea2b7885

See more details on using hashes here.

File details

Details for the file lcax-2.6.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lcax-2.6.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4cf749bb57fa0622f359c423e2e4e957a8719d8253772ec7382e2408bf781ad
MD5 f0f0194085871de2711c388bd450837c
BLAKE2b-256 5d710ace5ccd68fa9b186d2ad99920b9619f61ba8ae51479f309829d01d99ba4

See more details on using hashes here.

File details

Details for the file lcax-2.6.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lcax-2.6.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 57ab1d0391556522e7a38631aab9c6bc2ac747798115fc421fa4b96181326b89
MD5 3d71f0602ef6a3a962b5f2fb5423d787
BLAKE2b-256 31b9645f130b1a11b16fbc6af16fe9dcf117fc17e4c4ed6175d0fdb29ee00be5

See more details on using hashes here.

Supported by

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