Skip to main content

OSADL license compatibility matrix

Project description

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

Disclaimer

We are not affiliated, associated, endorsed by, or in any way officially connected with the Open Source Automation Development Lab (OSADL) eG, or any of its subsidiaries or its affiliates. The official OSADL website can be found at https://www.osadl.org.

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)

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

osadl-matrix-2022.5.1.130559.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file osadl-matrix-2022.5.1.130559.tar.gz.

File metadata

File hashes

Hashes for osadl-matrix-2022.5.1.130559.tar.gz
Algorithm Hash digest
SHA256 4ac9d8a205292e0fab2c33750f45116e76c6d8db5682ea1c0d6cb746815c2227
MD5 e7f3828fee1b5845d77680c5962ad97d
BLAKE2b-256 50858e652edf5181d16f998d34d7ac4e4c9f24c57bfe3b157999be05def28598

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page