mcruft-deckcraft
Convert PPTX and DeckCraft files, export slides as PDF/PNG and build image-based PPTX decks. 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-deckcraft
Supply deckcraft-cli 0.10.0 or later on PATH, or set
MCRUFT_DECKCRAFT_CLI to its executable path. For a self-contained installation
on macOS 11+ with Apple Silicon:
uv pip install 'mcruft-deckcraft[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 talk.pptx in the current directory and its parent directory writable:
import mcruft
report = mcruft.convert("talk.pptx", "talk.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
PDF export may rasterise slide art. Image-based PPTX export preserves appearance but does not create editable slide objects. 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-deckcraft 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_deckcraft-1.0.0.tar.gz | 7.3 kB | Without provenance | Details for mcruft_deckcraft-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcruft_deckcraft-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mcruft_deckcraft-1.0.0-py3-none-any.whl |
Total release size: 11.6 kB
Release files / mcruft_deckcraft-1.0.0.tar.gz
| Download URL | mcruft_deckcraft-1.0.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7f49ae540499c2fed6d45f55220ee7092656693085af9705ca7b03326559e04
|
|
BLAKE2b-256 checksum How to use checksums |
dd8f5b7e35f4f65a380927f8d33828be02c6d2ec1f759f2d63a02fb3d92d46e9
|
| 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_deckcraft-1.0.0-py3-none-any.whl
| Download URL | mcruft_deckcraft-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fab24fb032883fcb6042447498ece3c2072cfdca3a3a19c7c7b3cda77261f699
|
|
BLAKE2b-256 checksum How to use checksums |
52caaa2e4fab8054092f8ef6f8ce4921f829a95bc298dcbed89c733fd09a826a
|
| 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-deckcraft 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.