URLObject
A utility class for manipulating URLs.
Decision gist · record as of 2026-08-14
Yes, for straightforward URL manipulation tasks. The package is stable (Production/Stable classifier), has no dependencies, installs easily, and carries no licensing restrictions. The aging maintenance status (399 days since release) is a minor concern but not a blocker—the code is mature and the repository remains active. Install it if you prefer a cleaner API over urllib for URL construction and inspection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with no runtime dependencies.
- Maintenance status is aging—last release was 399 days ago, though the repository remains active with a recent commit on 2025-07-11 and 188 stars.
License · maintenance · safety
permissive license (permissive) — Released into the public domain under the Unlicense, with bundled six library under MIT. No licensing restrictions on use, modification, or distribution for any purpose.
last release 2025-07-11 (399 days) · last repo commit 2025-07-11 · 188 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 561,457 downloads/mo, #5,995 on PyPI
Alternatives
Verify before relying
pip install URLObject
from urlobject import URLObject
url = URLObject('https://example.com/path?key=value')
print(url.scheme, url.host, url.path)- Whether the aging maintenance status (399 days since last release) affects compatibility with the latest Python versions listed in classifiers.
- Performance characteristics when handling very large or malformed URLs.
- Whether the bundled six library is still necessary given modern Python 3 support.
What it is and what it does
URLObject is a utility library for working with URLs in Python. It provides a class-based interface to parse, inspect, and construct URLs by exposing their components (scheme, host, path, query parameters, etc.) as properties and methods. The library aims for a clearer, more explicit API compared to its predecessor, avoiding operator overloads in favor of named methods. It has no runtime dependencies and supports Python 3.8 through 3.13.
The package is useful when you need to programmatically build or decompose URLs, extract or modify query parameters, or validate URL structure. It sits between the standard library's urllib and more specialized URL libraries, offering a middle ground of convenience without heavy dependencies.
Use it for
- Extract and modify query parameters from URLs in web scrapers or API clients.
- Programmatically construct URLs with dynamic paths and query strings in web applications.
- Parse and validate URL components in request handlers or URL routers.
- Normalize or transform URLs for logging, caching, or comparison purposes.
- Build URLs for HTTP requests in integration tests or automation scripts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, for straightforward URL manipulation tasks.
The package is stable (Production/Stable classifier), has no dependencies, installs easily, and carries no licensing restrictions. The aging maintenance status (399 days since release) is a minor concern but not a blocker—the code is mature and the repository remains active. Install it if you prefer a cleaner API over urllib for URL construction and inspection.
Install
urlobject on PyPI
Before you install
Low friction installation with no runtime dependencies. Maintenance status is aging—last release was 399 days ago, though the repository remains active with a recent commit on 2025-07-11 and 188 stars.
License in practice
Released into the public domain under the Unlicense, with bundled six library under MIT. No licensing restrictions on use, modification, or distribution for any purpose.
Quickstart
pip install URLObject
from urlobject import URLObject
url = URLObject('https://example.com/path?key=value')
print(url.scheme, url.host, url.path)
Verify before relying
- Whether the aging maintenance status (399 days since last release) affects compatibility with the latest Python versions listed in classifiers.
- Performance characteristics when handling very large or malformed URLs.
- Whether the bundled six library is still necessary given modern Python 3 support.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 399 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 561,457 / month, #5,995 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Public DomainProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: urlobject-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “url builder utility”
- URLObjectURLObject provides a utility class for parsing, constructing, and…
- s3urlsParse and build Amazon S3 URLs in multiple formats, extracting or…
- packageurl-pythonParses and builds Package URLs (purls) — standardized identifiers for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also hammock · yarl · purl · w3lib · hyperlink · lazr.uri · urlextract · newsapi-python · s3urls · query-string