AquilaDB-Python
Python client library for AquilaDB
install
pip install aquiladb
usage
# import AquilaDB client
from aquiladb import AquilaClient as acl
# create DB instance
db = acl('localhost', 50051)
# convert a sample document
# convertDocument
sample = db.convertDocument([0.1,0.2,0.3,0.4], {"hello": "world"})
# add document to AquilaDB
db.addDocuments([sample])
# create a k-NN search vector
vector = db.convertMatrix([0.1,0.2,0.3,0.4])
# perform k-NN from AquilaDB
k = 10
result = db.getNearest(vector, k)
AquilaDB
AquilaDB is a Resillient, Replicated, Decentralized, Host neutral storage for Feature Vectors along with Document Metadata. Do k-NN retrieval from anywhere, even from the darkest rifts of Aquila (in progress). It is easy to setup and scales as the universe expands.
Github: https://github.com/a-mma/AquilaDB
Docker Hub: https://hub.docker.com/r/ammaorg/aquiladb
Documentation (dedicated Wiki page): https://github.com/a-mma/AquilaDB/wiki
Resillient
Make sure your data is always available anywhere through any network. It is not necessory to be always online. Work offline, sync later.
Replicated
Your data is replicated over nodes to attain eventual consistency.
Decentralized
There is no single point of failure.
Host Neutral
Want to use AWS, Azure, G-cloud or whatever? Got a legion of laptops? Connect them together? No worries as long as they can talk each other.
Who is this for
- If you are working on a data science project and need to store a hell lot of data and retrieve similar data based on some feature vector, this will be a useful tool to you, with extra benefits a real world web application needs.
- Are you dealing with a lot of images and related metadata? Want to find the similar ones? You are at the right place.
- If you are looking for a document database, this is not the right place for you.
Technology
AquilaDB is not built from scratch. Thanks to OSS community, it is based on a couple of cool open source projects out there. We took a couch and added some wheels and jetpacks to make it a super cool butt rest for Data Science Engineers. While CouchDB provides us network and scalability benefits, FAISS provides superfast similarity search. Along with our peer management service, AquilaDB provides a unique solution.
created with ❤️ a-mma.indic (a_മ്മ)
Release files for aquiladb 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aquiladb-0.5.1.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aquiladb-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / aquiladb-0.5.1.tar.gz
| Download URL | aquiladb-0.5.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8da104429e817cc4da4ea57ee42d269b9eb3d6c1b7c26166ad7da2400b9af85c
|
|
BLAKE2b-256 checksum How to use checksums |
4d86dfd2fb00c79ee9089d0647e5d3c1cf1a1c5d7400b5228d8f3bfc2e50ed86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / aquiladb-0.5.1-py3-none-any.whl
| Download URL | aquiladb-0.5.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc2e1dafd0082158ce2e98fce400364a2fe382377c7a611deba5e7581821becb
|
|
BLAKE2b-256 checksum How to use checksums |
03f848cffe9e0fc7cb226b1cffd76bccf23f2c1161c9220450c494063871004a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|