<commit_before># sen

Since I started using docker, I always dreamed of having a docker TUI. Something like [tig](https://github.com/jonas/tig), [htop](http://hisham.hm/htop/) or [alot](https://github.com/pazz/alot). Some appeared over time. Such as [docker-mon](https://github.com/icecrime/docker-mon) or [ctop](https://github.com/yadutaf/ctop). Unfortunately, those are not proper docker TUIs. They are meant for monitoring and diagnostics.

So I realized that if I want make my dream come true, I need to do it myself. That's where I started working on *sen* (*dream* in Slovak).

![sen preview](/data/sen-preview.png)

# Installation

I strongly advise to run `sen` from a docker container. This repository has set up automated builds on docker hub. In case you run into some issue, try pulling latest version before opening issue. At some point, I'll start with releasing and versioning.

```
$ docker run -v /run/docker.sock:/run/docker.sock -ti -e TERM=$TERM tomastomecek/sen
```


## git

`sen` is a python 3 only project. I recommend using at least python 3.4.

```<commit_msg>Readme: Quantified code badge <commit_after># sen

[![Code Issues](https://www.quantifiedcode.com/api/v1/project/5282fc57c1094698b39071d98c76cdb6/badge.svg)](https://www.quantifiedcode.com/app/project/5282fc57c1094698b39071d98c76cdb6)

Since I started using docker, I always dreamed of having a docker TUI. Something like [tig](https://github.com/jonas/tig), [htop](http://hisham.hm/htop/) or [alot](https://github.com/pazz/alot). Some appeared over time. Such as [docker-mon](https://github.com/icecrime/docker-mon) or [ctop](https://github.com/yadutaf/ctop). Unfortunately, those are not proper docker TUIs. They are meant for monitoring and diagnostics.

So I realized that if I want make my dream come true, I need to do it myself. That's where I started working on *sen* (*dream* in Slovak).

![sen preview](/data/sen-preview.png)

# Installation

I strongly advise to run `sen` from a docker container. This repository has set up automated builds on docker hub. In case you run into some issue, try pulling latest version before opening issue. At some point, I'll start with releasing and versioning.

```
$ docker run -v /run/docker.sock:/run/docker.sock -ti -e TERM=$TERM tomastomecek/sen
```


## git

`sen` is a python 3 only project. I recommend using at least python 3.4.

```
{'fraction_non_alphanumeric': 0.11668070766638584, 'fraction_numerical': 0.02232518955349621, 'mean_word_length': 4.289532293986637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6999192', 'n_tokens_mistral': 809, 'n_tokens_neox': 729, 'n_words': 288}