You write Python tools as single files. They always start with this comment: # /// script # requires-python = ">=3.12" # /// These files can include dependencies on libraries such as Click. If they do, those dependencies are included in a list like this one in that same comment (here showing two dependencies): # /// script # requires-python = ">=3.12" # dependencies = [ # "click", # "sqlite-utils", # ] # ///
https://cdn.masto.host/fedisimonwillisonnet/media_attachments/files/113/679/680/256/522/761/original/fa2f7b766fefec7b.jpeg