Get IP, ISP, Location, OS from flask request
Project description
Flask-IPInfo
======
This library get some useful information from flask's request object.Such as
IP Address, ISP, Location, Web Browser, Operating System, etc.
Example
-------
::
from flask import Flask
from flask_ipinfo import IPInfop
app = Flask(__name__)
ipinfo = IPInfo()
@app.route("/")
def hello():
return "Your IP Address is :" + ipinfo.ipaddress
if __name__ == "__main__":
app.run()
Supports
--------
Tested on Python 3.5
* Project: https://github.com/borisliu/flask-ipinfo
======
This library get some useful information from flask's request object.Such as
IP Address, ISP, Location, Web Browser, Operating System, etc.
Example
-------
::
from flask import Flask
from flask_ipinfo import IPInfop
app = Flask(__name__)
ipinfo = IPInfo()
@app.route("/")
def hello():
return "Your IP Address is :" + ipinfo.ipaddress
if __name__ == "__main__":
app.run()
Supports
--------
Tested on Python 3.5
* Project: https://github.com/borisliu/flask-ipinfo
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for Flask_IPInfo-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aed31f7a0c9ee2ce019776aa7d28f1fce2e70ecf2492c0bba65c7619456ed681 |
|
MD5 | a4c316f6fa20cf639362cae7d7c210f0 |
|
BLAKE2b-256 | 56f305c40843f650668ec965051f353d9ddd7a0c970e518f16a155d464a82ec3 |