Skip to main content

mcruft-photocraft

Inspect PSD/PhotoCraft images and convert PNG, JPEG, PSD and PhotoCraft files through the supported routes. 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-photocraft

Supply photocraft-cli 0.15.1 or later on PATH, or set MCRUFT_PHOTOCRAFT_CLI to its executable path. For a self-contained installation on macOS 11+ with Apple Silicon:

uv pip install 'mcruft-photocraft[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 image.psd in the current directory and its parent directory writable:

import mcruft

report = mcruft.convert("image.psd", "image.png", policy="fidelity")
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

PNG/PDF exports flatten layers. Unsupported PSD effects and Photoshop round trips are not guaranteed. 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-photocraft 1.0.0

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

Source distribution (sdist)

Source distribution for mcruft-photocraft 1.0.0
File Size Uploaded Provenance Actions
mcruft_photocraft-1.0.0.tar.gz 6.4 kB Without provenance Details for mcruft_photocraft-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcruft-photocraft 1.0.0
File Interpreter ABI Platform Actions
mcruft_photocraft-1.0.0-py3-none-any.whl Python 3 none any Details for mcruft_photocraft-1.0.0-py3-none-any.whl

Total release size: 10.1 kB

Release files / mcruft_photocraft-1.0.0.tar.gz

Download URL mcruft_photocraft-1.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e8387b1c9a0bb0c617353db303a6f4a38a38129d2dcf9616ad1a32e7656381c2
BLAKE2b-256 checksum
How to use checksums
845c6370188c381775690980d8ed71f10b079055cea4cd8b2874f53c17be105a
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_photocraft-1.0.0-py3-none-any.whl

Download URL mcruft_photocraft-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bc2ba34f87c0a02dd162139445b9af0b0a88b75303f58baaaffb4bbe09a5ebf
BLAKE2b-256 checksum
How to use checksums
7af68c8fd62eafcad607183d7d72519076d3582fab842ff3ec7608c5df20e38f
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-photocraft 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.

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