skillfed

lance-namespace

Lance Namespace interface and plugin registry

lance-namespace v0.11.0 11.1M downloads/30d#1,418 on PyPI57
Permissive license Apache-2.0 Active released

What it is and what it does

Lance-namespace is a plugin registry and abstract interface layer for Lance namespace implementations. It defines the LanceNamespace ABC that custom storage backends must implement, and provides a connect() factory function to instantiate namespace instances by type. The package re-exports model types from its runtime dependency lance-namespace-urllib3-client, making it a bridge between the Lance ecosystem and pluggable storage backends.

Typical use involves either connecting to built-in implementations (dir for local filesystem, rest for remote HTTP) or registering and connecting to custom implementations. Developers building Lance integrations with external systems would subclass LanceNamespace and register their implementation via register_namespace_impl(), allowing other code to discover and instantiate it by name.

Use it for:

  • Connect to local or remote Lance storage backends using the factory pattern without coupling to specific implementations.
  • Register custom namespace implementations for proprietary or specialized storage systems to integrate with Lance.
  • Build a plugin ecosystem where third-party packages can provide Lance namespace adapters without modifying core code.
  • Abstract storage backend selection in applications that need to support multiple Lance data sources at runtime.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides an abstract interface and plugin registry for Lance namespace implementations, enabling connection to different storage backends and custom namespace providers.

Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and solves a real abstraction problem for Lance ecosystem integrations. Install it if you are building or using Lance applications that need pluggable namespace support or custom storage backends.

Install

lance-namespace on PyPI

pip

pip install lance-namespace

uv

uv add lance-namespace

poetry

poetry add lance-namespace

Installing lance-namespace

Before you install

Low install friction with a single pure-Python dependency. Active maintenance as of 2026-08-14 with recent release activity.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install lance-namespace

import lance_namespace

ns = lance_namespace.connect("dir", {"root": "/path/to/data"})
lance_namespace.register_namespace_impl("custom", "my_module.MyNamespace")

Verify before relying

  • Whether native implementations (dir, rest) require the lance package to be installed separately
  • Stability guarantees or API compatibility policy for the LanceNamespace ABC interface
  • Performance characteristics when registering and connecting to custom implementations

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — lance-namespace-urllib3-client
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 11,080,260/month — #1,418 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: lance_namespace-0.11.0-py3-none-any.whl

Keywords: lance, lancedb, namespace, vector-database

Tags

lance namespace interfacevector database namespace pluginlance storage backend registrycustom namespace implementationlancedb namespace adapterlance connect factorynamespace abstraction layer
plugin-registryvector-databasestorage-abstraction

More Database packages

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

redis

Python client library for connecting to and…

permissive · top 1,000 on PyPI

ydb

YDB Python SDK is the official client library…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

sqlparse

sqlparse tokenizes SQL text into a tree of…

permissive · top 1,000 on PyPI

dbt-adapters

Provides base adapter protocols and shared…

permissive · top 1,000 on PyPI

lance-namespace-urllib3-client

Auto-generated REST client for the Lance…

permissive · top 5,000 on PyPI

lancedb

LanceDB is a Python SDK for connecting to and…

permissive · top 5,000 on PyPI

lance-context

Provides Python bindings for multimodal,…

permissive · top 15,000 on PyPI

llama-index-vector-stores-lancedb

Integrates LanceDB as a vector store backend…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-lancedb

Adds distributed tracing instrumentation for…

permissive · top 5,000 on PyPI

phx-class-registry

Implements the Registry and Factory patterns to…

permissive · top 15,000 on PyPI

aws-cdk.aws-servicediscovery

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

objectory

Provides dynamic object factory implementations…

permissive · top 15,000 on PyPI

python-dxf

Stores and retrieves arbitrary data blobs in…

permissive · top 15,000 on PyPI

pylance

Pylance is a Python wrapper for the Lance…

permissive · top 5,000 on PyPI