[build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "api-snapshot-cli" version = "0.1.0" description = "A CLI tool that records HTTP API traffic and generates local mock servers from recorded responses" readme = "README.md" requires-python = ">=3.8" license = {text = "MIT"} authors = [ {name = "API Snapshot Contributors"} ] keywords = ["cli", "http", "api", "mock", "testing", "recording"] classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Testing", "Topic :: Internet :: HTTP Servers", ] dependencies = [ "click>=8.0", "requests>=2.28", "flask>=2.0", "rich>=12.0", ] [project.optional-dependencies] test = [ "pytest>=7.0", "pytest-click>=1.0", "responses>=0.22.0", "pytest-cov>=4.0", ] [project.scripts] api-snapshot = "api_snapshot.cli:main" [tool.setuptools.packages.find] include = ["api_snapshot*"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_functions = ["test_*"] addopts = "-v --tb=short" [tool.ruff] line-length = 100 target-version = "py38" [tool.ruff.lint] select = ["E", "W", "F", "I"] ignore = []