Skip to main content

Zero-dependency lazy dataframe. Lo-fi data processing for Python.

Project description

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 functionsrow_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.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfloe-0.1.2.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfloe-0.1.2-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfloe-0.1.2.tar.gz.

File metadata

  • Download URL: pyfloe-0.1.2.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfloe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 551f30e763814f5e0e240887f5a754a0d5b019f42828f38203bb81b3d6443317
MD5 0fbbfd31445eccd7ce868eb3d4b5430d
BLAKE2b-256 960929bdefe17f2b54b218f0197ed09f62ee16b36a68655ab7cbd7a2c745f088

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfloe-0.1.2.tar.gz:

Publisher: publish.yml on Edwardvaneechoud/pyfloe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfloe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyfloe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfloe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53bf38da758096552f89c10de834f8d77aab5321898ad740b4705cec26ab26a2
MD5 0b455df88a7a207d46af8c6d9224415a
BLAKE2b-256 ac78b23f8f68147cf1f02e623a1f99fc5b0373231234c81e625c4a644885ec71

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfloe-0.1.2-py3-none-any.whl:

Publisher: publish.yml on Edwardvaneechoud/pyfloe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page