Heossi.Saar 1.3.0

dotnet add package Heossi.Saar --version 1.3.0
                    
NuGet\Install-Package Heossi.Saar -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Heossi.Saar" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Heossi.Saar" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Heossi.Saar" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Heossi.Saar --version 1.3.0
                    
#r "nuget: Heossi.Saar, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Heossi.Saar@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Heossi.Saar&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Heossi.Saar&version=1.3.0
                    
Install as a Cake Tool

Saar SDKs

Thin, tested clients over the Saar command-line interface, one per language.

Every SDK follows the same contract and the same boundary: it invokes the installed saar binary and decodes the JSON it prints. None of them reimplements the codec. That keeps a single authoritative implementation and means every SDK behaves identically, including its failure modes.

Shared contract

Operation Behaviour
version() Returns the CLI version string
compress(input, output?) Compresses one file; default output is <input>.saar
decompress(input, output?) Restores one artifact; default strips .saar
verify(input) Round-trip integrity check; reports a verdict
detect(input) Detected modality, without compressing
info(input) Describes an existing artifact

Binary resolution in every SDK: SAAR_BIN if set, otherwise saar on PATH. Failures surface as a typed command error carrying the argv, exit code and stderr. No SDK overwrites an existing output file; the CLI refuses and the SDK propagates that refusal.

Conformance

Each SDK ships a test suite that runs the real CLI and asserts:

  1. version is reported,
  2. a round trip is byte-exact,
  3. verify reports success,
  4. a missing input raises a command error,
  5. a corrupt artifact is rejected,
  6. an existing output file is never overwritten.

Run one suite with SAAR_BIN set to the CLI:

Language Command
Python cd sdks/python && python3 -m unittest discover -s tests -v
Go cd sdks/go && go test ./...
Rust cd sdks/rust && cargo test
JVM cd sdks/jvm && gradle test
.NET cd sdks/dotnet && dotnet test Saar.Sdk.Tests/Saar.Sdk.Tests.csproj
Swift cd sdks/swift && swift test

All six suites were run against the same CLI build and pass.

Package identities

Language Coordinate
Python saar-sdk (PyPI), import saar_sdk
Go github.com/heossihq/saar-public/sdks/go
Rust saar-sdk (crates.io)
JVM com.heossi:saar-sdk (Maven Central)
.NET Heossi.Saar (NuGet)
Swift SaarSDK (Swift Package Manager)

These follow the same vendor scopes used by the QNSI SDKs (com.heossi, @heossihq, heossihq/*-public), so the HEOSSI family stays consistent across registries.

What these SDKs do not do

  • They do not bundle or ship the codec. The CLI must be installed separately.
  • They do not implement streaming or bundle operations yet; only the six operations above are covered by tests.
  • They make no performance claim. Timing depends on the host and the profile.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 106 10/25/2026