This is a fork of https://github.com/mongodb-developer/python-mongodb, simplified to run with FerretDB.
How to run:
python3 pymongo_test.py "mongodb://username:password@localhost:27017/?authMechanism=PLAIN"
To use the strict Stable API run with --strict
flag.