PYSPDXTOOLS(1)

πŸ“¦
version 0.8.3 Β· 2 versions
, in fedora 43

πŸ’– 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 --graph option 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 dependencies networkx and pygraphviz. 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