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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file osadl-matrix-2021.10.29.101029.tar.gz.
File metadata
- Download URL: osadl-matrix-2021.10.29.101029.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3958d4320ae386e20a7a5c844b24b04b885fe261c6e8dad075aa4a7285dcda2
|
|
| MD5 |
e31d3e4ca45d22085a08f68f6d122c19
|
|
| BLAKE2b-256 |
ec341f593ed96e01dcdd680ba4de9e4b2c7e5278fa902e2e2f0b65ed90764853
|