Skip to main content

Python client SDK for the Qdrant Dashboard external API

Project description

qdrant-dashboard-client

Lightweight Python SDK for the Qdrant Dashboard external API.

  • Zero required dependencies — uses httpx, requests, or stdlib urllib in that order
  • Single file — copy qdrant_dashboard_client.py or install via pip
  • Mirrors the Qdrant client API — familiar method names (upsert, search, scroll, …)

Install

pip install qdrant-tensr-dev
# optional: bring your own HTTP library
pip install qdrant-tensr-dev[httpx]
pip install qdrant-tensr-dev[requests]

Quick start

from qdrant_dashboard_client import QdrantDashboardClient

client = QdrantDashboardClient(
    base_url="https://your-dashboard-host",
    api_key="YOUR_API_KEY",          # from Dashboard → Groups → API Keys
)

# List all collections in your group
cols = client.list_collections()
print(cols)
# {"group_id": "...", "collections": [{"name": "...", "vector_size": 384, "distance": "Cosine"}, ...]}

# Get detailed info for one collection
info = client.get_collection("my-collection")

# Upsert vectors
client.upsert("my-collection", points=[
    {
        "id": "550e8400-e29b-41d4-a716-446655440001",
        "vector": [0.1, 0.2, 0.3],
        "payload": {"text": "hello world", "source": "docs"},
    },
])

# Nearest-neighbour search
results = client.search("my-collection", vector=[0.1, 0.2, 0.3], limit=5)
for hit in results:
    print(hit["score"], hit["payload"])

# Cross-collection search across every collection in your group at once
hits = client.search_all(vector=[0.1, 0.2, 0.3], limit=10)
for hit in hits:
    print(hit["collection"], hit["score"], hit["payload"])

# Scroll (paginate) all points
offset = None
while True:
    page = client.scroll("my-collection", limit=100, offset=offset)
    for pt in page["points"]:
        print(pt["id"], pt["payload"])
    offset = page["next_offset"]
    if offset is None:
        break

# Get a single point
pt = client.get_point("my-collection", "550e8400-e29b-41d4-a716-446655440001")

# Count points
total = client.count("my-collection")

# Delete points
client.delete("my-collection", ids=["550e8400-e29b-41d4-a716-446655440001"])

API reference

Method Description
list_collections() List all active collections in your group
get_collection(name) Get metadata + live stats for a collection
upsert(collection, points) Insert or update points
delete(collection, ids) Delete points by ID
get_point(collection, point_id) Retrieve a single point
scroll(collection, ...) Page through all points
count(collection) Count total points
search(collection, vector, ...) Nearest-neighbour search (single collection)
search_all(vector, ...) Cross-collection search across all group collections

All methods raise QdrantDashboardError(status_code, detail) on HTTP errors.

CLI smoke-test

python -m qdrant_dashboard_client --url https://your-host --key YOUR_KEY

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qdrant_tensr_dev-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qdrant_tensr_dev-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file qdrant_tensr_dev-0.1.0.tar.gz.

File metadata

  • Download URL: qdrant_tensr_dev-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qdrant_tensr_dev-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4fd22c2356ffafcbec436e11f4cb27e7ab1be52ef5e733dc50b81aa39e19e97
MD5 0f81b8b3cfe51bc8b4f81d6b34927a69
BLAKE2b-256 1bc9f1ac921cd6787fdcf0b21e38544c6cb5896a4efa2729b4968a0623b41b29

See more details on using hashes here.

File details

Details for the file qdrant_tensr_dev-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qdrant_tensr_dev-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qdrant_tensr_dev-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0af42eaad56ec1b24d8857908966bc78585d7c4f882ec1cbb4f3695698fefe3
MD5 f9ea777221a60cd5ecc81ac1d3d11006
BLAKE2b-256 51ef660dfef83aee1950dec5f0f54719ba67e0162ebcf5ed7b7f5351aae03b1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page