<jupyter_start><jupyter_text>Hello World App<jupyter_code>from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
    return 'Hello, World'
app.run()<jupyter_output><empty_output><jupyter_text>(for NIX)  \$ export FLASK_APP=hello.py  (for Windows)  \$ set FLASK_APP=hello.py  \$ flask run   * Running on http://127.0.0.1:5000/<jupyter_code>app.run(host='localhost', port='5001')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16166281755196305, 'fraction_numerical': 0.03233256351039261, 'mean_word_length': 6.482758620689655, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '75330', 'license': 'MIT', 'n_tokens_mistral': 182, 'n_tokens_neox': 168, 'n_words': 28, 'path': 'tutorial-5/flask-1.ipynb', 'repo_name': 'rickiepark/python-tutorial', 'size': '433'}