Skip to main content

A tool for batch updating text layers in PSD files using CSV data

Project description

PSD Batch Process

A Python tool for batch updating text layers in Adobe Photoshop files using CSV data.

Features

  • Batch update text layers in multiple PSD files
  • CSV-driven updates with flexible column mapping
  • Automatic text layer detection and matching
  • Comprehensive error handling and logging
  • Support for multiple character encodings

Installation

pip install psd-batch-process

Usage

Command Line

psd-batch-process path/to/your/data.csv

Python API

from psd_batch_process import PsdBatchProcessor

processor = PsdBatchProcessor()
processor.process_csv("path/to/your/data.csv")

CSV Format

Your CSV file should contain:

  • A PhotoshopFile column with paths to PSD files
  • Additional columns matching the names of text layers you want to update

Example:

PhotoshopFile,Name,Cost,Effect
path/to/card1.psd,Card Name,5,Card Effect Text

Requirements

  • Windows OS
  • Adobe Photoshop installed
  • Python 3.7 or higher

Development

To set up the development environment:

git clone https://github.com/yourusername/psd-batch-process
cd psd-batch-process
pip install -e .
pip install -r requirements-dev.txt

To run tests:

pytest tests/

License

MIT License

Project details


Download files

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

Source Distribution

psd_batch_process-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

psd_batch_process-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file psd_batch_process-0.1.0.tar.gz.

File metadata

  • Download URL: psd_batch_process-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for psd_batch_process-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dfecb307f0914ac0ccc1ed083ad0d7bff40b8c142eae1a7ed392f97bb5882477
MD5 e2db27dd3a36ce076e7c612defa6d770
BLAKE2b-256 b249a88a7b6c50983acfe128f333c8fb83bd84edb7e579c2ca0b52ab81a27e7d

See more details on using hashes here.

File details

Details for the file psd_batch_process-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for psd_batch_process-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caa535f427349ec230b84a2ef757f0566992e896625dff5a1ad3a92097bb7a2c
MD5 e55db4cc3c68d1b54b86a3e7c6472f96
BLAKE2b-256 577bf4cfdc34fa6789901dc33aec029da2aa33fc717315ce1895cb8fdab253e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page