forked from IBM/prompt-declaration-language
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (87 loc) · 2.33 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "prompt-declaration-language"
dynamic = ["version"]
dependencies = [
"pydantic~=2.0",
"requests~=2.0",
"python-dotenv~=1.0",
"jinja2~=3.0",
"PyYAML~=6.0",
"jsonschema~=4.0",
"litellm>=1.66.0",
"openai>=1.66.1",
"termcolor~=2.0",
"ipython>=8,<10",
"json-repair~=0.35",
"granite-io>=0.2,<0.4",
]
authors = [
{ name="Mandana Vaziri", email="[email protected]" },
{ name="Louis Mandel", email="[email protected]"},
{ name="Claudio Spiess", email="[email protected]" },
{ name="Martin Hirzel", email="[email protected]" }
]
description = "Prompt Declaration Language"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"pre-commit>=3,<5",
"pytest~=8.0",
"pydantic~=2.9"
]
examples = [
"pymilvus~=2.5",
"langchain~=0.3",
"langchain-community~=0.3",
"pypdf~=5.2",
"wikipedia~=1.0",
"textdistance~=4.0",
"datasets>2,<4",
"sympy~=1.0",
"scikit-learn~=1.6.1",
"faiss-cpu~=1.10.0"
]
docs = [
"mkdocs~=1.0",
"mkdocstrings[python]~=0.0",
"mkdocs-material~=9.0",
"pymdown-extensions~=10.0"
]
all = [ "prompt-declaration-language[dev,examples,docs]" ]
[project.urls]
Homepage = "https://ibm.github.io/prompt-declaration-language/"
Documentation = "https://ibm.github.io/prompt-declaration-language/tutorial/"
Source = "https://github.com/IBM/prompt-declaration-language"
Repository = "https://github.com/IBM/prompt-declaration-language"
Issues = "https://github.com/IBM/prompt-declaration-language/issues"
[project.scripts]
pdl = "pdl.pdl:main"
pdl-lint = "pdl.pdl_linter:run_linter"
[tool.setuptools_scm]
version_file = "src/pdl/_version.py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
pdl = ["pdl-schema.json"]
[tool.pyright]
include = ["src", "tests", "examples", "docs"]
[tool.pdl-lint]
ignore = [
"tests/data/line/hello.pdl",
"tests/data/line/hello1.pdl",
"tests/data/line/hello10.pdl",
"tests/data/line/hello11.pdl",
"tests/data/line/hello31.pdl",
"tests/data/line/hello4.pdl",
"tests/data/line/hello7.pdl",
"tests/data/line/hello8.pdl",
]