Metadata-Version: 2.4
Name: psd_batch_process
Version: 0.1.0
Summary: A tool for batch updating text layers in PSD files using CSV data
Home-page: https://github.com/yourusername/psd_batch_process
Author: Ocarina
Author-email: Ocarina1024@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pywin32>=306
Requires-Dist: pandas>=2.1.1
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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

```bash
pip install psd-batch-process
```

## Usage

### Command Line

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

### Python API

```python
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:
```csv
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:

```bash
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:

```bash
pytest tests/
```

## License

MIT License
