reuse package

Module contents

reuse is a tool for compliance with the REUSE recommendations.

exception reuse.IdentifierNotFound[source]

Bases: reuse.ReuseException

Could not find SPDX identifier for license file.

exception reuse.ReuseException[source]

Bases: Exception

Base exception.

class reuse.SpdxInfo(spdx_expressions, copyright_lines)

Bases: tuple

Simple structure for holding SPDX information.

The two iterables MUST be sets.

property copyright_lines

Alias for field number 1

property spdx_expressions

Alias for field number 0