[tool.poetry] name = "langchain-cli" version = "0.0.8" description = "CLI for interacting with LangChain" authors = ["Erick Friis "] readme = "README.md" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" typer = {extras = ["all"], version = "^0.9.0"} tomli = "^2.0.1" gitpython = "^3.1.40" langserve = {extras = ["all"], version = ">=0.0.16", optional = true} fastapi = "^0.104.0" uvicorn = "^0.23.2" [tool.poetry.scripts] langchain = "langchain_cli.cli:app" langchain-cli = "langchain_cli.cli:app" [tool.poetry.group.dev.dependencies] poethepoet = "^0.24.1" pytest = "^7.4.2" pytest-watch = "^4.2.0" [tool.poetry.group.lint.dependencies] ruff = "^0.1.3" [tool.poetry.group.test.dependencies] [tool.poetry.group.typing.dependencies] [tool.poetry.extras] # For langserve serve = ["langserve"] [tool.ruff] select = [ "E", # pycodestyle "F", # pyflakes "I", # isort ] [tool.poe.tasks] test = "poetry run pytest" watch = "poetry run ptw" lint = "poetry run ruff ." format = "poetry run ruff . --fix" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"