Skip to main content

Official Python Client for AgredaDB - The Limitless Database

Project description

AgredaDB Python SDK

Official Python client for AgredaDB v2.0 - The Limitless Database.

Installation

pip install agredadb

Quick Start

from agredadb import AgredaDBClient

# Connect to AgredaDB
client = AgredaDBClient("localhost:19999")

# Insert data
client.insert("users", {
    "id": 1,
    "name": "John Doe",
    "email": "john@example.com",
    "vector": [0.1, 0.2, 0.3, 0.4],
    "metadata": {"type": "user"}
})

# Get data
user = client.get("users", "id", 1)
print(user)

# Vector search
results = client.search("users", 
    vector=[0.1, 0.2, 0.3, 0.4], 
    limit=10
)

# Close connection
client.close()

Features

  • ✅ Simple and intuitive API
  • ✅ Vector similarity search
  • ✅ Batch operations
  • ✅ PyTorch/NumPy integration
  • ✅ Context manager support
  • ✅ Type hints

Documentation

Full documentation available at: https://github.com/luisagreda-aidev/agredadb

License

GNU Affero General Public License v3 (AGPLv3)

Author

Luis Eduardo Agreda Gonzalez

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

agredadb-2.0.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

agredadb-2.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file agredadb-2.0.0.tar.gz.

File metadata

  • Download URL: agredadb-2.0.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for agredadb-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c7371dc23a170d3fdb52773f4527118f08034829a0dc6bf1918d40d3282fdc07
MD5 0ccd8449d3513fa8c5693f1bc37d71f7
BLAKE2b-256 760f50c5cce75f0e37733349d0601bf768e94dbe58554c71977fbe96f6cc4d91

See more details on using hashes here.

File details

Details for the file agredadb-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: agredadb-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for agredadb-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8302e48913592435ab1c8ae5fa4be330de2e7652d173dc28f34783db7049e7b0
MD5 80e3c9a17d26639d7bab7fb107dddd68
BLAKE2b-256 3f01d8762425a131232ce48b97f49409ff85f54b7cdad61f054bffdd1bdcce0a

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