perusal 0.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
perusal/__init__.py ADDED
@@ -0,0 +1,15 @@
1
+ """perusal -- read the web as Markdown.
2
+
3
+ A CLI (``perusal <url>``), a reader-browser GUI (``perusal browse``), and an
4
+ optional MCP server (``perusal mcp``), all standing on the domonic Readability
5
+ and Turndown ports.
6
+
7
+ ``core`` holds the fetch -> Readability -> Turndown -> Markdown pipeline shared
8
+ by the CLI and the MCP tool. ``browser`` is the standalone GUI (it keeps its
9
+ own richer, interactive extraction) and is imported lazily so the base package
10
+ has no pywebview dependency.
11
+ """
12
+
13
+ from .core import ReaderResult, web_read
14
+
15
+ __all__ = ["ReaderResult", "web_read"]
perusal/__main__.py ADDED
@@ -0,0 +1,3 @@
1
+ from .cli import main
2
+
3
+ raise SystemExit(main())