11 releases (1 stable)
| new 1.0.0 | Dec 18, 2025 |
|---|---|
| 0.39.0 | Nov 4, 2025 |
| 0.38.3 | Oct 28, 2025 |
| 0.0.20 | Oct 27, 2025 |
| 0.0.16 | Sep 30, 2025 |
#517 in Database implementations
37,335 downloads per month
Used in 22 crates
(4 directly)
375KB
8K
SLoC
lance-namespace
Lance Namespace Core APIs for managing namespaces and tables.
Overview
This crate provides the core APIs and trait definitions for Lance namespaces, including:
LanceNamespacetrait - The main interface for namespace operations- Schema conversion utilities for Arrow schemas
- Models and APIs for namespace operations (via lance-namespace-reqwest-client)
Note: For actual namespace implementations (REST, Directory, etc.), see the lance-namespace-impls crate.
Features
The namespace API supports:
- Creating and managing namespaces
- Creating and managing tables within namespaces
- Listing namespaces and tables
- Schema management
- Multiple backend implementations (REST, directory-based, etc.)
Usage
use lance_namespace::LanceNamespace;
// For implementations, use lance-namespace-impls:
// use lance_namespace_impls::connect;
// let namespace = connect("rest", properties).await?;
// let namespace = connect("dir", properties).await?;
// Then use the trait methods:
async fn example(namespace: &dyn LanceNamespace) {
// List tables in the namespace
let tables = namespace.list_tables(Default::default()).await;
}
Documentation
For more information about Lance and its namespace system, see the Lance Namespace documentation.
Dependencies
~41–65MB
~1M SLoC