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

Download history 155/week @ 2025-08-27 73/week @ 2025-09-03 7/week @ 2025-09-10 97/week @ 2025-09-17 1185/week @ 2025-09-24 1408/week @ 2025-10-01 3292/week @ 2025-10-08 1477/week @ 2025-10-15 491/week @ 2025-10-22 4492/week @ 2025-10-29 8098/week @ 2025-11-05 6687/week @ 2025-11-12 8346/week @ 2025-11-19 9050/week @ 2025-11-26 9491/week @ 2025-12-03 9028/week @ 2025-12-10

37,335 downloads per month
Used in 22 crates (4 directly)

Apache-2.0

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:

  • LanceNamespace trait - 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