forked from aitomatic/openssa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
135 lines (113 loc) · 3.11 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[tool.poetry]
name = "openssa"
version = "0.23.12.19"
authors = [
"Aitomatic, Inc. <[email protected]>",
"Christopher Nguyen <[email protected]>",
"Vinh Luong <[email protected]>",
"Sang Dinh <[email protected]>",
]
maintainers = [
"Aitomatic, Inc. <[email protected]>",
"Vinh Luong <[email protected]>",
"Sang Dinh <[email protected]>",
"Chanh Le <[email protected]>",
]
license = "Apache-2.0"
description = "OpenSSA: Small Specialist Agents for Industrial AI"
readme = "README.md"
homepage = "https://openssa.org"
repository = "https://github.com/aitomatic/openssa"
documentation = "https://aitomatic.github.io/openssa"
keywords = [
"Artificial Intelligence", "A.I.", "AI",
"industrial",
"specialist", "specialized",
"domain", "expertise", "knowledge",
]
classifiers = [
]
packages = [
{include = "openssa"},
]
include = [
]
exclude = [
"**/.openssa/", # OpenSSA cache data
]
[tool.poetry.group.docs.dependencies]
sphinx = ">=7.2"
sphinx-autobuild = ">=2021.3"
sphinx-press-theme = ">=0.8"
myst-parser = ">=2.0"
[tool.poetry.group.lint.dependencies]
flake8 = ">=6.1"
pylint = ">=3.0"
ruff = ">=0.1"
pydocstyle = ">=6.3"
[tool.poetry.group.test.dependencies]
pytest = ">=7.4"
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
# OpenAI interface
openai = ">=1.6"
# LlamaIndex & related
llama-index = ">=0.9.17" # should keep up-to-date with Llama-Index's minor releases (often backward-incompatible)
llama-hub = ">=0.0.60"
docx2txt = ">=0.8" # for reading .docx files
pypdf = ">=3.17" # for reading .pdf files
pycryptodome = ">=3.19" # for reading .pdf files: PyCryptodome is required for AES algorithm
# file systems
fsspec = "~2023.10.0" # base/local file system
adlfs = "~2023.10.0" # Azure Data Lake
gcsfs = "~2023.10.0" # Google Cloud Storage
s3fs = "~2023.10.0" # S3
# misc / other
click = ">=8.1"
google-api-python-client = ">=2.111"
httpx = ">=0.25"
loguru = ">=0.7"
# pydantic = ">=2.5"
pydantic = "1.10.9"
python-dotenv = ">=1.0"
tomli = { version = ">=2.0", python = "<3.11" }
# optional dependencies required by extras
streamlit = {version = ">=1.29", optional = true}
streamlit-mic-recorder = {version = ">=0.0.4", optional = true}
[tool.poetry.extras]
contrib = [
"streamlit",
"streamlit-mic-recorder",
]
[tool.poetry.scripts]
openssa = "openssa.utils.cli:openssa_cli"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core >= 1.8",
]
# pylint.readthedocs.io/en/latest/user_guide/usage/run.html
# pylint.readthedocs.io/en/latest/user_guide/configuration/index.html
[tool.pylint."messages control"]
disable = [
"attribute-defined-outside-init",
"duplicate-code",
"fixme",
"import-error",
"line-too-long",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"raw-checker-failed",
"redefined-outer-name",
"too-few-public-methods",
"unnecessary-pass",
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
filterwarnings = [
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace.*google.*:DeprecationWarning",
]