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 Floe, 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 TypedFloe 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.0.tar.gz (57.2 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.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfloe-0.1.0.tar.gz
  • Upload date:
  • Size: 57.2 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.0.tar.gz
Algorithm Hash digest
SHA256 8141d6a4c92e0634085c21a5a18208b5b36606b356f1a32f6519ac12031b6111
MD5 1ae8123a92046aec5b210c4f5ac67df5
BLAKE2b-256 af28e8abed8d50224cd9f232b7dbe59679365016d7d0eae0becbb39857cc7761

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyfloe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db74fde53ae1a5b835f26b8d241a980fd42ea4caacc234366f8bb0c993c2966a
MD5 9fb2370b3fc7851e400616bd35e0ce91
BLAKE2b-256 e27d91a8346fa86192dc041e47f621d50676938f3eeea3f116f4d648926ca30e

See more details on using hashes here.

Provenance

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