qmetrics.net

PyMongo

Official MongoDB Python driver distribution

PyMongo screenshot

PyMongo connects Python programs to MongoDB with sync and async APIs, BSON support, and an optional GridFS package. Install with pip; do not install the separate pypi bson package.

Overview

PyMongo is MongoDB’s recommended Python distribution for working with MongoDB. It includes pymongo as the native driver with synchronous and asynchronous APIs, bson for BSON encoding, and gridfs for GridFS storage on top of pymongo. Documentation and API references are hosted on mongodb.com and readthedocs.

Guides cover installation, connections, databases and collections, CRUD, aggregation, specialized data formats, indexes, database commands, MongoDB Search, MongoDB Vector Search, logging, monitoring, and authentication mechanisms. Django MongoDB Backend is noted as generally available for connecting Django applications to MongoDB.

Optional dependencies extend authentication, compression, OCSP, client-side field level encryption, and mongodb+srv URI handling. CPython 3.11 and newer is supported. PyMongo ships its own bson module; installing the unrelated bson package from PyPI is incompatible.

Issues and questions are handled through MongoDB’s public support channels rather than direct email to maintainers. Semantic versioning applies to releases.

Key features

  • Synchronous and asynchronous APIs
  • BSON package included
  • GridFS implementation
  • CRUD and aggregation
  • Optional wire protocol compression
  • Client-side field level encryption support
  • MongoDB Search and vector search
  • mongodb+srv URI support with dnspython

Use cases

  • Python apps using MongoDB
  • Async network frameworks with PyMongo
  • Storing large files via GridFS
  • Django apps via MongoDB backend
  • Encrypted or compressed MongoDB connections

Tags

Similar software

Prisma ORM

TypeScript ORM with agent-oriented workflows

Prisma ORM lets TypeScript applications define data models in a contract file and query databases with type-safe APIs. Version eight rewrites the stack in TypeScript with extensibility and bundled agent skills.

★ 47.8k⟳ yesterdayApache-2.0
DatabasesDesktop/CLI app

DuckDB

In-process analytical SQL database engine

DuckDB embeds in applications and the CLI to run fast OLAP SQL locally. It reads Parquet, CSV, JSON, remote object storage, and lakehouse formats without a separate database server.

★ 43.4k⟳ todayMIT
DatabasesDesktop/CLI app

GORM

Feature-rich ORM library for Go applications

GORM maps Go structs to SQL databases with migrations, associations, hooks, and a fluent query API. It targets developer-friendly access patterns for common CRUD and relationship modeling.

★ 40k⟳ 1 month agoMIT
DatabasesDesktop/CLI app

LevelDB

Ordered embedded key-value storage library

LevelDB is a fast embedded library that maps string keys to string values in sorted order. Applications link it in-process; it is not a SQL database and has no built-in client-server layer.

★ 39.6k⟳ 15 days agoBSD-3-Clause
DatabasesDesktop/CLI app

Mongoose

Schema-based MongoDB object modeling for Node.js

Mongoose is an object modeling layer for MongoDB built for async Node.js code. It adds schemas, validation, and query helpers on top of the official MongoDB driver.

★ 27.5k⟳ yesterdayMIT
DatabasesDesktop/CLI app

RxDB

Local-first reactive NoSQL database for JavaScript

Stores application data on the client with reactive queries and optional sync to your own backend. Targets websites, hybrid mobile apps, desktop shells, and Node.js.

★ 23.4k⟳ yesterdayApache-2.0
DatabasesDesktop/CLI app