reuse.spdx module#

Compilation of the SPDX Document.

reuse.spdx.add_arguments(parser: ArgumentParser) None[source]#

Add arguments to the parser.

reuse.spdx.run(args: ~argparse.Namespace, project: ~reuse.project.Project, out: ~typing.IO[str] = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) int[source]#

Print the project’s bill of materials.