forked from IBM/ibm-generative-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (81 loc) · 2.12 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
[build-system]
requires = ["setuptools>=67.6.0", "wheel>=0.40.0", "setuptools_scm[toml]>=7.1.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ibm-generative-ai"
version = "0.1.14"
authors = [
{name="Lee Martie", email="[email protected]"},
{name="Ana Fucs", email="[email protected]"},
{name="Veronique Demers", email="[email protected]"},
{name="Mairead O'Neill", email="[email protected]"},
{name="Mirian Silva", email="[email protected]"},
{name="Onkar Bhardwaj", email="[email protected]"},
{name="James Sutton", email="[email protected]"},
]
description = "IBM Generative AI is a Python library built on IBM's large language model REST interface."
readme = "README.MD"
dependencies = [
"urllib3<2", # https://github.com/psf/requests/issues/6432
"requests>=2.28.2",
"pydantic>=1.10.6",
"python-dotenv>=1.0.0",
"aiohttp>=3.8.4",
"pyyaml>=0.2.5",
"httpx>=0.24.0",
"aiolimiter>=1.0.0"
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = [
"pytest>=7.2.2",
"pytest-dotenv>=0.5.2",
"pre-commit>=3.2.0",
"pytest-cov>=4.0.0",
"sphinx>=6.1.3",
"furo>=2022.12.7",
"sphinxemoji>=0.2.0",
"twine>=4.0.2",
"pytest-asyncio>=0.20.3",
"pytest-mock>=3.10.0",
"setuptools-scm>=7.1.0",
"pytest-httpx>=0.22.0"
]
langchain = [
"langchain>=0.0.123,<=0.0.150"
]
huggingface = [
"datasets>=2.11.0"
]
pandas = [
"pandas>=2.0.0"
]
# As new extensions are added, they should also be added
all = [
"ibm-generative-ai[langchain, pandas, huggingface]"
]
[options]
package_dir=[
"src"
]
[options.packages.find]
where=[
"src/genai"
]
[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing --cov-fail-under 80"
markers = [
"unit: tests that can run completely independently of the GENAI API",
"integration: tests that require the GENAI API to run",
"langchain: tests for langchain extension",
"pandas: tests for pandas extension",
"huggingface: tests for huggingface extension"
]
env_files = [
".test.env"
]
[tool.coverage.run]
source = ["src"]
[tool.setuptools_scm]
write_to = "src/genai/_version.py"
local_scheme = "no-local-version"