awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索博客网站地图
项目关于媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.com分类博客
mongodb avatar

mongodb/mongo-python-driver

0
View on GitHub↗

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI
www.mongodb.com/docs/languages/python/pymongo-driver/current
↗

Mongo Python Driver

MongoDB Python Driver 是一个客户端库和 NoSQL 数据库客户端,用于使用 Python 编程语言执行 CRUD 操作并管理 MongoDB 数据库中的数据。它作为一个数据库连接库,处理身份验证和连接池,同时还提供了一个用于管理嵌入索引并基于语义相似度检索数据的向量搜索客户端。

该驱动程序支持同步和异步数据库驱动模型,以执行非阻塞 I/O 操作并从数据库集群流式传输数据。它的独特之处在于专门的搜索能力,包括全文搜索和执行向量搜索以基于数学相似度检索数据。

其更广泛的能力涵盖数据存储和同步,包括多阶段聚合管道、索引生命周期管理和 BSON 二进制序列化。该库还实现了安全原语,如客户端字段级加密、TLS 连接安全以及与云身份提供商的集成。其他功能包括通过文件系统接口进行的大文件存储和实时数据变更监控。

Features

  • Database APIs - Provides a programmatic interface for applications to interact with and manage MongoDB database structures.
  • NoSQL Databases - Serves as the primary client for connecting Python applications to MongoDB's non-relational document storage.
  • BSON Type Mappings - Maps database-specific BSON binary types to native Python objects while preserving date and identifier precision.
  • Asynchronous Database Drivers - Provides a non-blocking network interface for performing asynchronous data operations in high-concurrency environments.
  • Binary Serialization Formats - Uses the BSON binary format to encode and decode structured data for efficient transmission and storage.
