Skip to main content

Python implementation of the JavaScript package 'FumenUtil'

Project description

py-fumen-util

Python implementation of swng's FumenUtil, using py-fumen-py

Dependency

  • py-fumen-py: Python implementation of knewjade's tetris-fumen node module

Installation

python3 -m pip install py-fumen-util

Usage

python3 -m py_fumen_util command [commmand...] file
  • command: Command(s) to execute on the Fumen(s).
  • file: File with Fumen strings, separated with whitespace and/or linebreak. Use "-" to read from standard input.

Commands

ommands are case-insensitive.

Command Description Alias
join Join multiple Fumens into one combine concat
split Split each page into a Fumen
assemble Assemble Fumen placements into one page compile, unglue
disassemble Disassemble each Fumen page into tetrimino placements decompile, glue
gray Gray out the last page of each Fumen grey
grayall Gray out all pages of each Fumen greyall
prune Prune colored minos from the last page of each Fumen
pruneall Prune colored minos from all pages of each Fumen
lock Lock the last page of each Fumen and append a new page
mirror Mirror Fumen pages flip
uncomment Uncomment Fumen pages

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

py_fumen_util-0.3.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

py_fumen_util-0.3.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file py_fumen_util-0.3.1.tar.gz.

File metadata

  • Download URL: py_fumen_util-0.3.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for py_fumen_util-0.3.1.tar.gz
Algorithm Hash digest
SHA256 70fc0b6f952820ef173735077718a9574bbbc1a661cffc9b5404abb4896e9123
MD5 8c04a985b44247de8c8d902935d902ec
BLAKE2b-256 b071f621b0cfbcba01eb4be38b00f0d1dc8fc4cf41fc357f2bb43ab1d4011907

See more details on using hashes here.

File details

Details for the file py_fumen_util-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: py_fumen_util-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for py_fumen_util-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05cf4add64d3d064e66c66b67f3e7988006b03f8762fc3b50cba0cdee20540e1
MD5 cfe19e522930fd2d7b3bab2d15ee1240
BLAKE2b-256 f3880ca96bf3cc912c218c959ee4f9b789d90ff98dc84c67dc934bea73268f14

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