<commit_before>{% extends "layout.html" %}
{% block head %}
  {{ super() }}
  <style type=text/css>
    h1 { margin: 0 0 30px 0; background: url(/static/logo.png) no-repeat center; height: 165px; }
    h1 span, p.tagline { display: none; }
  </style>
{% endblock %}
{% block body %}
  <h1><span>Flask</span></h1>
  <p class=tagline>because sometimes a pocket knife is not enough
  <blockquote>
    Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
    And before you ask: It's <a href=docs/license/>BSD licensed</a>!
  </blockquote>
  <h2>Flask is Fun</h2>
  <pre><span class=ig>from flask import Flask
app = Flask(__name__)</span>

@app.route("/")
def hello():
    return "Hello World!"

<span class=ig>if __name__ == "__main__":
    app.run()</span></pre>
  <h2>And Easy to Setup</h2>
  <pre><span class=ig>$ </span>easy_install Flask
<span class=ig>$ </span>python hello.py
<span class=ig> * Running on http://localhost:5000/</span></pre>
  <h2>Interested?</h2>
  <ul>
    <li><a href=docs/>Read the documentation</a>
    <li><a href=mailinglist/>Join the mailinglist</a>
    <li><a href=http://github.com/mitsuhiko/flask>Fork it on github</a>
    <li><a href=http://pypi.python.org/pypi/Flask>Download it from PyPI</a>
  </ul>
  <h2>What’s in the Box?</h2>
  <ul>
    <li>built in development server and <a href=docs/quickstart/#debug-mode>debugger</a>
    <li>integrated support for <a href=docs/testing/>unittesting support</a>
    <li>RESTful <a href=docs/quickstart/#routing>request dispatching</a>
    <li>uses <a href=http://jinja.pocoo.org/2/documentation/templates>Jinja2 templating</a>
    <li>support for <a href=docs/quickstart/#sessions>secure cookies</a> (client side sessions)
    <li>100% <a href=http://www.python.org/dev/peps/pep-0333/>WSGI 1.0</a> compliant
    <li>Unicode based
  </ul>
  <h2>What do Flask Apps look like?</h2>
  <p>
    If you are looking for some example code of applications written with Flask,
    have a look at the sources of the examples on github:
  <ul>
    <li><a href=http://github.com/mitsuhiko/flask/tree/master/examples/flaskr/>flaskr</a>
      — a microblog
    <li><a href=http://github.com/mitsuhiko/flask/tree/master/examples/minitwit/>minitwit</a>
      — a twitter clone
    <li><a href=http://github.com/mitsuhiko/flask/tree/website>this website</a>
      — static pages + mailinglist archvies
  </ul>
  <h2>Contribute</h2>
  <p>Found a bug? Have a good idea for improving Flask? Head over to
    <a href=http://github.com/mitsuhiko/flask>Flask's github</a> page and
    create a new ticket or fork.  If you just want to chat with fellow
    developers, go to <code>#pocoo</code> on irc.freenode.net.

<a href="http://github.com/mitsuhiko/flask"><img style="position: fixed; top: 0; right: 0; border: 0;"
  src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
{% endblock %}<commit_msg>Fixed typo<commit_after>{% extends "layout.html" %}
{% block head %}
  {{ super() }}
  <style type=text/css>
    h1 { margin: 0 0 30px 0; background: url(/static/logo.png) no-repeat center; height: 165px; }
    h1 span, p.tagline { display: none; }
  </style>
{% endblock %}
{% block body %}
  <h1><span>Flask</span></h1>
  <p class=tagline>because sometimes a pocket knife is not enough
  <blockquote>
    Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
    And before you ask: It's <a href=docs/license/>BSD licensed</a>!
  </blockquote>
  <h2>Flask is Fun</h2>
  <pre><span class=ig>from flask import Flask
app = Flask(__name__)</span>

@app.route("/")
def hello():
    return "Hello World!"

<span class=ig>if __name__ == "__main__":
    app.run()</span></pre>
  <h2>And Easy to Setup</h2>
  <pre><span class=ig>$ </span>easy_install Flask
<span class=ig>$ </span>python hello.py
<span class=ig> * Running on http://localhost:5000/</span></pre>
  <h2>Interested?</h2>
  <ul>
    <li><a href=docs/>Read the documentation</a>
    <li><a href=mailinglist/>Join the mailinglist</a>
    <li><a href=http://github.com/mitsuhiko/flask>Fork it on github</a>
    <li><a href=http://pypi.python.org/pypi/Flask>Download it from PyPI</a>
  </ul>
  <h2>What’s in the Box?</h2>
  <ul>
    <li>built in development server and <a href=docs/quickstart/#debug-mode>debugger</a>
    <li>integrated support for <a href=docs/testing/>unittesting support</a>
    <li>RESTful <a href=docs/quickstart/#routing>request dispatching</a>
    <li>uses <a href=http://jinja.pocoo.org/2/documentation/templates>Jinja2 templating</a>
    <li>support for <a href=docs/quickstart/#sessions>secure cookies</a> (client side sessions)
    <li>100% <a href=http://www.python.org/dev/peps/pep-0333/>WSGI 1.0</a> compliant
    <li>Unicode based
  </ul>
  <h2>What do Flask Apps look like?</h2>
  <p>
    If you are looking for some example code of applications written with Flask,
    have a look at the sources of the examples on github:
  <ul>
    <li><a href=http://github.com/mitsuhiko/flask/tree/master/examples/flaskr/>flaskr</a>
      — a microblog
    <li><a href=http://github.com/mitsuhiko/flask/tree/master/examples/minitwit/>minitwit</a>
      — a twitter clone
    <li><a href=http://github.com/mitsuhiko/flask/tree/website>this website</a>
      — static pages + mailinglist archives
  </ul>
  <h2>Contribute</h2>
  <p>Found a bug? Have a good idea for improving Flask? Head over to
    <a href=http://github.com/mitsuhiko/flask>Flask's github</a> page and
    create a new ticket or fork.  If you just want to chat with fellow
    developers, go to <code>#pocoo</code> on irc.freenode.net.

<a href="http://github.com/mitsuhiko/flask"><img style="position: fixed; top: 0; right: 0; border: 0;"
  src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
{% endblock %}
{'fraction_non_alphanumeric': 0.16208838082238525, 'fraction_numerical': 0.016038218734004437, 'mean_word_length': 3.8687707641196014, 'pattern_counts': {'":': 2, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4472006', 'n_tokens_mistral': 2254, 'n_tokens_neox': 2136, 'n_words': 543}