leann 0.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- leann-0.1.5/PKG-INFO +66 -0
- leann-0.1.5/README.md +40 -0
- leann-0.1.5/leann.egg-info/PKG-INFO +66 -0
- leann-0.1.5/leann.egg-info/SOURCES.txt +7 -0
- leann-0.1.5/leann.egg-info/dependency_links.txt +1 -0
- leann-0.1.5/leann.egg-info/requires.txt +5 -0
- leann-0.1.5/leann.egg-info/top_level.txt +1 -0
- leann-0.1.5/pyproject.toml +42 -0
- leann-0.1.5/setup.cfg +4 -0
leann-0.1.5/PKG-INFO
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: leann
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: LEANN - The smallest vector index in the world. RAG Everything with LEANN!
|
|
5
|
+
Author: LEANN Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/yourusername/leann
|
|
8
|
+
Project-URL: Documentation, https://leann.readthedocs.io
|
|
9
|
+
Project-URL: Repository, https://github.com/yourusername/leann
|
|
10
|
+
Project-URL: Issues, https://github.com/yourusername/leann/issues
|
|
11
|
+
Keywords: vector-database,rag,embeddings,search,ai
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: leann-core>=0.1.0
|
|
23
|
+
Requires-Dist: leann-backend-hnsw>=0.1.0
|
|
24
|
+
Provides-Extra: diskann
|
|
25
|
+
Requires-Dist: leann-backend-diskann>=0.1.0; extra == "diskann"
|
|
26
|
+
|
|
27
|
+
# LEANN - The smallest vector index in the world
|
|
28
|
+
|
|
29
|
+
LEANN is a revolutionary vector database that democratizes personal AI. Transform your laptop into a powerful RAG system that can index and search through millions of documents while using **97% less storage** than traditional solutions **without accuracy loss**.
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Default installation (HNSW backend, recommended)
|
|
35
|
+
uv pip install leann
|
|
36
|
+
|
|
37
|
+
# With DiskANN backend (for large-scale deployments)
|
|
38
|
+
uv pip install leann[diskann]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Quick Start
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from leann import LeannBuilder, LeannSearcher, LeannChat
|
|
45
|
+
|
|
46
|
+
# Build an index
|
|
47
|
+
builder = LeannBuilder(backend_name="hnsw")
|
|
48
|
+
builder.add_text("LEANN saves 97% storage compared to traditional vector databases.")
|
|
49
|
+
builder.build_index("my_index.leann")
|
|
50
|
+
|
|
51
|
+
# Search
|
|
52
|
+
searcher = LeannSearcher("my_index.leann")
|
|
53
|
+
results = searcher.search("storage savings", top_k=3)
|
|
54
|
+
|
|
55
|
+
# Chat with your data
|
|
56
|
+
chat = LeannChat("my_index.leann", llm_config={"type": "ollama", "model": "llama3.2:1b"})
|
|
57
|
+
response = chat.ask("How much storage does LEANN save?")
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Documentation
|
|
61
|
+
|
|
62
|
+
For full documentation, visit [https://leann.readthedocs.io](https://leann.readthedocs.io)
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
MIT License
|
leann-0.1.5/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# LEANN - The smallest vector index in the world
|
|
2
|
+
|
|
3
|
+
LEANN is a revolutionary vector database that democratizes personal AI. Transform your laptop into a powerful RAG system that can index and search through millions of documents while using **97% less storage** than traditional solutions **without accuracy loss**.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Default installation (HNSW backend, recommended)
|
|
9
|
+
uv pip install leann
|
|
10
|
+
|
|
11
|
+
# With DiskANN backend (for large-scale deployments)
|
|
12
|
+
uv pip install leann[diskann]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from leann import LeannBuilder, LeannSearcher, LeannChat
|
|
19
|
+
|
|
20
|
+
# Build an index
|
|
21
|
+
builder = LeannBuilder(backend_name="hnsw")
|
|
22
|
+
builder.add_text("LEANN saves 97% storage compared to traditional vector databases.")
|
|
23
|
+
builder.build_index("my_index.leann")
|
|
24
|
+
|
|
25
|
+
# Search
|
|
26
|
+
searcher = LeannSearcher("my_index.leann")
|
|
27
|
+
results = searcher.search("storage savings", top_k=3)
|
|
28
|
+
|
|
29
|
+
# Chat with your data
|
|
30
|
+
chat = LeannChat("my_index.leann", llm_config={"type": "ollama", "model": "llama3.2:1b"})
|
|
31
|
+
response = chat.ask("How much storage does LEANN save?")
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Documentation
|
|
35
|
+
|
|
36
|
+
For full documentation, visit [https://leann.readthedocs.io](https://leann.readthedocs.io)
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT License
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: leann
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: LEANN - The smallest vector index in the world. RAG Everything with LEANN!
|
|
5
|
+
Author: LEANN Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/yourusername/leann
|
|
8
|
+
Project-URL: Documentation, https://leann.readthedocs.io
|
|
9
|
+
Project-URL: Repository, https://github.com/yourusername/leann
|
|
10
|
+
Project-URL: Issues, https://github.com/yourusername/leann/issues
|
|
11
|
+
Keywords: vector-database,rag,embeddings,search,ai
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: leann-core>=0.1.0
|
|
23
|
+
Requires-Dist: leann-backend-hnsw>=0.1.0
|
|
24
|
+
Provides-Extra: diskann
|
|
25
|
+
Requires-Dist: leann-backend-diskann>=0.1.0; extra == "diskann"
|
|
26
|
+
|
|
27
|
+
# LEANN - The smallest vector index in the world
|
|
28
|
+
|
|
29
|
+
LEANN is a revolutionary vector database that democratizes personal AI. Transform your laptop into a powerful RAG system that can index and search through millions of documents while using **97% less storage** than traditional solutions **without accuracy loss**.
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Default installation (HNSW backend, recommended)
|
|
35
|
+
uv pip install leann
|
|
36
|
+
|
|
37
|
+
# With DiskANN backend (for large-scale deployments)
|
|
38
|
+
uv pip install leann[diskann]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Quick Start
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from leann import LeannBuilder, LeannSearcher, LeannChat
|
|
45
|
+
|
|
46
|
+
# Build an index
|
|
47
|
+
builder = LeannBuilder(backend_name="hnsw")
|
|
48
|
+
builder.add_text("LEANN saves 97% storage compared to traditional vector databases.")
|
|
49
|
+
builder.build_index("my_index.leann")
|
|
50
|
+
|
|
51
|
+
# Search
|
|
52
|
+
searcher = LeannSearcher("my_index.leann")
|
|
53
|
+
results = searcher.search("storage savings", top_k=3)
|
|
54
|
+
|
|
55
|
+
# Chat with your data
|
|
56
|
+
chat = LeannChat("my_index.leann", llm_config={"type": "ollama", "model": "llama3.2:1b"})
|
|
57
|
+
response = chat.ask("How much storage does LEANN save?")
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Documentation
|
|
61
|
+
|
|
62
|
+
For full documentation, visit [https://leann.readthedocs.io](https://leann.readthedocs.io)
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
MIT License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "leann"
|
|
7
|
+
version = "0.1.5"
|
|
8
|
+
description = "LEANN - The smallest vector index in the world. RAG Everything with LEANN!"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "LEANN Team" }
|
|
14
|
+
]
|
|
15
|
+
keywords = ["vector-database", "rag", "embeddings", "search", "ai"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.9",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
# Default installation: core + hnsw
|
|
28
|
+
dependencies = [
|
|
29
|
+
"leann-core>=0.1.0",
|
|
30
|
+
"leann-backend-hnsw>=0.1.0",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.optional-dependencies]
|
|
34
|
+
diskann = [
|
|
35
|
+
"leann-backend-diskann>=0.1.0",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[project.urls]
|
|
39
|
+
Homepage = "https://github.com/yourusername/leann"
|
|
40
|
+
Documentation = "https://leann.readthedocs.io"
|
|
41
|
+
Repository = "https://github.com/yourusername/leann"
|
|
42
|
+
Issues = "https://github.com/yourusername/leann/issues"
|
leann-0.1.5/setup.cfg
ADDED