pyp...nfo(1)

πŸ’– pyp...nfo β€” pyproject-info(1) πŸ’–

okay bestie, pull up a chair because we're about to read pyproject.toml files like it's our Roman Empire πŸŽ€ this one lives in section 1 of the manual, so it's a lil command you run in your shell, and honestly? it's giving "extract info from the given pyproject.toml" and nothing else. no cap.


✨ NAME ✨

pyproject-info β€” extract information from the given pyproject.toml file πŸ¦‹


🌸 USAGE 🌸

pyproject-info [OPTIONS] [PROJECT]

that's the whole vibe. options go here, the project goes there, slay πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea: pyproject-info extracts information from the given pyproject.toml file and prints the JSON representation. that's it. that's the whole main character moment. it reads the file, it hands you back JSON, periodt ✨


πŸ’… OPTIONS πŸ’…

  • -r, --resolve β€” resolve the file key in project.readme and project.license (if present) to retrieve the content of the file. so instead of just getting told which file it is, you get the actual contents. iconic 🫢
  • -i, --indent INTEGER β€” add indentation to the JSON output. because unindented JSON is lowkey unreadable and we are NOT doing that to ourselves 😭
  • -f, --file TEXT β€” the pyproject.toml file. yes bestie, you get to point at it directly 🌸
  • -P, --parser-class TEXT β€” the class to parse the pyproject.toml file with. [default: pyproject_parser:PyProject] β€” swap it out if you're feeling spicy, otherwise the default is right there πŸŽ€
  • -T, --traceback β€” show the complete traceback on error. when things go wrong (and they will), this gives you the full receipts πŸ’€
  • -h, --help β€” show the help message and exit. the classic escape hatch, always there for you πŸ’œ

🌈 AUTHORS 🌈

Written by Dominic Davis-Foste <dominic@davis-foster.co.uk> πŸ’–

This manual page was written by Josenison F. da Silva <nilsonfsilva@hotmail.com> πŸ¦‹


and that's the whole page, bestie!! this was pyproject-info, from the pyp...nfo(1) manual, dated Jan 2023 β€” go forth and extract that info, you absolute legend πŸ‘‘βœ¨πŸ’