[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "openocd-python" version = "2026.02.12" description = "Typed, async-first Python bindings for the full OpenOCD command surface" readme = "README.md" license = "MIT" requires-python = ">=3.11" authors = [ {name = "Ryan Malloy", email = "ryan@supported.systems"}, ] keywords = ["openocd", "jtag", "swd", "embedded", "debugging", "hardware"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Debuggers", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Hardware", "Typing :: Typed", ] dependencies = [ "cmsis-svd>=0.4", ] [project.optional-dependencies] dev = [ "pytest>=8.0", "pytest-asyncio>=0.24", "ruff>=0.8", ] [project.scripts] openocd-python = "openocd.cli:main" [project.urls] Homepage = "https://git.supported.systems/ryan/openocd-python" Issues = "https://git.supported.systems/ryan/openocd-python/issues" [tool.hatch.build.targets.wheel] packages = ["src/openocd"] [tool.ruff] target-version = "py311" line-length = 100 [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM"] [tool.pytest.ini_options] asyncio_mode = "auto" markers = [ "hardware: requires physical DAP-Link hardware (deselect with '-m not hardware')", ]