-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
81 lines (71 loc) · 2.25 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
[tool.poetry]
name = "nyx-client"
version = "0.2.6"
description = "Nyx Client offers a simple API for interacting with data in your Nyx network."
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-client.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"
requests-toolbelt = "^1.0.0"
python-dotenv = "^1.0.1"
click = "^8.1.7"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.6"
pytest = "^8.3.2"
pytest-mock = "^3.14.0"
requests-mock = "^1.12.1"
[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_client/**.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.poetry.scripts]
nyx-client = "nyx_client.cli.__main__:cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"