Skip to main content

osadl-matrix

This is a machine readable version of the OSADL license compatibility matrix as a python library.

License

This module is licensed under Unlicensed license. Feel free to do whatever you want with it.

Data license

The raw data of the OSADL Open Source License Checklists are licensed under the Creative Commons Attribution 4.0 International license (CC-BY-4.0), https://creativecommons.org/licenses/by/4.0/.

© 2017 - 2021 Open Source Automation Development Lab (OSADL) eG and contributors, info@osadl.org

Further information can be found here A copy of the CC-BY-4.0 text can be found here

Usage

Using builtin functions

import osadl_matrix

result = osadl_matrix.is_compatible("BSD-3-Clause", "MIT")
# result is either
# osadl_matrix.OSADLCompatibility.YES - licenses are compatible
# osadl_matrix.OSADLCompatibility.NO - licenses are *NOT* compatible
# osadl_matrix.OSADLCompatibility.UNDEF - no data available on compatibility

Using the raw data

import csv

import osadl_matrix

with open(osadl_matrix.OSADL_MATRIX) as csvinput:
    creader = csv.reader(csvinput, delimiter=',', quotechar='"')
    for row in creader:
        print(row)

or as json

import json

import osadl_matrix

with open(osadl_matrix.OSADL_MATRIX_JSON) as jsoninput:
    cnt = json.read(jsoninput)
    print(cnt)

Metadata

Release files for osadl-matrix 2022.1.30.120116

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

Source distribution (sdist)

Source distribution for osadl-matrix 2022.1.30.120116
File Size Uploaded
osadl-matrix-2022.1.30.120116.tar.gz 15.1 kB Details

Release files / osadl-matrix-2022.1.30.120116.tar.gz

Download URL osadl-matrix-2022.1.30.120116.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
79a60525497416e562f5666d0b9339d30a69effbeb03f9dedddff1221f9bf45a
BLAKE2b-256 checksum
How to use checksums
3e0affdfc7f3df1364cb87b18a50a3aaaff79f249619e43ca07b10abd9337fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release history Release notifications | RSS feed

This release

2022.1.30.120116 This release

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