dart_hnsw 0.3.0 copy "dart_hnsw: ^0.3.0" to clipboard
dart_hnsw: ^0.3.0 copied to clipboard

Cross-platform hnswlib bindings for Dart with shared in-memory indexes, atomic snapshots, and multi-isolate concurrency.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_hnsw

With Flutter:

 $ flutter pub add dart_hnsw

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_hnsw: ^0.3.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_hnsw/dart_hnsw.dart';
1
likes
160
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cross-platform hnswlib bindings for Dart with shared in-memory indexes, atomic snapshots, and multi-isolate concurrency.

Repository (GitHub)
View/report issues

Topics

#ffi #hnsw #vector-search #ann

License

Apache-2.0 (license)

Dependencies

code_assets, ffi, hooks, native_toolchain_c

More

Packages that depend on dart_hnsw