<commit_before>Brick ![Build Status](https://secure.travis-ci.org/garindra/brick.png)](https://secure.travis-ci.org/garindra/brick.png)
=====

`brick` is a pure Python block-based templating system. 

###Examples

Let's see some example:
    
    from brick import Block
    from brick.tags import *

    class LikeButton(Block):  
        
        def construct(self):
            b = []

            with Div(class_=['like-btn']).into(b):
                b += A(href="#")("Like")

            return b
    
    like_button = LikeButton()

    like_button.render()
    >> <div class="like-btn"><a href="#">Like</a></div>

###Installation
`brick` is an official PyPi module, so you can use it simply with pip by doing:

    pip install brick

###PyPI Page
[http://pypi.python.org/pypi/brick](http://pypi.python.org/pypi/brick)

###Prerequisites
`pycacher` is currently well tested on Python 2.5, 2.6 and 2.7.

###Run unit tests
If you have the `nose` Python unit tester library installed and want to run the unit test suite for this library, then simply run this command:
    nosetests

###Travis CI
You can track the project's CI status on Travis at : [http://travis-ci.org/#!/garindra/pycacher](http://travis-ci.org/#!/garindra/pycacher)

###License
MIT 2.0

###Inspiration
This library is heavily inspired by the public description of Quora's webnode2 found [here](http://www.quora.com/Shreyes-Seshasai/Posts/Tech-Talk-webnode2-and-LiveNode).

###Authors
- <NAME> (<EMAIL>)<commit_msg>edited a few typos on README [skip ci]<commit_after>Brick [![Build Status](https://secure.travis-ci.org/garindra/brick.png)](https://secure.travis-ci.org/garindra/brick.png)
=====

`brick` is a pure Python block-based templating system. 

###Examples

Let's see some example:
    
    from brick import Block
    from brick.tags import *

    class LikeButton(Block):  
        
        def construct(self):
            b = []

            with Div(class_=['like-btn']).into(b):
                b += A(href="#")("Like")

            return b
    
    like_button = LikeButton()

    like_button.render()
    >> <div class="like-btn"><a href="#">Like</a></div>

###Installation
`brick` is an official PyPi module, so you can use it simply with pip by doing:

    pip install brick

###PyPI Page
[http://pypi.python.org/pypi/brick](http://pypi.python.org/pypi/brick)

###Prerequisites
`pycacher` is currently well tested on Python 2.5, 2.6 and 2.7.

###Run unit tests
If you have the `nose` Python unit tester library installed and want to run the unit test suite for this library, then simply run this command:
    
    nosetests

###Travis CI
You can track the project's CI status on Travis at : [http://travis-ci.org/#!/garindra/pycacher](http://travis-ci.org/#!/garindra/pycacher)

###License
MIT 2.0

###Inspiration
This library is heavily inspired by the public description of Quora's webnode2 found [here](http://www.quora.com/Shreyes-Seshasai/Posts/Tech-Talk-webnode2-and-LiveNode).

###Authors
- <NAME> (<EMAIL>)
{'fraction_non_alphanumeric': 0.14333222480877952, 'fraction_numerical': 0.006651147322913203, 'mean_word_length': 3.2545968882602545, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 4, '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': '4681440', 'n_tokens_mistral': 1042, 'n_tokens_neox': 981, 'n_words': 284}