olca-ipc
olca-ipc is a Python package for inter-process communication (IPC) with
openLCA. With this, it is possible to call functions of openLCA and processing
their results in Python. It implements the unified IPC protocol of openLCA for
JSON-RPC and REST APIs. The documentation of these protocols and examples can be
found here:
https://greendelta.github.io/openLCA-ApiDoc.
This package is available on pypi.org and can be installed / updated like this:
pip install -U olca-ipc
If you just want to read and write data for openLCA 2, you can also use the
olca-schema package directly, which is
a dependency of olca-ipc.
Tests and packaging
If you want to run the test suite, make sure you have a server running and
configured in tests/config.py. Then you can run the tests
with pytest, e.g. with uv:
cd olca-ipc.py
# create a virtual environment
uv venv [-p 3.12]
# install the test dependencies
uv sync --extra test
# run all tests
uv run pytest tests
Build and validate a release package with:
# install the packaging dependencies
uv sync --extra packaging
# build the source and wheel distributions
uv run python -m build
# validate the generated artifacts
uv run twine check dist/*
Metadata
Release files for olca-ipc 2.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| olca_ipc-2.6.3.tar.gz | 22.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| olca_ipc-2.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / olca_ipc-2.6.3.tar.gz
| Download URL | olca_ipc-2.6.3.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5ab8d4ddfe1e47e07fbff0640812b6e55a3ebb9aaf3487a73f71eef9e862328
|
|
BLAKE2b-256 checksum How to use checksums |
1f54faa0aae173a2b61f033d49fd0aef29645400cdb367064e2c96acd1fa95f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / olca_ipc-2.6.3-py3-none-any.whl
| Download URL | olca_ipc-2.6.3-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
863d2dd5facbc3b1a30a7e3ae12762c17db06cf62004bc93acf34b4ef0c729b7
|
|
BLAKE2b-256 checksum How to use checksums |
a6296d411e6953d05661c4cf1b747e4645f094b48f9bc883be68e7a9d73db271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for olca-ipc 2.6.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.