-
Notifications
You must be signed in to change notification settings - Fork 324
/
pyproject.toml
83 lines (77 loc) · 2.33 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
name = "ell-ai"
version = "0.0.15"
description = "ell - the language model programming library"
authors = ["William Guss <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/MadcowD/ell"
packages = [
{ include = "ell", from = "src" }
]
homepage = "https://docs.ell.so"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9"
]
include = [
{ path = "src/ell/studio/static", format = ["sdist", "wheel"] },
{ path = "src/ell/studio/static/**/*", format = ["sdist", "wheel"] },
{ path = "src/ell/util/char_bitmaps.npy", format = ["sdist", "wheel"] }
]
[tool.poetry.dependencies]
python = ">=3.9"
numpy = ">=1.26.0"
dill = "^0.3.8"
colorama = "^0.4.6"
cattrs = "^23.2.3"
openai = "^1.51.0"
requests = "^2.32.3"
typing-extensions = "^4.12.2"
black = "^24.8.0"
pillow = "^10.4.0"
psutil = "^5.9.0"
# Providers
anthropic = { version = "^0.34.2", optional = true }
groq = { version = "^0.11.0", optional = true }
# Storage
psycopg2 = { version = ">=2.7", optional = true }
sqlmodel = { version = ">=0.0.21, <0.1.0", optional = true }
# Studio
fastapi = { version = "^0.111.1", optional = true }
uvicorn = { version = "^0.30.3", optional = true }
alembic = { version = "^1.14.0", optional = true }
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
sphinx = "<8.0.0"
sphinx-rtd-theme = "^2.0.0"
[tool.poetry.extras]
# N.B. The `openai` dep is always required, but explicitly providing it via an e.g. "openai" extra
# causes poetry to mark it as optional = true (even if explicitly specified optional = false).
anthropic = ["anthropic"]
groq = ["groq"]
sqlite = [ 'sqlmodel', 'alembic' ]
postgres = ['sqlmodel', 'psycopg2', 'alembic']
studio = ['fastapi', 'uvicorn', 'sqlmodel', 'alembic']
all = [
"anthropic",
"groq",
# default storage dependencies
'sqlmodel',
# allow running stduio by default
'fastapi',
'uvicorn',
'alembic'
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ell-studio = "ell.studio.__main__:main"
# [tool.poetry.build]
# # script = "build.py"