photoshop-object-model-session


Namephotoshop-object-model-session JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryPhotoshop Object Model Session
upload_time2023-12-06 14:31:48
maintainer
docs_urlNone
authorTristan Languebien
requires_python
license
keywords python photoshop
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
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.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "photoshop-object-model-session",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,photoshop",
    "author": "Tristan Languebien",
    "author_email": "<tlanguebien@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/dd/9c/e336f1032a5335914bd72f7e7c3028df2e19dab2c60c28fdcd21545da368/photoshop-object-model-session-0.0.2.tar.gz",
    "platform": null,
    "description": "\r\nThis package is designed to interact with Photoshop using its Component Object Model using python.\r\nthe class PhotoshopSession be used as a context, who handles errors while providing autocompletion, access to docstrings, and accurate type hints in your preferred IDE.\r\n\r\nUsage : \r\n'''python\r\nfrom photoshop_object_model_session import PhotoshopSession\r\n\r\nwith PhotoshopSession() as ps:\r\n    print(ps.Application.Version)\r\n    new_layer = ps.Application.ActiveDocument.ArtLayers.Add()\r\n    new_layer.Name = \"Hello World\"\r\n'''\r\n\r\nAll 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>.\r\nAs such, the code you'll find here isn't very pythonic, because it is based on the Visual Basic syntax.\r\nPlease 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.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Photoshop Object Model Session",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [
        "python",
        "photoshop"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8da10a138a772e796b2ffe2eaee53d66538a9f3fc20bee408b19be9c95b7122c",
                "md5": "7c700378636efb1db02f900560a5cbe2",
                "sha256": "64f50769a722406001f2e9c36e6a56a31abd9689f8511650363a5891d5d2a14b"
            },
            "downloads": -1,
            "filename": "photoshop_object_model_session-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7c700378636efb1db02f900560a5cbe2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4135,
            "upload_time": "2023-12-06T14:31:47",
            "upload_time_iso_8601": "2023-12-06T14:31:47.556201Z",
            "url": "https://files.pythonhosted.org/packages/8d/a1/0a138a772e796b2ffe2eaee53d66538a9f3fc20bee408b19be9c95b7122c/photoshop_object_model_session-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd9ce336f1032a5335914bd72f7e7c3028df2e19dab2c60c28fdcd21545da368",
                "md5": "cb43045579e5ec9bfb1d8915ccb4a158",
                "sha256": "74e8b62ecdf67110bd82767227ac3dbfa3b2fa28b1ce54110597d3ce9bde7168"
            },
            "downloads": -1,
            "filename": "photoshop-object-model-session-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cb43045579e5ec9bfb1d8915ccb4a158",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6174,
            "upload_time": "2023-12-06T14:31:48",
            "upload_time_iso_8601": "2023-12-06T14:31:48.961953Z",
            "url": "https://files.pythonhosted.org/packages/dd/9c/e336f1032a5335914bd72f7e7c3028df2e19dab2c60c28fdcd21545da368/photoshop-object-model-session-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-06 14:31:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "photoshop-object-model-session"
}
        
Elapsed time: 3.56001s