forked from ggozad/oterm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (86 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
98 lines (86 loc) · 2.39 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
[project]
name = "oterm"
version = "0.14.6"
description = "The terminal client for Ollama."
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
license = { text = "MIT" }
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
requires-python = ">=3.10"
dependencies = [
"aiosql>=13.4,<14",
"aiosqlite>=0.21.0,<0.22",
"fastmcp>=2.12.2,<2.13",
"ollama>=0.5.3,<0.6",
"packaging>=25.0,<26",
"pillow>=11.3.0,<12",
"pydantic>=2.12.2,<2.13",
"python-dotenv>=1.0.1",
"textual>=6.2.1,<6.3",
"textual-image>=0.8.4,<0.9.0",
"textual-speedups>=0.2.0",
"textualeffects>=0.1.4",
"typer>=0.17.4,<0.18",
]
[project.urls]
Homepage = "https://github.com/ggozad/oterm"
Repository = "https://github.com/ggozad/oterm"
Issues = "https://github.com/ggozad/oterm/issues"
Documentation = "https://ggozad.github.io/oterm/"
[project.scripts]
oterm = "oterm.cli.oterm:cli"
[dependency-groups]
dev = [
"ruff>=0.12.12",
"pdbpp",
"pytest>=8.4.2",
"pytest-asyncio>=0.25.3",
"textual-dev>=1.7.0",
"homebrew-pypi-poet>=0.10.0",
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.18",
"pre-commit>=4.3.0",
"pyright>=1.1.405",
]
[tool.uv]
[tool.uv.sources]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"E",
"F",
"UP",
"I",
] # Enable Flake's "E" and "F" codes by default and "I" for sorting imports
ignore = ["E501"]
per-file-ignores = { "__init__.py" = ["F401", "F403"] }
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pyright]
venvPath = "."
venv = ".venv"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["/screenshots", "/examples"]
[tool.hatch.build.targets.wheel]
only-packages = true