File size: 2,153 Bytes
dfb775d | 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 | [build-system]
requires = ["hatchling>=1.21.0"]
build-backend = "hatchling.build"
[project]
name = "wordpress-agent"
version = "0.1.0"
description = "Agnostic publishing tool that takes finished content and posts it to WordPress."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }
authors = [
{ name = "BANKON", email = "codephreak@pythai.net" },
]
keywords = ["wordpress", "publishing", "agent", "mindx", "agenticplace"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.27.0",
"pydantic>=2.7.0",
"pydantic-settings>=2.3.0",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"python-multipart>=0.0.9",
"click>=8.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-httpx>=0.30.0",
"pytest-cov>=5.0.0",
"ruff>=0.5.0",
"mypy>=1.10.0",
]
[project.scripts]
wordpress-agent = "wordpress_agent.cli:main"
wordpress-agent-server = "wordpress_agent.server:run"
[project.urls]
Homepage = "https://github.com/codephreak/wordpress-agent"
Repository = "https://github.com/codephreak/wordpress-agent"
Documentation = "https://github.com/codephreak/wordpress-agent#readme"
Issues = "https://github.com/codephreak/wordpress-agent/issues"
[tool.hatch.build.targets.wheel]
packages = ["wordpress_agent"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "C4", "RET", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_ignores = true
warn_return_any = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-ra --strict-markers --cov=wordpress_agent --cov-report=term-missing"
|