Skip to main content

A high-performance, lazy MongoDB connector for Polars.

Project description

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

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

polars_mongo-0.3.1.tar.gz (76.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

polars_mongo-0.3.1-cp38-abi3-win_arm64.whl (15.5 MB view details)

Uploaded CPython 3.8+Windows ARM64

polars_mongo-0.3.1-cp38-abi3-win_amd64.whl (16.8 MB view details)

Uploaded CPython 3.8+Windows x86-64

polars_mongo-0.3.1-cp38-abi3-manylinux2014_x86_64.whl (18.7 MB view details)

Uploaded CPython 3.8+

polars_mongo-0.3.1-cp38-abi3-manylinux2014_aarch64.whl (17.3 MB view details)

Uploaded CPython 3.8+

polars_mongo-0.3.1-cp38-abi3-macosx_11_0_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ x86-64

polars_mongo-0.3.1-cp38-abi3-macosx_11_0_arm64.whl (17.1 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file polars_mongo-0.3.1.tar.gz.

File metadata

  • Download URL: polars_mongo-0.3.1.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for polars_mongo-0.3.1.tar.gz
Algorithm Hash digest
SHA256 23bdc26d4bd554d620d8e2ad61b18e2c92f1feab9ca978392bf2912c0fe17181
MD5 5a11f39f86a134435895bd72fe6af004
BLAKE2b-256 a540ac21a7d8c90f09edf1ca7190833fae88911e3574848f8508513a35256530

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1.tar.gz:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: polars_mongo-0.3.1-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 15.5 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fec224f34f09e029e518fb257afa0d02e9a21d39590e8b8e37b4b24d9023a818
MD5 61a1f81ec9e1c705daa10ba3b4ad84f2
BLAKE2b-256 0c2703df67d434abe6568c855f61ce2ed1dfed8650767a8677c99f216a3826ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-win_arm64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: polars_mongo-0.3.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 16.8 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 adb9a44188ed48ab750f42b609ea3acd2613631fc7cf843e27f4d37c3bf4670f
MD5 308e9cc76dd2352df558f46e81eece45
BLAKE2b-256 3ee39ffa10ff947706e53c7f074f91c875d91886fa994fe649b259dc5ffddfc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-win_amd64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 749f3e5790fc2f3ba48c58b6ab8ed4a665cfc59f4d8875e623fe4d1f5a17ad08
MD5 f2ecd256300c3d8d4a6e94e2de454860
BLAKE2b-256 cddccda4c1408b403f4cf824dae90f9eb3bcb4563accf947d92b369040b8cad6

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-manylinux2014_x86_64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bacfb335199c630ad171fccd02a4a3c87030b1b43a0c12fe9e02865ef6ad21c1
MD5 3c3eae8563832787d07e918c3d224eb7
BLAKE2b-256 377807ddf523a243e04c5bf9f0580726f87aea456d11b0183b492c43e88bffb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-manylinux2014_aarch64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 26d688b6528688445c8abba29c5002a978dbb5d7e2ee20e3b3f8525ae21b641b
MD5 2438426cea7a5a4845709ff503c55f2e
BLAKE2b-256 08ae70b25b487d8f49f3b8103b0a3cf736566c3f73039409fa6d909837df667b

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-macosx_11_0_x86_64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_mongo-0.3.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polars_mongo-0.3.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2917516a39494ea527f2b05295bbd6f53bd724f9e1f1902f326eafcb8fb7752d
MD5 7d654c6ca98d6a68bff1f2b1684338bc
BLAKE2b-256 2e5be45ec73aeb63fb61cfba66a0cf47a88a2fc306c6a42b2f8d7fdb276b2d9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_mongo-0.3.1-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release.yaml on AThomas314/polars-mongo

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