-
-
Notifications
You must be signed in to change notification settings - Fork 772
/
pyproject.toml
105 lines (94 loc) · 2.74 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "shell_gpt"
description = "A command-line productivity tool powered by large language models, will help you accomplish your tasks faster and more efficiently."
keywords = ["shell", "gpt", "openai", "ollama", "cli", "productivity", "cheet-sheet"]
readme = "README.md"
license = "MIT"
requires-python = ">=3.6"
authors = [{ name = "Farkhod Sadykov", email = "[email protected]" }]
dynamic = ["version"]
classifiers = [
"Operating System :: OS Independent",
"Topic :: Software Development",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"openai >= 1.34.0, < 2.0.0",
"typer >= 0.7.0, < 1.0.0",
"click >= 7.1.1, < 9.0.0",
"rich >= 13.1.0, < 14.0.0",
"distro >= 1.8.0, < 2.0.0",
"instructor >= 0.4.5, < 1.0.0",
'pyreadline3 >= 3.4.1, < 4.0.0; sys_platform == "win32"',
]
[project.optional-dependencies]
litellm = [
"litellm == 1.42.5"
]
test = [
"pytest >= 7.2.2, < 8.0.0",
"requests-mock[fixture] >= 1.10.0, < 2.0.0",
"isort >= 5.12.0, < 6.0.0",
"black == 23.1.0",
"mypy == 1.1.1",
"types-requests == 2.28.11.17",
"codespell >= 2.2.5, < 3.0.0"
]
dev = [
"ruff == 0.0.256",
"pre-commit >= 3.1.1, < 4.0.0",
]
[project.scripts]
sgpt = "sgpt:cli"
[project.urls]
homepage = "https://github.com/ther1d/shell_gpt"
repository = "https://github.com/ther1d/shell_gpt"
documentation = "https://github.com/TheR1D/shell_gpt/blob/main/README.md"
[tool.hatch.version]
path = "sgpt/__version__.py"
[tool.hatch.build.targets.wheel]
only-include = ["sgpt"]
[tool.hatch.build.targets.sdist]
only-include = [
"sgpt",
"tests",
"README.md",
"LICENSE",
"pyproject.toml",
]
[tool.isort]
profile = "black"
skip = "__init__.py"
[tool.mypy]
strict = true
exclude = ["llm_functions"]
[tool.ruff]
select = [
"E", # pycodestyle errors.
"W", # pycodestyle warnings.
"F", # pyflakes.
"C", # flake8-comprehensions.
"B", # flake8-bugbear.
]
ignore = [
"E501", # line too long, handled by black.
"C901", # too complex.
"B008", # do not perform function calls in argument defaults.
"E731", # do not assign a lambda expression, use a def.
]
[tool.codespell]
skip = '.git,venv'