pylance
python wrapper for Lance columnar format
What it is and what it does
Pylance is a Python SDK that wraps the Lance columnar data format, a format designed for efficient storage and retrieval of large analytical datasets. It sits on top of Apache Arrow, inheriting Arrow's type system and columnar layout while providing a Python-friendly interface for reading and writing data. The package targets data science and machine learning workflows where columnar storage offers advantages in compression, query performance, and memory efficiency.
The package is in active development (Alpha status) and requires Python 3.10 or later with compiled wheels available for common platforms. Its main dependencies—pyarrow, numpy, and lance-namespace—are typical for data science stacks. With zero known vulnerabilities and a permissive license, it presents a low security risk, though as an Alpha project it may still undergo API changes.
Use it for:
- Store large machine learning training datasets in a columnar format optimized for batch access and feature extraction.
- Build data pipelines that serialize analytical tables to disk with better compression than row-oriented formats.
- Integrate with pyarrow-based workflows to leverage Arrow's ecosystem while using Lance's storage optimizations.
- Archive and query time-series or event data where columnar layout reduces I/O and memory overhead.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pylance is a Python wrapper for the Lance columnar data format, enabling efficient storage and querying of large datasets using Apache Arrow as its underlying data model.
Yes, if you work with large analytical datasets and want a columnar storage format integrated with the pyarrow ecosystem. The permissive Apache license, active maintenance, and zero known vulnerabilities support adoption. Medium install friction (compiled wheels, multiple dependencies) is typical for data science packages. Be aware that Alpha status means the API may change; suitable for production use only if you can tolerate potential breaking changes in future releases.
Install
pylance on PyPI
pip
pip install pylanceuv
uv add pylancepoetry
poetry add pylanceInstalling pylance
Before you install
Medium install friction due to compiled wheels for multiple platforms (arm64, x86_64, manylinux variants). Active maintenance with a release 7 days ago. Requires Python 3.10 or later and depends on pyarrow and numpy, which are themselves substantial compiled packages.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production and research contexts.
Quickstart
pip install pylance
import lance
# Create a Lance dataset from a PyArrow table or pandas DataFrame
data = lance.write_table(table, uri="./my_dataset.lance")
Requires Python 3.10 or later; pyarrow and numpy must be installed (typically handled by pip automatically).
Verify before relying
- Specific performance characteristics (latency, throughput) compared to other columnar formats.
- Whether the package supports streaming or incremental writes beyond the basic write_table API.
- Current state of documentation and examples beyond the contribution guide reference.
- Actual download volume and adoption metrics beyond position in the top PyPI packages list.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — pyarrow, numpy, lance-namespace |
| Maintenance | actively maintained — 7 days since the last release |
| First released | |
| Downloads | 4,059,100/month — #2,387 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pylance-10.0.0-cp310-abi3-macosx_11_0_arm64.whl; pylance-10.0.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pylance-10.0.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pylance-10.0.0-cp310-abi3-manylinux_2_28_aarch64.whl; pylance-10.0.0-cp310-abi3-manylinux_2_28_x86_64.whl; pylance-10.0.0-cp310-abi3-win_amd64.whl
Keywords: data-format, data-science, machine-learning, arrow, data-analytics
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
lance-contextProvides Python bindings for multimodal,…
permissive · top 15,000 on PyPI
lancedbLanceDB is a Python SDK for connecting to and…
permissive · top 5,000 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
vortex-dataVortex-data provides Python bindings to work…
permissive · top 15,000 on PyPI
anima-pythonanima-python provides a command-line interface…
unclear · top 15,000 on PyPI
feather-formatFeather-format provides a Python interface to…
permissive · top 15,000 on PyPI
arrow-odbcReads data from ODBC data sources directly into…
permissive · top 15,000 on PyPI
polarsPolars is a DataFrame query engine written in…
permissive · top 1,000 on PyPI
lance-namespace-urllib3-clientAuto-generated REST client for the Lance…
permissive · top 5,000 on PyPI
geoarrow-pyarrowProvides Python bindings for the GeoArrow…
permissive · top 15,000 on PyPI