Git Product home page Git Product logo

python-tool's Introduction

Including Two Tools: Geo IP & Social Follow Button

Geo IP

Convert from ip to geo location. 根据IP地址查询所在的地理位置。

Support ipv4 (纯真网络 ipv4地址库) and ipv6 (ZX IPv6地址库).
Support json and xml format

Published Url

pytool.sinaapp.com

Usage

使用方法:/geo?ip={ip}&type={json|xml}&encoding={gbk|utf-8} 如果解析北邮内网地址则添加&pos=1

Social Follow Button

生成类似ghbtns的关注按钮。包括根据微博ID生成微博按钮,根据Linkedin公开资料生成Linkedin按钮。

Usage

http://pytool.sinaapp.com/wb-btn?user={uid}&count={true|false}&size={small|large}&encoding={utf-8|gbk} http://pytool.sinaapp.com/in-btn?user={pub_profile}&count={true|false}&size={small|large}&encoding={utf-8|gbk}

Demo: http://pytool.sinaapp.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.