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 年 5 月 9 日 · 2727 次点击
    这是一个创建于 2446 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2019-05-10 08:20:23 +08:00
    cz5424
        1
    cz5424  
       2019 年 5 月 9 日
    建议 readme.md 声明一下你的数据来源
    https://github.com/lionsoul2014/ip2region
    caoda
        2
    caoda  
    OP
       2019 年 5 月 10 日 via iPhone
    @cz5424 项目里已经感谢了原项目并且跟原项 owner 说了呢。我也可以详细说一下数据来源,谢谢你提醒
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5678 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 08:07 · PVG 16:07 · LAX 00:07 · JFK 03:07
    ♥ Do have faith in what you're doing.