-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.94 KB
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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ai-datastream"
version = "0.1.1"
description = "A Python implementation of the Vercel AI Data Stream protocol"
readme = "README.md"
authors = ["Elementary"]
license = "Apache-2.0"
keywords = ["ai", "data", "stream", "vercel", "langchain", "fastapi", "agent"]
packages = [{include = "ai_datastream"}]
repository = "https://github.com/elementary-data/py-ai-datastream"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
[tool.poetry.group.langgraph]
optional = true
[tool.poetry.group.langgraph.dependencies]
langgraph = ">=0.3.0,<1.0.0"
[tool.poetry.group.fastapi]
optional = true
[tool.poetry.group.fastapi.dependencies]
fastapi = ">=0.113.0,<1.0.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.11.9"
mypy = "^1.9.0"
pytest = "^8.3.4"
pre-commit = "^3.6.0"
pytest-asyncio = "^0.26.0"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true