Universal SDK for Vector DBs
Project description
Vector SDK
Universal SDK for Vector Databases
Features
- Universal interface for multiple vector databases
- Type-safe operations
- Consistent API across different vector DB providers
- Built-in telemetry (optional)
Installation
pip install vector-sdk
Development Setup
Prerequisites
- Python 3.10 or higher
- Git
- pip (for installing uv)
Local Development Setup
-
Add Remote Repository to Your Local Repository:
git remote add origin https://github.com/dhruv-anand-aintech/vector-sdk.git git fetch origin git checkout -b main origin/main
-
Install Development Tools:
pip install -U uv pre-commit
-
Set Up the Development Environment:
# Create and activate virtual environment # Windows python -m venv .venv .venv\Scripts\activate # Unix/Mac python -m venv .venv source .venv/bin/activate # Install dependencies uv pip install -e ".[dev]" # Setup pre-commit hooks pre-commit install
Project Structure
vector-sdk/
├── src/ # Source code
│ └── vector_sdk/ # Main package
├── tests/ # Test files
├── docs/ # Documentation
└── .github/ # GitHub Actions workflows
Development Workflow
- Create a new branch for your feature/fix
- Make your changes
- Commit your changes (pre-commit hooks will run automatically)
- Push and create a PR
Version Management
We use semantic versioning (X.Y.Z):
- X: Major version (breaking changes)
- Y: Minor version (new features)
- Z: Patch version (bug fixes)
To bump version:
python bump_version.py <major|minor|patch|rc|release>
Release Process
- Bump version using
bump_version.py
- Run release script: (Only for Windows PowerShell)
.\release.ps1 <rc|release>
Documentation
Detailed documentation is available in the docs/
directory:
License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vector_sdk-0.1.1rc8.tar.gz
(21.6 kB
view details)
Built Distribution
File details
Details for the file vector_sdk-0.1.1rc8.tar.gz
.
File metadata
- Download URL: vector_sdk-0.1.1rc8.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dedda04126b0a1240fc94653916b3b0c3c05b164bd428d5c92c29a688959ab4c |
|
MD5 | ecca2f152223ea9dd4eb64e1406667ca |
|
BLAKE2b-256 | b1334d64608b1a935724563a2d424b7d1c1f3fda5d5d80bedcec76dd4838910b |
File details
Details for the file vector_sdk-0.1.1rc8-py3-none-any.whl
.
File metadata
- Download URL: vector_sdk-0.1.1rc8-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb6d1749aee2c7bd961e9d5b108c96811d752094a8c705c56d99d1095d7699b1 |
|
MD5 | 3a52a920e1d9b51eef893c49d2703573 |
|
BLAKE2b-256 | fd69b1237daaae20d728dfa4f4dfe171d4876918566d6e787c58bc3844d723b5 |