<commit_before># qmsk-e2
Encore2 Web Preset Manager

## Depends
* libyaml-dev
* qmsk-dmx (qmsk.web)

## Install

    apt-get install python3 libyaml-dev
    virtualenv -p python3 opt
    ./opt/bin/pip3 install -r requirements.txt

## Config

    mkdir etc

    curl -v http://192.168.0.201/backup-download | tar -C etc -xzv

## Usage

    PYTHONPATH=../qmsk-dmx ./opt/bin/python3 ./qmsk-e2-web \
        --e2-host 192.168.0.201 \
        --e2-presets-xml etc/xml/ \
        --e2-presets-db var/e2.db \
        -v --debug-module qmsk.net.e2.presets
<commit_msg>README: commands<commit_after># qmsk-e2
Encore2 Web Preset Manager

## Depends
* libyaml-dev
* qmsk-dmx (qmsk.web)

## Install

    apt-get install python3 libyaml-dev

    virtualenv -p python3 opt

    ./opt/bin/pip3 install -r requirements.txt

## Config

    mkdir etc

    curl -v http://192.168.0.201/backup-download | tar -C etc -xzv

## Usage
    mkdir var
    
    PYTHONPATH=../qmsk-dmx ./opt/bin/python3 ./qmsk-e2-web \
        --e2-host 192.168.0.201 \
        --e2-presets-xml etc/xml/ \
        --e2-presets-db var/e2.db \
        -v --debug-module qmsk.net.e2.presets

{'fraction_non_alphanumeric': 0.14610673665791776, 'fraction_numerical': 0.05599300087489064, 'mean_word_length': 1.9791666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5639014', 'n_tokens_mistral': 506, 'n_tokens_neox': 459, 'n_words': 95}