Local Mode
Introduce a new way to run Qdrant from python, no server required!
![try-develop-deploy](https://user-images.githubusercontent.com/1935623/228976367-e9198649-8013-45d5-9743-c6de32ff37fe.png)
Python client allows you to run same code in local mode without running Qdrant server.
Simply initialize client like this:
python
from qdrant_client import QdrantClient
client = QdrantClient(":memory:")
or
client = QdrantClient(path="path/to/db") Persists changes to disk
Local mode is useful for development, prototyping and testing.
- You can use it to run tests in your CI/CD pipeline.
- Run it in Colab or Jupyter Notebook, no extra dependencies required. See an [example](https://colab.research.google.com/drive/1Bz8RSVHwnNDaNtDwotfPj0w7AYzsdXZ-?usp=sharing)
- When you need to scale, simply switch to server mode.
How it works?
We just implemented Qdrant API in pure Python.
We covered it with tests extensively to be sure it works the same as the server version.