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
Release files for dankcli 0.5.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dankcli-0.5.8.tar.gz | 222.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dankcli-0.5.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 444.6 kB
Release files / dankcli-0.5.8.tar.gz
| Download URL | dankcli-0.5.8.tar.gz |
|---|---|
| Size | 222.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7da90c15e9637ba470948a5966ab5c6ae9eee8d2d004aa6c8e20c5d640d17dcb
|
|
BLAKE2b-256 checksum How to use checksums |
bd06cf2bdf279a0bb52b1f09a48d9ffb0df5eec0286ea61ea9fd3caeba0f734f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dankcli-0.5.8-py3-none-any.whl
| Download URL | dankcli-0.5.8-py3-none-any.whl |
|---|---|
| Size | 222.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a2315c65f8f6a4c8709fe8d2fbce80a6a01bf936e0dbc4b9b4acd047198156c
|
|
BLAKE2b-256 checksum How to use checksums |
03bb2bb4ac9afc438f01b4d31da6fdd35a7971a9a4f0f6d49dda4187246ab6e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|