-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (138 loc) · 4.51 KB
/
pyproject.toml
File metadata and controls
152 lines (138 loc) · 4.51 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "animaworks"
version = "0.7.0"
description = "AnimaWorks - Digital Anima Framework with library-type memory"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.12"
readme = "README.md"
keywords = ["ai", "agent", "autonomous", "organization", "memory", "rag"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Framework :: FastAPI",
]
dependencies = [
"claude-agent-sdk>=0.1.40; platform_system != 'Windows'",
"anthropic>=0.42.0",
"openai-codex-sdk>=0.1.11,<0.2",
"litellm>=1.82.6",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"apscheduler>=3.10.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"httpx>=0.27.0",
"python-dotenv>=1.0",
"chromadb>=1.0.0", # Known issue: fails on Python 3.14 due to pydantic.v1 compat (chroma-core/chroma#5996)
"sentence-transformers>=2.2.0",
"numpy>=1.24.0",
"diffusers>=0.35.1",
"Pillow>=10.0.0",
"structlog>=24.1.0",
"orjson>=3.9.0",
"json-repair>=0.30.0",
"pwdlib[argon2]>=0.3.0",
"markdownify>=0.14.1",
"PyNaCl>=1.5.0",
"tzlocal>=5.0",
"psutil>=5.9.0",
"rank-bm25>=0.2",
"datasketch>=1.1.3",
]
[project.urls]
Homepage = "https://github.com/xuiltul/animaworks"
Documentation = "https://github.com/xuiltul/animaworks#readme"
Repository = "https://github.com/xuiltul/animaworks"
Issues = "https://github.com/xuiltul/animaworks/issues"
Changelog = "https://github.com/xuiltul/animaworks/blob/main/CHANGELOG.md"
[project.optional-dependencies]
claude = ["claude-agent-sdk>=0.1.40; platform_system != 'Windows'"]
communication = ["requests>=2.31", "slack-sdk>=3.27", "slack-bolt>=1.21", "aiohttp>=3.9"]
discord = ["discord.py>=2.3"]
notification = ["line-bot-sdk>=3.0"]
gmail = ["google-api-python-client>=2.0", "google-auth-oauthlib>=1.0", "google-auth-httplib2>=0.2"]
transcribe = ["faster-whisper>=1.0"]
aws = ["boto3>=1.34"]
rag = ["networkx>=3.0", "watchdog>=3.0.0"]
neo4j = ["neo4j>=5.20.0", "datasketch>=1.6.5"]
codex = ["openai-codex-sdk>=0.1.11,<0.2"]
all-tools = ["animaworks[claude,communication,gmail,transcribe,aws,rag,notification,codex]"]
redis = ["redis>=5.0.0"]
test = ["pytest>=8.0", "pytest-asyncio>=0.24", "pytest-timeout>=2.2", "psutil>=5.9.0", "pytest-cov>=5.0", "ruff>=0.9"]
evaluation = [
"scipy>=1.11.0",
"statsmodels>=0.14.0",
"scikit-learn>=1.3.0",
"pandas>=2.1.0",
"matplotlib>=3.8.0",
"seaborn>=0.13.0",
]
[tool.setuptools]
py-modules = ["main"]
[tool.setuptools.packages.find]
include = ["core*", "cli*", "server*"]
exclude = ["tests*", "archive*", "demo*", "site-docs*"]
[tool.setuptools.package-data]
server = ["static/**/*"]
[project.scripts]
animaworks = "cli:cli_main"
animaworks-tool = "core.tools:cli_dispatch"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --strict-markers --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"performance: marks tests as performance tests",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"e2e: marks tests as end-to-end tests",
"live: tests making real API calls (skip with --mock or no API key)",
"azure: tests requiring Azure OpenAI API key",
"ollama: tests requiring Ollama server access",
"timeout: set per-test timeout in seconds (requires pytest-timeout)",
]
[tool.ruff]
target-version = "py312"
line-length = 120
exclude = ["archive/", ".venv/", "site-docs/"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = [
"E501",
"E402",
"UP047",
"SIM105",
"SIM108",
"SIM102",
]
[tool.ruff.lint.per-file-ignores]
"core/tools/image_gen.py" = ["F401"]
"core/config/__init__.py" = ["F401"]
"core/config/models.py" = ["F401"]
"core/prompt/__init__.py" = ["F401"]
"core/lifecycle/__init__.py" = ["F401"]
"core/tooling/schemas/__init__.py" = ["F401"]
"core/i18n/__init__.py" = ["F401"]
"core/memory/priming/__init__.py" = ["F401"]
"core/memory/conversation.py" = ["F401"]
[tool.ruff.format]
quote-style = "double"
[dependency-groups]
dev = [
"boto3>=1.42.54",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-timeout>=2.4.0",
"watchdog>=6.0.0",
]