如何使用`pip`搜索所有以“ truffle”开头的Python包?

I want to search for all Python packages starting with "truffle" using pip.

However, as can be seen below, my searches return quite odd results, only returning packages where the search string matches a complete word. Furthermore, it seems that both * (glob) and .* (regex) are ignored?

nlykkei:~$ pip3 search truffle
truffle (0.1.dev0)  - Code search, documentation aid, code visualizer
nlykkei:~$ pip3 search 'truffle*'
truffle (0.1.dev0)  - Code search, documentation aid, code visualizer
nlykkei:~$ pip3 search 'truffle.*'
truffle (0.1.dev0)  - Code search, documentation aid, code visualizer
nlykkei:~$ pip3 search truffleHog
truffleHog (2.0.99)        - Searches through git repositories for high entropy strings, digging deep into commit history.
django-trufflehog (0.3.0)  - Keep track of creation, update and deletion of models
truffleHogRegexes (0.0.7)  - These regexes power truffleHog.

如何搜索“松露”,以便返回的结果包括?:

truffle (0.1.dev0)  - Code search, documentation aid, code visualizer
truffleHog (2.0.99)        - Searches through git repositories for high entropy strings, digging deep into commit history.
django-trufflehog (0.3.0)  - Keep track of creation, update and deletion of models
truffleHogRegexes (0.0.7)  - These regexes power truffleHog.
评论