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 form param=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 as instinfo, 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 (on localhost) rpd session. commands run with --rpdb will 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 is density. 🌌
  • 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 πŸ’–πŸŽ€πŸ¦‹