bindery-cli 0.27.0__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.
bindery/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ """Bindery: repair EPUBs (well-formedness fixes, plus an opt-in lossy page-number
2
+ strip), epubcheck-gated.
3
+
4
+ Single source of truth for the version. pyproject.toml must match VERSION below.
5
+ """
6
+
7
+ VERSION = "0.27.0"
8
+ __version__ = VERSION
9
+
10
+ from .epub import RepairReport, repair_epub # noqa: E402
11
+
12
+ __all__ = ["VERSION", "__version__", "RepairReport", "repair_epub"]
bindery/__main__.py ADDED
@@ -0,0 +1,4 @@
1
+ from .cli import main
2
+
3
+ if __name__ == "__main__":
4
+ raise SystemExit(main())