Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.67 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (80 loc) · 2.67 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
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "openmuse"
version = "0.6.0"
description = "Open-source version of Meta's Muse: a personal agent with a phone app, a Sentinel gatekeeper, a credential vault, memory and goals. Bring your own model."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "OpenMuse Contributors" }]
keywords = ["agent", "ai", "llm", "personal-assistant", "muse", "meta-muse", "deepseek", "mcp"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"openai>=1.60",
"pydantic>=2.7",
"httpx>=0.27",
"typer>=0.12",
"rich>=13.7",
"loguru>=0.7",
"cryptography>=42",
"tenacity>=8.3",
"ddgs>=9.0",
"beautifulsoup4>=4.12",
"html2text>=2024.2.26",
"mcp>=1.2",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"qrcode>=7.4",
"pywebpush>=2.0",
"python-dateutil>=2.9",
"pillow>=10",
"pypdf>=4",
# Windows has no system time-zone database; zoneinfo (the calendar, quiet hours) needs this one
"tzdata>=2024.1; platform_system == 'Windows'",
]
[project.optional-dependencies]
browser = ["playwright>=1.45"]
dev = ["pytest>=8", "pytest-asyncio>=0.23", "ruff>=0.5", "mypy>=1.10", "httpx>=0.27", "types-python-dateutil"]
all = ["openmuse[browser,dev]"]
[project.scripts]
openmuse = "openmuse.cli:app"
[project.urls]
Homepage = "https://github.com/OpenMuseAgent/OpenMuse"
Repository = "https://github.com/OpenMuseAgent/OpenMuse"
Issues = "https://github.com/OpenMuseAgent/OpenMuse/issues"
[tool.hatch.build.targets.wheel]
packages = ["openmuse"]
[tool.hatch.build.targets.wheel.force-include]
"config/config.example.toml" = "openmuse/config.example.toml"
[tool.hatch.build.targets.sdist]
include = ["openmuse", "config/config.example.toml", "README.md", "README_zh.md", "LICENSE"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["E501", "B008", "UP042"]
[tool.mypy]
python_version = "3.11"
files = ["openmuse"]
ignore_missing_imports = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unreachable = true
# the mcp 1.x/2.x import fallback needs an ignore on whichever branch is not installed
warn_unused_ignores = false
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = ["live: tests that call a real LLM endpoint (set OPENMUSE_LIVE=1)"]