exploderino 1.0.1__tar.gz → 1.0.2__tar.gz

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.
Files changed (39) hide show
  1. {exploderino-1.0.1 → exploderino-1.0.2}/CHANGELOG.md +12 -1
  2. {exploderino-1.0.1 → exploderino-1.0.2}/PKG-INFO +13 -11
  3. {exploderino-1.0.1 → exploderino-1.0.2}/README.md +12 -10
  4. {exploderino-1.0.1 → exploderino-1.0.2}/docs/how-it-works.md +1 -1
  5. {exploderino-1.0.1 → exploderino-1.0.2}/pyproject.toml +2 -2
  6. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/__init__.py +2 -2
  7. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/cli.py +3 -2
  8. {exploderino-1.0.1 → exploderino-1.0.2}/uv.lock +1 -1
  9. {exploderino-1.0.1 → exploderino-1.0.2}/.gitignore +0 -0
  10. {exploderino-1.0.1 → exploderino-1.0.2}/CODE_OF_CONDUCT.md +0 -0
  11. {exploderino-1.0.1 → exploderino-1.0.2}/CONTRIBUTING.md +0 -0
  12. {exploderino-1.0.1 → exploderino-1.0.2}/LICENSE +0 -0
  13. {exploderino-1.0.1 → exploderino-1.0.2}/NOTICE +0 -0
  14. {exploderino-1.0.1 → exploderino-1.0.2}/SECURITY.md +0 -0
  15. {exploderino-1.0.1 → exploderino-1.0.2}/docs/README.md +0 -0
  16. {exploderino-1.0.1 → exploderino-1.0.2}/docs/cli.md +0 -0
  17. {exploderino-1.0.1 → exploderino-1.0.2}/docs/formats.md +0 -0
  18. {exploderino-1.0.1 → exploderino-1.0.2}/docs/guide.md +0 -0
  19. {exploderino-1.0.1 → exploderino-1.0.2}/docs/makefile.md +0 -0
  20. {exploderino-1.0.1 → exploderino-1.0.2}/docs/python-api.md +0 -0
  21. {exploderino-1.0.1 → exploderino-1.0.2}/docs/safety.md +0 -0
  22. {exploderino-1.0.1 → exploderino-1.0.2}/docs/sbom.md +0 -0
  23. {exploderino-1.0.1 → exploderino-1.0.2}/docs/troubleshooting.md +0 -0
  24. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/__main__.py +0 -0
  25. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/core.py +0 -0
  26. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/formats.py +0 -0
  27. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/ole.py +0 -0
  28. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/protection.py +0 -0
  29. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/py.typed +0 -0
  30. {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/xmlfmt.py +0 -0
  31. {exploderino-1.0.1 → exploderino-1.0.2}/tests/builders.py +0 -0
  32. {exploderino-1.0.1 → exploderino-1.0.2}/tests/conftest.py +0 -0
  33. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_corpus.py +0 -0
  34. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_docs.py +0 -0
  35. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_formats.py +0 -0
  36. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_hardening.py +0 -0
  37. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_roundtrip.py +0 -0
  38. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_safety.py +0 -0
  39. {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_xmlfmt.py +0 -0
@@ -7,6 +7,16 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.2] - 2026-12-03
11
+
12
+ ### Changed
13
+
14
+ - The README introduction explains why rebuilding a document is the hard part, and what
15
+ exploderino doesn't do.
16
+ - The package description, `exploderino --help` and `make help` describe exploderino in the
17
+ same words: "Turn Office, OpenDocument, EPUB and XPS documents into directories of readable
18
+ XML, and back again."
19
+
10
20
  ## [1.0.1] - 2026-12-03
11
21
 
12
22
  ### Security
@@ -45,6 +55,7 @@ First release.
45
55
  provenance, publishes the package on PyPI once the repository is public, and creates the
46
56
  GitHub release.
47
57
 
48
- [Unreleased]: https://github.com/ChickenWorks/exploderino/compare/v1.0.1...HEAD
58
+ [Unreleased]: https://github.com/ChickenWorks/exploderino/compare/v1.0.2...HEAD
59
+ [1.0.2]: https://github.com/ChickenWorks/exploderino/compare/v1.0.1...v1.0.2
49
60
  [1.0.1]: https://github.com/ChickenWorks/exploderino/compare/v1.0.0...v1.0.1
50
61
  [1.0.0]: https://github.com/ChickenWorks/exploderino/releases/tag/v1.0.0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: exploderino
3
- Version: 1.0.1
4
- Summary: Explode Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and implode them back.
3
+ Version: 1.0.2
4
+ Summary: Turn Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and back again.
5
5
  Project-URL: Homepage, https://github.com/ChickenWorks/exploderino
6
6
  Project-URL: Documentation, https://github.com/ChickenWorks/exploderino/tree/main/docs
7
7
  Project-URL: Repository, https://github.com/ChickenWorks/exploderino
@@ -42,14 +42,17 @@ Description-Content-Type: text/markdown
42
42
  [![Python versions](https://img.shields.io/pypi/pyversions/exploderino)](https://pypi.org/project/exploderino/)
43
43
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)][license]
44
44
 
45
- Turn documents into ordinary directories of files, and turn those directories back into
46
- working documents.
45
+ Word, Excel, PowerPoint, Visio, OpenDocument, EPUB and XPS files are ZIP archives of XML
46
+ underneath. Unzipping one is easy; getting back a document that still opens after you edit it
47
+ is not. exploderino unpacks a document into an ordinary directory, indents the XML only where
48
+ that can't change the text, keeps signed parts byte for byte, and records everything needed
49
+ to rebuild the archive: part order, compression and timestamps.
47
50
 
48
- Word, Excel, PowerPoint, Visio, OpenDocument, EPUB and XPS files are ZIP archives of XML,
49
- images and other parts. exploderino unpacks them into a directory with readable, indented
50
- XML, so other tools can work on the parts directly: `grep`, `sed`, `git diff`, `jq`, XML
51
- processors, linters, scripts or AI agents. When you're done, it packs the directory back into
52
- a valid document. With no edits, every part comes back with exactly the same content.
51
+ Edit the parts with any tool you like, such as `grep`, `sed`, `git diff`, XSLT, a script or an
52
+ AI agent, and exploderino packs them back into a valid document. `exploderino verify` checks,
53
+ before you rely on it, that an unedited round trip gives back every part's content unchanged.
54
+ exploderino isn't a document editor: it doesn't update the cross-references between parts, so
55
+ keeping them consistent after structural edits is up to you (see [limitations][limitations]).
53
56
 
54
57
  ```
55
58
  deck.pptx ──explode──▶ deck.pptx.exploded/
@@ -82,8 +85,6 @@ hard part:
82
85
  - **Documents from elsewhere can be hostile.** exploderino rejects path traversal,
83
86
  decompression bombs and XML entity attacks, and never runs macros.
84
87
 
85
- `exploderino verify` proves the round trip for any document before you build on it.
86
-
87
88
  ## Features
88
89
 
89
90
  - **Readable parts:** XML is indented for reading, diffing and editing; images, fonts and
@@ -225,6 +226,7 @@ exploderino is licensed under the [Apache License 2.0][license]. Copyright 2026
225
226
  [guide]: https://github.com/ChickenWorks/exploderino/blob/main/docs/guide.md
226
227
  [how]: https://github.com/ChickenWorks/exploderino/blob/main/docs/how-it-works.md
227
228
  [license]: https://github.com/ChickenWorks/exploderino/blob/main/LICENSE
229
+ [limitations]: https://github.com/ChickenWorks/exploderino/blob/main/docs/how-it-works.md#limitations
228
230
  [makefile]: https://github.com/ChickenWorks/exploderino/blob/main/docs/makefile.md
229
231
  [safety]: https://github.com/ChickenWorks/exploderino/blob/main/docs/safety.md
230
232
  [sbom]: https://github.com/ChickenWorks/exploderino/blob/main/docs/sbom.md
@@ -5,14 +5,17 @@
5
5
  [![Python versions](https://img.shields.io/pypi/pyversions/exploderino)](https://pypi.org/project/exploderino/)
6
6
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)][license]
7
7
 
8
- Turn documents into ordinary directories of files, and turn those directories back into
9
- working documents.
10
-
11
- Word, Excel, PowerPoint, Visio, OpenDocument, EPUB and XPS files are ZIP archives of XML,
12
- images and other parts. exploderino unpacks them into a directory with readable, indented
13
- XML, so other tools can work on the parts directly: `grep`, `sed`, `git diff`, `jq`, XML
14
- processors, linters, scripts or AI agents. When you're done, it packs the directory back into
15
- a valid document. With no edits, every part comes back with exactly the same content.
8
+ Word, Excel, PowerPoint, Visio, OpenDocument, EPUB and XPS files are ZIP archives of XML
9
+ underneath. Unzipping one is easy; getting back a document that still opens after you edit it
10
+ is not. exploderino unpacks a document into an ordinary directory, indents the XML only where
11
+ that can't change the text, keeps signed parts byte for byte, and records everything needed
12
+ to rebuild the archive: part order, compression and timestamps.
13
+
14
+ Edit the parts with any tool you like, such as `grep`, `sed`, `git diff`, XSLT, a script or an
15
+ AI agent, and exploderino packs them back into a valid document. `exploderino verify` checks,
16
+ before you rely on it, that an unedited round trip gives back every part's content unchanged.
17
+ exploderino isn't a document editor: it doesn't update the cross-references between parts, so
18
+ keeping them consistent after structural edits is up to you (see [limitations][limitations]).
16
19
 
17
20
  ```
18
21
  deck.pptx ──explode──▶ deck.pptx.exploded/
@@ -45,8 +48,6 @@ hard part:
45
48
  - **Documents from elsewhere can be hostile.** exploderino rejects path traversal,
46
49
  decompression bombs and XML entity attacks, and never runs macros.
47
50
 
48
- `exploderino verify` proves the round trip for any document before you build on it.
49
-
50
51
  ## Features
51
52
 
52
53
  - **Readable parts:** XML is indented for reading, diffing and editing; images, fonts and
@@ -188,6 +189,7 @@ exploderino is licensed under the [Apache License 2.0][license]. Copyright 2026
188
189
  [guide]: https://github.com/ChickenWorks/exploderino/blob/main/docs/guide.md
189
190
  [how]: https://github.com/ChickenWorks/exploderino/blob/main/docs/how-it-works.md
190
191
  [license]: https://github.com/ChickenWorks/exploderino/blob/main/LICENSE
192
+ [limitations]: https://github.com/ChickenWorks/exploderino/blob/main/docs/how-it-works.md#limitations
191
193
  [makefile]: https://github.com/ChickenWorks/exploderino/blob/main/docs/makefile.md
192
194
  [safety]: https://github.com/ChickenWorks/exploderino/blob/main/docs/safety.md
193
195
  [sbom]: https://github.com/ChickenWorks/exploderino/blob/main/docs/sbom.md
@@ -56,7 +56,7 @@ embedded document.
56
56
  ```json
57
57
  {
58
58
  "tool": "exploderino",
59
- "tool_version": "1.0.1",
59
+ "tool_version": "1.0.2",
60
60
  "manifest_version": 1,
61
61
  "source": { "name": "deck.pptx", "size": 12325221, "sha256": "6638…" },
62
62
  "format": "zip",
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "exploderino"
7
- version = "1.0.1"
8
- description = "Explode Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and implode them back."
7
+ version = "1.0.2"
8
+ description = "Turn Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and back again."
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
11
11
  license-files = ["LICENSE", "NOTICE"]
@@ -1,6 +1,6 @@
1
- """Explode documents into directories of readable files and implode them back."""
1
+ """Turn Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and back again."""
2
2
 
3
- __version__ = "1.0.1"
3
+ __version__ = "1.0.2"
4
4
 
5
5
  from .core import (
6
6
  DEFAULT_MAX_SIZE,
@@ -43,8 +43,9 @@ def _size(text: str) -> int:
43
43
  def _build_parser() -> argparse.ArgumentParser:
44
44
  parser = argparse.ArgumentParser(
45
45
  prog="exploderino",
46
- description="Explode documents (docx, xlsx, pptx, odt, epub, xps, ...) into directories and "
47
- "implode them back. Without a command, documents are exploded and exploded directories imploded.",
46
+ description="Turn Office, OpenDocument, EPUB and XPS documents into directories of readable "
47
+ "XML, and back again. Without a command, documents are exploded and exploded directories "
48
+ "imploded.",
48
49
  # Abbreviations like --js would stop the default command from being inserted
49
50
  allow_abbrev=False,
50
51
  )
@@ -401,7 +401,7 @@ wheels = [
401
401
 
402
402
  [[package]]
403
403
  name = "exploderino"
404
- version = "1.0.1"
404
+ version = "1.0.2"
405
405
  source = { editable = "." }
406
406
  dependencies = [
407
407
  { name = "lxml" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes