un33k/django-ipware
A Django application to retrieve client's IP address observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4879
- days_rel: n/a
- days_push: 866
- n_releases_24m: 0
Adoption not part of the score
1064 stars · 97 forks observed · 2026-08-28
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-08-28 · 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 | 32 |
For agents
markdown · JSON · MCP: product_card(name="un33k/django-ipware")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem