$npx skillfedfor your agent

uri-template

RFC 6570 URI Template Processor

With conditionsPyPI Python ModulesReleased Jun 202346.7M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — uri_template-1.3.0-py3-none-any.whl
v1.3.0 · released 2023-06-21 · Python >=3.7

Yes, if your use case is stable URI template expansion and you do not require active maintenance. The package is feature-complete for RFC 6570 and its documented extensions, has no known vulnerabilities, and carries a permissive license. However, do not adopt it if you need ongoing bug fixes, security patches, or support for future RFC revisions—the project is abandoned and will not receive updates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction—pure Python wheel with no runtime dependencies.
  • However, the package is abandoned as of 1150 days since last release, so no active maintenance or security updates are forthcoming.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.

last release 2023-06-21 (1150 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 46,735,284 downloads/mo, #607 on PyPI

Verify before relying

pip install uri-template

import uri_template

template = uri_template.URITemplate('{scheme}://{host}{/path*}')
result = template.expand(scheme='https', host='example.com', path=['api', 'v1', 'users'])
print(result)  # https://example.com/api/v1/users
  • Whether the RFC 6570 standard and its extensions remain stable enough that abandonment poses no practical risk for typical use cases.
  • Real-world compatibility with modern URI template consumers and whether edge cases in nested structures or partial expansion are well-tested.
Same gist for agents: .md · .json

What it is and what it does

uri-template is a Python implementation of RFC 6570 URI Templates that expands template strings by substituting variables with provided values. It handles standard RFC 6570 syntax (e.g., {var}, {+var}, {#var}) and adds several practical extensions: non-string values like booleans and numbers are automatically converted; nested lists and dictionaries are flattened or combined; default values can be specified inline; and partial expansion allows missing variables to remain as unexpanded expressions for later substitution. The package provides both module-level functions (expand, partial, validate) and a URITemplate class for more structured template handling.

The library is designed for scenarios where URLs or URI-like strings need to be generated dynamically—such as API clients, link templates in hypermedia responses, or configuration-driven URL construction. It supports Python 3.7 through 3.11 and has no external dependencies, making it lightweight and portable.

Use it for

  • Build dynamic API endpoint URLs from templates with variable parameters and optional query strings.
  • Implement hypermedia link templates in REST APIs that clients can expand with their own data.
  • Generate URI patterns for routing or URL rewriting systems that need to preserve template syntax until runtime.
  • Construct complex URLs with nested data structures (lists, dictionaries) that must be flattened into query parameters.
  • Validate and introspect URI template syntax to extract variable names and modifiers before expansion.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if your use case is stable URI template expansion and you do not require active maintenance.

The package is feature-complete for RFC 6570 and its documented extensions, has no known vulnerabilities, and carries a permissive license. However, do not adopt it if you need ongoing bug fixes, security patches, or support for future RFC revisions—the project is abandoned and will not receive updates.

Install

uri-template on PyPI

Before you install

Low install friction—pure Python wheel with no runtime dependencies. However, the package is abandoned as of 1150 days since last release, so no active maintenance or security updates are forthcoming.

License in practice

MIT License permits commercial and private use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.

Quickstart

pip install uri-template

import uri_template

template = uri_template.URITemplate('{scheme}://{host}{/path*}')
result = template.expand(scheme='https', host='example.com', path=['api', 'v1', 'users'])
print(result)  # https://example.com/api/v1/users

Verify before relying

  • Whether the RFC 6570 standard and its extensions remain stable enough that abandonment poses no practical risk for typical use cases.
  • Real-world compatibility with modern URI template consumers and whether edge cases in nested structures or partial expansion are well-tested.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,150 days since the last release
First released
Downloads46,735,284 / month, #607 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: uri_template-1.3.0-py3-none-any.whl

Tags

Capabilities
RFC 6570 URI template expansionURI template variable substitutionURL template processorURI template with defaultspartial URI template expansionRFC 6570 implementationdynamic URI generation
Topics
uri-templatesrfc-6570url-generation
PyPI keywords
config

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 › “RFC 6570 URI template expansion”

  • uri-templateExpands RFC 6570 URI Templates with variable substitution, supporting…
  • uritemplateExpands RFC 6570 URI templates by substituting variable placeholders…
  • std-uritemplateExpands RFC 6570 URI Templates (Level 4) by substituting variables…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also std-uritemplate · uritemplate · purl · parameter-expansion-patched · expandvars · adaptive-cards-templating-py · prefixcommons · rfc3987 · rfc3987-syntax · xmacro