mcruft-designcraft
Inspect IDML/DesignCraft layouts, convert them to PDF or PPTX and render pages to PNG. This package plugs into the mcruft document API. Use the same Python API across engines and inspect each conversion's loss report.
Install
Python 3.12 or later is required. Install the adapter with:
uv pip install mcruft-designcraft
Supply designcraft-cli 0.12.0 or later on PATH, or set
MCRUFT_DESIGNCRAFT_CLI to its executable path. For a self-contained installation
on macOS 11+ with Apple Silicon:
uv pip install 'mcruft-designcraft[all]'
The bundled extra installs only the CLI bundle; all installs every optional
component for this adapter. Bundles currently have macOS arm64 wheels only and
perform no runtime downloads. On other platforms, install the adapter and supply
a compatible CLI yourself.
Use
With layout.idml in the current directory and its parent directory writable:
import mcruft
report = mcruft.convert("layout.idml", "layout.pdf", policy="editable")
print(report.engine)
print(report.outputs)
print(report.losses)
The router chooses an available engine by operation, format and policy; installing
this adapter does not force every route through it. Inspect the registry with
mcruft.engines().
Choose editable to favour document structure or fidelity to favour appearance.
Routes that cannot honour the requested policy raise UnsupportedRoute.
PNG exports require fidelity and may create numbered files; use report.outputs
to find the actual paths.
Limits and documentation
IDML support does not establish INDD support or full InDesign compatibility. Rendering requires the fonts used by the document. Installing an engine does not promise lossless round trips. The package does not include the desktop editor.
Licence: Apache-2.0. Upstream CLI licences are distributed with the separate binary wheel.
Metadata
Release files for mcruft-designcraft 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| mcruft_designcraft-1.0.0.tar.gz | 6.8 kB | Without provenance | Details for mcruft_designcraft-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcruft_designcraft-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mcruft_designcraft-1.0.0-py3-none-any.whl |
Total release size: 10.9 kB
Release files / mcruft_designcraft-1.0.0.tar.gz
| Download URL | mcruft_designcraft-1.0.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bd31a51f8349c4750e01ca7a54be6572fa950042c2f526f1f71f2d8628d5bb2
|
|
BLAKE2b-256 checksum How to use checksums |
37bbdcf07457241bc221ccf6db57bbcd5152004a82b60e1b5d96ee7a9f0be0cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mcruft_designcraft-1.0.0-py3-none-any.whl
| Download URL | mcruft_designcraft-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce13b780c7ded8cceafbb4417ca4a819a3ec56698c7e830579581ae3eae15e56
|
|
BLAKE2b-256 checksum How to use checksums |
a6b156f88df8e32d50d7a4f53029ad929c6b258baf7ed7f82cb537027586dae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for mcruft-designcraft 1.0.0
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.