You can find the complete changelog here.
If you have suggestions, ideas, feature requests, or if you have identified a malfunction or error, then please post an issue.
The Eozilla project welcomes contributions of any form as long as you respect our code of conduct and follow our contribution guide.
If you'd like to submit code or documentation changes, we ask you to provide a pull request (PR) here. For code and configuration changes, your PR must be linked to a corresponding issue.
Before you start, make sure you have pixi installed.
Checkout sources
git clone https://github.com/eo-tools/eozilla.git
cd ./eozilla
Create a new Python environment and activate it:
pixi install
pixi shell
Run local test server (or use shorter command pixi run serve)
wraptile run -- wraptile.services.local.testing:service
The dev mode is useful if you are changing server code:
wraptile dev -- wraptile.services.local.testing:service
Follow the Python API, App, command-line, and result reader guides for runnable examples against this local service.
pixi run format
pixi run checks
checks includes pixi run typecheck, which checks source code and the Cuiman
reader return-type assertions in cuiman/tests/typing/read_job_result.py using
mypy's persistent cache. These static assertions run here rather than in pytest.
pixi run tests
pixi run coverage
Before a release increase version number in root pyproject.toml
then synchronize versions in workspaces tools/pyproject.toml using
pixi run sync-versions
The cuiman package bundles the Eozilla App
to use it as the client GUI.
Eozilla App is a single page web application (SPA) built with React and TypeScript.
For team development, check out its separate Git repository inside the Eozilla
repository at eozilla/eozilla-app/. The repositories remain independent, but
this standard workspace layout lets the app run against the local Eozilla
development service and build into Cuiman:
eozilla/
eozilla-app/
Clone Eozilla (if not already done):
git clone https://github.com/eo-tools/eozilla.git
cd ./eozilla
pixi install
Then, from the Eozilla repository root, clone and install Eozilla App:
git clone https://github.com/eo-tools/eozilla-app.git eozilla-app
cd ./eozilla-app
npm install
If you do not have a process API available, you can run the local test server
for development in another terminal (also within the eozilla-app folder):
npm run eozilla:dev
Note, this is equivalent to running the following command pixi run serve
in the eozilla folder.
Then run the Eozilla App in a browser using the vite dev server:
npm run dev
Once you are done, you can bundle a new app build with the Eozilla Cuiman package:
npm run eozilla:build
Substantial Eozilla App code changes must be reflected in the relevant pages
under docs/eozilla-app/. Keep the overview, service-provider, schema-form,
and dynamic-expression documentation accurate when changes affect those areas.
Some code is generated (see respective file headers)
from an OpenAPI specification in tools/openapi.yaml.
If this file is changed, code need to be regenerated:
pixi run generate
This will generate Eozilla's
- client implementation in
cuiman/src/cuiman/client.pyand CLI documentationdocs/cli.md - Core server routes in
wraptile/src/wraptile/routes/core.pyand the service interface ingavicore/src/gavicore/service/core.py
DRU routes and their application-package response class are maintained in
wraptile/src/wraptile/routes/dru.py.
The Eozilla documentation is built using the mkdocs tool.
With repository root as current working directory:
pixi run build-docs
pixi run serve-docsbuild-docs runs in strict mode locally and in CI. Documentation builds read
maintained Markdown and committed assets; they do not copy, execute, or render
notebooks. Old generated copies under docs/notebooks/ are excluded from the
site. The original files in notebooks/ remain independent historical examples.
Edit the Cuiman user guides in docs/cuiman/guides/. Their Python, shell, and
JSON examples live in examples/guides/cuiman/. Include code with
pymdownx.snippets so that the displayed examples are also checked and tested.
Use named sections instead of line numbers:
# ;--8<-- [start:example-name]
print("Example")
# ;--8<-- [end:example-name]Include a section inside a Markdown code fence:
```python
;--8<-- "examples/guides/cuiman/example.py:example-name"
```Remove the illustrative semicolon from the markers when writing actual snippets. Whole files, such as a JSON request, need no section suffix. Paths resolve from the repository root, and missing files or named sections fail the build. Subsections are dedented for display. Show each helper's call as well as its definition, and link to the complete example source.
Run the standard maintenance commands:
pixi run format
pixi run checks
pixi run test-cuiman
pixi run build-docschecks includes example linting, formatting, and type checking. The guide
tests in cuiman/tests/test_guide_examples.py run offline, use temporary datasets,
and isolate client configuration. Cuiman coverage includes the example source.
For a focused run, use pixi run pytest cuiman/tests/test_guide_examples.py.
Run the scripts manually with the local test service to verify the complete
workflow. Shell recipes are copied individually rather than executed in a batch.
Store guide screenshots in docs/assets/guides/cuiman/, with descriptive names
and alt text. Record capture date, source, and reproduction steps in
examples/guides/cuiman/README.md. Refresh images deliberately when the interface
changes; documentation builds only copy committed images. Review the rendered
guides with pixi run serve-docs, since GitHub previews do not expand snippets.
The documentations of all Eozilla CLIs are generated. After changing any CLI code, always update their respective documentation by running
pixi run gen-cli-docsWhich will output something like the following:
Pixi task (gen-cli-docs): python -m tools.gen_cli_docs
Docs saved to: eozilla/docs/cuiman/cli.md
Docs saved to: eozilla/docs/wraptile/cli.md
Docs saved to: eozilla/docs/procodile/cli.md
Docs saved to: eozilla/docs/appligator/cli.md
Creating a tagged release on GitHub automatically runs the repository's
publish-pypi workflow, which creates packages on PyPI. The publication
of the PyPI packages, in turn, triggers the creation of package update
pull requests in the corresponding conda-forge feedstock repositories.
During the build process, conda-forge tests each package with its current
dependencies, so it's important to merge these PRs in an order corresponding
to the graph of dependencies between eozilla packages. For instance, tests
for procodile 0.1.2 will fail if the corresponding gavicore 0.1.2 package is
not yet published on conda-forge. Merging can be done in four batches:
- gavicore (dependency of everything)
- cuiman and procodile (only depend on gavicore)
- wraptile and appligator (depend on procodile and gavicore)
- eozilla (depends on everything)
After each merge, it takes some time (usually around an hour) for the updated package to become available on conda-forge.
The Eozilla project is open source made available under the terms and conditions of the Apache 2.0 license.