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
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 0.6.1 | Imported from PyPI (0.6.1) | Low | 4/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.1 | Low | 3/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.5 | Low | 3/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.4 | Low | 3/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/ | Low | 3/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.2 | Low | 2/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/compa | Low | 2/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: | Low | 2/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.5 | Low | 1/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.4 | Low | 1/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.3 | Low | 1/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.2 | Low | 12/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.1 | Low | 12/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: make | Low | 12/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.2 | Low | 12/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.1 | Low | 12/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.0 | Low | 12/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.1 | Low | 11/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.0 | Low | 11/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 | Low | 11/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] | Low | 11/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] | Low | 10/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] | Low | 10/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] | Low | 10/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] | Low | 10/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] | Low | 9/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] | Low | 9/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] | Low | 9/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] | Low | 8/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] | Low | 8/31/2025 |
