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
honovationeric
V2EX  ›  Python

请教:豆瓣PYPI的JSON API(https://wiki.python.org/moin/PyPIJSON) 地址

  •  
  •   honovationeric ·
    honovation · 2013-12-23 11:12:20 +08:00 · 4388 次点击
    这是一个创建于 3748 天前的主题,其中的信息可能已经有所发展或是发生改变。
    官方支持:http://pypi.python.org/pypi/lxml/json

    但尝试过以下2个都不行:http://pypi.douban.com/pypi/lxml/json和http://pypi.douban.com/simple/lxml/json

    如果能提供XMLRPC API(https://wiki.python.org/moin/PyPIXmlRpc)的地址也可以。

    谢谢!
    5 条回复    1970-01-01 08:00:00 +08:00
    mengzhuo
        1
    mengzhuo  
       2013-12-23 11:17:01 +08:00
    估计是豆瓣自己写的一个proxy
    话说pypi.python.org现在是CDN全球加速了,应该都不慢了
    honovationeric
        2
    honovationeric  
    OP
       2013-12-23 11:37:04 +08:00
    @mengzhuo 我们这儿的测试看,豆瓣下载能到400K/s,官方有200K/s,还是豆瓣的快。
    ericFork
        3
    ericFork  
       2013-12-23 12:03:19 +08:00
    我们的镜像是用 https://pypi.python.org/pypi/bandersnatch 做的,如果它不支持,我们就暂不支持
    hongqn
        4
    hongqn  
       2013-12-23 12:03:48 +08:00
    豆瓣的镜像是用 https://pypi.python.org/pypi/bandersnatch 实现的,它不提供的话就没有 :(
    honovationeric
        5
    honovationeric  
    OP
       2013-12-23 13:43:07 +08:00
    快速过了一下PEP 381,应该是不支持的。谢谢各位。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2085 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 00:01 · PVG 08:01 · LAX 17:01 · JFK 20:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.