-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
98 lines (85 loc) · 2.88 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
[tool.poetry]
name = "nyx-extras"
version = "0.2.6"
description = "Nyx Client SDK Extras provides a powerful toolkit for building generative AI applications using data brokered on the Nyx platform."
authors = [
"Iotics <[email protected]>",
"Andy Blair <[email protected]>",
"Conal McLaughlin <[email protected]>"
]
readme = "README.md"
keywords = ["client", "data", "sdk", "ai", "exchange", "nyx", "rag", "gen-ai", "iotics"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License"
]
homepage = "https://www.get-nyx.io"
repository = "https://github.com/Iotic-Labs/nyx-sdk"
documentation = "https://nyx-extras.readthedocs.io/en/stable"
[tool.poetry.urls]
"Issue tracker" = "https://github.com/Iotic-Labs/nyx-sdk/issues"
"Chat" = "https://discord.gg/zS8pVHjqSf"
"Changes" = "https://github.com/Iotic-Labs/nyx-sdk/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.10"
nyx-client = "^0.2.0"
scipy = "^1.14.0"
numpy = "^1.26.4"
pandas = "^2.2.2"
scikit-learn = "^1.5.1"
sqlalchemy = "^2.0.32"
requests-toolbelt = "^1.0.0"
# langchain extra
langchain = { version = "^0.3.0", optional = true }
langchain-community = { version = "^0.3.0", optional = true }
langchain-openai = { version = "^0.2.0", optional = true }
langchain-cohere = { version = "^0.3.0", optional = true }
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.6"
pytest = "^8.3.2"
pytest-mock = "^3.14.0"
requests-mock = "^1.12.1"
nyx-client = {path = "../nyx_client", develop = true}
[tool.poetry.extras]
langchain-openai = ["langchain", "langchain-community", "langgraph", "langchain-openai"]
langchain-cohere = ["langchain", "langchain-community", "langgraph", "langchain-cohere"]
[tool.poetry.scripts]
nyx-client = "nyx_client.cli.__main__:cli"
[tool.ruff]
# Allow lines to be as long as 120.
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"UP", # pyupgrade
"T20", # flake8-print
"FIX", # flake8-fixme
"G004", # flake8-logging-format
"D", # pydocstyle
]
ignore = [
"D100", # Missing docstring in public module
"D105", # Missing docstring in magic method
]
[tool.ruff.lint.per-file-ignores]
"examples/**" = ["T20"]
"tests/**" = ["T20", "F", "SIM"]
# Ignore pydocstyle rules everywhere except for actual client.
"!nyx_extras/**.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"