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.

from pyfloe import LazyFrame, read_csv, col, row_number

result = (
    read_csv("orders.csv")
    .filter(col("amount") > 100)
    .with_column("rank", 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.1.tar.gz (60.3 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.1-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfloe-0.1.1.tar.gz
  • Upload date:
  • Size: 60.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d1dc9fca70f3c5ffedd3d6a79d15c60872f72fa10e6c1e15e6bbd189f6bf15f3
MD5 e1b033edb298b4f1eb794c6db725e674
BLAKE2b-256 0cfb132d681dddb7a39fe3c372f799aed434fea7b4b76c1ac43c38bbed05a10b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfloe-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: pyfloe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4a0dc05b92070e6ae4c752895c9bd323daf2d6c632382cd62accecd33948ee
MD5 1d6a70cc0b3f4b19e0ea79f4d0f43d60
BLAKE2b-256 5b13085b24a7567fdee89058f5fdafcf3a765f65d66796705a2f22dbfed0de10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfloe-0.1.1-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