CLI Meme Generator to automatically add whitespace and text to top
dankcli is a CLI Image Captioning Tool or Meme Generator which automatically adds white space and text to the top of your image.
$ pip install dankcli
$ python -m dankcli "path/to/image" "Meme text you want to add" [-f "final_image_name_without_extension"]
The text gets automatically wrapped according to width of image but you can also have intentional \n in your text.
The image is saved in the current folder with the name as the current date and time, the name can be changed with the optional
--filename argument, specifying a file name without the file extension.
Example 1 (showing \n functionality)
$ python -m dankcli "templates/yesbutno.jpg" "Mom at 2am: Are you awake?\n\nMe:"
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"
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size dankcli-0.5.8-py3-none-any.whl (222.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size dankcli-0.5.8.tar.gz (222.0 kB)||File type Source||Python version None||Upload date||Hashes View|