Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CLIC for Activity Browser 3

Browse published life cycle inventories from the Curated Life cycle Inventory Collection (CLIC) and import them into your active Brightway project.

Install the alpha

Use a dedicated Python environment. Python 3.12 on macOS is the tested setup. The plugin requires Activity Browser's plugin-enabled development build. The standard Activity Browser 3.0.0 release and its standalone installers lack the plugin loader.

From the root of this repository, run:

python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install \
  'activity-browser @ git+https://github.com/LCA-ActivityBrowser/activity-browser.git@aa164283a3a171ccdeed7fba1fc431a89b9d5c12' \
  .
activity-browser

To install from a built wheel, replace the final . with the wheel path. For development, replace it with -e ..

In Activity Browser, open Settings → Plugins, enable CLIC, save, and restart. Then open Plugins → CLIC → Browse and import.

Browse and import

  1. Search by dataset name, reference product, location, unit, author, project name or acronym, keyword, classification code, source publication year, or inventory reference year. Click a result to preview its metadata. Use Paste CLIC link to open a dataset or a specific published version.
  2. Check the datasets to import. The Selected versions list follows you across pages and searches. Exclude non-commercial licenses hides versions with Creative Commons NonCommercial terms and removes them from the selection. Datasets with undisclosed licenses stay visible. CLIC license guide
  3. Choose the local technosphere and biosphere databases and the matching ecoinvent target. The plugin suggests a pair when it recognizes the ecoinvent release and finds one linked biosphere database.
  4. Select Get your token to create a CLIC API token with inventory download access. The plugin remembers it in your operating system’s credential store when available. Use Forget token to remove it.
  5. Select Prepare import to request an export for up to 100 selected versions and their connected suppliers. Review the included datasets, licenses, conversion warnings, and any unresolved links. Select Import to write a new foreground database.

The catalog shows the latest published version of each dataset. Click a column header to sort the current page, drag its borders to resize it, or right-click the header to filter across pages.

If CLIC is still preparing an export, select Continue later and resume through Pending exports in the same Brightway project. After import, Activity Browser’s Description tab shows the available CLIC metadata for each version, including publication details and technology readiness level. The new database stores an import receipt in its Brightway metadata under clic_import.

The alpha supports classic single-output ecoinvent cutoff and consequential databases using CLIC Brightway JSON schema 1.2. It imports the exported exchange amounts and retains parameter declarations as metadata. Parameter groups for recalculating formulas, product-node and multifunctional backgrounds, and UVEK backgrounds are outside the scope of this alpha.

An unresolved link prevents the import. Check the exchange and database shown in the review. If the review says CLIC omitted a supplier ID, prepare smaller batches. For the battery-pack datasets, separate NMC622 and NMC811. The fix for combined exports is on the CLIC server side.

Development

Use the same environment as Activity Browser. To run the tests and lint checks, install the plugin in editable mode and install ruff.

python -m unittest discover -s tests -v
ruff check src tests
ruff format --check src tests

The tests use simulated CLIC responses and an isolated Brightway project. To build and check the source distribution and wheel, install build and a current twine.

python -m build
python -m twine check --strict dist/*

Issue tracker · Activity Browser plugin API · CLIC API

Releases

Use a Git tag that matches the version in pyproject.toml, such as v0.1.0a1. Run Publish to PyPI manually on the tag to build and check both distributions. Publishing the corresponding draft GitHub release starts the PyPI upload workflow.

For the first release, set up a pending Trusted Publisher on PyPI with project name ab-plugin-clic, owner romainsacchi, repository ab-plugin-clic, workflow publish-pypi.yml, and environment pypi. GitHub Actions exchanges its identity for short-lived PyPI upload credentials.

License

The plugin is licensed under LGPL-3.0-or-later. See LICENSE and the accompanying GPL text. Imported datasets retain their individual licenses.

Metadata

Release files for ab-plugin-clic 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ab-plugin-clic 0.1.0a1
File Size Uploaded Provenance Actions
ab_plugin_clic-0.1.0a1.tar.gz 51.8 kB With provenance Details for ab_plugin_clic-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ab-plugin-clic 0.1.0a1
File Interpreter ABI Platform Actions
ab_plugin_clic-0.1.0a1-py3-none-any.whl Python 3 none any Details for ab_plugin_clic-0.1.0a1-py3-none-any.whl

Total release size: 100.7 kB

Release files / ab_plugin_clic-0.1.0a1.tar.gz

Download URL ab_plugin_clic-0.1.0a1.tar.gz
Size 51.8 kB
Tags Source
SHA-256 checksum
How to use checksums
15bde8c05b52e7b4fbe925e7a519c2fb21f35039dbc163288528520523c4e885
BLAKE2b-256 checksum
How to use checksums
c4249ce1193c475b20ad044ac055f0e20b6288ab058c70a7667fae799d3b7cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / ab_plugin_clic-0.1.0a1-py3-none-any.whl

Download URL ab_plugin_clic-0.1.0a1-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d29d9ef666410fb3b9d6da9a7cda8b553692b2bfdefc277a03cf00260123dd7
BLAKE2b-256 checksum
How to use checksums
748c8c6172e6843a4998d9a3d6b7299c01ffeb448c4c8a88bfbd83e563643a91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for ab-plugin-clic 0.1.0a1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ab_plugin_clic-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page