Skip to main content

Project Logo

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 Location values
  • Default return is the final URL that served the page
  • full=True / --full returns every URL in the chain
  • status=True / --status returns 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/.

The Lupaxa Project Footer

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)

Source distribution for lupaxa-real-url 0.1.1
File Size Uploaded
lupaxa_real_url-0.1.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-real-url 0.1.1
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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