PYSPDXTOOLS(1)
π PYSPDXTOOLS π
okay bestie, welcome to the user commands section of the manual, and honestly? you're about to have a great time. this is pyspdxtools, version 0.8.3, and she's a whole vibe. π
β¨ NAME β¨
pyspdxtools β no cap, this is the manual page for pyspdxtools 0.8.3. that's the whole name section. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
pyspdxtools [OPTIONS]
that's it. that's the whole thing. you just hand her some options and she goes. π¦
π DESCRIPTION π
okay so picture this: it's a CLI tool and its entire job is validating SPDX documents and converting between RDF, TAGVALUE, JSON, YAML and XML formats. like, a full format glow-up. β¨
the way she knows which format you want? the file endings, bestie. she reads the extension and just knows. iykyk.
to use it, you literally just run:
pyspdxtools --infile <input file name> --outfile <output file name>
and she handles the rest. main character energy fr fr. π
π OPTIONS π
-i,--infile TEXTβ the file holding the document you wanna validate or convert. [required] β like, you genuinely cannot skip this one, she's not doing anything without it. π-o,--outfile TEXTβ the file you want the converted document written to. write a dash to send the output to stdout, or just omit the whole option if you're not doing any conversion at all. oh and β if you also add the--graphoption to your command, the generated graph gets written to this file. one file, two possible destinies. π«--version TEXTβ the SPDX version to be used during parsing and validation. your choices are"SPDX-2.2"or"SPDX-2.3". if you don't provide one, she'll just read it from the document itself. self-sufficient queen. π--novalidationβ don't validate the provided document. that's it. she'll just skip the whole validation step, no questions asked. π§--graphβ generate a relationship graph from the input file. the generated graph is saved to the file you specified with--outfile. β
heads up bestie: for this feature you need to install the optional dependenciesnetworkxandpygraphviz. no install, no graph. that's the deal. π
--helpβ show this message and exit. the classic. the og. the "help i forgot what i'm doing" button. π«Ά
that's the whole page, babe. go forth and validate. π
this has been pyspdxtools 0.8.3, from September 2025, and yes, that version and date are the real ones β source and version, on the record, periodt. πβ¨
π¦ where this page comes from
- fedora 43: python3-spdx-tools 0.8.3-2.fc43 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms