-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (37 loc) · 1.16 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
[tool.poetry]
name = "ailingo"
version = "0.4.0"
description = "A CLI Tool for Local File Translation Using Generative AI(LLMs)"
authors = ["Mitsuki Ogasahara <negiga@gmail.com>"]
license = "MIT License"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
litellm = "^1.38.8"
typer = "^0.12.3"
rich = "^13.7.1"
google-cloud-aiplatform = { version = "^1.52.0", optional = true }
google-generativeai = { version = "^0.5.4", optional = true }
boto3 = { version = ">=1.28.57", optional = true }
instructor = "^1.3.2"
anthropic = {extras = ["vertex"], version = "^0.28.0", optional = true }
requests-html = "^0.10.0"
lxml-html-clean = "^0.1.1"
jinja2 = "^3.1.4"
[tool.poetry.extras]
google = ["google-cloud-aiplatform", "google-generativeai"]
anthropic-vertex = ["anthropic"]
aws = ["boto3"]
all = ["google-cloud-aiplatform", "google-generativeai", "boto3", "anthropic"]
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.5"
pyright = "^1.1.364"
pytest = "^8.2.1"
pytest-cov = "^5.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ailingo = "ailingo.cli:app"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]