<commit_before># The Grand Tour - Python
A set of example applications that will add word/definition pairs to a database running on Compose.

This repo contains the apps written in Python 3.6.0 and uses Flask. It is intended to run locally, for example and experimentation purposes only.

## Running the Example
To run from the command-line:
  * navigate to the example-<_db_> directory 
  * export your Compose connection string as an environment variable
  * set the flask app variable: `export FLASK_APP=example-<_db_>.py`
  * and then: `flask run`

The application will be served on 127.0.0.1:5000 and can be opened in a browser.<commit_msg>Fix for example names<commit_after># The Grand Tour - Python
A set of example applications that will add word/definition pairs to a database running on Compose.

This repo contains the apps written in Python 3.6.0 and uses Flask. It is intended to run locally, for example and experimentation purposes only.

## Running the Example
To run from the command-line:
  * navigate to the example-<_db_> directory 
  * export your Compose connection string as an environment variable
  * set the flask app variable: `export FLASK_APP=<_db_>-example.py`
  * and then: `flask run`

The application will be served on 127.0.0.1:5000 and can be opened in a browser.
{'fraction_non_alphanumeric': 0.060092449922958396, 'fraction_numerical': 0.020030816640986132, 'mean_word_length': 4.154761904761905, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5115969', 'n_tokens_mistral': 368, 'n_tokens_neox': 340, 'n_words': 186}