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 .NET's LINQ fluent API to standard Python iterables with full static typing.
⚡ Key Features
- ⚡ Lazy Evaluation (
FlpIt): Deferred evaluation via pure Python generator expressions. - 📦 Eager Container (
FlpList): Persisted state backed bycollections.UserList. - 🔹 Static-First Typing: Built for full
mypyandpyrightinference without plugins. - 🟢 O(1) Boundary Validation: Boundary checks rely on O(1) sampling instead of O(N) scans.
⚙️ 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.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flpit-0.1.1.dev1.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flpit-0.1.1.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / flpit-0.1.1.dev1.tar.gz
| Download URL | flpit-0.1.1.dev1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7fc1c3328f9f1eca66f6170dc69b1b5383e0f50491c425cb05df5944866d4aa
|
|
BLAKE2b-256 checksum How to use checksums |
dfb44ea1a82b0e04163a36884be64aaaeba394c8393d3e1e80bfcf30c467c0f2
|
| 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.dev1-py3-none-any.whl
| Download URL | flpit-0.1.1.dev1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7305b996db484ea8d20313f5530d5346c65684ed1e0c9a6a08c40cf323ed80dd
|
|
BLAKE2b-256 checksum How to use checksums |
b5dcf8d2290fcf4063570307832ee7e4df4067185d322f151075bd6d803c2469
|
| 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}
|