freshcrate
Home > Databases > lance-namespace

lance-namespace

Lance Namespace interface and plugin registry

Description

# lance-namespace Lance Namespace interface and plugin registry. ## Overview This package provides: - `LanceNamespace` ABC interface for namespace implementations - `connect()` factory function for creating namespace instances - `register_namespace_impl()` for external implementation registration - Re-exported model types from `lance_namespace_urllib3_client` ## Installation ```bash pip install lance-namespace ``` ## Usage ```python 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 ```python from lance_namespace import LanceNamespace class MyNamespace(LanceNamespace): def namespace_id(self) -> str: return "MyNamespace { ... }" # Override other methods as needed ``` ## License Apache-2.0

Release History

VersionChangesUrgencyDate
0.6.1Imported from PyPI (0.6.1)Low4/21/2026
v0.6.1<!-- Release notes generated using configuration in .github/release.yml at v0.6.1 --> ## What's Changed ### Bug Fixes 🐛 * fix(java): keep async query responses as bytes by @Xuanwo in https://github.com/lance-format/lance-namespace/pull/321 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.6.0...v0.6.1Low3/17/2026
v0.6.0<!-- Release notes generated using configuration in .github/release.yml at v0.6.0 --> ## What's Changed ### New Features 🎉 * feat: add BatchCommitTables API for atomic multi-table commit operations by @XuQianJin-Stars in https://github.com/lance-format/lance-namespace/pull/315 ## New Contributors * @XuQianJin-Stars made their first contribution in https://github.com/lance-format/lance-namespace/pull/315 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.5Low3/16/2026
v0.5.4<!-- Release notes generated using configuration in .github/release.yml at v0.5.4 --> ## What's Changed ### Bug Fixes 🐛 * fix: pin async javadocs to Java 11 by @Xuanwo in https://github.com/lance-format/lance-namespace/pull/318 ## New Contributors * @Xuanwo made their first contribution in https://github.com/lance-format/lance-namespace/pull/318 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.5.3...v0.5.4Low3/16/2026
v0.5.3<!-- Release notes generated using configuration in .github/release.yml at v0.5.3 --> ## What's Changed ### New Features 🎉 * feat: support batch create_table_versions by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/310 * feat: add table version management to dir spec by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/311 * feat(java): add async client and interface with CompletableFuture support by @jackye1995 in https://github.com/lance-format/Low3/16/2026
v0.5.2<!-- Release notes generated using configuration in .github/release.yml at v0.5.2 --> ## What's Changed ### Bug Fixes 🐛 * fix: use long for timestamp in table version by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/308 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.5.1...v0.5.2Low2/20/2026
v0.5.1<!-- Release notes generated using configuration in .github/release.yml at v0.5.1 --> ## What's Changed ### Bug Fixes 🐛 * fix: add managed_versioning to declare_table and fix create_table_version response by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/306 * fix: pass manifest naming scheme to create_table_versions by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/307 **Full Changelog**: https://github.com/lance-format/lance-namespace/compaLow2/20/2026
v0.5.0<!-- Release notes generated using configuration in .github/release.yml at v0.5.0 --> ## What's Changed ### New Features 🎉 * feat: add partition spec to rest.yaml by @wojiaodoubao in https://github.com/lance-format/lance-namespace/pull/297 * feat: introduce table version operations by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/301 * feat: add error handling for table version apis by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/302 * feat: Low2/19/2026
v0.4.5<!-- Release notes generated using configuration in .github/release.yml at v0.4.5 --> ## What's Changed ### New Features 🎉 * feat: add vended_credentials config in declare table by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/294 * feat: add lance partitioning spec by @wojiaodoubao in https://github.com/lance-format/lance-namespace/pull/279 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.4.4...v0.4.5Low1/7/2026
v0.4.4<!-- Release notes generated using configuration in .github/release.yml at v0.4.4 --> ## What's Changed ### New Features 🎉 * feat: add context support for all requests by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/293 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.4.3...v0.4.4Low1/7/2026
v0.4.3<!-- Release notes generated using configuration in .github/release.yml at v0.4.3 --> ## What's Changed ### New Features 🎉 * feat: fix location requirement and add vended credential and table metadata support by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/291 * feat: add identity to all requests by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/292 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.4.2...v0.4.3Low1/1/2026
v0.4.2<!-- Release notes generated using configuration in .github/release.yml at v0.4.2 --> ## What's Changed ### New Features 🎉 * feat: simplify recommended basic operations by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/290 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.4.1...v0.4.2Low12/31/2025
v0.4.1<!-- Release notes generated using configuration in .github/release.yml at v0.4.1 --> ## What's Changed ### Documentation 📚 * docs: move template to integrations folder by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/287 * docs: add restrictions to recommended operations by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/289 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.4.0...v0.4.1Low12/31/2025
v0.4.0<!-- Release notes generated using configuration in .github/release.yml at v0.4.0 --> ## What's Changed ### New Features 🎉 * feat: introduce error spec by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/282 * feat: clarify impl spec for rest and dir by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/283 * feat: deprecate create_empty_table and use declare_table by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/284 * feat: makeLow12/21/2025
v0.3.2<!-- Release notes generated using configuration in .github/release.yml at v0.3.2 --> ## What's Changed ### Bug Fixes 🐛 * fix(python): fix python client pin by @wjones127 in https://github.com/lance-format/lance-namespace/pull/281 ## New Contributors * @wjones127 made their first contribution in https://github.com/lance-format/lance-namespace/pull/281 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.3.1...v0.3.2Low12/15/2025
v0.3.1<!-- Release notes generated using configuration in .github/release.yml at v0.3.1 --> ## What's Changed ### New Features 🎉 * feat: remove hard-coded enums to make input more flexible by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/278 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.3.0...v0.3.1Low12/11/2025
v0.3.0<!-- Release notes generated using configuration in .github/release.yml at v0.3.0 --> ## What's Changed ### Other Changes * refactor: fix inconsistencies in rest namespace models by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/276 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.2.1...v0.3.0Low12/11/2025
v0.2.1<!-- Release notes generated using configuration in .github/release.yml at v0.2.1 --> ## What's Changed ### Other Changes * refactor: update doc and contributing guide with module dependencies by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/268 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.2.0...v0.2.1Low11/28/2025
v0.2.0<!-- Release notes generated using configuration in .github/release.yml at v0.2.0 --> ## What's Changed ### Other Changes * refactor: add back python and java core for api and connect by @jackye1995 in https://github.com/lance-format/lance-namespace/pull/266 **Full Changelog**: https://github.com/lance-format/lance-namespace/compare/v0.1.0...v0.2.0Low11/27/2025
v0.1.0# Release v0.1.0 ## 🔧 Chores - release version 0.1.0 (4268cfe) - add write permission to release workflow (#264) (de00a1f) ## Contributors - Jack Ye - Lance Release Bot Low11/26/2025
v0.0.21# Release v0.0.21 ## ♻️ Refactoring - deprecate lance-namespace crate and rest and dir python impls (#258) (23d8905) ## 🔧 Chores - release version 0.0.21 (6f2aed1) ## Contributors - Jack Ye - github-actions[bot] Low11/14/2025
v0.0.20# Release v0.0.20 ## ✨ Features - add namespace id for all implementations (#246) (199763b) ## 🔧 Chores - release version 0.0.20 (b035dae) ## Contributors - Jack Ye - github-actions[bot] Low10/27/2025
v0.0.19# Release v0.0.19 ## 🐛 Bug Fixes - azblob path in dir namespace not comaptible with lance object_store (#243) (0242efc) ## 🔧 Chores - release version 0.0.19 (fa9b710) ## Contributors - Jack Ye - github-actions[bot] Low10/21/2025
v0.0.18# Release v0.0.18 ## ✨ Features - upgrade arrow and lance version (#238) (2bb07b8) ## 🔧 Chores - release version 0.0.18 (48ebf8e) ## Contributors - Jack Ye - github-actions[bot] Low10/8/2025
v0.0.17# Release v0.0.17 ## ✨ Features - add instruction for Apache Gravitino and Google Dataproc (#237) (e74cf76) ## 🔧 Chores - release version 0.0.17 (afcbc85) ## Contributors - Jack Ye - github-actions[bot] Low10/1/2025
v0.0.16# Release v0.0.16 ## 🔧 Chores - release version 0.0.16 (41d0115) - fix rust toolchain (#234) (87c6069) ## Contributors - Jack Ye - github-actions[bot] Low9/30/2025
v0.0.15# Release v0.0.15 ## 🔧 Chores - release version 0.0.15 (58801d9) ## 📝 Other Changes - chore(rust): fix version bump for reqwest client cargo override file (#232) (247576e) ## Contributors - Jack Ye - github-actions[bot] Low9/24/2025
v0.0.14# Release v0.0.14 ## 🔧 Chores - release version 0.0.14 (138db0c) - fix rust license generation (#224) (013f9e5) ## Contributors - Jack Ye - github-actions[bot] Low9/2/2025
v0.0.13# Release v0.0.13 ## 🔧 Chores - release version 0.0.13 (fdd69c5) - use workspace dependency for rust (#223) (ec46998) ## Contributors - Jack Ye - github-actions[bot] Low8/31/2025
v0.0.12# Release v0.0.12 ## 🔧 Chores - release version 0.0.12 (dd456bb) ## 📝 Other Changes - ci: fix release note generate import (#222) (f8b06e1) ## Contributors - Jack Ye - github-actions[bot] Low8/31/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

azure-storage-blobMicrosoft Azure Blob Storage Client Library for Pythonazure-template_0.1.0b6187637
azure-storage-file-shareMicrosoft Azure Azure File Share Storage Client Library for Pythonazure-template_0.1.0b6187637
mirakuruProcess executor (not only) for tests.3.0.2
opentelemetry-instrumentation-qdrantOpenTelemetry Qdrant instrumentation0.60.0
django-modelclusterDjango extension to allow working with 'clusters' of models as a single unit, independently of the database6.4.1