<commit_before># lcmap-change-worker
worker for initiating change detection jobs, and sending results to the data store

## Usage

## Install
```bash
  # locally
  $ pip install -e.
```
## Configuration

## Developing & Testing
Get the local environment ready for development and testing.
```bash
   $ git clone <EMAIL>:usgs-eros/lcmap-change-worker
   $ cd lcmap-change-worker
   $ virtualenv -p python3 .venv
   $ . .venv/bin/activate
   $ pip install -e .[test]
   $ pip install -e .[dev]
```

Run tests:
```bash
   # the right way
   $ python setup.py test

   # alternatively
   $ pytest
```
## Deploying
<commit_msg>updated readme for running and usage<commit_after># lcmap-change-worker
worker for initiating change detection jobs, and sending results to the data store

## Install
```bash
  # locally
  $ pip install -e.
```

## Usage
```bash
    # change-worker is available following install with pip
    $ change-worker

    # this runs the same script.  
    # Useful to save the pip install -e. step while working on cw.__main__
    python3 -m cw.__main__
```

```python
# same effect as change-worker
from cw import __main__
__main__.main()
```

## Configuration

## Developing & Testing
Get the local environment ready for development and testing.
```bash
   $ git clone <EMAIL>:usgs-eros/lcmap-change-worker
   $ cd lcmap-change-worker
   $ virtualenv -p python3 .venv
   $ . .venv/bin/activate
   $ pip install -e .[test]
   $ pip install -e .[dev]
```

Run tests:
```bash
   # the right way
   $ python setup.py test

   # alternatively
   $ pytest
```
## Deploying

{'fraction_non_alphanumeric': 0.11426767676767677, 'fraction_numerical': 0.001893939393939394, 'mean_word_length': 3.1383812010443863, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2419378', 'n_tokens_mistral': 530, 'n_tokens_neox': 499, 'n_words': 174}