-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (86 loc) · 2.11 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (86 loc) · 2.11 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "context-compiler"
version = "0.8.1"
description = "Deterministic conversational state engine for LLM applications."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "Robert Lippmann" }]
dependencies = []
keywords = [
"llm",
"conversational-ai",
"conversation-state",
"state-management",
"state-machine",
"deterministic",
"ai-infrastructure",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Homepage = "https://github.com/rlippmann/context-compiler"
Repository = "https://github.com/rlippmann/context-compiler"
Issues = "https://github.com/rlippmann/context-compiler/issues"
[project.scripts]
context-compiler = "context_compiler.repl:main"
[tool.hatch.build.targets.wheel]
packages = ["src/context_compiler"]
[tool.hatch.build.targets.sdist]
include = [
"/README.md",
"/pyproject.toml",
"/src/context_compiler",
"/demos",
"/examples",
"/host_support",
]
[project.optional-dependencies]
demos = [
"litellm>=1.0.0",
]
dev = [
"pytest",
"pytest-cov",
"coverage",
"hypothesis",
"ruff>=0.12,<1.0",
"mypy>=1.12,<2.0",
"pre-commit",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
exclude = ["^tests/"]
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = false
mypy_path = "src"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
markers = [
"contract: curated stable user-facing behavior contract tests",
]
[tool.coverage.run]
source = ["src/context_compiler"]
omit = ["demos/*", "evals/*", "tests/*"]