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-2022.1.2.140148.tar.gz.
File metadata
- Download URL: osadl-matrix-2022.1.2.140148.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd0580aca9abc923ea19b140f0607b7d7f9fc7b2ff55566e5272d0fc4a5f757
|
|
| MD5 |
847677a40b7460f7460cd33ff39dccab
|
|
| BLAKE2b-256 |
5f2ede4fd2c378942fafa4e7b8a016e6ff6103c50bf85a0a1e473920a0a9806e
|