FOSS License Compatibility Tool
Project description
flict / FOSS License Compatibility Tool
Introduction
FOSS License Compatibility Tool (flict) is a Free and Open Source Software tool to verify license compatibility for a package and its dependencies. You can use the tool to automate license compatibility verification in your compliance work flow.
flict can:
-
verify licenses compatibilty for license expression and a packages and its dependencies
-
suggest candidate outbound licenses
-
simplify license expressions
-
display, in misc format, compatibilies between licenses
-
check outbound licenses against a policy (policy as supplied by the user)
flict supports:
-
71 licenses (
flict -of text list
) -
925 licenses in experimental mode using scancode classification (
flict -es -of text list
) -
'or-later' relicensing (e.g GPL-2.0-or-later -> GPL-2.0-only or GPL-3.0-only)
-
explicit relicensing (LGPL -> GPL)
-
common non SPDX ways to write licenses (e.g GPLv2 -> GPL-2.0-only)
-
grouping of common licenses in to well known license classification
-
policy framework where you can specify which licenses you want to: allow, avoid or deny
Examples
Check out our EXAMPLES
Extensible and tweakable
flict does not come with any knowledge about certain policies, licenses and their compatibilities. These things are specified outside the tool, using JSON and CSV files. By default flict has files defining licenses and compatibilities which probably gets most of our users going. Having licenses and compatibilities (and even more stuff) defined outside the tool makes it easy to extend the tool with new licenses etc without modifying the code.
Read more in SETTINGS
Supported licenses
License matrix
To check compatibility between two licenses flict is using OSADL's matrix.
Scancode's db
Flict can also (experimentally) use Scancode's database.
Installing
Look at our INSTALLATION page.
Docker image
Flict is included in the docker image Compliance Tools which is easily managed by Compliance Tool Collection
Exit code and reports
flict outputs a report as well as an exit code.
Exit code
0 - success
5 - missing arguments
10 - invalid project file
10 - invalid license expression
Report
A report of the component's compatibility with suggested outbound licenses is created. By default a short text report is created, but flict can provide a report in a couple of formats.
Report formats
JSON
This is currently rewritten and not available.
Markdown
Using this format you can create txt, html, pdf and what format pandoc can create from markdown.
Policy report
To the above report you can apply your own policy (see SETTINGS). Applying this will create a policy report with your policy applied to the suggested outbound license from the usual report and with some complementary information.
Reporting bugs
File a ticket at github.com/vinland-technology/flict/issues.
Contribute to the project
See CONTRIBUTING
License of flict
flict is released under GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html)
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 Distribution
Built Distribution
File details
Details for the file flict-0.1.tar.gz
.
File metadata
- Download URL: flict-0.1.tar.gz
- Upload date:
- Size: 78.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.6.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f27c49973a2e6eb6bbfbdffc29dbfa19f2f393281fbcf1010223bf341c7757 |
|
MD5 | 26ba58a306d0e24b5ee99cbcbd2edfd7 |
|
BLAKE2b-256 | 084f416fe0b1df1038eeb6e02678b682ce835dfec371eb6c41cc4dde115276c0 |
File details
Details for the file flict-0.1-py3-none-any.whl
.
File metadata
- Download URL: flict-0.1-py3-none-any.whl
- Upload date:
- Size: 89.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.6.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97c1ad0d3377028851337a1c1452e068af7f5652db015c7f50efd1d371ec309 |
|
MD5 | bb257ec906cc71667ca7e12778133fbc |
|
BLAKE2b-256 | affa6c552c380104dde3e42dab30f9f3e2919137eed5e9a05b007459401c2039 |