Usage instructions:
1. Checkout the grpc branch of PyMongo
2. In your local PyMongo repository, run python -m build --wheel . and then pip install <built wheel location> --force-reinstall
3. At the top of your Python file, put the following:
import pkg_resources pkg_resources.require("pymongo==4.5.0.dev0") import pymongo
4. To create a gRPC-enabled PyMongo connection, use MongoClient(grpc=True)
5. Refer to test/grpc_example.py in the PyMongo repo for a basic example of gRPC usage
- related to
-
PYTHON-3957 gRPC - Phase 2
-
- Blocked
-
- split from
-
DRIVERS-2646 Driver POCs for gRPC to support Server team's Performance Testing of gRPC Servers
-
- Development Complete
-