[tool.poetry] name = "open-interpreter" packages = [ {include = "interpreter"}, ] version = "0.2.6" # Use "-rc1", "-rc2", etc. for pre-release versions description = "Let language models run code" authors = ["Killian Lucas "] readme = "README.md" [tool.poetry.dependencies] python = ">=3.9,<4" setuptools = "*" astor = "^0.8.1" git-python = "^1.0.3" inquirer = "^3.1.3" litellm = "^1.35.32" pyyaml = "^6.0.1" rich = "^13.4.2" six = "^1.16.0" tokentrim = "^0.1.13" wget = "^3.2" psutil = "^5.9.6" pyreadline3 = {version = "^3.4.1", markers = "sys_platform == 'win32'"} html2image = "^2.0.4.3" send2trash = "^1.8.2" ipykernel = "^6.26.0" jupyter-client = "^8.6.0" matplotlib = "^3.8.2" toml = "^0.10.2" tiktoken = "^0.6.0" platformdirs = "^4.2.0" pydantic = "^2.6.4" # Optional [os] dependencies opencv-python = { version = "^4.8.1.78", optional = true } pyautogui = { version = "^0.9.54", optional = true } plyer = { version = "^2.1.0", optional = true } pywinctl = { version = "^0.3", optional = true } pytesseract = { version = "^0.3.10", optional = true } sentence-transformers = { version = "^2.5.1", optional = true } nltk = { version = "^3.8.1", optional = true } ipywidgets = { version = "^8.1.2", optional = true } torch = { version = "^2.2.1", optional = true } timm = { version = "^0.9.16", optional = true } screeninfo = { version = "^0.8.1", optional = true } # Optional [safe] dependencies semgrep = { version = "^1.52.0", optional = true } yaspin = { version = "^3.0.1", optional = true } # Optional [local] dependencies transformers = { version = "^4.40.1", optional = true } einops = { version = "^0.8.0", optional = true } torchvision = { version = "^0.18.0", optional = true } # Optional [server] dependencies fastapi = { version = "^0.111.0", optional = true } pynput = { version = "^1.7.7", optional = true } uvicorn = { version = "^0.30.1", optional = true } [tool.poetry.extras] os = ["opencv-python", "pyautogui", "plyer", "pywinctl", "pytesseract", "sentence-transformers", "ipywidgets", "torch", "timm", "screeninfo"] safe = ["semgrep", "yaspin"] local = ["opencv-python", "pytesseract", "torch", "transformers", "einops", "torchvision"] server = ["fastapi", "pynput", "uvicorn"] [tool.poetry.group.dev.dependencies] black = "^23.10.1" isort = "^5.12.0" pre-commit = "^3.5.0" pytest = "^7.4.0" sniffio = "^1.3.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] interpreter = "interpreter.terminal_interface.start_terminal_interface:main" i = "interpreter.terminal_interface.start_terminal_interface:main" [tool.black] target-version = ['py311'] [tool.isort] profile = "black" multi_line_output = 3 include_trailing_comma = true