mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-01 21:35:34 +00:00
64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
[tool.poetry]
|
|
name = "langchain-cli"
|
|
version = "0.0.35"
|
|
description = "CLI for interacting with LangChain"
|
|
authors = ["Erick Friis <erick@langchain.dev>"]
|
|
readme = "README.md"
|
|
repository = "https://github.com/langchain-ai/langchain"
|
|
license = "MIT"
|
|
|
|
[tool.poetry.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"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<4.0"
|
|
typer = { extras = ["all"], version = "^0.9.0" }
|
|
gitpython = "^3"
|
|
langserve = { extras = ["all"], version = ">=0.0.51" }
|
|
uvicorn = ">=0.23,<1.0"
|
|
tomlkit = ">=0.12"
|
|
gritql = "^0.1.1"
|
|
|
|
[tool.poetry.scripts]
|
|
langchain = "langchain_cli.cli:app"
|
|
langchain-cli = "langchain_cli.cli:app"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^7.4.2"
|
|
pytest-watch = "^4.2.0"
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
ruff = "^0.5"
|
|
mypy = "^1.13.0"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
langchain = {path = "../langchain", develop = true}
|
|
|
|
[tool.poetry.group.typing.dependencies]
|
|
langchain = {path = "../langchain", develop = true}
|
|
|
|
[tool.poetry.group.test_integration.dependencies]
|
|
|
|
[tool.poetry.extras]
|
|
# For langserve
|
|
serve = []
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"T201", # print
|
|
]
|
|
|
|
[tool.mypy]
|
|
exclude = [
|
|
"langchain_cli/integration_template",
|
|
"langchain_cli/package_template",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|