ooxml-integrity 0.3.0__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.
- ooxml_integrity-0.3.0/.gitignore +26 -0
- ooxml_integrity-0.3.0/LICENSE +21 -0
- ooxml_integrity-0.3.0/PKG-INFO +738 -0
- ooxml_integrity-0.3.0/README.md +684 -0
- ooxml_integrity-0.3.0/corpus/base.docx +0 -0
- ooxml_integrity-0.3.0/corpus/deck.pptx +0 -0
- ooxml_integrity-0.3.0/pyproject.toml +58 -0
- ooxml_integrity-0.3.0/research/add_settings.py +122 -0
- ooxml_integrity-0.3.0/research/assert_deck.py +75 -0
- ooxml_integrity-0.3.0/research/build_corpus.py +309 -0
- ooxml_integrity-0.3.0/research/build_pptx_corpus.py +214 -0
- ooxml_integrity-0.3.0/research/calibrate_pptx.py +454 -0
- ooxml_integrity-0.3.0/research/compare_detectors.py +128 -0
- ooxml_integrity-0.3.0/research/compare_renderers.py +112 -0
- ooxml_integrity-0.3.0/research/mutate.py +171 -0
- ooxml_integrity-0.3.0/research/outline_deck.py +83 -0
- ooxml_integrity-0.3.0/research/powerpoint_checklist.py +229 -0
- ooxml_integrity-0.3.0/research/run_experiment.py +152 -0
- ooxml_integrity-0.3.0/runs/README.md +55 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/__init__.py +46 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/cli.py +267 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/fidelity.py +190 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/finding.py +89 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/fonts.py +579 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/inspector.py +423 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/policy.py +290 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/pptx_checks.py +253 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/pptx_layout.py +665 -0
- ooxml_integrity-0.3.0/src/ooxml_integrity/sarif.py +106 -0
- ooxml_integrity-0.3.0/tests/conftest.py +88 -0
- ooxml_integrity-0.3.0/tests/test_agent_runs.py +72 -0
- ooxml_integrity-0.3.0/tests/test_cli.py +152 -0
- ooxml_integrity-0.3.0/tests/test_false_positives.py +114 -0
- ooxml_integrity-0.3.0/tests/test_fidelity.py +186 -0
- ooxml_integrity-0.3.0/tests/test_inspector.py +175 -0
- ooxml_integrity-0.3.0/tests/test_policy.py +310 -0
- ooxml_integrity-0.3.0/tests/test_pptx.py +403 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.pyc
|
|
3
|
+
out/
|
|
4
|
+
/tmp/
|
|
5
|
+
runs/*/work/
|
|
6
|
+
dist/
|
|
7
|
+
build/
|
|
8
|
+
*.egg-info/
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.venv/
|
|
11
|
+
|
|
12
|
+
# Derived from corpus/deck.pptx by research/outline_deck.py - regenerate rather
|
|
13
|
+
# than commit, so there is only one deck that anything is asserted about.
|
|
14
|
+
corpus/deck_outlined.pptx
|
|
15
|
+
POWERPOINT_CHECK*.md
|
|
16
|
+
|
|
17
|
+
# Office owner-lock files, left behind while a document is open
|
|
18
|
+
~$*
|
|
19
|
+
|
|
20
|
+
# Scratch calibration output at the repo root. The versions worth keeping live
|
|
21
|
+
# in docs/calibration/ and are committed deliberately.
|
|
22
|
+
/calib-*.json
|
|
23
|
+
/probe-*.pdf
|
|
24
|
+
|
|
25
|
+
# Generated reports. A baseline is meant to be committed; a SARIF report is not.
|
|
26
|
+
*.sarif
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dmitrii Kovalev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|