std-uritemplate
std-uritemplate implementation for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has zero dependencies, supports current Python versions (3.8–3.14), carries no known vulnerabilities, and is licensed permissively. Install it when you need RFC 6570 Level 4 URI template expansion without adding dependency weight. The single-method API and design-by-constraint approach make it a low-risk, straightforward choice for standards-compliant URL generation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Active maintenance with a recent release 29 days ago.
- Supports Python 3.8 through 3.14.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-07-16 (29 days) · last repo commit 2026-08-13 · 51 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,641,175 downloads/mo, #1,221 on PyPI
Alternatives
Verify before relying
pip install std-uritemplate
from std-uritemplate import StdUriTemplate
template = "{scheme}://{host}{/path*}"
substitutions = {"scheme": "https", "host": "example.com", "path": ["a", "b"]}
result = StdUriTemplate.expand(template, substitutions)- Whether the Python implementation has been formally reviewed (description marks it as not reviewed but does not explain impact)
- Performance characteristics and suitability for high-volume URI expansion workloads
What it is and what it does
std-uritemplate is a cross-language implementation of the URI Template specification (RFC 6570) Level 4, providing a single public method to expand template strings by substituting variable values. It takes a template string with placeholders and a dictionary of substitutions, then returns the expanded URI. The library is designed with zero dependencies, no regex usage, and no configuration options—just a straightforward expand function that handles primitive type substitutions.
The package is part of a multi-language standardization effort aimed at providing stable, maintainable URI template handling across ecosystems. It supports Python 3.8 through 3.14 and is actively maintained by an independent organization. The implementation prioritizes readability and maintenance over micro-optimizations, making it suitable for applications that need RFC 6570 compliance without external dependencies.
Use it for
- Build dynamic API URLs in REST clients by substituting host, path, and query parameters into RFC 6570 templates.
- Generate OpenAPI-compliant URIs where URI templates are part of the specification.
- Construct URLs with variable path segments and query strings without external dependencies.
- Expand templated URLs in code generation tools that rely on RFC 6570.
- Create portable URL generation logic that works identically across multiple programming languages.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has zero dependencies, supports current Python versions (3.8–3.14), carries no known vulnerabilities, and is licensed permissively. Install it when you need RFC 6570 Level 4 URI template expansion without adding dependency weight. The single-method API and design-by-constraint approach make it a low-risk, straightforward choice for standards-compliant URL generation.
Install
std-uritemplate on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance with a recent release 29 days ago. Supports Python 3.8 through 3.14.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install std-uritemplate
from std-uritemplate import StdUriTemplate
template = "{scheme}://{host}{/path*}"
substitutions = {"scheme": "https", "host": "example.com", "path": ["a", "b"]}
result = StdUriTemplate.expand(template, substitutions)
Verify before relying
- Whether the Python implementation has been formally reviewed (description marks it as not reviewed but does not explain impact)
- Performance characteristics and suitability for high-volume URI expansion workloads
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,641,175 / month, #1,221 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: std_uritemplate-2.0.12-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 template substitution”
- std-uritemplateExpands RFC 6570 URI Templates (Level 4) by substituting variables…
- uritemplateExpands RFC 6570 URI templates by substituting variable placeholders…
- uri-templateExpands RFC 6570 URI Templates with variable substitution, supporting…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also uri-template · uritemplate · purl · rfc3987 · lazr.uri · sphinx-substitution-extensions · licenseheaders · uritools · rfc3987-syntax · rfc3986