Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AlayaDB Log

AlayaLite – A Fast, Flexible Vector Database for Everyone.
Seamless Knowledge, Smarter Outcomes.

release PyPi LICENSE codecov CI

Features

  • High Performance: Modern vector techniques integrated into a well-designed architecture.
  • Elastic Scalability: Seamlessly scale across multiple threads, which is optimized by C++20 coroutines.
  • Adaptive Flexibility: Easy customization for quantization methods, metrics, and data types.
  • Ease of Use: Intuitive APIs in Python.

Getting Started!

Get started with just one command!

pip install alayalite # install the python package.

Access your vectors using simple APIs.

from alayalite import Client, Index
from alayalite.utils import calc_recall, calc_gt
import numpy as np

# Initialize the client and create an index. The client can manage multiple indices with distinct names.
client = Client()
index = client.create_index("default")

# Generate random vectors and queries, then calculate the ground truth top-10 nearest neighbors for each query.
vectors = np.random.rand(1000, 128).astype(np.float32)
queries = np.random.rand(10, 128).astype(np.float32)
gt = calc_gt(vectors, queries, 10)

# Insert vectors to the index
index.fit(vectors)

# Perform batch search for the queries and retrieve top-10 results
result = index.batch_search(queries, 10)

# Compute the recall based on the search results and ground truth
recall = calc_recall(result, gt)
print(recall)

Benchmark

We evaluate the performance of AlayaLite against other vector database systems using ANN-Benchmark (compile locally and open -march=native in your CMakeLists.txt to reproduce the results). Several experimental results are presented below.

Fashion-MNIST	784 Euclidean Gist 960 Euclidean
Fashion-MNIST 784 Euclidean
Gist 960 Euclidean

Contributing

We welcome contributions to AlayaLite! If you would like to contribute, please follow these steps:

  1. Start by creating an issue outlining the feature or bug you plan to work on.
  2. We will collaborate on the best approach to move forward based on your issue.
  3. Fork the repository, implement your changes, and commit them with a clear message.
  4. Push your changes to your forked repository.
  5. Submit a pull request to the main repository.

Please ensure that your code follows the coding standards of the project and includes appropriate tests.

Acknowledgements

We would like to thank all the contributors and users of AlayaLite for their support and feedback.

Contact

If you have any questions or suggestions, please feel free to open an issue or contact us at dev@alayadb.ai.

License

Apache 2.0

Metadata

Release files for alayalite 0.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for alayalite 0.1.0a3
File Actions
alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Total release size: 14.8 MB

Release files / alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
42638e81a1b4fb7d333df78b5c20f55a3e51ebf36ca02f021d85fb9cebd27d13
BLAKE2b-256 checksum
How to use checksums
903640e6395e9138276973b22111180c0d46d747bdef138beb8303b63892ee4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
cfce5c7462cedb77ef63dfe3107316af67ff2ff63ae64de20178ca2361d4a240
BLAKE2b-256 checksum
How to use checksums
596051dfc8ebf908b93fd7839ed0f835de503af03428b6bdc9e7ececf17edd29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
59b8a276ca9ada8288a32b42a7153e593b1500c85f6825297980c073d72295ed
BLAKE2b-256 checksum
How to use checksums
2e7afa3c61598e8c4ffc4f5a5cabd56ceea604a3ab42fcf5baddafc0b3309c0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6e30dd18db3302bffcc851f743328009c26bf14a421505ab50994626252e0a34
BLAKE2b-256 checksum
How to use checksums
5f66c93f0448b5845660915bc5ea0b8e573ef4ca62b7483de8e5754854aba8e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8b641d1eb06c43c45987b74674fd12558f3c5ff62b22121067fa23efe8db10b7
BLAKE2b-256 checksum
How to use checksums
660724581a78f7f7b1a16f13eb76fd34b5bc35f8fc627d4738ec3387fc1fc6ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8b85760e75ceae7339678d9c66f6fe4240224e9af952f4ed09a719c60ba6b758
BLAKE2b-256 checksum
How to use checksums
b6cbb76ac8758e20a78acab6673b89842faa3a874d7647380d1d218e42e1c77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cd6353666afe83e943f0b55c7987e42a14a25d407548887445ab31b5813b66d2
BLAKE2b-256 checksum
How to use checksums
0e1931137c0fe1cef9d9cbc6b925def24286f3b8d12e4df26c563f42b240ca8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b5abb407fb3d569814d77785eb6859fbb7a19f2dcf73a9a3162448cd188954cf
BLAKE2b-256 checksum
How to use checksums
89ccd09b6561c1b5c14cdbd0290d847d1f65273737ee22973b80588e2880c501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
10aba2e5fd8c55c3f239adbb005cbd9ff58c107dd01fe6f2d4c641193fc18965
BLAKE2b-256 checksum
How to use checksums
254c7852203d85b1c6a31770c450da66b6a8a973f777f6c64b498989aaa87cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
82bc581ee8067abd500b23ad0b4b1670068e394f5d53c63e1f0f334a47edd91c
BLAKE2b-256 checksum
How to use checksums
e8d9d0e3d2fa67c8103144d5b8449b7db877486196e9c79498218a58a9cb619a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.8 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b2c117469ef22dbf849c6e3cb376d00d274bcb4ec676e6ed3e44f9e264e20fc8
BLAKE2b-256 checksum
How to use checksums
ec619b36ecdad0d120649967e3aafc941c8caa94e88ac922705a43855bd70dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL alayalite-0.1.0a3-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.8 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e777b407696a4cb0ae3240e39bddef75a6e7744ef4515a77eaea905e0d7f032c
BLAKE2b-256 checksum
How to use checksums
c7aa28221a46c8f2f776935df3b30e95d71c47907c541e0fca2aa63278366b71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for alayalite 0.1.0a3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page