"""Twitter/X thread extraction reusable tooling. Standalone scripts that acquire posts, threads, and media from X (Twitter) and emit self-contained Markdown documents. Scripts in this namespace: - fetch_thread.py: acquire a post/thread (gallery-dl subprocess for URLs; html.parser for local HTML) - download_media.py: download referenced media via stdlib urllib - render_markdown.py: emit the Markdown document + media links - error_types.py: shared Result-style ErrorInfo + the ThreadData/PostData/PostMetrics dataclasses Standalone: no imports from src/ or conductor/; copy-pasteable to another repo with only gallery-dl as an external dep. Per conductor/code_styleguides/python.md, 1-space indent + type hints + no comments in implementation code. """