Skip to main content

adobepy

Shared Adobe desktop communication runtime for Python tools and DCC MCP adapters. Python talks to a local Rust broker; Adobe applications run thin UXP or CEP/ExtendScript bridges.

adobepy is intended to be the common Adobe host layer for projects such as dcc-mcp-photoshop and future Adobe adapters. The public Python surface mirrors Adobe's JavaScript DOM where possible, while adding Pythonic aliases for agent and script ergonomics.

Implemented pieces:

  • Rust adobepy CLI with broker, doctor, install-bridge, and repl.
  • python -m adobe helpers (doctor, install-bridge, broker) so a wheel-only install can be diagnosed and can stage a bridge from Python.
  • Local JSON-RPC broker with per-session token, target, timeout, and capability gates.
  • Authenticated, typed broker/host/bridge runtime identity attestation for exact-instance checks by DCC MCP adapters.
  • Bounded Photoshop UXP bootstrap with one-time exact-instance binding and a typed verification continuation; no arbitrary plug-in, command, script, or UI fallback.
  • Bounded Illustrator CEP bootstrap that binds the receipted bridge and selected product process to a one-time claim and fixed adapter verification command.
  • Python SDK under adobe.core, adobe.raw, adobe.photoshop, adobe.indesign, adobe.premiere, adobe.after_effects, and adobe.illustrator.
  • Structured, non-eval access to the complete installed InDesign, Premiere, After Effects, and Illustrator object models.
  • Optional DCC MCP result helpers under adobe.dcc_mcp for adapter skill code.
  • UXP bridge templates for Photoshop, InDesign, and Premiere that dispatch to host APIs and broker raw JavaScript escape hatches.
  • CEP bridge templates for After Effects and Illustrator.
  • IR validation, proxy-aware .pyi stub generation, and stub/runtime drift checks.
  • vx just package distribution workflow.

Validate everything:

npm install
npm run test:all

Bridge bundles under bridges/**/dist are generated artifacts and are not tracked. npm run test:all builds them for local verification; release CI rebuilds them before packaging. Run npm run uxp:build and npm run cep:build before using install-bridge directly from a source checkout.

The distribution name is adobepy and the import name is adobe. The PyPI wheel carries the SDK and the python -m adobe entry point; the broker executable and bridge templates ship in the platform bundle on GitHub Releases. Run python -m adobe doctor to see which parts are present and where to obtain the missing ones.

Installation, standalone use, broker startup, bridge loading, and troubleshooting are documented in install.md.

The full test suite type-checks bridge code, builds and exercises UXP/CEP bundles with mocked host runtimes, validates IR contracts, checks Python coverage, and runs Rust workspace tests.

Python support starts at 3.8. The current SDK wheel is pure Python; any future native Python extension must publish cp38-abi3-* wheels rather than per-minor-version wheels.

Build a redistributable Windows package:

vx just package

The archive is written to dist/adobepy-0.1.0-windows-x64.zip with a sibling SHA256 file. Usage and packaging notes are in docs/usage.md and docs/distribution-contract.md. Architecture boundaries and Adobe API source tracking are documented in docs/architecture.md, docs/api-sources.md, and docs/dcc-mcp-integration.md.

Python facade example:

from adobe.photoshop import Photoshop

app = Photoshop()
for layer in app.activeLayers:
    print(layer.name)

doc = app.activeDocument
doc.selection.select_rectangle({"top": 10, "left": 10, "bottom": 256, "right": 256})
for channel in doc.channels:
    print(channel.name)

text = app.activeText
if text:
    text.set_contents("Hello from Python")
    text.character_style.update(size=36, tracking=20)
    text.paragraph_style.update(justification="center")

layer = app.activeLayer
if layer:
    layer.filters.apply_gaussian_blur(2)
    layer.smart_object.convert_to_smart_object()

doc.exports.jpg_high("C:/renders/demo.jpg")

Metadata

Release files for adobepy 0.11.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 adobepy 0.11.0
File Size Uploaded
adobepy-0.11.0.tar.gz 80.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adobepy 0.11.0
File Interpreter ABI Platform
adobepy-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 169.9 kB

Release files / adobepy-0.11.0.tar.gz

Download URL adobepy-0.11.0.tar.gz
Size 80.2 kB
Tags Source
SHA-256 checksum
How to use checksums
647f45ea6ba6aaf85a00a14ee24e9d80164fdf173a79bce12be1047bf26fabb0
BLAKE2b-256 checksum
How to use checksums
1ce8c8126af14645198ddebafea47689787426c610ed382acfd0b00d45e5ef69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / adobepy-0.11.0-py3-none-any.whl

Download URL adobepy-0.11.0-py3-none-any.whl
Size 89.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
842bc675b6659429949b274d07b67637a25d160cd3c88cdcde775770877443a0
BLAKE2b-256 checksum
How to use checksums
2e592d6838c8591ce856f24c5a5a299f278e4764fa8aa1e428a08485d566ebb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.1.0

2 release files

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