qmetrics.net

Mongo Python Driver

Official MongoDB Python driver distribution

DatabasesDesktop/CLI app
Mongo Python Driver 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

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift