pydoc comes with python and can do searches but only in the synopsis lines of available modules. Quoting pydoc --help
:
pydoc -k Search for a keyword in the synopsis lines of all available modules.
Note that into pydoc you can perform searches using “https://stackoverflow.com/”.