Photoshop connection
====================
Python package to remotely execute ExtendScript_ in Adobe Photoshop.
.. _ExtendScript: https://www.adobe.com/devnet/photoshop/scripting.html
.. image:: https://github.com/kyamagu/photoshop-connection/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
:target: https://github.com/kyamagu/photoshop-connection/actions/workflows/ci.yaml
:alt: Build
.. image:: https://readthedocs.org/projects/photoshop-connection/badge/?version=latest
:target: https://photoshop-connection.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/photoshop-connection?color=success
:target: https://pypi.org/project/photoshop-connection/
:alt: PyPI
Prerequisites
-------------
Photoshop must be configured to accept remote connection.
Open the plug-ins dialog from the `Preferences` > `Plug-ins...` menu in
Photoshop, and check `Enable Remote Connections` option. Enter password to the
given field, and click `OK` button and restart Photoshop.
Photoshop must be launched and running for the package to work.
Install
-------
.. code-block:: bash
pip install photoshop-connection
Usage
-----
Example:
.. code-block:: python
from photoshop import PhotoshopConnection
with PhotoshopConnection(password='secret') as conn:
conn.execute('alert("hello")')
jpeg_binary = conn.get_document_thumbnail()
Check out documentation_ for details.
.. _documentation: https://photoshop-connection.readthedocs.io/en/latest/
Raw data
{
"_id": null,
"home_page": "https://github.com/kyamagu/photoshop-connection",
"name": "photoshop-connection",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Kota Yamaguchi",
"author_email": "KotaYamaguchi1984@gmail.com",
"download_url": "",
"platform": null,
"description": "Photoshop connection\n====================\n\nPython package to remotely execute ExtendScript_ in Adobe Photoshop.\n\n.. _ExtendScript: https://www.adobe.com/devnet/photoshop/scripting.html\n\n.. image:: https://github.com/kyamagu/photoshop-connection/actions/workflows/ci.yaml/badge.svg?branch=main&event=push\n :target: https://github.com/kyamagu/photoshop-connection/actions/workflows/ci.yaml\n :alt: Build\n.. image:: https://readthedocs.org/projects/photoshop-connection/badge/?version=latest\n :target: https://photoshop-connection.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n.. image:: https://img.shields.io/pypi/v/photoshop-connection?color=success\n :target: https://pypi.org/project/photoshop-connection/\n :alt: PyPI\n\nPrerequisites\n-------------\n\nPhotoshop must be configured to accept remote connection.\n\nOpen the plug-ins dialog from the `Preferences` > `Plug-ins...` menu in\nPhotoshop, and check `Enable Remote Connections` option. Enter password to the\ngiven field, and click `OK` button and restart Photoshop.\n\nPhotoshop must be launched and running for the package to work.\n\nInstall\n-------\n\n.. code-block:: bash\n\n pip install photoshop-connection\n\nUsage\n-----\n\nExample:\n\n.. code-block:: python\n\n from photoshop import PhotoshopConnection\n\n with PhotoshopConnection(password='secret') as conn:\n conn.execute('alert(\"hello\")')\n jpeg_binary = conn.get_document_thumbnail()\n\nCheck out documentation_ for details.\n\n.. _documentation: https://photoshop-connection.readthedocs.io/en/latest/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python package for Photoshop Connection",
"version": "0.2.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1b90f4b724bf7dcee0d9fc6e3a909693c9ccfd7b06a0c6f3518e46be47b56da1",
"md5": "efa202ee8ccdfff829922d0ea8bf65b2",
"sha256": "48003b006a1ed4455b4c247e2e3844539d933df368adcbf87662f0c570fa0b47"
},
"downloads": -1,
"filename": "photoshop_connection-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "efa202ee8ccdfff829922d0ea8bf65b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 21061,
"upload_time": "2023-02-10T12:02:08",
"upload_time_iso_8601": "2023-02-10T12:02:08.288170Z",
"url": "https://files.pythonhosted.org/packages/1b/90/f4b724bf7dcee0d9fc6e3a909693c9ccfd7b06a0c6f3518e46be47b56da1/photoshop_connection-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-10 12:02:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kyamagu",
"github_project": "photoshop-connection",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "photoshop-connection"
}