[build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" version = "4.7.9" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] homepage = "https://github.com/kyegomez/swarms" documentation = "https://swarms.apac.ai" readme = "README.md" repository = "https://github.com/kyegomez/swarms" keywords = [ "artificial intelligence", "deep learning", "optimizers", "Prompt Engineering", "swarms", "agents", ] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Topic :: Scientific/Engineering :: Artificial Intelligence", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.10", ] [tool.poetry.dependencies] python = ">=3.9,<4.0" torch = ">=2.1.1,<3.0" transformers = ">= 4.39.0, <5.0.0" asyncio = ">=3.4.3,<4.0" einops = "0.7.0" langchain-core = "0.1.33" langchain-community = "0.0.29" langchain-experimental = "0.0.55" backoff = "2.2.1" toml = "*" pypdf = "4.1.0" httpx = "0.24.1" ratelimit = "2.2.1" loguru = "0.7.2" pydantic = "2.6.4" tenacity = "8.2.3" Pillow = "10.2.0" rich = "13.5.2" psutil = "*" sentry-sdk = "*" python-dotenv = "*" accelerate = "0.28.0" opencv-python = "^4.9.0.80" [tool.poetry.group.lint.dependencies] black = "^23.1.0" ruff = ">=0.0.249,<0.3.5" types-toml = "^0.10.8.1" types-pytz = "^2023.3.0.0" types-chardet = "^5.0.4.6" mypy-protobuf = "^3.0.0" [tool.poetry.group.test.dependencies] pytest = "^8.1.1" termcolor = "^2.4.0" pandas = "^2.2.2" fastapi = "^0.110.1" [tool.ruff] line-length = 128 [tool.ruff.lint] select = ["E", "F", "W", "I", "UP"] ignore = [] fixable = ["ALL"] unfixable = [] preview = true [tool.ruff.lint.per-file-ignores] "swarms/prompts/**.py" = ["E501"] [tool.black] line-length = 70 target-version = ['py38'] preview = true