It would be clearer and simpler to do:
```python
mongouri = "mongodb://{user}:{password}@{host}/{db}".format(**mongo_db)
```