-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (88 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
98 lines (88 loc) · 2.17 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
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "attackcti"
version = "0.6.4"
description = "MITRE ATT&CK CTI Python library"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Cyb3rWard0g", email = "9653181+Cyb3rWard0g@users.noreply.github.com" }
]
requires-python = ">=3.9"
keywords = [
"threat hunting",
"dfir",
"cti",
"cyber threat intelligence",
"mitre att&ck",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Topic :: Security",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pydantic>=2.12.5",
"requests>=2.32.5",
"six>=1.17.0",
"stix2>=3.0.1",
"stix2-patterns>=2.0.0",
"taxii2-client>=2.3.0",
]
[project.urls]
Documentation = "https://attackcti.com"
Code = "https://github.com/OTRF/ATTACK-Python-Client"
"Issue tracker" = "https://github.com/OTRF/ATTACK-Python-Client/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.4.2",
"pytest-asyncio>=0.23",
"pyright>=1.1.407",
"ruff>=0.14.6",
"black",
"anyio>=4",
"build",
"twine",
"packaging",
"setuptools",
"setuptools_scm",
"wheel",
]
[project.scripts]
attackcti = "attackcti.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/attackcti"]
include = ["src/attackcti/py.typed"]
[tool.ruff]
line-length = 120
extend-exclude = [
"docs/playground",
]
[tool.ruff.lint]
select = ["E", "F", "I", "D", "B"]
ignore = ["E501"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[dependency-groups]
dev = [
"ruff>=0.14.9",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra"
pythonpath = ["src"]
norecursedirs = ["repos", ".venv"]
markers = [
"integration: tests that spin a real local ipykernel; require RUN_INTEGRATION=1",
]