forked from Lians-ai/Lians
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (68 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (68 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lians-sdk"
version = "0.4.0"
description = "Financial-grade AI memory — bitemporal facts, SEC 17a-4 audit chain, GDPR crypto-shred"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
readme = "README.md"
keywords = ["ai", "memory", "finance", "agents", "langchain", "langgraph", "crewai", "compliance", "bitemporal"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Office/Business :: Financial",
]
dependencies = ["httpx>=0.25"]
[project.optional-dependencies]
langchain = ["langchain-core>=0.2"]
langgraph = ["langchain-core>=0.2", "langgraph>=0.1"]
crewai = ["crewai>=0.28"]
openai-agents = ["openai-agents>=0.0.1"]
autogen = ["autogen-core>=0.4"]
local = [
"sqlalchemy>=2.0",
"aiosqlite>=0.19",
"pydantic>=2.5",
"pydantic-settings>=2.1",
"cryptography>=42",
"pgvector>=0.2.5",
"numpy>=1.26",
"fastapi>=0.110",
# engine's db module builds its (unused-in-local-mode) default engine at
# import time, which requires the asyncpg dialect to be importable
"asyncpg>=0.29",
]
mcp = ["mcp>=1.0.0", "httpx>=0.27.0"]
all = [
"lians-sdk[langchain,langgraph,crewai,openai-agents,autogen,local,mcp]",
]
[project.scripts]
lians-mcp = "lians.mcp_server:main"
[project.urls]
Homepage = "https://github.com/Lians-ai/Lians"
Repository = "https://github.com/Lians-ai/Lians"
Documentation = "https://github.com/Lians-ai/Lians#readme"
[tool.hatch.build.targets.wheel]
packages = ["lians"]
# Vendor the service engine so LocalLiansClient works from an installed
# wheel (zero-setup local mode), not just a monorepo checkout. The SDK
# aliases lians_engine.lians -> src.lians at import time. The wheel include
# is a custom hook (hatch_build.py) because `python -m build` builds the
# wheel FROM THE SDIST, where ../../src/lians doesn't exist — the hook picks
# the engine up from the sdist's own vendored copy in that case.
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
[tool.hatch.build.targets.sdist.force-include]
"../../src/lians" = "lians_engine/lians"
"_engine_init.py" = "lians_engine/__init__.py"
[tool.hatch.build]
exclude = ["**/__pycache__", "**/*.pyc"]