-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
106 lines (96 loc) · 2.27 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
106
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "qwikcrud"
dynamic = ["version"]
description = "An AI-powered command-line tool that generates RESTful APIs and admin interfaces based on user prompts"
readme = "README.md"
requires-python = ">=3.9"
license = "Apache-2.0"
keywords = ["ai", "chatgpt", "fastapi", "sqlalchemy", "starlette-admin", "crud"]
authors = [
{ name = "Jocelin Hounon", email = "hounonj@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"pydantic>=2.5,<2.6",
"pydantic-settings",
"aiofile>=3.8,<3.9",
"httpx>=0.25,<0.26",
"openai>=1.3,<1.4",
"google-generativeai>=0.3.1,<0.4",
"rich>=13",
"prompt_toolkit>=3.0.41,<3.1",
"jinja2>=3,<4",
"black>=23.11.0,<23.12",
"autoflake>=2.2.1,<2.3",
"isort>=5.12.0,<5.13",
]
[project.urls]
Documentation = "https://github.com/jowilf/qwikcrud/#readme"
Issues = "https://github.com/jowilf/qwikcrud/issues"
Source = "https://github.com/jowilf/qwikcrud"
[tool.hatch.version]
path = "qwikcrud/__init__.py"
[tool.hatch.envs.default]
dependencies = [
"ruff==0.1.1",
"pytest>=7.4.3,<7.5"
]
[tool.hatch.envs.default.scripts]
cli = "python -m qwikcrud.cli {args}"
format = [
"black {args:qwikcrud tests}",
"ruff --fix {args:qwikcrud tests}",
]
test = "pytest {args:tests}"
lint = [
"ruff {args:qwikcrud tests}",
"black --check {args:qwikcrud tests}"
]
[tool.ruff]
target-version = "py39"
line-length = 120
select = [
"A",
"ARG",
"B",
"C",
"DTZ",
"E",
"EM",
"F",
"I",
"ICN",
"ISC",
"N",
"PLC",
"PLE",
"PLW",
"Q",
"RUF",
"S",
"T",
"TID",
"UP",
"W",
"YTT",
]
[tool.ruff.per-file-ignores]
"tests/**" = ["S101"]
[tool.ruff.isort]
known-first-party = ["qwikcrud"]
[project.scripts]
qwikcrud = "qwikcrud.cli:main"
[tool.hatch.build.targets.sdist]
exclude = ["/.github"]