Metadata-Version: 2.4
Name: polars-mongo
Version: 0.3.1
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: polars>=1.39.3
Summary: A high-performance, lazy MongoDB connector for Polars.
Author-email: Ashish Thomas <ashishthomassm@gmail.com>, Cory Grinstead <cory.grinstead@gmail.com>
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# polars-mongo
A high-performance, native MongoDB connector for Polars, written in Rust.
Why polars-mongo?
1. Filter at the database, avoiding the python overhead
2. Keep polars syntax

Key Features
    Native Speed: Built with Rust and pyo3-polars for maximum BSON-to-Arrow throughput.

    Projection Pushdown: Fully optimized to query only the fields you select (including subfields).

    Predicate Pushdown : Push down basic filters to mongodb, fall back on polars for more complicated filters to ensure correctness

    Lazy Integration: Works seamlessly with the pl.LazyFrame API.

Installation    
    uv add polars-mongo
    # or
    pip install polars-mongo
    
Roadmap
    [x] V0.2.0: Predicate Pushdown (Filtering at the database level).
    [ ] v0.3.0: RawBson Zero-Copy Deserialization

