Metadata-Version: 2.5
Name: fsspec-polars
Version: 0.3.0
Summary: Polars lazy integration for fsspec (fsspec-db)
Project-URL: Repository, https://github.com/1kbgz/fsspec-polars
Project-URL: Homepage, https://github.com/1kbgz/fsspec-polars
Author-email: the fsspec-polars authors <dev@1kbgz.com>
License: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Rust
Requires-Python: >=3.11
Requires-Dist: fsspec
Requires-Dist: fsspec-data<0.10,>=0.9.0
Requires-Dist: fsspec-db<0.8,>=0.7.0
Requires-Dist: polars
Requires-Dist: pyarrow
Provides-Extra: develop
Requires-Dist: build; extra == 'develop'
Requires-Dist: bump-my-version; extra == 'develop'
Requires-Dist: check-dist; extra == 'develop'
Requires-Dist: cibuildwheel; extra == 'develop'
Requires-Dist: codespell; extra == 'develop'
Requires-Dist: hatch-rs>=0.6.1; extra == 'develop'
Requires-Dist: hatchling; extra == 'develop'
Requires-Dist: mdformat; extra == 'develop'
Requires-Dist: mdformat-myst; extra == 'develop'
Requires-Dist: mdformat-tables>=1; extra == 'develop'
Requires-Dist: polars-io-tools>=0.2.8; (python_version >= '3.11') and extra == 'develop'
Requires-Dist: pytest; extra == 'develop'
Requires-Dist: pytest-cov; extra == 'develop'
Requires-Dist: ruff; extra == 'develop'
Requires-Dist: sqlglot; extra == 'develop'
Requires-Dist: twine; extra == 'develop'
Requires-Dist: ty; extra == 'develop'
Requires-Dist: tzdata; (sys_platform == 'win32') and extra == 'develop'
Requires-Dist: uv; extra == 'develop'
Requires-Dist: wheel; extra == 'develop'
Provides-Extra: pushdown
Requires-Dist: polars-io-tools>=0.2.8; (python_version >= '3.11') and extra == 'pushdown'
Requires-Dist: tzdata; (sys_platform == 'win32') and extra == 'pushdown'
Description-Content-Type: text/markdown

# fsspec-polars

Scan fsspec-db relations, SQL queries, fsspec-kafka topics, and files rendered by
fsspec-data views or fsspec-fuse mounts as Polars LazyFrames.

[![Build Status](https://github.com/1kbgz/fsspec-polars/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/1kbgz/fsspec-polars/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/1kbgz/fsspec-polars/branch/main/graph/badge.svg)](https://codecov.io/gh/1kbgz/fsspec-polars)
[![License](https://img.shields.io/github/license/1kbgz/fsspec-polars)](https://github.com/1kbgz/fsspec-polars)
[![PyPI](https://img.shields.io/pypi/v/fsspec-polars.svg)](https://pypi.python.org/pypi/fsspec-polars)

`fsspec-polars` registers Polars I/O sources backed by `fsspec-db`. Scans translate
supported projection, predicate, and row-limit hints into database requests and
apply remaining work locally.

## Documentation

[Query a SQLite table with Polars](docs/tutorial.md) creates its own database and
runs a complete scan. [Scan relations and SQL](docs/how-to-scan.md) covers existing
filesystems, explicit schemas, and optional SQL pushdown.

The [scan reference](docs/reference.md) describes the public functions, including
`scan_kafka` for Kafka topics. Read
[Query pushdown and materialization](docs/explanation.md) for execution costs and
fallback behavior.
