[tool.poetry] name = "open-interpreter" packages = [ {include = "interpreter"}, ] version = "0.2.5" # 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" astor = "^0.8.1" git-python = "^1.0.3" inquirer = "^3.1.3" litellm = "^1.34.38" 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" ipykernel = "^6.26.0" jupyter-client = "^8.6.0" matplotlib = "^3.8.2" toml = "^0.10.2" posthog = "^3.1.0" tiktoken = "^0.6.0" #Optional dependencies opencv-python = { version = "^4.8.1.78", optional = false } pyautogui = "^0.9.54" plyer = "^2.1.0" pywinctl = "^0.3" semgrep = { version = "^1.52.0", optional = true } yaspin = { version = "^3.0.1", 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 } prompt-toolkit = "^3.0.43" send2trash = "^1.8.2" uvicorn = "^0.27.0" fastapi = "^0.110.0" platformdirs = "^4.2.0" pydantic = "^2.6.4" screeninfo = "^0.8.1" aifs = "^0.0.15" [tool.poetry.extras] os = ["opencv-python", "pyautogui", "plyer", "pywinctl", "pytesseract", "sentence-transformers", "ipywidgets", "torch", "timm"] safe = ["semgrep", "yaspin"] [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