-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
46 lines (39 loc) · 1.13 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
[project]
name = "promptools"
version = "0.1.3.6"
description = "useful utilities for prompt engineering"
authors = [{ name = "Muspi Merol", email = "[email protected]" }]
dependencies = ["partial-json-parser>=0.2.1,<0.3"]
requires-python = ">=3.8"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Typing :: Typed",
"Framework :: Pydantic :: 2",
"Topic :: Utilities",
"Topic :: File Formats :: JSON",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: Markdown",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
validation = ["pydantic<3"]
tokenizer = ["tiktoken~=0.3"]
stream = ["promplate~=0.3", "attrs>=23"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.dev-dependencies]
dev = ["isort", "black", "ipython", "pytest", "pytest-asyncio"]
[tool.pdm.scripts]
test = "pytest"
fmt = { composite = ["isort .", "black ."] }
i = "ipython"
[tool.black]
line-length = 140
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"