![]() |
VOOZH | about |
dotnet add package Std.UriTemplate --version 2.0.10
NuGet\Install-Package Std.UriTemplate -Version 2.0.10
<PackageReference Include="Std.UriTemplate" Version="2.0.10" />
<PackageVersion Include="Std.UriTemplate" Version="2.0.10" />Directory.Packages.props
<PackageReference Include="Std.UriTemplate" />Project file
paket add Std.UriTemplate --version 2.0.10
#r "nuget: Std.UriTemplate, 2.0.10"
#:package Std.UriTemplate@2.0.10
#addin nuget:?package=Std.UriTemplate&version=2.0.10Install as a Cake Addin
#tool nuget:?package=Std.UriTemplate&version=2.0.10Install as a Cake Tool
👁 GitHub license
👁 Build Status
👁 GitHub Release
👁 NPM version
👁 PyPI Version
👁 NuGet Version
👁 Gem Version
👁 Pub Version
👁 PRs Welcome
This is a complete and maintained cross-language implementation of the Uri Template specification RFC 6570 Level 4.
Low activity is this repository is expected as long as there are no outstanding bug reports the implementations are considered stable and mature.
| Language | Complete | Reviewed | Published |
|---|---|---|---|
| Java | ✅ | ✅ | ✅ |
| Python | ✅ | ❌ | ✅ |
| Typescript | ✅ | ✅ | ✅ |
| Go | ✅ | ✅ | ✅ |
| C# | ✅ | ✅ | ✅ |
| Ruby | ✅ | ❌ | ✅ |
| PHP | ✅ | ✅ | ✅ |
| Swift | ✅ | ❌ | ✅ |
| Dart | ✅ | ✅ | ✅ |
| Rust | ✅ | ❌ | ✅ |
You can use the library as a Maven dependency:
<dependency>
<groupId>io.github.std-uritemplate</groupId>
<artifactId>std-uritemplate</artifactId>
<version>REPLACE-ME</version>
</dependency>
in Gradle:
implementation 'io.github.std-uritemplate:std-uritemplate:REPLACE-ME'
and use it in your project:
import io.github.stduritemplate.StdUriTemplate;
...
StdUriTemplate.expand(template, substitutions);
Install the package with pip (or any alternative):
pip install std-uritemplate
Use the library in your project:
from stduritemplate import StdUriTemplate
...
StdUriTemplate.expand(template, substitutions)
Install the package using npm:
npm i @std-uritemplate/std-uritemplate
Use the package:
const { StdUriTemplate } = require('@std-uritemplate/std-uritemplate');
...
StdUriTemplate.expand(template, substitutions);
Install the package:
go get github.com/std-uritemplate/std-uritemplate/go/v2
and use it:
import stduritemplate "github.com/std-uritemplate/std-uritemplate/go/v2"
...
stduritemplate.Expand(template, substitutions)
Install the package:
dotnet add package Std.UriTemplate
and use it:
Std.UriTemplate.Expand(template, substitutions);
Install the package:
gem install stduritemplate
and use it:
require 'stduritemplate'
...
StdUriTemplate.expand(template, substitutions)
Install the package:
composer require stduritemplate/stduritemplate
and use it:
use StdUriTemplate\StdUriTemplate;
...
StdUriTemplate::expand($template, $substitutions);
Install the package, adding to Package.swift:
let package = Package(
...
dependencies: [
...
.package(
url: "https://github.com/std-uritemplate/std-uritemplate-swift.git",
from: "<version>"
)
],
targets: [
.executableTarget(
...
dependencies: [
...
.product(name: "stduritemplate",
package: "std-uritemplate-swift")
]
...
),
]
)
and use it:
import stduritemplate
...
StdUriTemplate.expand(template, substitutions: substs)
Install the package:
dart pub add std_uritemplate
for flutter:
flutter pub add std_uritemplate
and use it:
import 'package:std_uritemplate/std_uritemplate.dart';
...
print(StdUriTemplate.expand(template, substitutions));
Add the dependency to your Cargo.toml:
[dependencies]
std-uritemplate = "REPLACE-ME"
and use it:
use stduritemplate::{expand, Value};
use std::collections::HashMap;
...
let mut substitutions = HashMap::new();
substitutions.insert("var".to_string(), Value::String("value".to_string()));
let result = expand(template, &substitutions).unwrap();
We have a set of design decisions to guide:
The public API is composed by a single method(in Java for simplicity):
String expand(String template, Map<String, Object> substitutions)
all the rest, should not be directly accessible.
<img alt="alt_text" src="https://imgs.xkcd.com/comics/dependency.png" />
In the Kiota project they are using Uri Templates to build URLs, and we have already spent enough life-time dealing with:
We aim to do it differently, by reducing maintenance to a minimum by automating it, and sharing responsibilities to reduce the bus/truck factor:
Uri Template is(likely) going to be included in the next OpenAPI specification and we need to rely on a (more) solid foundation to prevent our selves to spend long, tedious hours and days chasing hidden bugs, verifying compatibilities and waiting for unresponsive maintainers.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Std.UriTemplate:
| Package | Downloads |
|---|---|
|
Microsoft.Kiota.Abstractions
Abstractions library for the Kiota generated SDKs in dotnet. |
|
|
NCSSBO
SAP B1 Serverkomponente |
|
|
WATG.Common
WATG library of commonly used and shared functionalities |
|
|
WATG.Common.Data
WATG general data retrieval and processing library |
|
|
WATGx.Models
A WATGx code library |
Showing the top 2 popular GitHub repositories that depend on Std.UriTemplate:
| Repository | Stars |
|---|---|
|
netwrix/pingcastle
PingCastle - Get Active Directory Security at 80% in 20% of the time
|
|
|
Kyrodan/KeeAnywhere
A cloud storage provider plugin for KeePass Password Safe
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.10 | 19,178 | 5/20/2026 |
| 2.0.9 | 662 | 5/20/2026 |
| 2.0.8 | 12,524,004 | 10/16/2025 |
| 2.0.7 | 6,589 | 10/16/2025 |
| 2.0.6 | 23,232 | 9/30/2025 |
| 2.0.5 | 3,705,593 | 5/14/2025 |
| 2.0.4 | 7,422 | 5/14/2025 |
| 2.0.3 | 127,775 | 2/7/2025 |
| 2.0.2 | 8,787 | 2/6/2025 |
| 2.0.1 | 37,937,622 | 11/12/2024 |
| 2.0.0 | 1,015,861 | 9/30/2024 |
| 1.0.6 | 8,232,530 | 8/30/2024 |
| 1.0.5 | 1,126,694 | 7/24/2024 |
| 1.0.3 | 501,683 | 7/3/2024 |
| 1.0.2 | 14,784 | 6/26/2024 |
| 1.0.1 | 353,870 | 6/11/2024 |
| 1.0.0 | 7,577 | 6/11/2024 |
| 0.0.59 | 9,354 | 6/7/2024 |
| 0.0.58 | 7,260 | 6/7/2024 |
| 0.0.57 | 12,377,553 | 4/18/2024 |
<a id="2.0.10"></a>
# [2.0.10](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.10) - 2026-05-20
[Changes][2.0.10]
<a id="2.0.9"></a>
# [2.0.9](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.9) - 2026-05-20
[Changes][2.0.9]
<a id="2.0.8"></a>
# [2.0.8](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.8) - 2025-10-16
[Changes][2.0.8]
<a id="2.0.7"></a>
# [2.0.7](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.7) - 2025-10-16
[Changes][2.0.7]
<a id="2.0.6"></a>
# [2.0.6](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.6) - 2025-09-30
[Changes][2.0.6]
<a id="2.0.5"></a>
# [2.0.5](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.5) - 2025-05-14
[Changes][2.0.5]
<a id="2.0.4"></a>
# [2.0.4](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.4) - 2025-05-14
[Changes][2.0.4]
<a id="2.0.3"></a>
# [2.0.3](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.3) - 2025-02-07
[Changes][2.0.3]
<a id="2.0.2"></a>
# [2.0.2](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.2) - 2025-02-06
[Changes][2.0.2]
<a id="2.0.1"></a>
# [2.0.1](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.1) - 2024-11-12
[Changes][2.0.1]
<a id="2.0.0"></a>
# [2.0.0](https://github.com/std-uritemplate/std-uritemplate/releases/tag/2.0.0) - 2024-09-30
[Changes][2.0.0]
<a id="1.0.6"></a>
# [1.0.6](https://github.com/std-uritemplate/std-uritemplate/releases/tag/1.0.6) - 2024-08-30
[Changes][1.0.6]
<a id="1.0.5"></a>
# [1.0.5](https://github.com/std-uritemplate/std-uritemplate/releases/tag/1.0.5) - 2024-07-24
[Changes][1.0.5]
[2.0.10]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.9...2.0.10
[2.0.9]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.8...2.0.9
[2.0.8]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.7...2.0.8
[2.0.7]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.6...2.0.7
[2.0.6]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.5...2.0.6
[2.0.5]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.4...2.0.5
[2.0.4]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.3...2.0.4
[2.0.3]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/std-uritemplate/std-uritemplate/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/std-uritemplate/std-uritemplate/compare/1.0.6...2.0.0
[1.0.6]: https://github.com/std-uritemplate/std-uritemplate/compare/1.0.5...1.0.6
[1.0.5]: https://github.com/std-uritemplate/std-uritemplate/tree/1.0.5
<!-- Generated by https://github.com/rhysd/changelog-from-release v3.9.1 -->