diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..905d8ca --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,61 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "testdatagen" +version = "0.1.0" +description = "A CLI tool that generates realistic test data from JSON Schema, TypeScript types, or sample data files" +readme = "README.md" +requires-python = ">=3.10" +license = {text = "MIT"} +authors = [ + {name = "TestDataGen Team"} +] +keywords = ["cli", "test-data", "faker", "json-schema", "generator"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] + +dependencies = [ + "click>=8.0", + "faker>=20.0", + "jsonschema>=4.0", + "pydantic>=2.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "ruff>=0.1.0", +] + +[project.scripts] +testdatagen = "testdatagen.cli:main" + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.ruff] +line-length = 100 +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "W", "I"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --cov=testdatagen --cov-report=term-missing" + +[tool.testdatagen] +default-seed = 42 +default-count = 10 \ No newline at end of file