polars-lance
Polars plugin for reading Lance datasets into Polars dataframes and writing Polars dataframes to Lance datasets.
Installation
pip install polars-lance
Read
from polars_lance import scan_lance
lf = scan_lance("example.lance")
df = lf.collect()
Write
import polars as pl
from polars_lance import write_lance
df = pl.DataFrame({"id": [1, 2], "val": ["a", "b"]})
write_lance(df, "example.lance")
Pass mode to control behavior in case the target dataset already exists. Valid values are error (default), append, and overwrite.
write_lance(df, "example.lance", mode="append")
Cloud storage
Pass storage_options to work with Lance datasets stored in AWS S3, Azure Blob Storage, or Google Cloud Storage.
from polars_lance import scan_lance, write_lance
uri = "s3://my-bucket/example.lance"
storage_options = {
"aws_access_key_id": "AKIAIOSFODNN7EXAMPLE",
"aws_secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
"aws_region": "us-east-1",
}
write_lance(df, uri, storage_options=storage_options)
lf = scan_lance(uri, storage_options=storage_options)
df = lf.collect()
Cloud storage IO is powered by the object_store Rust crate. These are the supported schemes and options:
s3://: AWS optionsaz://: Azure optionsgs://: GCP options
Metadata
Release files for polars-lance 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| polars_lance-0.5.0.tar.gz | 152.3 kB | Details |
Built distributions (wheels)
Total release size: 948.5 MB
Release files / polars_lance-0.5.0.tar.gz
| Download URL | polars_lance-0.5.0.tar.gz |
|---|---|
| Size | 152.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67ac14d0f3a3da12ef12450a8032fe5bd4c083c27b502dbc2fe2d26d6c4c5eeb
|
|
BLAKE2b-256 checksum How to use checksums |
d714fe6cb4c5f65dd053e4b77a671429cd8743ae85645800d550c91ba01d3c40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp314-cp314-win_amd64.whl
| Download URL | polars_lance-0.5.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 60.1 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
454050fa17be1aaf8cbc6e3f692ceb084b6a6e2c5d66c74bbd4ca9d4ac75221f
|
|
BLAKE2b-256 checksum How to use checksums |
35227dd30cb0612662a3cb7f99814c93272a0f24c56098ae68874a8cc632af6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | polars_lance-0.5.0-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 68.1 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8ec36c561cc53306297ede4399b4950d2177cbfcf6b68816661916f8a5f0d9b8
|
|
BLAKE2b-256 checksum How to use checksums |
c029d95432c9855a2814daa02bfd28e63785cf1d7598177497d9732b200c6cc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | polars_lance-0.5.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 61.4 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
38506c401b5f41734d443de4a2065d4e60539d21043d3e982a9e450c03be6c9b
|
|
BLAKE2b-256 checksum How to use checksums |
06b5a9d6ac18b1860032a3090804f9d221006ed468e15857135d4de82469766a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp313-cp313-win_amd64.whl
| Download URL | polars_lance-0.5.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 60.0 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d1a887d6ba9c84b82cb1cabd4fe558bed553edf0b256b1cdc1f85645b30f9387
|
|
BLAKE2b-256 checksum How to use checksums |
8fd2357b2538a0cea0022c78be442da3eec2ae64d0c52f09743eca0a616c4635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | polars_lance-0.5.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 68.1 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
74a4a2cb05a3c285849d1746c79bb581a59e76dec6c043f49ce025e2a58a6937
|
|
BLAKE2b-256 checksum How to use checksums |
de4bf992e1311a04039c76c60ad7e020543865cb03919101320f3de975c7028d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | polars_lance-0.5.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 61.4 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e72dfb34ac39646d5efc89e2b5ccb8c74f49400e81a35020fa8611628e0bc197
|
|
BLAKE2b-256 checksum How to use checksums |
7b41b91234c4b9a066f9904c986d34891dca530eff354b1e6773803c56e08033
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp312-cp312-win_amd64.whl
| Download URL | polars_lance-0.5.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 60.1 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cb1c4737d0024fe5c8f4c49d46e9f1f0e0034ac6314d1310ea3533d693ecf18e
|
|
BLAKE2b-256 checksum How to use checksums |
775aa7ea508b1b7093737793462f8801b2e706b764b9721fb167eb3a85b460ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | polars_lance-0.5.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 68.1 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0ac82d1fcc50095f99262773b7d24b95344fa659092bb9f731021a3427a6205a
|
|
BLAKE2b-256 checksum How to use checksums |
4c4c204514f1d202f38c3da2c4ec8f0592dbfddd1df3dc9c35df9e9bf3520312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | polars_lance-0.5.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 61.4 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d49f6acd4d43ef8ddec1c35a661931b182590057895aab6fa85c834b93585540
|
|
BLAKE2b-256 checksum How to use checksums |
f731de91af3b9f5149b993389750a4be158811dba60079b006d5d6c8a37f38cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp311-cp311-win_amd64.whl
| Download URL | polars_lance-0.5.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 60.1 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d562050812b07297c4493d1ab6b2b44f4980309e5ddfc917805f7479a421be01
|
|
BLAKE2b-256 checksum How to use checksums |
8b2bfc937b67020664638dd070a491dab1c24fd73d6c9f54b8855e73cede426b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | polars_lance-0.5.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 68.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2d00dfa6d583869e46fe17d44d2ab7d3bf532b6d7a935662d60cb2ebc9cf9e4a
|
|
BLAKE2b-256 checksum How to use checksums |
262341e87927f8948be2ebfff9956265892b7be9cbbb050248afb0751a81844e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | polars_lance-0.5.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 61.5 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fb0684069ca84c9214685f9a355b984a89ecfbfbc996a39bdd8e5295a1c6aae0
|
|
BLAKE2b-256 checksum How to use checksums |
4f8765616aac5c7e3bc878b69338a0d8eed220ea4f7b264247274ce5e03df20e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp310-cp310-win_amd64.whl
| Download URL | polars_lance-0.5.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 60.1 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7dd7816464d9e711ad3b5986344eb8619c4c272b3102d2645145215efa3408a2
|
|
BLAKE2b-256 checksum How to use checksums |
0987b639daf2676a1d9855a74f1e2ce0f1c7a4584650894dad41513725d42197
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | polars_lance-0.5.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 68.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5d4d73a313346584d880b28f95051a93e0a5b4f231e058912d939d9338b38bf2
|
|
BLAKE2b-256 checksum How to use checksums |
816b5f578c0074d6a6bdcab4074efb26bc86c343427398a015c53d552eade028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / polars_lance-0.5.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | polars_lance-0.5.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 61.5 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
064c64d1412c733d45959ecebc6ee51456f2436e0eb64ffc6e070331d302e077
|
|
BLAKE2b-256 checksum How to use checksums |
4b07682486ad6542dffb5b4d5e60088ce725a710a421c9d690a3a090b5d840ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency log