un33k/django-ipware
Some data may be outdated — see provenance labels.
A Django application to retrieve client's IP address observed · 2026-10-02
Health v2 · maintenance only
86/100
- Activity 96
- Release rhythm 64
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4928
- days_rel: 29
- days_push: 29
- n_releases_24m: 1
Adoption not part of the score
1063 stars · 97 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Django application/library that retrieves the client's real IP address from request headers, handling proxies and load balancers with configurable precedence and trusted proxy settings. It is a Django wrapper around python-ipware.
Use cases
- get the real client IP behind a load balancer or reverse proxy
- log user IP addresses in Django views
- detect whether a client IP is publicly routable or private
- rate limit or anti-fraud checks based on client IP
- configure X-Forwarded-For header precedence for platforms like Heroku or AWS ELB
When to choose
- you run a Django app behind proxies or load balancers and need the client's IP
- you need configurable proxy handling with trusted proxy IPs or proxy counts
- you want a small, well-maintained, MIT-licensed utility
When to avoid
- you need a non-Django Python solution (use python-ipware instead)
- you need bulletproof protection against IP spoofing for security-critical systems without proper proxy configuration
- you are not using Django or Python
Facets
library · maturity stable
middleware security developer-tools web-development backend security developer-tools python django client-ip ip-address proxy-headers x-forwarded-for web-server
2 sources
- readme: https://github.com/un33k/django-ipware · fetched 2026-10-02 · d4db7fd0a916
- registry_pypi: https://pypi.org/pypi/django-ipware/json · fetched 2026-08-29 · cbb9289c12eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| un33k/django-ipware | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="un33k/django-ipware")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem