semvec/pypi-packages huggingface dataset:
dankcli 0.5.8
CLI Meme Generator to automatically add whitespace and text to top
License: MIT
Keywords: dankcli dank meme memegenerator memes generator pillow dankmemes

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

## Installation

```bash
$ pip install dankcli
```

## Usage

```bash
$ 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)
```bash
$ python -m dankcli "templates/yesbutno.jpg" "Mom at 2am: Are you awake?\n\nMe:"
```
turns this

![](https://i.imgur.com/nW3XPkF.jpg)

to this

![](https://i.imgur.com/h6qgp9m.png)

#### Example 2 (showing auto textwrap)
```bash
$ python -m dankcli "mymemes/helpmeme.jpg" "When you make a meme generator but now you can't stop making memes"
```
turns this

![](https://i.imgur.com/6CDBFwF.jpg)

to this

![](https://i.imgur.com/lSBUfNb.png)
kaptain 0.1.3
A modern SRE tool
License: MIT
Keywords: captain,kubernetes,k8s

# Kaptain

A modern SRE tool.


### Install

```

pip install kaption

```

### Support version

    python 3.5+



### report


report operation to platform, currently it only support slack.


#### pre-config

we need `.git-config` to set user/email. 

```
vi ~/.gitconfig

# add line like this

[kaption]
        slack-channel = https://hooks.slack.com/xxx
        slack-private = https://hooks.slack.com/xxx

```

#### how to

```
kap report "hello world" --private   # send to private channel 

kap report "hello world"             # send to public channel 

```


#### Fetch GCP Log


##### Pre-Requirements

- gcloud cli


```
export KAPTAIN_FETCH_LOG_PROJECT=YOUR-GCP-PROJECT-ID

# preview  
kap fetch-log gcp abc.log  --save-dir=$HOME/Downloads --display --filter=tradebot-prod --date-filter=2019/05/30 --bucket-name=archive-log

# download
kap fetch-log gcp abc.log  --save-dir=$HOME/Downloads --filter=tradebot-prod --date-filter=2019/05/30 --bucket-name=archive-log

```