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.
  • 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.
  • 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.

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")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adobepy-0.8.0.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adobepy-0.8.0-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file adobepy-0.8.0.tar.gz.

File metadata

  • Download URL: adobepy-0.8.0.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for adobepy-0.8.0.tar.gz
Algorithm Hash digest
SHA256 1ee9b510f7eaac7f9487483467220d55ba5ce762b17fa5df9f0ad884bf721523
MD5 3aee8b16a06860c85434dbe72e757feb
BLAKE2b-256 093bfedba2eb14150f8763104bcecfb9608c807ee459b55dffb703a8eacb7739

See more details on using hashes here.

Provenance

The following attestation bundles were made for adobepy-0.8.0.tar.gz:

Publisher: release-please.yml on dcc-mcp/adobepy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adobepy-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: adobepy-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for adobepy-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d39942613a9d1c2837f39c12a2d74863217af43fa422744ed6a6d7b3278e859b
MD5 0375d7bd94ce72a24422b739181f32ac
BLAKE2b-256 8e3e3777fab112d5b5d2ebef63b61245d92ef6c114892d2d76a331d6800444bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for adobepy-0.8.0-py3-none-any.whl:

Publisher: release-please.yml on dcc-mcp/adobepy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.1.0

2 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