Skip to content

JSchmiegel/pyem2a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyem2a - Emoji to ASCII art (python)

This python script is inspired by em2a by zmwangx.

Dependencies

The following packages need to be installed

  • jp2a (e.g. sudo pacman -S jp2a) (We need at least version 1.1.0 due to the fact that only this version supports also png files.)
  • pip requirements that are listed in ./requirements.txt

Usage

pyem2a supports both raw UTF-8 emojis and :alias:-styled emoji escape sequences used on GitHub and friends. You can pass in one or more strings as arguments, each containing zero or more emojis in either form. Whitespace characters are automatically ignored.

Also, with the argument --color can the art be generated with color.

With the argument --mirror can the resulting ascii emoji mirrored.

Examples

./assets/demo1.gif ./assets/demo2.gif

Releases

No releases published

Packages

No packages published

Languages