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.
- {exploderino-1.0.1 → exploderino-1.0.2}/CHANGELOG.md +12 -1
- {exploderino-1.0.1 → exploderino-1.0.2}/PKG-INFO +13 -11
- {exploderino-1.0.1 → exploderino-1.0.2}/README.md +12 -10
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/how-it-works.md +1 -1
- {exploderino-1.0.1 → exploderino-1.0.2}/pyproject.toml +2 -2
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/__init__.py +2 -2
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/cli.py +3 -2
- {exploderino-1.0.1 → exploderino-1.0.2}/uv.lock +1 -1
- {exploderino-1.0.1 → exploderino-1.0.2}/.gitignore +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/CODE_OF_CONDUCT.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/CONTRIBUTING.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/LICENSE +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/NOTICE +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/SECURITY.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/README.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/cli.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/formats.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/guide.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/makefile.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/python-api.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/safety.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/sbom.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/docs/troubleshooting.md +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/__main__.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/core.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/formats.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/ole.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/protection.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/py.typed +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/src/exploderino/xmlfmt.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/builders.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/conftest.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_corpus.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_docs.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_formats.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_hardening.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_roundtrip.py +0 -0
- {exploderino-1.0.1 → exploderino-1.0.2}/tests/test_safety.py +0 -0
- {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.
|
|
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.
|
|
4
|
-
Summary:
|
|
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
|
[](https://pypi.org/project/exploderino/)
|
|
43
43
|
[][license]
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
[](https://pypi.org/project/exploderino/)
|
|
6
6
|
[][license]
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "exploderino"
|
|
7
|
-
version = "1.0.
|
|
8
|
-
description = "
|
|
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
|
-
"""
|
|
1
|
+
"""Turn Office, OpenDocument, EPUB and XPS documents into directories of readable XML, and back again."""
|
|
2
2
|
|
|
3
|
-
__version__ = "1.0.
|
|
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="
|
|
47
|
-
"
|
|
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
|
)
|
|
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
|
|
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
|
|
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
|