<commit_before>Virginia Circuit Court Search
=======================

Virginia Courts Case Information - Statewide Searches ARE Possible

http://VACircuitCourtSearch.com

Developed at the 2014 [Virginia Coalition for Open Government](http://www.opengovva.org) Annual Conference in Roanoke, VA for journalists who need to run statewide searches on the [Virginia Circuit Court site](http://wasdmz2.courts.state.va.us/CJISWeb/circuit.jsp), but don't have the time to search each district individually.<commit_msg>Add development instructions to README<commit_after>Virginia Circuit Court Search
=======================

Virginia Courts Case Information - Statewide Searches ARE Possible

http://VACircuitCourtSearch.com

Developed at the 2014 [Virginia Coalition for Open Government](http://www.opengovva.org) Annual Conference in Roanoke, VA for journalists who need to run statewide searches on the [Virginia Circuit Court site](http://wasdmz2.courts.state.va.us/CJISWeb/circuit.jsp), but don't have the time to search each district individually.

## Running Locally

* Make sure you have Python and Pip installed. On OS X, you can use brew to install Python and you get Pip as well.
```
brew install python
```

* Install the requirements
```
pip install -r requirements.txt
```

* Run the server
```
python courts.py
```

* Browse to `http://0.0.0.0:5000/`
{'fraction_non_alphanumeric': 0.11495946941783346, 'fraction_numerical': 0.013264554163596167, 'mean_word_length': 5.117117117117117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, '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': '2575488', 'n_tokens_mistral': 428, 'n_tokens_neox': 361, 'n_words': 149}