Skip to main content

Licomp Toolkit

Licomp Toolkit

The licomp-toolkit is a Python-based utility designed to evaluate license compatibility between different software components. It serves as a bridge to multiple compatibility resources, allowing developers and legal teams to determine if an inbound license (e.g., a library they want to use) is legally compatible with their project's outbound license.

Example question with a licomp-toolkit answer

Can I use an inbound component under license LGPL-2.1-or-later AND Apache-2.0 to my program licensed under BSD-3-Clause?

$ licomp-toolkit -of text verify --inbound-license "LGPL-2.1-or-later AND Apache-2.0" --outbound-license "BSD-3-Clause"
outbound:      BSD-3-Clause
inbound:       Apache-2.0 AND LGPL-2.1-or-later
resources:     licomp_osadl, licomp_reclicense
provisioning:  binary-distribution
usecase:       library
compatibility: yes

Introduction

Licomp can be used to help determine if an inbound license is compatible with an outbound license. These compatibility checks need context which is often missing in tools, resources and discussions. The context above must be provided to licomp-toolkit. In short the context is:

  • use case - how you use the licensed component
  • provisioning - how you provide the component to your user
  • modification - if you have modified the component

Architectural overview

Graphical overview of Licomp Toolkit and its resources

Licomp toolkit is using the Licomp api to communicate with the Licomp resources. For a better understanding of Licomp we suggest you read:

Licomp resources

Licomp toolkit uses the following compatibility resources using the Licomp api: licomp-hermione, licomp-osadl, licomp-proprietary, licomp-reclicense, licomp-dwheeler and licomp-gnuguide.

Using Licomp Toolkit

Command line interface (brief intro)

If you want to check if the following is compatible:

  • outbound license "MIT"
  • inbound license "LGPL-2.0-or-later"
$ licomp-toolkit verify -il MIT -ol LGPL-2.0-or-later | jq .summary.results
{
  "nr_valid": "1",
  "yes": {
    "count": 1,
    "percent": 100.0
  }
}

In the above example, licomp-toolkit by default chose:

  • usecase library- i.e. the licenses component is used as a library (e.g. linking to it)
  • provisioning binary-distribution
  • modification is not yet implemented

For more detailed guides to licomp-toolkit, please check out:

Python module

If you want to check if the following is compatible:

  • outbound license "MIT"
  • inbound license "LGPL-2.0-or-later"
>>> from licomp_toolkit.toolkit import LicompToolkit
>>> licomp_toolkit = LicompToolkit()
>>> compatibilities = licomp_toolkit.outbound_inbound_compatibility("MIT", "LGPL-2.0-or-later", "library", "binary-distribution")
>>> print(str(compatibilities['summary']['results']))
{'nr_valid': '1', 'yes': {'count': 1, 'percent': 100.0}}

For a more detailed guide to the licomp-toolkit Python api, please check out: Licomp Toolkit - Python module

License

Licomp Toolkit is released in GPL-3.0-or-later

Installing Licomp Toolkit

See Installing Licomp Toolkit

What tools use Licomp Toolkit

Sponsors

As part of Automated FOSS License Compliance, Licomp Toolkit is sponsored (2025-2026) by:

NLnet logo NGI0Core logo

Metadata

Release files for licomp-toolkit 0.6.3

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

Source distribution (sdist)

Source distribution for licomp-toolkit 0.6.3
File Size Uploaded
licomp_toolkit-0.6.3.tar.gz 39.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for licomp-toolkit 0.6.3
File Interpreter ABI Platform
licomp_toolkit-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 81.9 kB

Release files / licomp_toolkit-0.6.3.tar.gz

Download URL licomp_toolkit-0.6.3.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d7aa6d7bae44aebe502668ee1e74c68ce991b674819d806c7f460e371e89d75
BLAKE2b-256 checksum
How to use checksums
200cdc234cd53422bd5558d19e44f297e6ff11c984227651e752809637e45883
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / licomp_toolkit-0.6.3-py3-none-any.whl

Download URL licomp_toolkit-0.6.3-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bc97996c9b42a68ca57aa45fc6e3bdc014d2608366f412b222e2dfe13f36d5d
BLAKE2b-256 checksum
How to use checksums
0b5639d64026e2aaa23ec5b40f21f2712f9a2c5e3325cc22ae1442688baab1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.1

1 release file

0.5.20

2 release files

0.5.19

2 release files

0.5.15

2 release files

0.5.14

2 release files

0.5.13

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

1 release file

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