YT(1)
β¨ yt β bestie's guide to the command line π
okay so you know how yt is that whole python thing for looking at astrophysical data?? well this is the version of it you can run straight from your terminal, no python interpreter required, no import statements, no waiting. it's giving convenience β¨
πΈ NAME πΈ
yt β a command-line tool that lets you access some of yt's basic functionality without opening a python interpreter. periodt. π
π DESCRIPTION π
so basically this tool is a whole collection of subcommands. like a little friend group of them. and they can do a bunch of stuff for you, lowkey fast: make plots of slices and projections through a dataset, update yt's codebase, print basic statistics about a dataset, launch an IPython notebook session, and more. more!! π¦
here's the usage line, verbatim, don't @ me:
yt [-h] [--config CONFIG] [--paste] [--paste-detailed]
[--detailed] [--rpdb] [--parallel] [--version] subcommand
yt command line arguments π
β optional arguments β
these are the flags you can sprinkle on top, iykyk:
-h,--helpβ shows this help message and dips out. iconic behaviour honestly.--config CONFIGβ sets a configuration option, and it has to be in the formparam=value.--pasteβ pastes that traceback over to paste.yt-project.org π«Ά--paste-detailedβ pastes a detailed traceback, local variables and all, to paste.yt-project.org. we're getting the whole story.--detailedβ displays a detailed traceback.--rpdbβ enables remote pdb interaction (this one's for parallel debugging).--parallelβ runs in MPI-parallel mode. and heads up bestie: it must be launched as an MPI task.--versionβ shows the program's version number and exits. short and sweet.
π subcommands π
the main characters. one per bullet, all of them, no skips:
helpβ prints the help message.bugreportβ reports a bug in yt. (they want to hear it!!)hub_registerβ registers a user on the Hub: https://hub.yt-project.org/instinfoβ gets some information about the yt installation.versionβ gets some information about the yt installation. yes, same description asinstinfo, that's just how it is πloadβ loads a single dataset into an IPython instance.mapserverβ serves a plot in a GMaps-style interface. πΊοΈpastebinβ posts a script to an anonymous pastebin.pastebin_grabβ prints an online pastebin to STDOUT so you can use it locally.upload_notebookβ uploads an IPython notebook to hub.yt-project.org.plotβ creates a set of images. π¨rpdbβ connects to a currently running (onlocalhost) rpd session. commands run with--rpdbwill trigger an rpdb session with any uncaught exceptions.notebookβ runs the IPython Notebook.statsβ prints stats and the max/min value of a given field (if you asked for one), for one or more datasets. the default field isdensity. πupdateβ updates the yt installation to the most recent version. glow up time β¨upload_imageβ uploads an image to imgur.com. must be PNG. that's the rule, no exceptions.
π AUTHORS π
yt was primarily written by the yt Development Team. shoutout to them fr fr π«Ά
π SEE ALSO π
full documentation for the yt commandline can be found at https://yt-project.org/doc/ β go read it, it's a whole vibe π
okay that's the whole page!! this was yt version 3.2.3-1, dated August 2015, living its best life as part of User Commands. mwah, take care of her πππ¦
π¦ where this page comes from
- debian bookworm: python3-yt 4.1.4-2 Β· BSD-3-Clause
- debian trixie: python3-yt 4.4.0-2+b1 Β· BSD-3-Clause
- ubuntu jammy: python3-yt 4.0.2-2ubuntu1 Β· BSD-3-Clause
- ubuntu noble: python3-yt 4.3.0-1build1 Β· BSD-3-Clause
- ubuntu questing: python3-yt 4.4.1-2
- ubuntu resolute: python3-yt 4.4.2-1build1 Β· BSD-3-Clause
- ubuntu stonking: python3-yt 4.4.2-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms