The Lupaxa Developers Toolbox
Part of The Lupaxa Project
lupaxa-real-url
Follow HTTP redirects and report the URL that actually serves the page. The hop list is kept from the URL you started with through to the last response.
Built for scripts and tools used by The Lupaxa Project.
The PyPI name is lupaxa-real-url. The import path is lupaxa.real_url.
The CLI is installed as real-url.
Features
- Follows HTTP 3xx redirects, including relative
Locationvalues - Default return is the final URL that served the page
full=True/--fullreturns every URL in the chainstatus=True/--statusreturns each hop with its HTTP status code- Detects redirect loops and stops after a hop limit
- Fails with typed errors for bad URLs and network problems
- Thin CLI plus a small library API
Installation
From PyPI
pip install lupaxa-real-url
From source (development mode)
pip install -e ".[dev]"
Requires Python 3.10+ and httpx. lupaxa is a namespace package —
there is no lupaxa/__init__.py.
Usage
from lupaxa.real_url import resolve
resolve("https://example.com")
resolve("https://example.com", full=True)
resolve("https://example.com", status=True)
real-url https://example.com
real-url --full https://example.com
real-url --status https://example.com
real-url --full --status https://example.com
real-url --version
real-url --help
Default output is one final URL. --full prints one URL per hop.
--status prints STATUS URL for each hop.
Development
make init
make python-install-dev
make python-check
make mkdocs-serve
Documentation lives in mkdocs/.
Release files for lupaxa-real-url 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_real_url-0.1.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_real_url-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / lupaxa_real_url-0.1.1.tar.gz
| Download URL | lupaxa_real_url-0.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f853a875ee93212480c12883db2eb736a63a8a742c403075e06da4b2e92b219
|
|
BLAKE2b-256 checksum How to use checksums |
691425e0d2ea71f4aa06fb1113f24122d8f6901291f8baefe5f8cd625bf0b485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / lupaxa_real_url-0.1.1-py3-none-any.whl
| Download URL | lupaxa_real_url-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df63be8793c980771edb329d69ce636460df65762f5fab248ff575a5821ec862
|
|
BLAKE2b-256 checksum How to use checksums |
18c0d5f0ef99eec3c13d5125012c42d0cd06bcd18ebbd379629a59ee23656ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log