推荐学习书目
› 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
caoda
V2EX  ›  Python

造了一个 Python 的轮子,根据 IP 查询地区

  •  2
     
  •   caoda · May 9, 2019 · 3219 views
    This topic created in 2698 days ago, the information mentioned may be changed or developed.

    项目地址: https://github.com/459217974/ip2region 从本地数据库查询,速度很快,通过 Tornado IOLoop 可以自动从网上更新数据库。 希望有大佬可以教教我 Cython,昨天刚学的,觉得性能还可以优化一下。

    2 replies  •  2019-05-10 08:20:23 +08:00
    cz5424
        1
    cz5424  
       May 9, 2019
    建议 readme.md 声明一下你的数据来源
    https://github.com/lionsoul2014/ip2region
    caoda
        2
    caoda  
    OP
       May 10, 2019 via iPhone
    @cz5424 项目里已经感谢了原项目并且跟原项 owner 说了呢。我也可以详细说一下数据来源,谢谢你提醒
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1267 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.