Collection of tools for working with Open Source licenses
Project description
License tools
Collection of tools for working with Open Source licenses, focusing on Python packages.
Features
At the moment, this primarily provides some convenience wrappers around the ScanCode toolkit by nexB Inc.
- Use dataclasses instead of dictionaries for returning data.
- Automatically download a specific Python package from PyPI and analyze it.
- Aggregate how often each license has been used inside the current artifact.
- Look into shared object files (
*.so*) to see what they are linking to. - Make everything available from the terminal.
- Drop all confusing parameters.
Installation
You can install this package from PyPI:
python -m pip install license_tools
Alternatively, you can use the package from source directly after installing the required dependencies.
Usage
To see the supported CLI parameters, just run:
python -m license_tools --help
Example: To see the licenses of a specific joblib package version, use something like this:
python -m license_tools --package "joblib==1.2.0"
If you want to use the package as a library, have a look at the license_tools.scancode_tools.run method for example to see how everything interacts.
License
This package is subject to the terms of the Apache-2.0 license.
Disclaimer
All results are generated automatically and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No generated content should be considered or used as legal advice. Consult an Attorney for any legal advice.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file license_tools-0.3.2-py3-none-any.whl.
File metadata
- Download URL: license_tools-0.3.2-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.3.0 pkginfo/1.8.3 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.0 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57da9edee7748571df6d6ed579e16a0c0fb1c34325b394a81b4d06956553182a
|
|
| MD5 |
e2587981a2a9053a09698d83defe1d15
|
|
| BLAKE2b-256 |
30cbd7c9b75feaad411a3fc2cfa5079b1fe91a50611f0b9cd3fbfce7d9b18919
|