Presets¶
pip-ui-tkinter allows you to save and load Presets, a feature not available in standard pip. Presets are perfect for complex commands that you run frequently.
Saving a Preset¶
- Configure a command exactly how you want it (fill in package names, toggle options, etc.).
- Don't forget to configure any Global Options you want included in the preset.
- Click the Save Preset... button.
- Give your preset a descriptive name (e.g., "Install with Internal Index" or "Dry Run Upgrade All").
Loading a Preset¶
- Select the command you want to run.
- Click Load Preset...
- Choose from the list of presets specifically saved for that command.
- The form and global options will be instantly populated with your saved settings.
Managing Presets¶
- Context-Specific: Presets are tied to specific commands. You won't see your
installpresets when you are viewing thelistcommand form. - Storage: Presets are stored locally in your home directory (
~/.pip_ui/presets.json), making them persistent across sessions. - Deletion: You can delete presets from the Load Preset dialog.