V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
? Learn Python the Hard Way
Python Sites
? PyPI - Python Package Index
? http://diveintopython.org/toc/index.html
? Pocoo
值得关注的项目
? PyPy
? Celery
? Jinja2
? Read the Docs
? gevent
? pyenv
? virtualenv
? Stackless Python
? Beautiful Soup
? 结巴中文分词
? Green Unicorn
? Sentry
? Shovel
? Pyflakes
? pytest
Python 编程
? pep8 Checker
Styles
? PEP 8
? Google Python Style Guide
? Code Style from The Hitchhiker's Guide
Livid
V2EX  ?  Python

pip search 搜索目前(2021 年 9 月)还是不能用,大家目前在用什么替代方案呢?

  •  
  •   Livid · 2021-09-20 23:09:14 +08:00 · 3551 次点击
    这是一个创建于 958 天前的主题,其中的信息可能已经有所发展或是发生改变。
    7 条回复  ?  2021-09-22 12:40:56 +08:00
    Trim21
        1
    Trim21  
       2021-09-20 23:23:51 +08:00
    pypi.org 的网页
    ClericPy
        2
    ClericPy  
       2021-09-21 01:00:15 +08:00
    你想用它来做啥啊...
    如果是简单的看看包的状态, 我之前貌似用过 pypi 的 API 才发现好多人的包都用上新的 PEP 了
    lxy42
        3
    lxy42  
       2021-09-21 12:05:55 +08:00   ?? 1
    poetry search
    Accessing
        4
    Accessing  
       2021-09-21 13:17:55 +08:00   ?? 2
    有个专门的模块叫做 pip_search 可以满足你的需求

    ```Shell
    PS>pip_search hy
    ? https://pypi.org/search/?q=hy ?
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
    ┃ Package ┃ Version ┃ Released ┃ Description ┃
    ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
    │ ? hy454 │ 0.4.4 │ Jun 23, 2012 │ 454 UDS analysis tools │
    │ ? hy │ 0.20.0 │ Jan 25, 2021 │ Lisp and Python love each other. │
    │ ? nester_hy03 │ 1.5.0 │ Sep 2, 2017 │ A simple printer of nested lists │
    ```
    baobao1270
        5
    baobao1270  
       2021-09-21 16:31:34 +08:00
    google <keyword> site:pypi.org

    可以吗
    Accessing
        6
    Accessing  
       2021-09-21 17:17:32 +08:00
    @baobao1270 人家显然是想在命令行中搜索
    frostming
        7
    frostming  
       2021-09-22 12:40:56 +08:00
    pdm search
    poetry search

    都是基于 https://pypi.org/search/ HTML 解析做的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5551 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:21 · PVG 15:21 · LAX 00:21 · JFK 03:21
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com