-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use poetry to manage the Python runtime project
- Loading branch information
Showing
13 changed files
with
3,207 additions
and
2,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
langstream-runtime/langstream-runtime-impl/src/main/python/Pipfile
This file was deleted.
Oops, something went wrong.
2,245 changes: 0 additions & 2,245 deletions
2,245
langstream-runtime/langstream-runtime-impl/src/main/python/Pipfile.lock
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,148 changes: 3,148 additions & 0 deletions
3,148
langstream-runtime/langstream-runtime-impl/src/main/python/poetry.lock
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,19 +15,22 @@ | |
# | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[project] | ||
[tool.poetry] | ||
name = "langstream-ai" | ||
# === Warning: do not touch this section. The package version is set by regexp | ||
version = "0.0.0" | ||
# === | ||
authors = [ | ||
{name = "Christophe Bornet", email = "[email protected]"} | ||
] | ||
description = "LangStream user API" | ||
requires-python = ">=3.5" | ||
license = "Apache-2.0" | ||
authors = ["LangStream"] | ||
readme = ["README.md"] | ||
homepage = "https://langstream.ai" | ||
repository = "https://github.com/LangStream/langstream" | ||
documentation = "https://docs.langstream.ai" | ||
keywords = ["streaming", "ai", "llm"] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
|
@@ -46,16 +49,43 @@ classifiers = [ | |
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
] | ||
keywords = ["streaming", "ai", "llm"] | ||
dynamic = ["readme"] | ||
packages = [ | ||
{ include = "langstream" } | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/LangStream/langstream" | ||
[tool.poetry.urls] | ||
"Bug Tracker" = "https://github.com/LangStream/langstream/issues" | ||
|
||
[tool.setuptools] | ||
packages = ["langstream"] | ||
py-modules = ['langstream.api', 'langstream.util'] | ||
[tool.poetry.dependencies] | ||
python = "^3.8.1" | ||
grpcio = "^1.60.0" | ||
protobuf = "^4.25.1" | ||
fastavro = "^1.9.2" | ||
|
||
[tool.poetry.group.full] | ||
optional = true | ||
|
||
[tool.poetry.group.full.dependencies] | ||
openai = {extras = ["datalib"], version = "^1.6.1"} | ||
langchain = {extras = ["openai"], version = "^0.0.353"} | ||
langserve = "^0.0.37" | ||
fastapi = "^0.108.0" | ||
uvicorn = "^0.25.0" | ||
boto3 = "^1.34.11" | ||
unstructured = "^0.11.6" | ||
llama-index = "^0.9.24" | ||
cassio = "^0.1.3" | ||
|
||
# workaround for https://github.com/python-poetry/poetry-plugin-export/issues/183 | ||
urllib3 = "<2" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
tox = "^4.11.4" | ||
black = "^23.12.1" | ||
ruff = "^0.1.9" | ||
pytest = "^7.4.4" | ||
pytest-asyncio = "^0.23.3" | ||
grpcio-tools = "^1.60.0" | ||
|
||
[tool.ruff] | ||
exclude = [ | ||
|
24 changes: 0 additions & 24 deletions
24
langstream-runtime/langstream-runtime-impl/src/main/python/setup.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tox | ||
black | ||
ruff | ||
build | ||
poetry |