Omnist logo Omnist Tutorial Step 2 of 15

Setup

Install the Python port and import what you need.

This tutorial uses Python — one of five independent language ports of Omnist, all built against the same specification. Everything here — the Document model, the schema algebra, the operations — exists the same way in the other four; only the surface syntax changes.

Install the package:

pip install omnist          # core + JSON
pip install omnist[all]     # + pyyaml, tomli_w, defusedxml

Then import what you need as you go — this tutorial imports a few new names in each step, shown at the top of that step's first example.

Learn more