--- id: lazr-uri version: "4.0.0" license: LGPL v3 license_treatment: copyleft maintenance: active --- # lazr.uri — A self-contained, easily reusable library for parsing, manipulating, and generating URIs. License: copyleft · Maintenance: active · Downloads: 367.4K/mo ## What it is and what it does lazr.uri is a standalone library for working with URIs—parsing them into components, modifying those components, and reconstructing or generating new URIs. It has no runtime dependencies, making it lightweight and easy to embed in other projects. The library supports modern Python versions from 3.8 through 3.14 and is marked as production-stable. The package is useful when you need to programmatically extract parts of a URI (scheme, host, path, query parameters), build URIs from scratch, or manipulate existing ones. It handles the syntax and structure of URIs so you don't have to parse them manually or rely on string splitting. Since it carries no external dependencies, adding it to a project introduces minimal installation friction. Use it for: - Parse and extract components (scheme, host, path, query) from URIs in web applications or APIs. - Generate or manipulate URIs programmatically when building URLs for HTTP requests or links. - Validate and normalize URI strings in data processing or web scraping workflows. - Handle URI encoding and decoding in tools that work with web standards or REST APIs. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parse, manipulate, and generate URIs with a self-contained library that handles URI syntax and structure without external dependencies. Yes. The package is lightweight (no dependencies), actively maintained, production-stable, and solves a common problem with a self-contained implementation. The LGPL v3 copyleft license requires you to disclose modifications and use compatible licensing if you distribute derivatives, but poses no barrier to internal use. Install it if you need robust URI parsing and manipulation without external dependencies. ## Install pip install lazr-uri uv add lazr-uri poetry add lazr-uri ## Installing lazr.uri Before you install: Installs with no runtime dependencies and maintains active status with a recent release. License in practice: Licensed under LGPL v3 (copyleft); you must disclose source modifications and make your code available under compatible terms if you distribute this package or derivatives. Quickstart: pip install lazr.uri from lazr.uri import URI uri = URI('https://example.com/path?query=value') print(uri.scheme, uri.host, uri.path) Requires Python 3.8 or later. Verify before relying: - Whether the library implements RFC 3986 or another specific URI standard - Performance characteristics for large-scale URI parsing or generation - Specific URI schemes or edge cases the library handles or does not handle ## Package facts - License: LGPL v3 (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 367.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags URI parsing and manipulation, parse URIs in Python, generate URIs, URI handling library, URL and URI utilities, RFC URI parsing, URI validation and generation, uri-parsing, web-standards [View on SkillFed](https://skillfed.io/packages/lazr-uri) · [View on PyPI](https://pypi.org/project/lazr-uri/)