-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (62 loc) · 1.77 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
[tool.poetry]
name = "contxt-sdk"
version = "3.0.0-beta.23"
description = "Contxt SDK from ndustrial"
authors = ["ndustrial <[email protected]>"]
license = "ISC"
readme = "README.md"
repository = "https://github.com/ndustrialio/contxt-sdk-python"
packages = [ { include = "contxt" } ]
[[tool.poetry.source]]
name = "nd-foundry"
url = "https://ndustrialio.jfrog.io/artifactory/api/pypi/ndustrial-foundry/simple"
secondary = true
[tool.poetry.dependencies]
python = "^3.8"
auth0-python = "^3"
click = "^8"
cryptography = { version = ">=1.4", optional = true } # enable pyjwt to en/decode jwt via RSA
pyjwt = "^1"
pyyaml = "^5"
requests = "^2"
tabulate = "*"
sgqlc = "^15.0"
pytz = "^2021.1"
python-dateutil = "^2.8.2"
pyinquirer = {git = "https://github.com/CITGuru/PyInquirer.git", rev = "master"}
marshmallow-enum = "^1.5.1"
marshmallow-dataclass = "^8.5.3"
pandas = "^1.4.1"
[tool.poetry.dev-dependencies]
flake8 = "^3"
isort = "^5"
mkdocs = "^1.2.1"
mkdocs-click = "^0.4.0"
mypy = "^0"
poethepoet = "^0"
pre-commit = "^2"
pytest = "^6"
types-click = "^7.1.2"
types-jwt = "^0.1.3"
types-pkg-resources = "^0.1.3"
types-pyyaml = "^5.4.3"
types-requests = "^2.25.0"
types-tabulate = "^0.1.1"
black = "^22.1.0"
[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" }
lint = { cmd = "pre-commit run --all-files", help = "Run linters and formatters" }
test = { cmd = "pytest tests", help = "Run tests" }
[tool.black]
line-length = 105
[tool.isort]
line_length = 105
profile = "black"
[build-system]
requires = ["poetry-core>=1.0"]
build-backend = "poetry.core.masonry.api"