Skip to main content

PSDファイルのレイヤー構造+画像をディレクトリ構造+PNGとしてダンプするスクリプト

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aoirint_psdlayer2dirpy-0.1.11.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

aoirint_psdlayer2dirpy-0.1.11-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file aoirint_psdlayer2dirpy-0.1.11.tar.gz.

File metadata

  • Download URL: aoirint_psdlayer2dirpy-0.1.11.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for aoirint_psdlayer2dirpy-0.1.11.tar.gz
Algorithm Hash digest
SHA256 18e09319a9cf265a43b5113b62d5555714b8ae62ac58a863b1e6d11e0056fde7
MD5 943587d83ab53e94e3bc9ddd666e404f
BLAKE2b-256 9ecdada0f5cfc8832f4b143f635f5d586bbaf554eaa0ad186a32a0f2d4841476

See more details on using hashes here.

File details

Details for the file aoirint_psdlayer2dirpy-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for aoirint_psdlayer2dirpy-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 558c5b478954b7ecc36d06524d1d48a8a712cacd395510c9add7d1907ba70cf2
MD5 ad74c885c7d3888254a6c7dd0f9a2f57
BLAKE2b-256 eb5d992a2999a947c5bbb18dc387cd6c7714de28705e6a3d905833f195ad3474

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page