About
CLI tool that helps us easily define which licenses are not good based on the requirements.txt file. It uses pkg_resources to get details from the packages, given us the licenses listed byt the package owner and returns exit 1 if found a package that contains a blocked license. Here goes the output of with all the possible options of the CLI package:
Usage: block-licenses [OPTIONS]
CLI tool that helps us easily define which licenses are not good based on
the requirements.txt file. It uses pkg_resources to get details from the
packages, given us the licenses listed byt the package owner and returns
exit 1 if found a package that contains a blocked license.
Options:
-b, --blocked Print blocked licenses list.
-p, --permitted Print permitted licenses list.
-i, --interactive Block packages interactively by analysing
their licenses.
-q, --quiet Do not print any output.
-v, --verbose Print a detailed output for blocked
packages.
-P, --paranoid Paranoid mode for the interactive option,
loop through each package even if contains
a license that was already checked.
-r TEXT Indicate the requirements file to be used.
-a, --all Print all available licenses based on the
requirements file.
--mode [permitted|blocked] Mode which will be used to check packages,
either from the permitted list or blocked
list perspective.
--format [text|json|column|content]
Format output.
--get-allowed Retrieve allowed packages instead.
-h, --help Show this message and exit.
Metadata
Release files for block-licenses 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| block-licenses-0.0.10.tar.gz | 7.7 kB | Without provenance | Details for block-licenses-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| block_licenses-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for block_licenses-0.0.10-py3-none-any.whl |
Total release size: 16.3 kB
Release files / block-licenses-0.0.10.tar.gz
| Download URL | block-licenses-0.0.10.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94e99eefca08335828e828115d29b4204c5a85b07bdd159836d87c30f348a7be
|
|
BLAKE2b-256 checksum How to use checksums |
e643fae9f1a3648676a2bf4d5f409a61e1f5a0122ede4f6433923eeb5c937803
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / block_licenses-0.0.10-py3-none-any.whl
| Download URL | block_licenses-0.0.10-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7fb9581d352cbcc7c53719e7a9203ee965a759e06b64c32fa06ab38e5239d64
|
|
BLAKE2b-256 checksum How to use checksums |
d56b55d44b87f971a02be90edf552fd7f70f8cd00e405c580ea2582f51364328
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for block-licenses 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.