-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (120 loc) · 2.89 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (120 loc) · 2.89 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "context-compiler-example-integrations"
version = "0.1.2"
description = "Example integrations and enforcement-point demonstrations for Context Compiler."
readme = "python/README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "Robert Lippmann" }]
dependencies = [
"context-compiler>=0.8.3",
]
keywords = [
"context-compiler",
"examples",
"integrations",
"llm",
"litellm",
"fastapi",
"chromadb",
"ollama",
"mcp",
"open-webui",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.urls]
Homepage = "https://github.com/rlippmann/context-compiler-example-integrations"
Repository = "https://github.com/rlippmann/context-compiler-example-integrations"
Issues = "https://github.com/rlippmann/context-compiler-example-integrations/issues"
[project.optional-dependencies]
all = [
"chromadb",
"context-compiler-directive-drafter>=0.1.2",
"fastapi",
"litellm",
]
drafter = [
"context-compiler-directive-drafter>=0.1.2",
]
fastapi = [
"fastapi",
]
litellm = [
"litellm",
]
retrieval = [
"chromadb",
]
[dependency-groups]
dev = [
"chromadb",
"context-compiler-directive-drafter>=0.1.2",
"fastapi",
"httpx2>=2.5.0",
"httpx>=0.28.1",
"litellm",
"mypy",
"pre-commit",
"pytest",
"ruff",
]
proxy_runtime = [
"litellm[proxy]",
]
[tool.hatch.build.targets.wheel]
packages = ["context_compiler_example_integrations"]
exclude = [
"python/tests",
"python/**/__pycache__",
"python/**/*.pyc",
"python/**/.DS_Store",
]
[tool.hatch.build.targets.wheel.force-include]
"python/README.md" = "context_compiler_example_integrations/README.md"
"python/examples" = "context_compiler_example_integrations/examples"
"python/reference_integrations" = "context_compiler_example_integrations/reference_integrations"
[tool.hatch.build.targets.sdist]
only-include = [
"context_compiler_example_integrations",
"python",
"LICENSE",
"pyproject.toml",
]
exclude = [
"python/tests",
"python/**/__pycache__",
"python/**/*.pyc",
"python/**/.DS_Store",
".gitignore",
]
[tool.ruff]
extend-exclude = [
".next",
"node_modules",
]
[tool.mypy]
files = [
"python/examples",
"python/reference_integrations",
]
exclude = '(^|/)(\\.venv|__pycache__|node_modules|\\.next)/'
disable_error_code = ["no-redef"]
explicit_package_bases = true
ignore_missing_imports = true
pretty = true
show_error_codes = true