<commit_before>django-scribbler
===================

django-scribbler is an application for managing snippets of text for a Django website.
Similar projects include django-flatblocks, django-chunks and django-pagelets. This
project attempts to take some of the best concepts from those previous projects as
well as focus on giving the users instant feedback inspired by Bret Victor's
`Inventing on Principle <http://vimeo.com/36579366>`_ talk.

.. image::
    https://secure.travis-ci.org/caktus/django-scribbler.png?branch=master
    :alt: Build Status
        :target: https://secure.travis-ci.org/caktus/django-scribbler


Features
--------------------------------------

- Simple template tag for defining snippet blocks with default text
- Template tag for displaying and editing fields from arbitrary models
- Front-end editing of snippets with the powerful `CodeMirror <http://codemirror.net/>`_ editor
- Live in-place preview of content while editing
- The full power of the Django template language in the snippet blocks
- Python 3 support


Installation
--------------------------------------

django-scribbler requires Django >= 1.3 and Python >= 2.6. Starting with version v0.2
there will be experimental Python 3 support (3.2+). Using Python 3 requires using Django >= 1.5.

To install from PyPi::

    pip install django-scribbler


Documentation
-----------------------------------

Documentation on using django-scribbler is available on
`Read The Docs <http://readthedocs.org/docs/django-scribbler/>`_.<commit_msg>update to current Travis badge & fix Travis link<commit_after>django-scribbler
===================

django-scribbler is an application for managing snippets of text for a Django website.
Similar projects include django-flatblocks, django-chunks and django-pagelets. This
project attempts to take some of the best concepts from those previous projects as
well as focus on giving the users instant feedback inspired by <NAME>'s
`Inventing on Principle <http://vimeo.com/36579366>`_ talk.

.. image:: https://travis-ci.org/caktus/django-scribbler.svg?branch=master
    :alt: Build Status
    :target: https://travis-ci.org/caktus/django-scribbler

Features
--------------------------------------

- Simple template tag for defining snippet blocks with default text
- Template tag for displaying and editing fields from arbitrary models
- Front-end editing of snippets with the powerful `CodeMirror <http://codemirror.net/>`_ editor
- Live in-place preview of content while editing
- The full power of the Django template language in the snippet blocks
- Python 3 support


Installation
--------------------------------------

django-scribbler requires Django >= 1.3 and Python >= 2.6. Starting with version v0.2
there will be experimental Python 3 support (3.2+). Using Python 3 requires using Django >= 1.5.

To install from PyPi::

    pip install django-scribbler


Documentation
-----------------------------------

Documentation on using django-scribbler is available on
`Read The Docs <http://readthedocs.org/docs/django-scribbler/>`_.
{'fraction_non_alphanumeric': 0.15216682958618444, 'fraction_numerical': 0.013685239491691105, 'mean_word_length': 3.066225165562914, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 16, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '7092149', 'n_tokens_mistral': 820, 'n_tokens_neox': 759, 'n_words': 325}