exploderino 1.0.1__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/.gitignore +20 -0
- exploderino-1.0.1/CHANGELOG.md +50 -0
- exploderino-1.0.1/CODE_OF_CONDUCT.md +83 -0
- exploderino-1.0.1/CONTRIBUTING.md +157 -0
- exploderino-1.0.1/LICENSE +202 -0
- exploderino-1.0.1/NOTICE +2 -0
- exploderino-1.0.1/PKG-INFO +232 -0
- exploderino-1.0.1/README.md +195 -0
- exploderino-1.0.1/SECURITY.md +41 -0
- exploderino-1.0.1/docs/README.md +18 -0
- exploderino-1.0.1/docs/cli.md +152 -0
- exploderino-1.0.1/docs/formats.md +89 -0
- exploderino-1.0.1/docs/guide.md +198 -0
- exploderino-1.0.1/docs/how-it-works.md +115 -0
- exploderino-1.0.1/docs/makefile.md +84 -0
- exploderino-1.0.1/docs/python-api.md +68 -0
- exploderino-1.0.1/docs/safety.md +40 -0
- exploderino-1.0.1/docs/sbom.md +30 -0
- exploderino-1.0.1/docs/troubleshooting.md +41 -0
- exploderino-1.0.1/pyproject.toml +89 -0
- exploderino-1.0.1/src/exploderino/__init__.py +27 -0
- exploderino-1.0.1/src/exploderino/__main__.py +3 -0
- exploderino-1.0.1/src/exploderino/cli.py +188 -0
- exploderino-1.0.1/src/exploderino/core.py +857 -0
- exploderino-1.0.1/src/exploderino/formats.py +128 -0
- exploderino-1.0.1/src/exploderino/ole.py +74 -0
- exploderino-1.0.1/src/exploderino/protection.py +135 -0
- exploderino-1.0.1/src/exploderino/py.typed +0 -0
- exploderino-1.0.1/src/exploderino/xmlfmt.py +270 -0
- exploderino-1.0.1/tests/builders.py +313 -0
- exploderino-1.0.1/tests/conftest.py +46 -0
- exploderino-1.0.1/tests/test_corpus.py +36 -0
- exploderino-1.0.1/tests/test_docs.py +85 -0
- exploderino-1.0.1/tests/test_formats.py +307 -0
- exploderino-1.0.1/tests/test_hardening.py +320 -0
- exploderino-1.0.1/tests/test_roundtrip.py +237 -0
- exploderino-1.0.1/tests/test_safety.py +350 -0
- exploderino-1.0.1/tests/test_xmlfmt.py +230 -0
- exploderino-1.0.1/uv.lock +1278 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.pytest_cache/
|
|
5
|
+
dist/
|
|
6
|
+
*.exploded/
|
|
7
|
+
examples/
|
|
8
|
+
.DS_Store
|
|
9
|
+
.claude/
|
|
10
|
+
.smoke/
|
|
11
|
+
sbom/.work/
|
|
12
|
+
build/
|
|
13
|
+
*.py[cod]
|
|
14
|
+
.coverage
|
|
15
|
+
.coverage.*
|
|
16
|
+
htmlcov/
|
|
17
|
+
.mypy_cache/
|
|
18
|
+
.env
|
|
19
|
+
.vscode/
|
|
20
|
+
.idea/
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to exploderino are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this
|
|
6
|
+
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.0.1] - 2026-12-03
|
|
11
|
+
|
|
12
|
+
### Security
|
|
13
|
+
|
|
14
|
+
- The Docker image installs lxml 6.2.1 (was 6.2.0), which fixes crashes in `iterparse()` and
|
|
15
|
+
`XMLPullParser` that the security fixes in lxml 6.2.0 missed. exploderino parses with
|
|
16
|
+
`etree.fromstring()` and uses neither, so this is a precaution.
|
|
17
|
+
|
|
18
|
+
## [1.0.0] - 2026-12-02
|
|
19
|
+
|
|
20
|
+
First release.
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- `exploderino` command with `explode`, `implode`, `verify` and `auto`. With no command, each
|
|
25
|
+
path decides the action: documents are exploded and exploded directories are imploded.
|
|
26
|
+
- Support for Word, Excel, PowerPoint, Visio, OpenDocument, EPUB and XPS files, with the format
|
|
27
|
+
detected from file content. Legacy OLE files (`.doc`, `.xls`, `.ppt` and others) can be
|
|
28
|
+
exploded read-only with the `[ole]` extra.
|
|
29
|
+
- Reversible pretty-printing of XML parts, and exact round trips of unedited documents,
|
|
30
|
+
including part order, compression methods, timestamps and the archive comment.
|
|
31
|
+
- `--recursive` to explode embedded documents in place.
|
|
32
|
+
- Detection of encrypted, DRM-protected, obfuscated and digitally signed content. Signed
|
|
33
|
+
documents keep a valid signature through an unedited round trip.
|
|
34
|
+
- Protection against hostile input: path traversal, decompression bombs, name collisions, XML
|
|
35
|
+
entity attacks, symbolic links, special files and crafted manifests, and a `--max-size` limit
|
|
36
|
+
on how much a document may unpack to.
|
|
37
|
+
- `--json` output and a typed Python API: `explode`, `implode`, `verify`, `read_manifest` and
|
|
38
|
+
`DEFAULT_MAX_SIZE`.
|
|
39
|
+
- Docker image, built from `uv.lock`, that runs as a non-root user.
|
|
40
|
+
- Makefile with help, run, Docker, SBOM and development targets.
|
|
41
|
+
- CycloneDX SBOM of the runtime dependencies, also shipped in the Docker image, and SPDX and
|
|
42
|
+
CycloneDX SBOMs of the whole image.
|
|
43
|
+
- A release workflow, started by pushing a version tag, that publishes a Docker image for
|
|
44
|
+
linux/amd64 and linux/arm64 at `ghcr.io/chickenworks/exploderino` with an SBOM and build
|
|
45
|
+
provenance, publishes the package on PyPI once the repository is public, and creates the
|
|
46
|
+
GitHub release.
|
|
47
|
+
|
|
48
|
+
[Unreleased]: https://github.com/ChickenWorks/exploderino/compare/v1.0.1...HEAD
|
|
49
|
+
[1.0.1]: https://github.com/ChickenWorks/exploderino/compare/v1.0.0...v1.0.1
|
|
50
|
+
[1.0.0]: https://github.com/ChickenWorks/exploderino/releases/tag/v1.0.0
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
* Public or private harassment
|
|
24
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement through the [ChickenWorks GitHub profile](https://github.com/ChickenWorks). All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
+
|
|
41
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
+
|
|
43
|
+
## Enforcement Guidelines
|
|
44
|
+
|
|
45
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
46
|
+
|
|
47
|
+
### 1. Correction
|
|
48
|
+
|
|
49
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
50
|
+
|
|
51
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
52
|
+
|
|
53
|
+
### 2. Warning
|
|
54
|
+
|
|
55
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
56
|
+
|
|
57
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
58
|
+
|
|
59
|
+
### 3. Temporary Ban
|
|
60
|
+
|
|
61
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
62
|
+
|
|
63
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
64
|
+
|
|
65
|
+
### 4. Permanent Ban
|
|
66
|
+
|
|
67
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
68
|
+
|
|
69
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
70
|
+
|
|
71
|
+
## Attribution
|
|
72
|
+
|
|
73
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
74
|
+
|
|
75
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
76
|
+
|
|
77
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
78
|
+
|
|
79
|
+
[homepage]: https://www.contributor-covenant.org
|
|
80
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
81
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
82
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
83
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Contributing to exploderino
|
|
2
|
+
|
|
3
|
+
Thanks for helping improve exploderino. This guide covers reporting problems, setting up a
|
|
4
|
+
checkout, the checks a change must pass, and how releases are made. Everyone taking part is
|
|
5
|
+
expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
6
|
+
|
|
7
|
+
## Reporting bugs and requesting features
|
|
8
|
+
|
|
9
|
+
Search the [issues](https://github.com/ChickenWorks/exploderino/issues) first, then open a new
|
|
10
|
+
one with the bug report or feature request template. Don't attach confidential documents: a
|
|
11
|
+
small file you can share, or a description of the document's structure, is enough.
|
|
12
|
+
|
|
13
|
+
Report security problems privately, as described in [SECURITY.md](SECURITY.md), not in an
|
|
14
|
+
issue.
|
|
15
|
+
|
|
16
|
+
## Getting started
|
|
17
|
+
|
|
18
|
+
You need [uv](https://docs.astral.sh/uv/) and GNU Make. Docker is only needed for the image and
|
|
19
|
+
SBOM targets.
|
|
20
|
+
|
|
21
|
+
Fork the repository on GitHub, then:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/<your-account>/exploderino.git
|
|
25
|
+
cd exploderino
|
|
26
|
+
uv sync # creates .venv with the dev dependencies
|
|
27
|
+
make check # lint, format check and tests
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`make help` lists every target, and [docs/makefile.md](docs/makefile.md) describes them.
|
|
31
|
+
|
|
32
|
+
## Making a change
|
|
33
|
+
|
|
34
|
+
1. Create a branch from `main`. For a large change, open an issue first to agree on the
|
|
35
|
+
approach.
|
|
36
|
+
2. Make the change, with tests. Most behavior is covered by `tests/test_roundtrip.py`,
|
|
37
|
+
`tests/test_formats.py` and `tests/test_safety.py`; hostile or malformed input belongs in
|
|
38
|
+
`test_safety.py`.
|
|
39
|
+
3. Run `make check`. CI runs the same checks on Python 3.9 to 3.15, builds the package and the
|
|
40
|
+
Docker image, and must pass before merging.
|
|
41
|
+
4. Update the docs:
|
|
42
|
+
- `README.md` or the pages in `docs/` for any change to behavior, options, output or
|
|
43
|
+
messages. `tests/test_docs.py` fails if a CLI option or supported extension is
|
|
44
|
+
undocumented, or a link between the Markdown files breaks.
|
|
45
|
+
- `CHANGELOG.md`, under **Unreleased**, in [Keep a Changelog](https://keepachangelog.com/)
|
|
46
|
+
style.
|
|
47
|
+
5. Open a pull request and fill in the template.
|
|
48
|
+
|
|
49
|
+
### Style
|
|
50
|
+
|
|
51
|
+
- Code is formatted and linted with ruff (`make format`, `make lint`); the rules are in
|
|
52
|
+
`pyproject.toml`.
|
|
53
|
+
- The code must run on Python 3.9, so use `from __future__ import annotations` for newer type
|
|
54
|
+
syntax, and avoid newer standard-library features. `make test-oldest` checks this.
|
|
55
|
+
- Keep the only required runtime dependency `lxml`. Anything else must be optional, like the
|
|
56
|
+
`[ole]` extra.
|
|
57
|
+
- Treat every input as untrusted: documents being exploded and directories being imploded.
|
|
58
|
+
Errors a user can cause should raise `ExploderinoError` with a message that names the file.
|
|
59
|
+
- Commit messages: a short imperative summary line, a blank line, then what changed and why.
|
|
60
|
+
|
|
61
|
+
### Test documents
|
|
62
|
+
|
|
63
|
+
Don't commit real documents. They may be confidential, and the tests generate everything they
|
|
64
|
+
need with python-docx, python-pptx, openpyxl and odfpy, or build packages from the specs in
|
|
65
|
+
`tests/builders.py`. To check against your own documents locally, use the opt-in corpus test.
|
|
66
|
+
|
|
67
|
+
### Dependencies
|
|
68
|
+
|
|
69
|
+
After changing dependencies in `pyproject.toml`, run `uv lock` and `make sbom`, and commit
|
|
70
|
+
`uv.lock` and `sbom/exploderino.cdx.json` together with the change. Dependabot proposes
|
|
71
|
+
updates monthly.
|
|
72
|
+
|
|
73
|
+
## Development
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
uv sync # .venv with the dev dependencies
|
|
77
|
+
uv run pytest # test suite
|
|
78
|
+
uv run --isolated --python 3.9 pytest # oldest supported Python, in a throwaway environment
|
|
79
|
+
uv run ruff check . # lint
|
|
80
|
+
uv run ruff format --check . # formatting (drop --check to apply)
|
|
81
|
+
make check # all three, through the Makefile
|
|
82
|
+
|
|
83
|
+
# Optional: round-trip every document in a directory, or listed in a file (one path per line)
|
|
84
|
+
EXPLODERINO_CORPUS=~/Documents uv run pytest tests/test_corpus.py
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The dev dependencies (python-docx, python-pptx, openpyxl, odfpy, msoffcrypto-tool, olefile)
|
|
88
|
+
generate real Word, PowerPoint, Excel, OpenDocument and password-protected test files. EPUB,
|
|
89
|
+
XPS, `.xlsb` and signed packages are built from the specs in `tests/builders.py`.
|
|
90
|
+
|
|
91
|
+
| Path | Purpose |
|
|
92
|
+
|---|---|
|
|
93
|
+
| `src/exploderino/cli.py` | Argument parsing, auto-detection, output |
|
|
94
|
+
| `src/exploderino/core.py` | Explode, implode and verify for ZIP containers; manifest; safety checks |
|
|
95
|
+
| `src/exploderino/xmlfmt.py` | Reversible indent and condense, the round-trip check, declarations |
|
|
96
|
+
| `src/exploderino/formats.py` | Format registry, detection, content types |
|
|
97
|
+
| `src/exploderino/protection.py` | Encrypted, obfuscated and signed parts |
|
|
98
|
+
| `src/exploderino/ole.py` | Read-only OLE stream extraction |
|
|
99
|
+
| `tests/test_xmlfmt.py` | Pretty-printing, whitespace rules, the round-trip check |
|
|
100
|
+
| `tests/test_roundtrip.py` | Generated Word, Excel and PowerPoint round trips; CLI |
|
|
101
|
+
| `tests/test_formats.py` | OpenDocument, EPUB, XPS, `.xlsb`, encryption, signatures |
|
|
102
|
+
| `tests/test_safety.py` | Damaged, hostile and unusual input |
|
|
103
|
+
| `tests/test_hardening.py` | Hostile and malformed input: names, size limits, implode input, verify, CLI |
|
|
104
|
+
| `tests/test_docs.py` | Keeps the README and `docs/` in sync with the code (formats, options, links) |
|
|
105
|
+
| `tests/test_corpus.py` | Optional round trip of real documents |
|
|
106
|
+
| `tests/builders.py` | Spec-based builders for test packages |
|
|
107
|
+
| `docs/` | User documentation |
|
|
108
|
+
| `Dockerfile`, `Makefile` | Container image; build, run, test and SBOM targets |
|
|
109
|
+
| `sbom/exploderino.cdx.json` | CycloneDX SBOM, regenerated by `make sbom` |
|
|
110
|
+
| `.github/workflows/ci.yml` | CI: lint, tests on Python 3.9 to 3.15, package and Docker builds |
|
|
111
|
+
| `.github/workflows/release.yml` | Publishes a tagged release to PyPI, GHCR and GitHub Releases |
|
|
112
|
+
|
|
113
|
+
## Licensing of contributions
|
|
114
|
+
|
|
115
|
+
exploderino is licensed under the [Apache License 2.0](LICENSE). Unless you state otherwise,
|
|
116
|
+
any contribution you submit is licensed under the same terms, as section 5 of the license
|
|
117
|
+
describes.
|
|
118
|
+
|
|
119
|
+
## Releasing
|
|
120
|
+
|
|
121
|
+
Versions follow [Semantic Versioning](https://semver.org/), and [CHANGELOG.md](CHANGELOG.md)
|
|
122
|
+
lists the changes in each release. The version is set in `pyproject.toml` and
|
|
123
|
+
`src/exploderino/__init__.py`, and each release is a Git tag `vX.Y.Z`.
|
|
124
|
+
|
|
125
|
+
### One-time setup
|
|
126
|
+
|
|
127
|
+
1. On PyPI, add a [trusted publisher](https://docs.pypi.org/trusted-publishers/) for the
|
|
128
|
+
project `exploderino` (before the first release, a "pending publisher"): owner
|
|
129
|
+
`ChickenWorks`, repository `exploderino`, workflow `release.yml`, environment `pypi`.
|
|
130
|
+
PyPI then accepts uploads from that workflow without an API token.
|
|
131
|
+
2. Optionally, in the repository's **Settings → Environments**, add required reviewers to the
|
|
132
|
+
`pypi` environment, so that each release waits for approval before it is published.
|
|
133
|
+
3. After the first release, check in the package settings on GitHub that the
|
|
134
|
+
`exploderino` container image is public and linked to the repository.
|
|
135
|
+
|
|
136
|
+
### Each release
|
|
137
|
+
|
|
138
|
+
1. Update the version in both files, and run `uv lock`, `make sbom` and
|
|
139
|
+
`make rebuild sbom-image` (the image SBOMs record the version).
|
|
140
|
+
2. In `CHANGELOG.md`, rename the Unreleased section to the new version and date, start a new
|
|
141
|
+
empty Unreleased section, and update the comparison links at the bottom.
|
|
142
|
+
3. Commit, then tag and push:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
git tag -a vX.Y.Z -m "exploderino X.Y.Z"
|
|
146
|
+
git push origin main --follow-tags
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
4. The tag starts the [Release workflow](.github/workflows/release.yml). It runs CI, then
|
|
150
|
+
publishes the package to PyPI and the Docker image to `ghcr.io`, and creates a GitHub
|
|
151
|
+
release whose notes are the version's changelog section. While the repository is private,
|
|
152
|
+
the PyPI step is skipped, because PyPI is always public; the image and the GitHub release
|
|
153
|
+
are private like the repository.
|
|
154
|
+
|
|
155
|
+
If the workflow fails before the PyPI upload, fix the problem, move the tag to the fixed
|
|
156
|
+
commit and push it again. PyPI never accepts the same version twice, so after a successful
|
|
157
|
+
upload, release a new patch version instead.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 Chicken Works
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
exploderino-1.0.1/NOTICE
ADDED