OSADL license compatibility matrix as a CSV
Project description
osadl-matrix
This is a CSV 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. The data is licensed under CC-BY-4.0
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)
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
Close
Hashes for osadl-matrix-2021.11.2.91119.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee7fe0d3d29302d60a7236a452edb03ad1c615a9ced7d8446feceb628870d55 |
|
MD5 | c5c46ea04d98b6be83fa902e7cc9abb2 |
|
BLAKE2b-256 | eff63976276b68216f56aa2d10c80885b89444a08d6ba0dd4de841406c2cba1c |