Skip to main content

pyfloe

Zero-dependency, lazy dataframes for Python.

pyfloe is a pure-Python dataframe library with lazy evaluation, query optimization, and type safety — no external dependencies required.

import pyfloe as pf

result = (
    pf.read_csv("orders.csv")
    .filter(pf.col("amount") > 100)
    .with_column("rank", pf.row_number()
        .over(partition_by="region", order_by="amount"))
    .select("order_id", "region", "amount", "rank")
    .sort("region", "rank")
    .collect()
)

Installation

pip install pyfloe

Key features

  • Lazy evaluation — operations build a query plan; data flows only when you collect
  • Expression API — composable column expressions with arithmetic, comparisons, string methods, and conditionals
  • Window functions — row_number, rank, dense_rank, cumsum, lag, lead, and more
  • Datetime handling — auto-detection from CSV, .dt accessor for extraction, truncation, and arithmetic
  • Streaming I/O — read and write CSV, TSV, JSONL, JSON, and fixed-width files with constant memory
  • Query optimizer — filter pushdown and column pruning
  • Type safety — TypedDict validation and TypedLazyFrame for IDE-friendly typed results

Documentation

Full documentation is available at edwardvaneechoud.github.io/pyfloe.

Tutorial

Want to understand how a dataframe engine works under the hood? Build Your Own DataFrame is a five-module course that takes pyfloe apart piece by piece — expression trees, plan nodes, the volcano model, hash joins, and the query optimizer — until nothing feels like magic.

License

MIT

Metadata

Release files for pyfloe 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfloe 0.1.4
File Size Uploaded Provenance Actions
pyfloe-0.1.4.tar.gz 67.3 kB With provenance Details for pyfloe-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfloe 0.1.4
File Interpreter ABI Platform Actions
pyfloe-0.1.4-py3-none-any.whl Python 3 none any Details for pyfloe-0.1.4-py3-none-any.whl

Total release size: 117.9 kB

Release files / pyfloe-0.1.4.tar.gz

Download URL pyfloe-0.1.4.tar.gz
Size 67.3 kB
Tags Source
SHA-256 checksum
How to use checksums
730fef657b81a3b887e6c8234ca20c01efdf02e2f700b9a96c154feff29d178a
BLAKE2b-256 checksum
How to use checksums
ea6b7f28634e9bf88975580d1cdf20cac141f2b0704e3f51203106fa95cabaf8
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 Jun 13, 2026.

Transparency log

Release files / pyfloe-0.1.4-py3-none-any.whl

Download URL pyfloe-0.1.4-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3496a3c2d81765a3e1f7ef814377649f52c4d088e4bb57f3ee708c6f05d23e8
BLAKE2b-256 checksum
How to use checksums
ca2608698d722bab839ebc5e9bc1b752b508a71f078529f7d9a39ac094dd85d8
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 Jun 13, 2026.

Transparency log

Security for pyfloe 0.1.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyfloe-0.1.4.tar.gz

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 Jun 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page