Skip to main content

Universal SDK for Vector DBs

Project description

Vector SDK

Upload Python Package Code style: Ruff

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

  1. 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
    
  2. Install Development Tools:

    pip install -U uv pre-commit
    
  3. 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

  1. Create a new branch for your feature/fix
  2. Make your changes
  3. Commit your changes (pre-commit hooks will run automatically)
  4. 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

  1. Bump version using bump_version.py
  2. 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


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)

Uploaded Source

Built Distribution

vector_sdk-0.1.1rc8-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

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

Hashes for vector_sdk-0.1.1rc8.tar.gz
Algorithm Hash digest
SHA256 dedda04126b0a1240fc94653916b3b0c3c05b164bd428d5c92c29a688959ab4c
MD5 ecca2f152223ea9dd4eb64e1406667ca
BLAKE2b-256 b1334d64608b1a935724563a2d424b7d1c1f3fda5d5d80bedcec76dd4838910b

See more details on using hashes here.

File details

Details for the file vector_sdk-0.1.1rc8-py3-none-any.whl.

File metadata

File hashes

Hashes for vector_sdk-0.1.1rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6d1749aee2c7bd961e9d5b108c96811d752094a8c705c56d99d1095d7699b1
MD5 3a52a920e1d9b51eef893c49d2703573
BLAKE2b-256 fd69b1237daaae20d728dfa4f4dfe171d4876918566d6e787c58bc3844d723b5

See more details on using hashes here.

Supported by

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