CLI Meme Generator to automatically add whitespace and text to top
Project description
dankcli is a CLI Image Captioning Tool or 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" [-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 -f or --filename argument, specifying a file name without the file extension.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dankcli-0.5.8.tar.gz.
File metadata
- Download URL: dankcli-0.5.8.tar.gz
- Upload date:
- Size: 222.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7da90c15e9637ba470948a5966ab5c6ae9eee8d2d004aa6c8e20c5d640d17dcb
|
|
| MD5 |
212e5cae4aa947c05d8885a5a01d32c1
|
|
| BLAKE2b-256 |
bd06cf2bdf279a0bb52b1f09a48d9ffb0df5eec0286ea61ea9fd3caeba0f734f
|
File details
Details for the file dankcli-0.5.8-py3-none-any.whl.
File metadata
- Download URL: dankcli-0.5.8-py3-none-any.whl
- Upload date:
- Size: 222.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a2315c65f8f6a4c8709fe8d2fbce80a6a01bf936e0dbc4b9b4acd047198156c
|
|
| MD5 |
5d33fdff6c6250a736a681c75276d3df
|
|
| BLAKE2b-256 |
03bb2bb4ac9afc438f01b4d31da6fdd35a7971a9a4f0f6d49dda4187246ab6e4
|