Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

flp

Fluent LINQ for Python – flip your iterables

flp brings a LINQ-inspired fluent API to standard Python iterables with full static typing.

⚡ Key Features

  • ⚡ Lazy Evaluation (FlpIt): Deferred execution using Python iterators and generators.
  • 📦 Materialized Container (FlpList): Eager, mutable container backed by collections.UserList.
  • 🔹 Static-First Typing: Built for full mypy and pyright inference without plugins.
  • 🔄 No Implicit Caching: Query results are not cached unless explicitly documented, such as order_by.

⚙️ Installation

uv add flp

💡 Quick Start

from flp import FlpList, FlpIt

# Eager collection
data = FlpList([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Deferred / lazy pipeline
query: FlpIt[int] = (
    data
    .where(lambda x: x % 2 == 0)
    .select(lambda x: x * 10)
)

# Materialization happens explicitly
result: FlpList[int] = query.to_list()  # [20, 40, 60, 80, 100]

📜 License

Distributed under the MIT License. See LICENSE for more information.

Release files for flpit 0.1.1.dev2

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

Source distribution (sdist)

Source distribution for flpit 0.1.1.dev2
File Size Uploaded
flpit-0.1.1.dev2.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flpit 0.1.1.dev2
File Interpreter ABI Platform
flpit-0.1.1.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / flpit-0.1.1.dev2.tar.gz

Download URL flpit-0.1.1.dev2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1fb40f3408dff04aeb00d239f6da7e027deb905af43f660387e7655fd6cef662
BLAKE2b-256 checksum
How to use checksums
3b58df4d2041bc51d0fee126132abdbbf9a95f732c6f7e0ad5931267324d8b8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / flpit-0.1.1.dev2-py3-none-any.whl

Download URL flpit-0.1.1.dev2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a75deac0064de04633132f3c0fb028b5f941e93092b85e7cd9a513e6784ca08b
BLAKE2b-256 checksum
How to use checksums
8058202f55423acd7765801de9f839663f7ef3769740fbe5b2bb89fb50977808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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