mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-27 19:46:55 +00:00
55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[project]
|
|
authors = [{ name = "Erick Friis", email = "erick@langchain.dev" }]
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"typer[all]<1.0.0,>=0.9.0",
|
|
"gitpython<4,>=3",
|
|
"langserve[all]>=0.0.51",
|
|
"uvicorn<1.0,>=0.23",
|
|
"tomlkit>=0.12",
|
|
"gritql<1.0.0,>=0.2.0",
|
|
]
|
|
name = "langchain-cli"
|
|
version = "0.0.36"
|
|
description = "CLI for interacting with LangChain"
|
|
readme = "README.md"
|
|
|
|
[project.urls]
|
|
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/cli"
|
|
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-cli%3D%3D0%22&expanded=true"
|
|
repository = "https://github.com/langchain-ai/langchain"
|
|
|
|
[project.scripts]
|
|
langchain = "langchain_cli.cli:app"
|
|
langchain-cli = "langchain_cli.cli:app"
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest<8.0.0,>=7.4.2", "pytest-watcher<1.0.0,>=0.3.4"]
|
|
lint = ["ruff<1.0,>=0.5", "mypy<2.0.0,>=1.13.0"]
|
|
test = ["langchain-core", "langchain"]
|
|
typing = ["langchain"]
|
|
test_integration = []
|
|
|
|
[tool.uv.sources]
|
|
langchain-core = { path = "../core", editable = true }
|
|
langchain = { path = "../langchain", editable = true }
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"T201", # print
|
|
]
|
|
|
|
[tool.mypy]
|
|
exclude = [
|
|
"langchain_cli/integration_template",
|
|
"langchain_cli/package_template",
|
|
]
|