Skip to main content

CLI Meme Generator to automatically add whitespace and text to top

Project description

dankcli

PyPI version

dankcli is a CLI Meme Generator which automatically adds white space and text to the top of your image.

Installation

$ pip install dankcli

Usage

$ python -m dankcli "path/to/image" "Meme text you want to add"

The text gets automatically wrapped according to width of image but you can also have intentional \n in your text. The meme is saved in a new folder called 'dankcli-output' with a name 'meme%s.png'

Example

Example 1 (showing \n functionality)

$ python -m dankcli "templates/yesbutno.jpg" "Mom at 2am: Are you awake?\n\nMe:"

turns this

to this

Example 2 (showing auto textwrap)

$ python -m dankcli "mymemes/helpmeme.jpg" "When you make a meme generator but now you can't stop making memes"

turns this

to this

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

dankcli-0.4.2.tar.gz (221.2 kB view hashes)

Uploaded Source

Built Distribution

dankcli-0.4.2-py3-none-any.whl (222.0 kB view hashes)

Uploaded Python 3

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