4,342 星标·1,154 分支·Python·Apache-2.0·1 次浏览
  • Collection Management - Provides capabilities to create, list, and delete logical collections to organize documents.
  • Document Updates - Implements operations for modifying specific fields of existing documents or replacing them entirely.
  • Document Deletion Operations - Implements functions for permanently removing specific records from collections based on filters.
  • Document Retrieval Interfaces - Provides APIs for searching and retrieving single records or streams of documents from a collection.
  • Multi-Stage Pipeline Processing - Constructs multi-stage pipelines to perform complex data transformations and aggregations on the server.
  • Database Command Interfaces - Implements an API for executing raw and structured server-side database commands.
  • Database Connectivity Management - Manages the establishment and security of network links between Python applications and MongoDB instances.
  • Document CRUD Operations - Provides the full lifecycle of document management including creation, retrieval, updates, and deletion.
  • Document Insertion - Provides operations for adding single or multiple semi-structured documents to a collection.
  • Index Creation - Builds various index types to optimize the performance of querying and sorting data.
  • MongoDB Database Drivers - Provides the official client library for executing CRUD operations and managing data within MongoDB using Python.
  • NoSQL Database Querying - Allows applications to query and manage schema-free document data using a high-performance NoSQL client.
  • Document-Based Querying - Implements querying mechanisms specifically designed for retrieving filtered results from document-oriented storage.
  • Server-Side Aggregation Pipelines - Executes server-side aggregation pipelines to compute grouped statistics and summarize large datasets.
  • Storage Instance Management - Manages the creation, access, and deletion of isolated database instances within a cluster.
  • Connection Management - Handles authentication, connection pooling, and encrypted transmission between Python applications and the database.
  • Coroutine-Based Asynchronous I/O - Provides a coroutine-based asynchronous driver for non-blocking database I/O to manage high-concurrency network operations.
  • Non-Blocking I/O Interfaces - Supports non-blocking network operations through cooperative multitasking to avoid stalling the main execution thread.
  • Database Authentication - Provides mechanisms for managing and validating credentials to authorize application access to database instances.
  • SSL/TLS Connection Security - Implements a secure transport layer to encrypt data and verify identities between clients and servers using TLS.
  • Database-Integrated AI - Provides the integration layer allowing language model frameworks to retrieve and store data within MongoDB.
  • Semantic Vector Search - Implements retrieval of information based on mathematical distance between query and document embeddings via vector search.
  • Attribute Change Notifications - Streams real-time notifications of data modifications to allow applications to respond to changes instantly.
  • Connection Pool Managers - Maintains a cache of reusable database connections to reduce network socket overhead.
  • Date and Time Libraries - Manages the conversion and formatting of temporal data between Python datetime objects and storage formats.
  • Full Text Search - Provides capabilities for searching substrings and tokens within text fields using specialized indexing.
  • Bulk ORM Operations - Executes high-speed bulk insert, update, and delete operations in a single request to optimize network traffic.
  • Large-Scale Data Computation - Executes complex data analysis and multi-stage aggregation pipelines across distributed database clusters.
  • Result Streaming - Retrieves large datasets incrementally using server-side cursors to prevent memory exhaustion.
  • Search and Indexing - Provides integrated systems for creating and updating both full-text and vector embedding indexes.
  • Storage Data Encodings - Handles the conversion of application-level Python types into binary formats compatible with database storage.
  • Index Deletion - Provides the operation of removing specific indices from a collection to reclaim storage or change search strategies.
  • UUID Storage - Handles the persistence and retrieval of RFC-compliant UUIDs while maintaining binary compatibility.
  • Vector Search - Implements techniques for retrieving data based on semantic meaning and mathematical similarity in high-dimensional vector spaces.
  • Field Level Encryption - Implements encryption of individual data fields at the source to ensure the server never sees plaintext values.
  • Encryption and Authentication - Implements client-side field level encryption and secure authentication to protect sensitive data.
  • Non-blocking I/O - Employs non-blocking I/O to handle concurrent database operations without halting the main execution thread.
  • Cluster Topology Awareness - Monitors cluster state and uses selection algorithms to route operations to the most appropriate server node.
  • Database Clients - Official MongoDB driver.
  • Database Drivers - Official MongoDB driver with asynchronous API support.
  • Database Tools - Official MongoDB driver for Python.
  • Drivers and Clients - Official driver for integrating with Python applications.
  • Language Drivers - Official Python driver for database connectivity.
  • Star 历史

    mongodb/mongo-python-driver 的 Star 历史图表mongodb/mongo-python-driver 的 Star 历史图表

    Frequently asked questions

    What does mongodb/mongo-python-driver do?

    MongoDB Python Driver 是一个客户端库和 NoSQL 数据库客户端,用于使用 Python 编程语言执行 CRUD 操作并管理 MongoDB 数据库中的数据。它作为一个数据库连接库,处理身份验证和连接池,同时还提供了一个用于管理嵌入索引并基于语义相似度检索数据的向量搜索客户端。

    What are the main features of mongodb/mongo-python-driver?

    The main features of mongodb/mongo-python-driver are: Database APIs, NoSQL Databases, BSON Type Mappings, Asynchronous Database Drivers, Binary Serialization Formats, Collection Management, Document Updates, Document Deletion Operations.

    What are some open-source alternatives to mongodb/mongo-python-driver?

    Open-source alternatives to mongodb/mongo-python-driver include: ravendb/ravendb — RavenDB is a multi-model NoSQL document database designed for high-performance, ACID-compliant data storage. It… datlechin/tablepro — TablePro is a cross-platform database management client designed for browsing, querying, and administering both SQL… mongodb/mongoid — Mongoid is an object-document mapper for Ruby that translates Ruby objects into MongoDB documents. It serves as a… objectbox/objectbox-java — ObjectBox Java is an embedded NoSQL object database for Java and Android that stores data objects directly without… redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… lancedb/lancedb — LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector…

    Mongo Python Driver 的开源替代方案

    相似的开源项目,按与 Mongo Python Driver 的功能重合度排序。
    • ravendb/ravendbravendb 的头像

      ravendb/ravendb

      3,961在 GitHub 上查看↗

      RavenDB is a multi-model NoSQL document database designed for high-performance, ACID-compliant data storage. It persists structured information as schema-flexible JSON documents and utilizes a unit-of-work session pattern to track entity changes and batch modifications into atomic transactions. The platform is built on a distributed architecture that supports horizontal scaling through sharding and ensures high availability via multi-node, master-to-master cluster replication. The database distinguishes itself through a self-optimizing query engine that automatically creates and maintains ind

      C#csharpdatabasedocument-database
      在 GitHub 上查看↗3,961
    • datlechin/tableprodatlechin 的头像

      datlechin/TablePro

      4,471在 GitHub 上查看↗

      TablePro is a cross-platform database management client designed for browsing, querying, and administering both SQL and NoSQL databases. It functions as a unified workspace that integrates a code-centric SQL editor with schema visualization tools, allowing developers to manage complex data models and execute queries across diverse database engines. The application distinguishes itself through an agentic AI integration layer that connects language models directly to database tools, enabling automated query generation, optimization, and error fixing with configurable approval gates. It features

      Swift
      在 GitHub 上查看↗4,471
    • mongodb/mongoidmongodb 的头像

      mongodb/mongoid

      3,917在 GitHub 上查看↗

      Mongoid is an object-document mapper for Ruby that translates Ruby objects into MongoDB documents. It serves as a document database mapper and client library, providing a structured way to manage data persistence and retrieval within a NoSQL environment. The project distinguishes itself by offering advanced data retrieval tools, including vector search for semantic similarity and full-text search for keyword matching. It implements high-security data protection through client-side field-level encryption, encryption key rotation, and TLS connection security to protect sensitive information. B

      Ruby
      在 GitHub 上查看↗3,917
    • objectbox/objectbox-javaobjectbox 的头像

      objectbox/objectbox-java

      4,612在 GitHub 上查看↗

      ObjectBox Java is an embedded NoSQL object database for Java and Android that stores data objects directly without relational mapping. It functions as a native-process storage engine, allowing applications to persist plain Java or Kotlin classes as entities. The project distinguishes itself with an on-device vector database capability, utilizing HNSW indexes to perform approximate nearest neighbor searches and semantic similarity queries. It also includes a locally hosted web-based browser for visualizing data objects, schemas, and dependency diagrams. The database covers a broad range of da

      Javaandroiddatabaseedge
      在 GitHub 上查看↗4,612
    查看 Mongo Python Driver 的所有 30 个替代方案→