About this tutorialΒΆ

You can run the code snippets of this tutorial with:

cd docs/snippets
python3 tutorial_1.py

The tutorial uses a simple/dummy database (no dependencies on other modules). The database API is the same for all document databases, so you would use MongoDB in exactly the same way.

To reset the document databases, simply remove the database files with

rm -f *.db