https://github.com/thebracket/lancedbcsharp
Early development of a LanceDB to C# Connector
https://github.com/thebracket/lancedbcsharp
Last synced: about 1 year ago
JSON representation
Early development of a LanceDB to C# Connector
- Host: GitHub
- URL: https://github.com/thebracket/lancedbcsharp
- Owner: thebracket
- Created: 2024-10-21T14:58:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T17:29:12.000Z (over 1 year ago)
- Last Synced: 2025-05-12T17:14:13.355Z (about 1 year ago)
- Language: C#
- Size: 438 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Placeholder.
## Current Status
The initial repo has a few folders:
* `cs/` - C# code
* `rust/` - Rust code
* `vendor/` - contains Git submodule for `lancedb`.
Inside the `rust` folder, you'll find:
* `lance_sync_client` - FFI bindings for the `lancedb` library. See the [README](rust/README.md) for more information.
The `cs` side includes:
* `hello_ffi`, a parent project.
* `ApiTestbed` - a simple program that calls the sync client and demonstrates usage.
* `LanceDbClient` - a C# implementation of the sync client.
* `LanceDbInterface` - the *desired* interface for the sync client. Closely resembles the Python API.
* `LanceDbClientTests` - a suite of unit tests that exercise the client. You *must* have write access to `/tmp` for these, currently.
At the top-level you'll find a `Dockerfile`. This is a multi-stage build that will build the Rust code and then the C# code,
and invoke the `ApiTestbed` program. It's a demonstration of how to build and run the code in a container.
You can run the demo with:
```bash
docker buildx build --tag lance_test .
docker run lance_test
```