<commit_before>#!/usr/bin/env python
# Copyright (c) 2008-2010 ActiveState Corp.
# License: MIT (http://www.opensource.org/licenses/mit-license.php)

r"""A small Django app that provides template tags for Markdown using the
python-markdown2 library.

See <http://github.com/trentm/django-markdown-deux> for more info.
"""

__version_info__ = (1, 0, 2)
__version__ = '1.0.1'
__author__ = "<NAME>"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    print "XXX markdown_deux.markdown(style=%r) -> %r" % (style, get_style(style))
    
    return markdown2.markdown(text, **get_style(style))<commit_msg>Fix having ver info written twice (divergence). Makes "mk cut_a_release" ver update work.<commit_after>#!/usr/bin/env python
# Copyright (c) 2008-2010 ActiveState Corp.
# License: MIT (http://www.opensource.org/licenses/mit-license.php)

r"""A small Django app that provides template tags for Markdown using the
python-markdown2 library.

See <http://github.com/trentm/django-markdown-deux> for more info.
"""

__version_info__ = (1, 0, 2)
__version__ = '.'.join(map(str, __version_info__))
__author__ = "<NAME>"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    return markdown2.markdown(text, **get_style(style))
{'fraction_non_alphanumeric': 0.13980137509549273, 'fraction_numerical': 0.023682200152788387, 'mean_word_length': 4.303643724696356, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '3195338', 'n_tokens_mistral': 467, 'n_tokens_neox': 433, 'n_words': 116}