Lance Namespace interface and plugin registry
Project Links
Meta
Author: LanceDB Devs
Requires Python: >=3.8
Classifiers
lance-namespace
Lance Namespace interface and plugin registry.
Overview
This package provides:
LanceNamespaceABC interface for namespace implementationsconnect()factory function for creating namespace instancesregister_namespace_impl()for external implementation registration- Re-exported model types from
lance_namespace_urllib3_client
Installation
pip install lance-namespace
Usage
import lance_namespace
# Connect using native implementations (requires lance package)
ns = lance_namespace.connect("dir", {"root": "/path/to/data"})
ns = lance_namespace.connect("rest", {"uri": "http://localhost:4099"})
# Register a custom implementation
lance_namespace.register_namespace_impl("glue", "lance_glue.GlueNamespace")
ns = lance_namespace.connect("glue", {"catalog": "my_catalog"})
Creating Custom Implementations
from lance_namespace import LanceNamespace
class MyNamespace(LanceNamespace):
def namespace_id(self) -> str:
return "MyNamespace { ... }"
# Override other methods as needed
License
Apache-2.0
0.6.1
Mar 17, 2026
0.6.0
Mar 16, 2026
0.5.4
Mar 16, 2026
0.5.3
Mar 16, 2026
0.5.2
Feb 20, 2026
0.5.1
Feb 20, 2026
0.5.0
Feb 19, 2026
0.4.5
Jan 07, 2026
0.4.4
Jan 07, 2026
0.4.3
Jan 01, 2026
0.4.2
Dec 31, 2025
0.4.1
Dec 31, 2025
0.4.0
Dec 21, 2025
0.3.2
Dec 15, 2025
0.3.1
Dec 11, 2025
0.3.0
Dec 11, 2025
0.2.1
Nov 28, 2025
0.2.0
Nov 27, 2025
0.0.21
Nov 14, 2025
0.0.20
Oct 27, 2025
0.0.19
Oct 21, 2025
0.0.18
Oct 08, 2025
0.0.17
Oct 01, 2025
0.0.16
Sep 30, 2025
0.0.15
Sep 24, 2025
0.0.14
Sep 02, 2025
0.0.13
Aug 31, 2025
0.0.12
Aug 31, 2025
0.0.10
Aug 30, 2025
0.0.9
Aug 28, 2025
0.0.8
Aug 26, 2025
0.0.6
Aug 20, 2025
0.0.5
Aug 01, 2025
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
lance-namespace-urllib3-client
(==0.6.1)