-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (87 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (87 loc) · 2.38 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
[project]
name = "swival"
version = "1.0.42"
description = "A small, powerful CLI coding agent for open AI models"
readme = "README.md"
license = "MIT"
requires-python = ">=3.13"
authors = [
{ name = "Frank Denis", email = "github@pureftpd.org" },
]
keywords = ["ai", "agent", "cli", "llm", "coding", "tool-calling"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
dependencies = [
"litellm>=1.98.0,<1.99",
"tiktoken>=0.14.0",
"html-to-markdown>=3.11.6,<4",
"rich>=15.0.0",
"prompt-toolkit>=3.0.53",
"mcp>=2.1.1,<3",
"rank-bm25>=0.2.2",
"httpx2>=2.12.0",
"starlette>=1.6.0",
"uvicorn>=0.52.4",
"fast-cipher>=0.2.2",
"boto3>=1.43.83",
"google-cloud-aiplatform>=1.165.1,<2",
]
[project.optional-dependencies]
metaskills = [
"starlark-go>=1.0.1",
]
[project.urls]
Homepage = "https://swival.dev/"
Repository = "https://github.com/swival/swival"
Issues = "https://github.com/swival/swival/issues"
[project.scripts]
swival = "swival.agent:main"
[build-system]
requires = ["hatchling>=1.32.0"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"swival/",
"tests/",
"pyproject.toml",
"README.md",
"LICENSE",
"ChangeLog.md",
]
exclude = [
"homebrew-tap/",
]
[tool.hatch.build.targets.wheel]
packages = ["swival"]
[tool.uv]
package = true
constraint-dependencies = ["requests>=2.34.2", "cryptography>=50.0.1"]
override-dependencies = ["aiohttp>=3.14.3", "python-dotenv>=1.2.3"]
[tool.ruff.lint]
# Ruff 0.16 grew its default selection from 59 rules to 413. Keep the older,
# narrower set we have always linted against; the wider one is a separate
# cleanup, not something a dependency bump should drag in.
select = ["E4", "E7", "E9", "F"]
[tool.pytest.ini_options]
markers = [
"stress: long-running or wall-clock-sensitive tests excluded from make test; run locally with `pytest -m stress` for real timeouts",
]
[dependency-groups]
dev = [
"pytest>=9.1.1",
"ruff>=0.16.5,<0.17",
]
website = [
"markdown>=3.10.3",
"pillow>=12.3.0",
]