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
PhotoshopFilecolumn 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfecb307f0914ac0ccc1ed083ad0d7bff40b8c142eae1a7ed392f97bb5882477
|
|
| MD5 |
e2db27dd3a36ce076e7c612defa6d770
|
|
| BLAKE2b-256 |
b249a88a7b6c50983acfe128f333c8fb83bd84edb7e579c2ca0b52ab81a27e7d
|
File details
Details for the file psd_batch_process-0.1.0-py3-none-any.whl.
File metadata
- Download URL: psd_batch_process-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa535f427349ec230b84a2ef757f0566992e896625dff5a1ad3a92097bb7a2c
|
|
| MD5 |
e55db4cc3c68d1b54b86a3e7c6472f96
|
|
| BLAKE2b-256 |
577bf4cfdc34fa6789901dc33aec029da2aa33fc717315ce1895cb8fdab253e8
|