Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 33 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
[tool.poetry]
[project]
name = "contxt-sdk"
version = "6.9.0"
description = "Contxt SDK from ndustrial"
authors = ["ndustrial <dev@ndustrial.io>"]
license = "ISC"
readme = "README.md"
repository = "https://github.com/ndustrialio/contxt-sdk-python"
packages = [ { include = "contxt" } ]
license = { text = "ISC" }
authors = [
{ name = "ndustrial", email = "dev@ndustrial.io" }
]
requires-python = "^3.9.2"
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.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.dependencies]
python = "^3.9.2"
auth0-python = "^4"
click = ">=7,<9"
cryptography = { version = ">=42.0.4", optional = true } # enable pyjwt to en/decode jwt via RSA
pyjwt = "^2"
pyyaml = "^6.0.2"
requests = "^2"
tabulate = "*"
sgqlc = ">=15,<17"
python-slugify = ">=6.1.2,<9.0.0"
[tool.poetry]
packages = [{ include = "contxt" }]

[tool.poetry.group.dev.dependencies]
black = "^25"
Expand All @@ -27,7 +39,7 @@ isort = "^6"
mkdocs = "^1.4.2"
mkdocs-click = "0.8.1"
mypy = "^1.15.0"
poethepoet = "^0"
poethepoet = "^0.25"
pre-commit = "^4"
pytest = "^8"
types-click = "^7.1.8"
Expand All @@ -38,12 +50,6 @@ types-requests = "^2.32.0"
types-tabulate = "^0.9.0.2"
types-python-slugify = "^8.0.0.2"

[tool.poetry.extras]
crypto = ["cryptography"]

[tool.poetry.scripts]
contxt = "contxt.__main__:cli"

[tool.poe.tasks]
clean = { cmd = "rm -rf .mypy_cache/ .pytest_cache/ build/ dist/ *.egg-info", help = "Remove build artifacts" }
docs = { cmd = "mkdocs serve", help = "Serve documentation site" }
Expand All @@ -57,9 +63,10 @@ line-length = 105
line_length = 105
profile = "black"

[tool.mypy]
exclude = "/contxt/generated/"

[build-system]
requires = ["poetry-core>=1.0"]
requires = ["poetry-core>=1.8.0"]
build-backend = "poetry.core.masonry.api"

[mypy]
exclude = "/contxt/generated/"