tools-python
tools-python copied to clipboard
A Python library to parse, validate and create SPDX documents.
The current installation of `tools-python` (with all dependencies) is about 9 MB. We want to try to minimize this size. Possible options are to make dependencies optional or to replace...
See #424. This issue is used to also implement this feature in the refactored data model.
Depending on the answer in the [issue](https://github.com/spdx/spdx-spec/issues/827) in the spec-repo `fileDependencies` need to be converted to relationships.
The improved structure on https://github.com/spdx/tools-python/tree/refactor-python-tools should make it easy to add version-specific handling to the Python tools. A version parameter should be added to the CLI tools, which will then...
`__file__` is an optional attribute of packages. c.f. https://github.com/indygreg/PyOxidizer/issues/69 for why and alternatives. ``` spdx/config.py:_base_dir = os.path.dirname(__file__) ```
We have to adapt the examples to work with the refactored data model
- ArtifactOf sections should be converted to `GENERATED_BY` relationships (details TBD) - Reviews should be converted to annotations of type `REVIEW`
I noticed this error when validating my SPDX JSON file: ``` license_id must only contain letters, numbers, "." and "-" and must begin with "LicenseRef-", but is: Apache-1.1 ``` Apache-1.1...
Hi there, if any relationships contain a NOASSERTION relationship, represented by the object SpdxNoAssertion(), then there will be a failure to write to file ``` File "path/to/lib/spdx_tools/spdx/writer/tagvalue/tagvalue_writer_helper_functions.py", line 89, in...
Hello, Could you please how to run this program and also if i run i get error pyspdxtools -i or pyspdxtools -i -o ( In place of filename we give...