tools-python icon indicating copy to clipboard operation
tools-python copied to clipboard

A Python library to parse, validate and create SPDX documents.

Results 160 tools-python issues
Sort by recently updated
recently updated
newest added

See https://github.com/nexB/license-expression/ or https://github.com/nexB/scancode-toolkit/ for an example

packaging and ci

Is it possible to get a license in Json or XML format form SPDX database by searching through the license names using a string (or a regular expression)? The result...

enhancement

- RDF parsers do not handle 'projectURI' field of 'artifactOf' section. https://github.com/spdx/tools-python/blob/301d72f6ae57c832c1da7f6402fa49b192de6810/spdx/parsers/rdf.py#L588-L596 - RDF writers do not handle anything in 'artifactOf' section. That section is not being written in RDF...

stale

The .gitignore file does not have entries for the virtualenv and IDEs file.

On the validation side, the validation will be an option. Fields will not be mandatory by default. They will be checked only when the user asks to validate and not...

enhancement

https://github.com/nexB/license-expression provides a comprehensive support for parsing, comparing, validating, normalizing and resolving license expressions based on SPDX or any other license identifiers or names. It uses a boolean logic engine...

enhancement
expression

While going through the codebase, I've noticed a few PEP8 violations which can be fixed by a static code analysis tool like coala.

tech debt

When parsing the `sample.tag` file using `python parse_tv.py sample.tag`, it throws an error `TypeError: expected string or buffer`. The `sample.tag` is generated after running `python write_tv.py sample.tag`. IMHO this happens...

Steps to reproduce: * When I modify any tag, e.g `SPDXVersion: SPDX-1.2` to `SPDXVersio: SPDX-1.2`, the tool should report an error like `Found unknown tag : SPDXVersio at line: 2`...