Skip to content

Add async Python client#83

Merged
Arshdeep54 merged 2 commits into
refactorfrom
async-python-client
Jun 12, 2026
Merged

Add async Python client#83
Arshdeep54 merged 2 commits into
refactorfrom
async-python-client

Conversation

@SK1PPR

@SK1PPR SK1PPR commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds AsyncVortexDB as a separate async client class
  • Uses grpc.aio for non-blocking gRPC calls
  • Mirrors the existing sync client API
  • Adds async context manager support
  • Adds async client and async connection tests
  • Adds async usage documentation and example
  • Closes Add asynchronous support to the Python client #68

Testing

  • python -m compileall vortexdb tests
  • uv run --extra dev pytest -q

@SK1PPR
SK1PPR requested a review from Arshdeep54 June 9, 2026 06:45
Comment thread client/python/vortexdb/async_connection.py

@Arshdeep54 Arshdeep54 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Arshdeep54
Arshdeep54 merged commit e49d4c2 into refactor Jun 12, 2026
6 checks passed
4adex added a commit that referenced this pull request Jul 23, 2026
* feat: add batch insert and search (#74)

Signed-off-by: Arshdeep54 <balarsh535@gmail.com>

* Inmemory storage implementation (#82)

* Implement in-memory storage engine

* Wire in-memory storage through API snapshots

* Add HTTP smoke coverage for in-memory storage

* Handle in-memory storage errors in gRPC

* Add in-memory checkpoint header

* Add async Python client (#83)

* Add async Python client

* Deduplicate Python gRPC connection helpers

* Benchmarking optimizations (#84)

* Reduce in-memory checkpoint lock scope

* Optimize HNSW distance calculations

* Expose HNSW tuning parameters

* Add Python batch vector client methods

* Expose KD-tree rebuild tuning parameters

* Update tui with new name and details (#79)

* Support query-time HNSW ef

* Async batch support (#85)

* Update Python client to support batch insert and search

* Add batch support to the async client

* Add master test script for all usage example files

Run linter on client/python

* Add test for api parity between sync and async classes

---------

Signed-off-by: Arshdeep54 <balarsh535@gmail.com>
Co-authored-by: Arshdeep Singh <110114582+Arshdeep54@users.noreply.github.com>
Co-authored-by: Khushal Agrawal <117133859+SK1PPR@users.noreply.github.com>
Co-authored-by: Khushal Agrawal <dev@khushal.net>
Co-authored-by: Prachet Patel <patelprachet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add asynchronous support to the Python client

2 participants