|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "swarms"
|
|
|
|
version = "2.8.0"
|
|
|
|
description = "Swarms - Pytorch"
|
|
|
|
license = "MIT"
|
|
|
|
authors = ["Kye Gomez <kye@apac.ai>"]
|
|
|
|
homepage = "https://github.com/kyegomez/swarms"
|
|
|
|
documentation = "https://swarms.apac.ai" # Add this if you have documentation.
|
|
|
|
readme = "README.md" # Assuming you have a README.md
|
|
|
|
repository = "https://github.com/kyegomez/swarms"
|
|
|
|
keywords = ["artificial intelligence", "deep learning", "optimizers", "Prompt Engineering"]
|
|
|
|
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.6.1"
|
|
|
|
torch = "2.1.1"
|
|
|
|
transformers = "2.10"
|
|
|
|
openai = "0.28.0"
|
|
|
|
langchain = "*"
|
|
|
|
asyncio = "*"
|
|
|
|
einops = "*"
|
|
|
|
google-generativeai = "0.3.0"
|
|
|
|
langchain-experimental = "*"
|
|
|
|
playwright = "*"
|
|
|
|
weaviate-client = "*"
|
|
|
|
opencv-python-headless = "*"
|
|
|
|
faiss-cpu = "*"
|
|
|
|
backoff = "*"
|
|
|
|
marshmallow = "*"
|
|
|
|
datasets = "*"
|
|
|
|
optimum = "1.15.0"
|
|
|
|
diffusers = "*"
|
|
|
|
PyPDF2 = "*"
|
|
|
|
accelerate = "*"
|
|
|
|
sentencepiece = "*"
|
|
|
|
wget = "*"
|
|
|
|
tensorflow = "2.15.0"
|
|
|
|
httpx = "*"
|
|
|
|
tiktoken = "*"
|
|
|
|
safetensors = "*"
|
|
|
|
attrs = "*"
|
|
|
|
ggl = "*"
|
|
|
|
ratelimit = "*"
|
|
|
|
beautifulsoup4 = "*"
|
|
|
|
cohere = "*"
|
|
|
|
huggingface-hub = "*"
|
|
|
|
pydantic = "1.10.12"
|
|
|
|
tenacity = "*"
|
|
|
|
Pillow = "*"
|
|
|
|
chromadb = "*"
|
|
|
|
tabulate = "*"
|
|
|
|
termcolor = "*"
|
|
|
|
black = "*"
|
|
|
|
open_clip_torch = "*"
|
|
|
|
soundfile = "*"
|
|
|
|
torchvision = "*"
|
|
|
|
rich = "*"
|
|
|
|
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
|
|
ruff = ">=0.0.249,<0.1.7"
|
|
|
|
types-toml = "^0.10.8.1"
|
|
|
|
types-redis = "^4.3.21.6"
|
|
|
|
types-pytz = "^2023.3.0.0"
|
|
|
|
black = "^23.1.0"
|
|
|
|
types-chardet = "^5.0.4.6"
|
|
|
|
mypy-protobuf = "^3.0.0"
|
|
|
|
|
|
|
|
|
|
|
|
[tool.autopep8]
|
|
|
|
max_line_length = 70
|
|
|
|
ignore = "E501,W6" # or ["E501", "W6"]
|
|
|
|
in-place = true
|
|
|
|
recursive = true
|
|
|
|
aggressive = 3
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 70
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 70
|
|
|
|
target-version = ['py38']
|
|
|
|
preview = true
|
|
|
|
|
|
|
|
|