Skip to content

Instantly share code, notes, and snippets.

@sdatsenko
sdatsenko / itry.sh
Created February 15, 2025 06:18
Running ipython with packages
#!/bin/sh
# itry - A portable script for launching ipython with uvx packages
# from https://til.simonwillison.net/python/itry
# with auto import of listed packages
# Show help if requested
[ "$1" = "--help" ] && {
echo "Usage: itry [packages...]"
echo "Example: itry llm sqlite-utils datasette"
exit 0