Skip to main content

npm version License: Apache

JoDe

JOb DEsign elements — non-visual Job class, enums, and utilities.

Installation

npm install @mat3ra/jode

Python

pip install mat3ra-jode

Create a job from a WoDe workflow and a MADE material, then render explicitly:

from mat3ra.jode import Job

job = Job.create_from_workflow(
    workflow,
    material,
    _project={"_id": "project-id"},
    compute={"queue": "D", "nodes": 1, "ppn": 1, "timeLimit": "01:00:00"},
)
job.render()
job_json = job.to_json()

The factory keeps the ordinary Pydantic constructor and accepts additional job configuration as keyword arguments. Rendering delegates to WoDe; execution belongs to a job runtime. It does not change the supplied workflow.

For workflow.isMultiMaterial, pass an ordered list of materials (or one material). The factory binds the list with set_materials() and rendering passes both the primary material and the full list to WoDe. As in JavaScript, a single-material workflow uses the first material when given a list. Empty lists fail.

Live materials are private and excluded from serialization. _material contains a single entity reference when available; _materials contains the ordered references only when every material has an ID, avoiding a partial list that changes indexing. After loading JSON, call set_material() or set_materials() before rendering again. WoDe supports QE SCF rendering; STANDATA's pw_scf_volume_scaled flavor handles material-index selection. The ordinary pw_scf flavor is unchanged. Unsupported providers and geometry raise errors.

Python rendering requires mat3ra-wode>=2026.10.22.post0, the published release of WoDe #169. WoDe uses the published utils 2026.10.22.post0 and STANDATA 2026.10.22.post1 releases.

Metadata

Release files for mat3ra-jode 2026.10.22.post0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mat3ra-jode 2026.10.22.post0
File Size Uploaded Provenance Actions
mat3ra_jode-2026.10.22.post0.tar.gz 119.6 kB Without provenance Details for mat3ra_jode-2026.10.22.post0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mat3ra-jode 2026.10.22.post0
File Interpreter ABI Platform Actions
mat3ra_jode-2026.10.22.post0-py3-none-any.whl Python 3 none any Details for mat3ra_jode-2026.10.22.post0-py3-none-any.whl

Total release size: 125.2 kB

Release files / mat3ra_jode-2026.10.22.post0.tar.gz

Download URL mat3ra_jode-2026.10.22.post0.tar.gz
Size 119.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05536a00eaae9ad7bfd7d7ec1cbeca01d0d6011101cb678226cc45654936c138
BLAKE2b-256 checksum
How to use checksums
db99b0d0417f388c09897995ef8a77d3ab0d74386115acef2ef54a206ada4e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/9.0.1 pkginfo/1.13.3 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.70.1 CPython/3.10.13

Release files / mat3ra_jode-2026.10.22.post0-py3-none-any.whl

Download URL mat3ra_jode-2026.10.22.post0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6646ac10284b89d9b89fbf4cfb7b448b3d79e1a57bbdc89866107ac910296635
BLAKE2b-256 checksum
How to use checksums
ca19f2493a98e4c22805c8b775410af1096251fee261d6084575514ed076d12f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/9.0.1 pkginfo/1.13.3 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.70.1 CPython/3.10.13

Security for mat3ra-jode 2026.10.22.post0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page