forked from Floe-Labs/floe-guard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (48 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (48 loc) · 1.74 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "floe-guard"
version = "0.2.0"
description = "Local budget guardrail for AI agents — hard-stops a runaway loop before its next LLM call crosses a spend ceiling. No account, no network."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Floe Labs" }]
keywords = ["llm", "agents", "budget", "guardrail", "crewai", "litellm", "langchain", "langgraph", "cost", "openai", "anthropic"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = []
[project.optional-dependencies]
litellm = ["litellm>=1.0"]
crewai = ["crewai>=0.30", "litellm>=1.0"]
langchain = ["langchain-core>=0.3"]
langgraph = ["langgraph>=1.0"]
openai = ["openai>=1.0"]
anthropic = ["anthropic>=0.40"]
dev = ["pytest>=7.0", "ruff>=0.4"]
[project.urls]
Homepage = "https://floelabs.xyz"
Dashboard = "https://dev-dashboard.floelabs.xyz"
Source = "https://github.com/Floe-Labs/floe-guard"
[tool.hatch.build.targets.wheel]
packages = ["src/floe_guard"]
[tool.hatch.build.targets.wheel.force-include]
"src/floe_guard/cost_map.json" = "floe_guard/cost_map.json"
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests", "examples"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["error::floe_guard.errors.UnpriceableModelWarning"]