Submariner is a tool that lets you explore python packages, submodules, functions and classes, giving you quick visibility on what types are available for import. The AI feature provide code examples that fit common usecases of the explored packages.
Proper use of submariner requires that you have a gemini api key in your environment.
GOOGLE_API_KEY=YOUR_API_KEY
New options will be added in the future.
pip install submarinersubmarine deepdive {python_package} --use-aiWhere python package can be any package of your choice.
Although the package is called submariner, right now invoking the package requires that you type submarine
submarine --helpsubmariner is distributed under the terms of the MIT license.