From cc723533ae02cc200279ec93e22485c177bd3f05 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 6 Feb 2026 01:09:43 +0000 Subject: [PATCH] Initial upload: regex-humanizer-cli with CI/CD workflow --- pyproject.toml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f4bb5a6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,60 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "regex-humanizer-cli" +version = "1.0.0" +description = "A CLI tool that converts complex regex patterns to human-readable English descriptions and generates comprehensive test cases" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.9" +authors = [ + {name = "Regex Humanizer Contributors"} +] +keywords = ["regex", "regular-expression", "cli", "humanizer", "testing"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0", + "regex>=2023.0", + "parsimonious>=0.10.0", + "pygments>=2.15", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "black>=23.0", + "ruff>=0.1.0", +] + +[project.scripts] +regex-humanizer = "regex_humanizer.cli:main" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --tb=short" + +[tool.black] +line-length = 100 +target-version = ['py39'] + +[tool.ruff] +line-length = 100 +target-version = "py39" + +[tool.setuptools.packages.find] +where = ["."] +include = ["regex_humanizer*"]