PSDファイルのレイヤー構造+画像をディレクトリ構造+PNGとしてダンプするスクリプト
Project description
psdlayer2dirpy
- GitHub: https://github.com/aoirint/psdlayer2dirpy
- PyPI: https://pypi.org/project/aoirint-psdlayer2dirpy/
- Docker Hub: https://hub.docker.com/r/aoirint/psdlayer2dirpy
Usage
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 codes
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
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
Close
Hashes for aoirint_psdlayer2dirpy-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5858953d61cc061cad41f515bb7ec99aa85dc13738d8f5a082e75229acabde |
|
MD5 | 7ec9e5ef259f6e5ce6a3e58f6bfbdac0 |
|
BLAKE2b-256 | da0fa9a142ce5b8ad4357cd0cf97b18e9299d25a76e68ff41965a6de94f3fc42 |
Close
Hashes for aoirint_psdlayer2dirpy-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf181c328a207611db0c1dd798a2b48e2470ff459b7e447ddeeb57636b608d24 |
|
MD5 | cebdfa19c97dba84f77a9b324bc34bfb |
|
BLAKE2b-256 | d2b1c95d9559b48f968dc7fa49cda91d49359dc430ffc1b5bf76f63751908e8c |