Skip to main content

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

Project description

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

To 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.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aoirint_psdlayer2dirpy-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aoirint_psdlayer2dirpy-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Linux/5.15.0-1034-azure

File hashes

Hashes for aoirint_psdlayer2dirpy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 270963ec009f7478b545c43458a3e98bbd639edacd044ce7cb6fa265cf23773f
MD5 b255a31acaada49c356db150404fe701
BLAKE2b-256 0ddbec08b34a4352f12e75c7abc69d8a67729d1cbdc507546e99e82996f93e9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aoirint_psdlayer2dirpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cdfa948823e3d66846943a6f58cd1cd7d74b80e33dcf1347f1b8b59eb928d5fe
MD5 d06e51ee8e9d9c255edddf29c6a8da3a
BLAKE2b-256 7397a4b42fadffa2ad8bc7a286c0e7d43efa5a9e6352a38b34077a4867d68e69

See more details on using hashes here.

Supported by

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