Skip to main content

This package is designed to interact with Photoshop using its Component Object Model using python. the class PhotoshopSession be used as a context, who handles errors while providing autocompletion, access to docstrings, and accurate type hints in your preferred IDE.

Usage : '''python from photoshop_object_model_session import PhotoshopSession

with PhotoshopSession() as ps: print(ps.Application.Version) new_layer = ps.Application.ActiveDocument.ArtLayers.Add() new_layer.Name = "Hello World" '''

All classes have been written based on Photoshop's VBS documentation, which can be found at https://github.com/Adobe-CEP/CEP-Resources/blob/master/Documentation/Product%20specific%20Documentation/Photoshop%20Scripting/photoshop-vbs-ref-2020.pdf. As such, the code you'll find here isn't very pythonic, because it is based on the Visual Basic syntax. Please note that this package may contain inconsistencies, missing return types, and typos. Unfortunately, most of these issues stem from faithfully transcribing Adobes's flawed documentation.

Metadata

Release files for photoshop-object-model-session 0.0.2

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

Source distribution (sdist)

Source distribution for photoshop-object-model-session 0.0.2
File Size Uploaded Provenance Actions
photoshop-object-model-session-0.0.2.tar.gz 6.2 kB Without provenance Details for photoshop-object-model-session-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for photoshop-object-model-session 0.0.2
File Interpreter ABI Platform Actions
photoshop_object_model_session-0.0.2-py3-none-any.whl Python 3 none any Details for photoshop_object_model_session-0.0.2-py3-none-any.whl

Total release size: 10.3 kB

Release files / photoshop-object-model-session-0.0.2.tar.gz

Download URL photoshop-object-model-session-0.0.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
74e8b62ecdf67110bd82767227ac3dbfa3b2fa28b1ce54110597d3ce9bde7168
BLAKE2b-256 checksum
How to use checksums
dd9ce336f1032a5335914bd72f7e7c3028df2e19dab2c60c28fdcd21545da368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / photoshop_object_model_session-0.0.2-py3-none-any.whl

Download URL photoshop_object_model_session-0.0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64f50769a722406001f2e9c36e6a56a31abd9689f8511650363a5891d5d2a14b
BLAKE2b-256 checksum
How to use checksums
8da10a138a772e796b2ffe2eaee53d66538a9f3fc20bee408b19be9c95b7122c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for photoshop-object-model-session 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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