Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (70 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (70 loc) · 1.75 KB
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
[project]
name = "contxt-sdk"
version = "6.10.0"
description = "Contxt SDK from ndustrial"
readme = "README.md"
requires-python = ">=3.10,<4.0.0"
dependencies = [
"auth0-python>=4,<5",
"click>=7,<9",
"pyjwt>=2,<3",
"pyyaml>=6.0.2,<7",
"requests>=2,<3",
"tabulate>=0.9,<1",
"sgqlc>=15,<17",
"python-slugify>=6.1.2,<9.0.0",
"urllib3 (>=2.6.0)"
]
[project.license]
text = "ISC"
[[project.authors]]
name = "ndustrial"
email = "dev@ndustrial.io"
[project.optional-dependencies]
crypto = [ "cryptography>=42.0.4" ]
[project.scripts]
contxt = "contxt.__main__:cli"
[project.urls]
Repository = "https://github.com/ndustrialio/contxt-sdk-python"
[tool.poetry]
[[tool.poetry.packages]]
include = "contxt"
[tool.poetry.group.dev.dependencies]
black = "^26"
flake8 = "^7.1.2"
isort = "^6"
mkdocs = "^1.4.2"
mkdocs-click = "0.8.1"
mypy = "^1.15.0"
poethepoet = "^0.25"
pre-commit = { version = "^4", python = ">=3.11" } # filelock security fixes (via virtualenv) need 3.11+
pytest = "^9"
types-click = "^7.1.8"
types-jwt = "^0.1.3"
types-setuptools = ">=76,<81"
types-pyyaml = "^6.0.12"
types-requests = "^2.32.0"
types-tabulate = "^0.9.0.2"
types-python-slugify = "^8.0.0.2"
[tool.poe.tasks.clean]
cmd = "rm -rf .mypy_cache/ .pytest_cache/ build/ dist/ *.egg-info"
help = "Remove build artifacts"
[tool.poe.tasks.docs]
cmd = "mkdocs serve"
help = "Serve documentation site"
[tool.poe.tasks.lint]
cmd = "pre-commit run --all-files"
help = "Run linters and formatters"
[tool.poe.tasks.test]
cmd = "pytest tests"
help = "Run tests"
[tool.black]
line-length = 105
[tool.isort]
line_length = 105
profile = "black"
[tool.mypy]
exclude = "/contxt/generated/"
[build-system]
requires = [ "poetry-core>=1.8.0" ]
build-backend = "poetry.core.masonry.api"