Metadata-Version: 2.5
Name: vantadb-client
Version: 0.1.0
Summary: Python client for the VantaDB RESP database server
Project-URL: Homepage, https://github.com/VantaDB/VantaDB
Project-URL: Repository, https://github.com/VantaDB/VantaDB
Project-URL: Issues, https://github.com/VantaDB/VantaDB/issues
License: MIT License
        
        Copyright (c) 2026 VantaDB contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: database,redis,resp,tcp,vantadb
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Database
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# vantadb-client

The `vantadb-client` package provides a small synchronous Python client for a
VantaDB server.

## Installation

```bash
pip install vantadb-client
```

## Usage

```python
from vantadb import VantaDB

with VantaDB(
    host="127.0.0.1",
    port=6379,
    username="your-user",
    password="your-password",
) as db:
    db.set("greeting", "hello")
    print(db.get("greeting"))
    print(db.execute("MGET", "greeting", "missing"))
```

The client supports VantaDB's RESP commands and decodes simple strings,
errors, integers, bulk strings, null values, and nested arrays.

## Local build

From this directory:

```bash
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
```

Upload the generated artifacts to PyPI with:

```bash
python -m twine upload dist/*
```

Use a TestPyPI repository first when publishing a new package.
