psdlayer2dirpy
Usage
Binary
Download from Releases.
./psdlayer2dir image.psd -o output/
PyPI
pip3 install aoirint_psdlayer2dirpy
psdlayer2dir image.psd -o output/
Docker
docker pull aoirint/psdlayer2dirpy
docker run --rm -v "$PWD:/work" -w /work aoirint/psdlayer2dirpy image.psd -o output/
Development
This repository uses Poetry.
pyenv + Poetry
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.10.10
pyenv local 3.10.10
poetry env remove python
poetry env use python
poetry install
Format code
poetry run pysen run lint format
Library management
# Add dependency
poetry add {package_name}
poetry add -G dev {package_name}
# Dump `requirements*.txt`
poetry export --without-hashes -o requirements.txt
poetry export --without-hashes --with dev -o requirements-dev.txt
Docker
docker build -t psdlayer2dirpy .
docker run --rm -v "./work:/work" -w /work psdlayer2dirpy image.psd -o output/
Dependencies