Skip to content

Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.

3.9 KB
Raw Blame
[build-system]
# Required so `pip install -e ".[dev]"` works in CI. Without this, setuptools
# falls back to legacy and refuses with "Multiple top-level packages discovered
# in a flat-layout" because the repo root has assets/, skills/, agents/, etc.
# The reviewed build floor also covers GHSA-h35f-9h28-mq5c, fixed in 83.0.0.
requires = ["setuptools>=83.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
# This repo is a Claude Code skill bundle, not a Python package. Declare an
# empty distribution so the editable install gives us only the metadata
# (extras groups, etc.) without trying to import skill directories.
py-modules = []

[project]
name = "claude-blog"
version = "2.3.2"
description = "AI-powered blog creation and optimization skill for Claude Code"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
    {name = "AgriciDaniel"},
]

[project.urls]
homepage = "https://github.com/AgriciDaniel/claude-blog"
repository = "https://github.com/AgriciDaniel/claude-blog"
issues = "https://github.com/AgriciDaniel/claude-blog/issues"
documentation = "https://github.com/AgriciDaniel/claude-blog/tree/main/docs"
changelog = "https://github.com/AgriciDaniel/claude-blog/blob/main/CHANGELOG.md"

[project.optional-dependencies]
core = [
    # Bounded ranges align with requirements.txt to ensure both install paths
    # resolve to compatible majors (closes audit VULN-407 mismatch).
    "textstat>=0.7.3,<1.0.0",
    "beautifulsoup4>=4.12.0,<5.0.0",
]
advanced = [
    # Closes audit VULN-406. All entries previously unbounded.
    # VULN-406 (v1.9.1): keep sentence-transformers in a bounded major window
    # because model-download URLs are an attacker-influenceable trust surface.
    "lxml>=5.0.0,<7.0.0",
    "jsonschema>=4.20.0,<5.0.0",
    "spacy>=3.7.0,<4.0.0",
    "sentence-transformers>=4.0.0,<6.0.0",
    "scikit-learn>=1.4.0,<2.0.0",
    "language-tool-python>=2.7.1,<4.0.0",
]
google = [
    "requests>=2.34.2,<3.0.0",
    "google-api-python-client>=2.100.0,<3.0.0",
    "google-auth>=2.61.0,<3.0.0",
    "google-auth-oauthlib>=1.5.0,<2.0.0",
    "google-auth-httplib2>=0.4.4,<1.0.0",
    "google-analytics-data>=0.23.3,<1.0.0",
]
ads = [
    # Optional: enables skills/blog-google/scripts/keyword_planner.py.
    # Closes audit VULN-404 phantom-import (was previously imported with no
    # manifest declaration). The reviewed Google Ads API v25.2 integration
    # uses Python client 33.x; keep this major-bounded so the integration and the
    # installed client cannot silently drift apart.
    "google-ads>=33.0.0,<34.0.0",
]
presentation = [
    # v1.9.0 Blog Delivery Contract: enables scripts/blog_preflight.py
    # (Gate 3 visual verification via patchright), scripts/blog_render.py
    # (PDF generation via patchright or weasyprint), and
    # scripts/generate_hero.py (Gemini API hero generation + stock fetch).
    # VULN-404 (v1.9.1): tighten weasyprint upper bound. weasyprint renders
    # attacker-influenceable HTML to PDF; pin to a known-good window.
    # Patchright is exact-pinned because it controls an authenticated browser
    # and must match the separately hash-locked NotebookLM runtime.
    "patchright==1.63.0",
    "weasyprint>=70.0,<71.0",
    "google-genai>=2.29.0,<3.0.0",
    "requests>=2.34.2,<3.0.0",
    "markdown>=3.5,<4.0",
    "Pillow>=13.0.0,<14.0.0",
]
dev = [
    "PyYAML>=6.0.3,<7.0",
    # Runtime-state tests import the real NotebookLM authentication module.
    # Driver initialization is offline and does not download a browser.
    "patchright==1.63.0",
    "detect-secrets>=1.5.0,<2.0.0",
    "pytest>=8.0,<10.0",
    "textstat>=0.7.3,<1.0.0",
    "beautifulsoup4>=4.12.0,<5.0.0",
    # Tests exercise optional Google, rendering, and image paths directly.
    "requests>=2.34.2,<3.0.0",
    "google-api-python-client>=2.100.0,<3.0.0",
    "markdown>=3.5,<4.0",
    "google-analytics-data>=0.23.3,<1.0.0",
    "Pillow>=13.0.0,<14.0.0",
]

[tool.pytest.ini_options]
testpaths = ["tests"]