Metadata-Version: 2.4
Name: checkspdxversion
Version: 0.1.2
Summary: Utility checking whether a given file is an SPDX 2 JSON, SPDX 3 JSON, or neither
Author-email: Marc-Etienne Vargenau <marc-etienne.vargenau@nokia.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/nokia/checkspdxversion
Project-URL: Issues, https://github.com/nokia/checkspdxversion/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# checkspdxversion

A utility checking whether a given file is an SPDX 2 JSON, SPDX 3 JSON, or neither.

# Usage

```
usage: checkspdxversion [-h] [-v] file

Identify if a file is an SPDX 2 JSON, SPDX 3 JSON, or neither.

positional arguments:
  file           The path to the JSON file to analyze.

options:
  -h, --help     show this help message and exit
  -v, --version  Show program's version number and exit.
```

It will print the SPDX version of the SBOM, e.g. "SPDX 2.3" or "SPDX 3.0.1", or an error message.
