diff --git a/README.md b/README.md index 19ae4e3f2..906bb52d7 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,17 @@ instead of `bin`. ## Example Here are some examples of possible use cases to quickly get you started with the spdx-tools: ```python +import logging + +from license_expression import get_spdx_licensing + +from spdx.model.checksum import Checksum, ChecksumAlgorithm +from spdx.model.file import File, FileType +from spdx.model.relationship import Relationship, RelationshipType +from spdx.parser.parse_anything import parse_file +from spdx.validation.document_validator import validate_full_spdx_document +from spdx.writer.write_anything import write_file + # read in an SPDX document from a file document = parse_file("spdx_document.json")