PackageTrack
Sign in Get early access

betto_onnxrt

ONNX Runtime for Dart — build-time binary via native-assets hook, generalised OnnxSession API, and model-download infrastructure.

0.1.0-dev.1 bettongia/onnxrt

What this package is like to depend on

Last release 2 months ago

17 Jun 2026

Too new to tell

only 1 dated releases

Unknown

no stable releases

Nothing withdrawn

no release was ever pulled

2 months old

1 releases · first in 2026

1 release in the last 12 months

see the full history below

Release timeline

1 releases · Jun 2026 to Jun 2026
Release Pre-release

Releases

latest 1
  1. 0.1.0-dev.1 17 Jun 2026 pre-release
    Release notes

    Reverted out of the monorepo pubspec for now; doc updates for release

    Open source →
    Release notes

    Initial development release.

    • Native-assets build hook (hook/build.dart) that downloads and stages the ONNX Runtime prebuilt binary (v1.22.0) for macOS, Linux, Windows, Android, and iOS.
    • OnnxRuntime — opens the staged ORT library and initialises the OrtApi vtable.
    • OnnxSession — generalised FFI inference session supporting arbitrary named inputs and outputs; exposes output tensor shape and element type.
    • OnnxTensor — typed multi-dimensional array with named factories for float32, float64, int32, int64, and uint8 element types.
    • SessionOptions — thread-pool sizing for intra-op and inter-op parallelism.
    • ModelDownloader — SHA-256 verified, crash-safe download of ONNX model files described by a ModelSpec.
    • AllowlistProvider — interface for gating which models ModelDownloader is permitted to fetch.
    • Added example/magika/ — a standalone Dart CLI tool that detects file types using Google's Magika v3.3 ONNX model. Demonstrates end-to-end use of OnnxRuntime, OnnxSession, and ModelDownloader with a real-world model. Output mirrors the Python Magika --json format. Run with dart run bin/magika.dart <file> or compile with dart build cli from inside example/magika/.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive