<commit_before>#!/usr/bin/python
# -*- coding: utf8 -*-
import os
from flask import Flask, g, request, send_from_directory, render_template, abort, make_response
from flask.ext.babel import Babel, gettext

app = Flask(__name__, static_url_path='/static')
app.config['BABEL_DEFAULT_LOCALE'] = 'sk'
app.jinja_options = {'extensions': ['jinja2.ext.with_', 'jinja2.ext.i18n']}
babel = Babel(app)

LOGO_PYCON = 'images/logo/pycon.svg'
LOGO_MEETUP_BA = 'images/logo/bratislava_logo.svg'

LANGS = ('en', 'sk')
SITEMAP = {
    'sitemap.xml': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2015-12-18T10:53:24+00:00'},
    'index.html': {'prio': '1', 'freq': 'daily', 'lastmod': '2016-01-22T10:24:12+00:00'},
    'sponsoring.html': {'prio': '0.9', 'freq': 'weekly', 'lastmod': '2015-10-26T22:05:00+00:00'},
    'sponsors.html': {'prio': '0.9', 'freq': 'weekly', 'lastmod': '2015-12-18T10:24:12+00:00'},
    'speaking.html': {'prio': '0.9', 'freq': 'weekly', 'lastmod': '2015-10-26T22:05:00+00:00'},
    'speakers.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2015-10-31T23:45:00+00:00'},
    'schedule-friday.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'schedule-saturday.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'schedule-sunday.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'tickets.html': {'prio': '1', 'freq': 'daily', 'lastmod': '2016-01-22T22:00:05+00:00'},
    'getting-here.html': {'prio': '0.75', 'freq': 'weekly', 'lastmod': '2016-01-18T12:00:05+00:00'},
    'django-girls.html': {'prio': '0.66', 'freq': 'weekly', 'lastmod': '2015-12-21T00:42:45+00:00'},
    'spy.html': {'prio': '0.75', 'freq': 'monthly', 'lastmod': '2015-09-10T20:00:00+00:00'},
    'code-of-conduct.html': {'prio': '0.75', 'freq': 'monthly', 'lastmod': '2015-09-10T20:00:00+00:00'},
    'pod-zastitou-prezidenta-slovenskej-republiky.html': {'prio': '0.9', 'freq': 'monthly', 'lastmod': '2016-02-18T19:00:00+00:00'},
    'meetup.html': {'prio': '0.6', 'freq': 'weekly', 'lastmod': '2015-12-18T10:53:24+00:00'},
    'ba-01-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-06-29T20:06:00+00:00'},
    'ba-02-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-07-26T20:07:00+00:00'},
    'ba-03-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-08-26T20:08:00+00:00'},
    'ba-04-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-09-26T20:09:00+00:00'},
    'ba-05-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-10-26T20:10:00+00:00'},
    'ba-06-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-11-11T11:11:11+00:00'},
    'ba-07-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-01-17T12:22:22+00:00'},
    'ba-08-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-01-18T10:53:24+00:00'},
    'console.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-02-05T11:11:11+00:00'},
    'thank-you.html': {'prio': '0.1', 'freq': 'yearly', 'lastmod': '2015-07-10T20:00:00+00:00'},
}
LDJSON = {
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": "PyCon SK",
    "url": "https://pycon.sk",
    "logo": "https://pycon.sk/static/images/pycon_sk_logo200_notext.png",
    "sameAs": [
      "https://facebook.com/pyconsk",
      "https://twitter.com/pyconsk",
      "https://www.linkedin.com/company/spy-o--z-",
      "https://github.com/pyconsk",
      "https://pyconsk.slack.com"<commit_msg>Updated sitemap<commit_after>#!/usr/bin/python
# -*- coding: utf8 -*-
import os
from flask import Flask, g, request, send_from_directory, render_template, abort, make_response
from flask.ext.babel import Babel, gettext

app = Flask(__name__, static_url_path='/static')
app.config['BABEL_DEFAULT_LOCALE'] = 'sk'
app.jinja_options = {'extensions': ['jinja2.ext.with_', 'jinja2.ext.i18n']}
babel = Babel(app)

LOGO_PYCON = 'images/logo/pycon.svg'
LOGO_MEETUP_BA = 'images/logo/bratislava_logo.svg'

LANGS = ('en', 'sk')
SITEMAP = {
    'sitemap.xml': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2015-12-18T10:53:24+00:00'},
    'index.html': {'prio': '1', 'freq': 'daily', 'lastmod': '2016-01-22T10:24:12+00:00'},
    'tickets.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2016-01-22T22:00:05+00:00'},
    'speakers.html': {'prio': '0.9', 'freq': 'daily', 'lastmod': '2015-10-31T23:45:00+00:00'},
    'sponsors.html': {'prio': '0.9', 'freq': 'weekly', 'lastmod': '2015-12-18T10:24:12+00:00'},
    'code-of-conduct.html': {'prio': '0.9', 'freq': 'monthly', 'lastmod': '2015-09-10T20:00:00+00:00'},
    'schedule-friday.html': {'prio': '0.8', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'schedule-saturday.html': {'prio': '0.8', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'schedule-sunday.html': {'prio': '0.8', 'freq': 'daily', 'lastmod': '2016-02-22T23:45:00+00:00'},
    'pod-zastitou-prezidenta-slovenskej-republiky.html': {'prio': '0.8', 'freq': 'monthly', 'lastmod': '2016-02-18T19:00:00+00:00'},
    'spy.html': {'prio': '0.75', 'freq': 'monthly', 'lastmod': '2015-09-10T20:00:00+00:00'},
    'getting-here.html': {'prio': '0.75', 'freq': 'weekly', 'lastmod': '2016-01-18T12:00:05+00:00'},
    'django-girls.html': {'prio': '0.66', 'freq': 'weekly', 'lastmod': '2015-12-21T00:42:45+00:00'},
    'meetup.html': {'prio': '0.6', 'freq': 'weekly', 'lastmod': '2015-12-18T10:53:24+00:00'},
    'ba-01-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-06-29T20:06:00+00:00'},
    'ba-02-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-07-26T20:07:00+00:00'},
    'ba-03-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-08-26T20:08:00+00:00'},
    'ba-04-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-09-26T20:09:00+00:00'},
    'ba-05-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-10-26T20:10:00+00:00'},
    'ba-06-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2015-11-11T11:11:11+00:00'},
    'ba-07-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-01-17T12:22:22+00:00'},
    'ba-08-meetup.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-01-18T10:53:24+00:00'},
    'console.html': {'prio': '0.2', 'freq': 'monthly', 'lastmod': '2016-02-05T11:11:11+00:00'},
    'thank-you.html': {'prio': '0.1', 'freq': 'yearly', 'lastmod': '2015-07-10T20:00:00+00:00'},
    'speaking.html': {'prio': '0.1', 'freq': 'weekly', 'lastmod': '2015-10-26T22:05:00+00:00'},
    'sponsoring.html': {'prio': '0.1', 'freq': 'weekly', 'lastmod': '2015-10-26T22:05:00+00:00'},
}
LDJSON = {
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": "PyCon SK",
    "url": "https://pycon.sk",
    "logo": "https://pycon.sk/static/images/pycon_sk_logo200_notext.png",
    "sameAs": [
      "https://facebook.com/pyconsk",
      "https://twitter.com/pyconsk",
      "https://www.linkedin.com/company/spy-o--z-",
      "https://github.com/pyconsk",
      "https://pyconsk.slack.com"
{'fraction_non_alphanumeric': 0.2867823388348145, 'fraction_numerical': 0.15404147270418958, 'mean_word_length': 4.8353909465020575, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, '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': '1591246', 'n_tokens_mistral': 3787, 'n_tokens_neox': 3193, 'n_words': 478}