Qdrant-client

Latest version: v1.12.1

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

1.1.1

Not secure
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.

1.1.0

Not secure
Support for Qdrant v1.1.0 features:

- Quantization
- Match Any condition

+ Minor improvements

1.0.2

Not secure
- support for Qdrant v1.0.x
- Minor fixes

0.11.0

Not secure
Changes

* Compatibility with v0.11.0 of Qdrant

0.10.1

Not secure
API changes:

- `vector_size` and `distance` are replaced with `vectors_config`
- `field_type` replaced with `field_schema` in payload indexing request
- `with_vector` param replaced with `with_vectors`, allowing to specify which exact vector to return
- `vector` replaced with `vectors` and according data structure in point update APIs

0.10.0

Not secure

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.