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

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

  •  2
     
  •   caoda · 2019-05-09 18:16:03 +08:00 · 2113 次点击
    这是一个创建于 1812 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2019-05-10 08:20:23 +08:00
    cz5424
        1
    cz5424  
       2019-05-09 22:08:39 +08:00
    建议 readme.md 声明一下你的数据来源
    https://github.com/lionsoul2014/ip2region
    caoda
        2
    caoda  
    OP
       2019-05-10 08:20:23 +08:00 via iPhone
    @cz5424 项目里已经感谢了原项目并且跟原项 owner 说了呢。我也可以详细说一下数据来源,谢谢你提醒
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1379 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:33 · PVG 01:33 · LAX 10:33 · JFK 13:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.