🚀 chore(pyproject.toml): rename dev-dependencies to dev.dependencies
The Dockerfile now removes unnecessary files after installing dependencies to reduce the image size. The pyproject.toml file now uses the correct naming convention for dev dependencies, which is dev.dependencies instead of dev-dependencies.
100 lines
2.4 KiB
TOML
100 lines
2.4 KiB
TOML
[tool.poetry]
|
|
name = "langflow"
|
|
version = "0.1.2"
|
|
description = "A Python package with a built-in web application"
|
|
authors = ["Logspace <contact@logspace.ai>"]
|
|
maintainers = [
|
|
"Cristhian Zanforlin <cristhian.lousa@gmail.com>",
|
|
"Gabriel Almeida <gabriel@logspace.ai>",
|
|
"Gustavo Schaedler <gustavopoa@gmail.com>",
|
|
"Lucas Eduoli <lucaseduoli@gmail.com>",
|
|
"Otávio Anovazzi <otavio2204@gmail.com>",
|
|
]
|
|
repository = "https://github.com/logspace-ai/langflow"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
keywords = ["nlp", "langchain", "openai", "gpt", "gui"]
|
|
packages = [{ include = "langflow", from = "src/backend" }]
|
|
include = ["src/backend/langflow/*", "src/backend/langflow/**/*"]
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
langflow = "langflow.__main__:main"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<3.12"
|
|
fastapi = "^0.97.0"
|
|
uvicorn = "^0.22.0"
|
|
beautifulsoup4 = "^4.11.2"
|
|
google-search-results = "^2.4.1"
|
|
google-api-python-client = "^2.79.0"
|
|
typer = "^0.9.0"
|
|
gunicorn = "^20.1.0"
|
|
langchain = "^0.0.202"
|
|
openai = "^0.27.8"
|
|
types-pyyaml = "^6.0.12.8"
|
|
pandas = "^1.5.3"
|
|
chromadb = "^0.3.21"
|
|
huggingface-hub = "^0.13.3"
|
|
rich = "^13.4.2"
|
|
llama-cpp-python = "~0.1.0"
|
|
networkx = "^3.1"
|
|
unstructured = "^0.5.11"
|
|
pypdf = "^3.7.1"
|
|
lxml = "^4.9.2"
|
|
pysrt = "^1.1.2"
|
|
fake-useragent = "^1.1.3"
|
|
docstring-parser = "^0.15"
|
|
psycopg2-binary = "^2.9.6"
|
|
pyarrow = "^12.0.0"
|
|
tiktoken = "~0.4.0"
|
|
wikipedia = "^1.4.0"
|
|
langchain-serve = { version = ">0.0.39", optional = true }
|
|
qdrant-client = "^1.2.0"
|
|
websockets = "^11.0.3"
|
|
weaviate-client = "^3.21.0"
|
|
jina = "3.15.2"
|
|
sentence-transformers = "^2.2.2"
|
|
ctransformers = "^0.2.2"
|
|
cohere = "^4.6.0"
|
|
sqlmodel = "^0.0.8"
|
|
faiss-cpu = "^1.7.4"
|
|
anthropic = "^0.2.10"
|
|
orjson = "^3.9.1"
|
|
multiprocess = "^0.70.14"
|
|
cachetools = "^5.3.1"
|
|
types-cachetools = "^5.3.0.5"
|
|
|
|
|
|
[tool.poetry.dev.dependencies]
|
|
black = "^23.1.0"
|
|
ipykernel = "^6.21.2"
|
|
mypy = "^1.1.1"
|
|
ruff = "^0.0.254"
|
|
httpx = "^0.23.3"
|
|
pytest = "^7.2.2"
|
|
types-requests = "^2.28.11"
|
|
requests = "^2.28.0"
|
|
pytest-cov = "^4.0.0"
|
|
pandas-stubs = "^2.0.0.230412"
|
|
types-pillow = "^9.5.0.2"
|
|
|
|
|
|
[tool.poetry.extras]
|
|
deploy = ["langchain-serve"]
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
addopts = "-ra"
|
|
testpaths = ["tests", "integration"]
|
|
console_output_style = "progress"
|
|
filterwarnings = ["ignore::DeprecationWarning"]
|
|
log_cli = true
|
|
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|