PY3VERSIONS(1)

๐Ÿ“ฆ
version 3.14.7 ยท 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ PY3VERSIONS(1) โœจ ๐Ÿ’–

๐ŸŽ€ NAME ๐ŸŽ€

py3versions โ€” print python3 version information ๐Ÿงš

๐Ÿ’… SYNOPSIS ๐Ÿ’…

py3versions [-h] [-v] [<options>]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so py3versions is literally the tea โ˜• it prints info about the python3 runtimes that are installed, the ones that are supported, and which one is the default. it also goes into the PythonVersion fields in the package control file for Python3 and parses out what's in there. iconic behavior, no cap ๐Ÿซถ

๐Ÿฆ‹ OPTIONS ๐Ÿฆ‹

  • -d, --default โ€” shows you the default python3 version ๐Ÿ‘‘
  • -s, --supported โ€” shows the supported python3 versions. the list goes from lowest to highest, with the default version sitting at the very end. like, if python3.4, 3.5, and 3.6 are supported but python3.5 is the default, you'd get python3.4 python3.6 python3.5 ๐Ÿ’œ
  • -r, --requested [<version string>|<control file>] โ€” this one reads the X-Python3-Version field in the source section of a control file and shows every python3 version that matches ๐Ÿ”ฅ the argument is treated as a version string unless it's the name of a file. if the X-Python3-Version field is missing, it falls back to listing the supported Python3 versions after checking debian/control. versions less than 3 get ignored. the keyword all is ignored too, since it covers all Python2 versions ๐Ÿ™ˆ and the old keyword current isn't supported at all in Python3, so don't even try ๐Ÿ’€ this one uses the same sort order as -s, --supported
  • -i, --installed โ€” shows the installed supported python3 versions ๐Ÿ“
  • --min-supported โ€” shows the minimum supported python3 version โญ
  • --max-supported โ€” shows the maximum supported python3 version ๐ŸŒˆ
  • -v, --version โ€” limits the output to just the version numbers of the python3 versions โœจ
  • -h, --help โ€” prints a help text ๐Ÿซถ

๐Ÿงš SEE ALSO ๐Ÿงš

Python policy. ๐Ÿ“–

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Matthias Klose ๐Ÿ’–


bestie that's the whole manpage ๐ŸŽ€ py3versions from the PY3VERSIONS(1) General Commands Manual, source/version and date and all, go be a Unix legend ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from