Skip to content

Commit e5696a3

Browse files
committed
package: prepare distribution for pip
1 parent 6860d4b commit e5696a3

5 files changed

Lines changed: 44 additions & 5 deletions

File tree

MANIFEST.in

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include README.md
2+
include LICENSE
3+
include requirements.txt
4+
recursive-include contextdb *.py *.jinja *.yaml py.typed
5+
global-exclude __pycache__
6+
global-exclude *.py[cod]
7+
global-exclude .DS_Store
8+
prune tests
9+
prune bench
10+
prune data
11+
prune examples
12+
prune notes
13+
prune scripts

contextdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.0"
1+
__version__ = "0.4.0"
22

33
from contextdb.api.condb import ConDB, ConDBError, LLMNotConfiguredError, QueryResult, TreeNotFoundError
44
from contextdb.api.context_tree import ContextTree

contextdb/py.typed

Whitespace-only changes.

pyproject.toml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,51 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "contextdb"
7-
version = "0.2.0"
8-
description = "Context Tree Database"
7+
version = "0.4.0"
8+
description = "KV-cache native context database with reasoning-based tree retrieval"
99
readme = "README.md"
1010
requires-python = ">=3.9"
1111
license = { file = "LICENSE" }
12+
authors = [
13+
{ name = "Vectify AI" },
14+
]
15+
keywords = ["llm", "retrieval", "rag", "context", "tree", "agent", "kv-cache"]
1216
classifiers = [
1317
"License :: OSI Approved :: Apache Software License",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Intended Audience :: Developers",
24+
"Topic :: Software Development :: Libraries :: Python Modules",
25+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
26+
"Operating System :: OS Independent",
1427
]
1528
dependencies = [
1629
"jinja2>=3.0.0",
1730
"litellm>=1.82.0,<1.82.7",
1831
"python-dotenv>=1.0.0",
32+
"pyyaml>=6.0",
1933
]
2034

2135
[project.optional-dependencies]
36+
tokens = ["tiktoken>=0.7.0"]
2237
dev = ["pytest>=7.0.0", "ruff>=0.4.0"]
38+
release = ["build>=1.0.0", "twine>=4.0.0"]
39+
40+
[project.urls]
41+
Homepage = "https://github.com/VectifyAI/ConDB"
42+
Repository = "https://github.com/VectifyAI/ConDB"
43+
Issues = "https://github.com/VectifyAI/ConDB/issues"
2344

2445
[tool.setuptools]
2546
license-files = ["LICENSE"]
26-
packages = ["contextdb", "contextdb.core", "contextdb.adapter", "contextdb.retriever", "contextdb.retriever.algorithm", "contextdb.api", "contextdb.metrics"]
47+
include-package-data = true
48+
49+
[tool.setuptools.packages.find]
50+
include = ["contextdb*"]
51+
exclude = ["tests*", "bench*", "data*", "examples*", "notes*", "scripts*"]
2752

2853
[tool.ruff]
2954
line-length = 120

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
jinja2>=3.0.0
12
litellm>=1.82.0,<1.82.7
23
python-dotenv>=1.0.0
4+
pyyaml>=6.0
35
pytest>=7.0.0
4-
jinja2>=3.0.0

0 commit comments

Comments
 (0)