-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
github-actions[bot] edited this page Mar 10, 2026
·
1 revision
- Python 3.10 or later
pipx installs CLI tools in isolated environments so they don't conflict with your project dependencies.
pipx install python-snackspip install python-snacksIf you want it available globally, use pip install --user python-snacks or install inside a virtual environment you always activate.
snack --helpYou should see:
Usage: snack [OPTIONS] COMMAND [ARGS]...
Manage your personal snack stash of reusable Python snippets.
Commands:
unpack Copy a snippet FROM the stash INTO the current working directory.
pack Copy a snippet FROM the current working directory INTO the stash.
list List all snippets in the stash.
search Search snippet filenames for a keyword.
stash Manage stash directories.
pipx upgrade python-snacks
# or
pip install --upgrade python-snacksNew versions are published to PyPI automatically when a v* tag is pushed to the repository.
Configuration — create your first stash and tell the tool where it lives.