SurrealDB is designed to be run in many different ways, and environments. Due to the separation of the storage and compute layers, SurrealDB can be run in embedded mode, from within a number of different language environments.
In Python, SurrealDB can be run as an in-memory database, or it can persist data using a file-based storage engine.
ImportantThe current version of the SurrealDB Python SDK does not support embedding. In the meantime, please refer to the Python client SDK documentation to get started with connecting to SurrealDB from Python.