Skip to main content

A pure Python-implemented, lightweight, server-optional, multi-end compatible, vector database deployable locally or remotely.

Project description

LynseDB logo

Discord PyPI version PyPI - Python Version Python testing Docker build

LynseDB is a vector database implemented purely in Python, designed to be lightweight, server-optional, and easy to deploy locally or remotely. It offers straightforward and clear Python APIs, aiming to lower the entry barrier for using vector databases.

It focuses on achieving 100% recall, prioritizing recall accuracy over high-speed search performance. This approach ensures that users can reliably retrieve all relevant vector data, making LynseDB particularly suitable for applications that require responses within hundreds of milliseconds.

LynseDB features

Server-optional, simple parameters, simple API.

Fast, memory-efficient, easily scales to millions of vectors.

Based on a generic Python software stack, platform-independent, highly versatile.

Recall-prioritized design, lifecycle search caching technology, FieldExpression fast filtering, Field multi-type indexing, and other user-centric features

Some Defects You Should Know

  • Not yet backward compatible

LynseDB is actively being updated, and API backward compatibility is not guaranteed. You should use version numbers as a strong constraint during deployment to avoid unnecessary feature conflicts and errors.

  • Data size constraints

Although our goal is to enable brute force search or inverted indexing on billion-scale vectors, we currently still recommend using it on a scale of millions of vectors or less for the best experience.

  • Python's native api is not process-safe

The Python native API is recommended for use in single-process environments, whether single-threaded or multi-threaded; for ensuring process safety in multi-process environments, please use the HTTP API.

Installation

Prerequisite

  • python version >= 3.9
  • Owns one of the operating systems: Windows, macOS, or Ubuntu (or other Linux distributions). The recommendation is for the latest version of the system, but non-latest versions should also be installable, although they have not been tested.
  • Memory >= 4GB, Free Disk >= 4GB.

Install Client API package (Mandatory)

pip install LynseDB

If you wish to use Docker (Optional)

You must first install Docker on the host machine.

After installing the Client API package:

docker pull birchkwok/LynseDB:latest

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

lynsedb-0.1.1.tar.gz (75.2 kB view details)

Uploaded Source

Built Distribution

LynseDB-0.1.1-py3-none-any.whl (94.2 kB view details)

Uploaded Python 3

File details

Details for the file lynsedb-0.1.1.tar.gz.

File metadata

  • Download URL: lynsedb-0.1.1.tar.gz
  • Upload date:
  • Size: 75.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for lynsedb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f6ffbec8823d4e2bb0e89301d6cec55ef04024d5b6bbc3ef576b309ad84b4428
MD5 3dbd935f54ce68e7ba2c124239b6e928
BLAKE2b-256 e887071c486628c6d655343f98f1a7c08888febfbacff2d78d6751f2fc537d92

See more details on using hashes here.

File details

Details for the file LynseDB-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: LynseDB-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for LynseDB-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9bdf5556f1d3b8ab206c99e91efb2e7159bd243e54757b79da5d342b0fdf7d2
MD5 b4c0402c3085e6c80b89b39a0ff6814f
BLAKE2b-256 a3b55e9ff1a5615294a7ec37be134e8734cfe1439a5d09eaf264871f1468feb1

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