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
Metadata
Release files for psd-batch-process 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psd_batch_process-0.1.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psd_batch_process-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / psd_batch_process-0.1.0.tar.gz
| Download URL | psd_batch_process-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfecb307f0914ac0ccc1ed083ad0d7bff40b8c142eae1a7ed392f97bb5882477
|
|
BLAKE2b-256 checksum How to use checksums |
b249a88a7b6c50983acfe128f333c8fb83bd84edb7e579c2ca0b52ab81a27e7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|
Release files / psd_batch_process-0.1.0-py3-none-any.whl
| Download URL | psd_batch_process-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
caa535f427349ec230b84a2ef757f0566992e896625dff5a1ad3a92097bb7a2c
|
|
BLAKE2b-256 checksum How to use checksums |
577bf4cfdc34fa6789901dc33aec029da2aa33fc717315ce1895cb8fdab253e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|