dagster-qdrant
A Dagster module that provides an integration with Qdrant.
Installation
The dagster_qdrant module is available as a PyPI package - install with your preferred python
environment manager (We recommend uv).
source .venv/bin/activate
uv pip install dagster-qdrant
Example Usage
You can get a free-forever cloud instance from cloud.qdrant.io.
from dagster_qdrant import QdrantConfig, QdrantResource
import dagster as dg
@dg.asset
def my_table(qdrant_resource: QdrantResource):
with qdrant_resource.get_client() as qdrant:
qdrant.add(
collection_name="test_collection",
documents=[
"This is a document about oranges",
"This is a document about pineapples",
"This is a document about strawberries",
"This is a document about cucumbers",
],
)
results = qdrant.query(
collection_name="test_collection", query_text="hawaii", limit=3
)
defs = dg.Definitions(
assets=[my_table],
resources={
"qdrant_resource": QdrantResource(
config=QdrantConfig(
host="xyz-example.eu-central.aws.cloud.qdrant.io",
api_key="<your-api-key>",
)
)
},
)
Development
The Makefile provides the tools required to test and lint your local installation.
make test
make ruff
make check
Release files for dagster-qdrant 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dagster_qdrant-0.0.4.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dagster_qdrant-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / dagster_qdrant-0.0.4.tar.gz
| Download URL | dagster_qdrant-0.0.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8deca29e2365f67d0897581b542da774e3850fcc15bf2e7fb4a5cd15a0268dcc
|
|
BLAKE2b-256 checksum How to use checksums |
47fe9bf72ba488708ecabe52a942ec0e165610c89061e5f2a11d3fd65fb0d9aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dagster_qdrant-0.0.4-py3-none-any.whl
| Download URL | dagster_qdrant-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d85124ed7291297ffb3e2abc20805362614d0ec76f04754c27e604725283403c
|
|
BLAKE2b-256 checksum How to use checksums |
5d58f8e7cfe511509aacbe2b0ab019445ead6c18a657ff88e22ff28679947398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|