pymongo – Python driver for MongoDB
= ‘3.12.0’
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
pymongo.MongoClient
Alias for .
pymongo.ReadPreference
Alias for pymongo.read_preferences.ReadPreference.
Is the C extension installed?
pymongo.MIN_SUPPORTED_WIRE_VERSION
The minimum wire protocol version PyMongo supports.
Sub-modules:
- change_stream – Watch changes on a collection, database, or cluster
- collation – Tools for working with collations.
- command_cursor – Tools for iterating over MongoDB command results
- database – Database level operations
- encryption – Client-Side Field Level Encryption
- errors – Exceptions raised by the pymongo package
- mongo_client – Tools for connecting to MongoDB
- monitoring – Tools for monitoring driver events.
- pool – Pool module for use with a MongoDB client.
- results – Result class definitions
- server_api – Support for MongoDB Versioned API
- topology_description – An object representation of a deployment of MongoDB servers.
- write_concern – Tools for specifying write concern