Skip to main content

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

Release files for Flask-IPInfo 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for Flask-IPInfo 0.0.10
File Interpreter ABI Platform
Flask_IPInfo-0.0.10-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / Flask_IPInfo-0.0.10-py2.py3-none-any.whl

Download URL Flask_IPInfo-0.0.10-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
53c07b3f185cabf1ffb0f727e5b193ee1ea2a76d97c03a295eca608325ecaa84
BLAKE2b-256 checksum
How to use checksums
06517292815d5a649675f0af6d0e4777e7977f0883e8b7e86673e3e4f28b2f19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.10 This release

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page