spdx / tools-python

A Python library to parse, validate and create SPDX documents.
http://spdx.org
Apache License 2.0
190 stars 134 forks source link

Writer for spdx 2.2 #835

Open AdrianCert opened 1 week ago

AdrianCert commented 1 week ago

Is there a way to dump the Spdx Document into spdx 2.2 file?

armintaenzertng commented 5 days ago

Hi @AdrianCert, thanks for your interest in this library. Please have a look at this section of the README, especially the point 4 about writing. The version of the SPDX document is determined from the field my_spdx_document.creation_info.spdx_version.

I hope this answers your question. If not, feel free to inquire further.