Python SDK and broker contracts for controlling Adobe desktop hosts through UXP and CEP bridges.
Project description
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
adobepyCLI withbroker,doctor,install-bridge, andrepl. - Local JSON-RPC broker with per-session token, target, timeout, and capability gates.
- Python SDK under
adobe.core,adobe.raw,adobe.photoshop,adobe.indesign,adobe.premiere,adobe.after_effects, andadobe.illustrator. - Optional DCC MCP result helpers under
adobe.dcc_mcpfor 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
.pyistub generation, and stub/runtime drift checks. vx just packagedistribution workflow.
Validate everything:
npm install
npm run test:all
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.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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adobepy-0.1.0.tar.gz.
File metadata
- Download URL: adobepy-0.1.0.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89ea7770e4b37bf7826831513e2d650fdee4b51887f524c5d6ff1991b8a3f3ba
|
|
| MD5 |
aa67d837cef39a2cbc9b533ea9afe8eb
|
|
| BLAKE2b-256 |
f2f6270c0d5683e404352cf3cc2572463e52149e6406f60c0601f783a209a441
|
Provenance
The following attestation bundles were made for adobepy-0.1.0.tar.gz:
Publisher:
release.yml on loonghao/adobepy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adobepy-0.1.0.tar.gz -
Subject digest:
89ea7770e4b37bf7826831513e2d650fdee4b51887f524c5d6ff1991b8a3f3ba - Sigstore transparency entry: 1682596943
- Sigstore integration time:
-
Permalink:
loonghao/adobepy@20f68b303947b186a0fb26a6120c2b7f084188cb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/loonghao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@20f68b303947b186a0fb26a6120c2b7f084188cb -
Trigger Event:
release
-
Statement type:
File details
Details for the file adobepy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: adobepy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 46.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cae1de68a4cb33e2abf32cda076ddffb1e65a0fee040d5d3d1e7d8892c699d9d
|
|
| MD5 |
37c24283892596e93b100f36891b740a
|
|
| BLAKE2b-256 |
69967f4a895f6fe22aa9f6cfe74bc7e5584ed16ed542eef712b845c4254c1ab8
|
Provenance
The following attestation bundles were made for adobepy-0.1.0-py3-none-any.whl:
Publisher:
release.yml on loonghao/adobepy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adobepy-0.1.0-py3-none-any.whl -
Subject digest:
cae1de68a4cb33e2abf32cda076ddffb1e65a0fee040d5d3d1e7d8892c699d9d - Sigstore transparency entry: 1682596948
- Sigstore integration time:
-
Permalink:
loonghao/adobepy@20f68b303947b186a0fb26a6120c2b7f084188cb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/loonghao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@20f68b303947b186a0fb26a6120c2b7f084188cb -
Trigger Event:
release
-
Statement type: