omicos-figure-engine
The scientific figure engine that OmicOS runs in the user's own Python
environment: it executes a matplotlib figure script once, keeps the resulting
Figure objects alive, describes every editable artist in a manifest, applies
semantic overrides (title text, line colour, tick font size, …) and renders
previews and publication exports — all driven by a supervisor over a JSON
line protocol on stdin/stdout (wire protocol v1, see Protocol in the project
URLs).
This distribution is the worker side only of the engine in tavotto-omicos, a modified version of Tavotto. It depends on matplotlib and numpy and nothing else: no Flask, no PyMuPDF, no web assets.
Running
python -m omicos_figure_engine.worker --script fig.py --figures-dir DIR \
--out-dir OUT --sandbox SB --entry __main__
then write one JSON request per line to stdin, e.g.
{{"protocol_version": 1, "request_id": "r1", "cmd": "ping", "payload": {{}}}}.
omicos_figure_engine.worker_path() returns the entry script for supervisors
that spawn python <worker.py> … directly.
Licence
AGPL-3.0-only, unchanged from the base project. LICENSE and
MODIFICATIONS.md (the AGPL §5a statement of modifications) ship inside the
package; the complete corresponding source is the repository above at the
commit recorded in omicos_figure_engine/_build.json.
Release files for omicos-figure-engine 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omicos_figure_engine-0.1.0.tar.gz | 275.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omicos_figure_engine-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 565.2 kB
Release files / omicos_figure_engine-0.1.0.tar.gz
| Download URL | omicos_figure_engine-0.1.0.tar.gz |
|---|---|
| Size | 275.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a94b0f0ab7ae4ea64316986e02e64321ce863c030ba3da73c0c541d78e7f2fcc
|
|
BLAKE2b-256 checksum How to use checksums |
16a6f2cd5d2fa089b66fd1a369bd664e16af9c82a3e4bff777cce5603176142f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.14
|
Release files / omicos_figure_engine-0.1.0-py3-none-any.whl
| Download URL | omicos_figure_engine-0.1.0-py3-none-any.whl |
|---|---|
| Size | 289.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f38cedda5096c8d1b1db277dc5cc227aeb380beb486a635bb0faee28ab80fd4
|
|
BLAKE2b-256 checksum How to use checksums |
cdcc218e9f0d1800f8be94628580a38dc2b60168ce4f8e83d1636431ac26ada1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.14
|