<commit_before>AppKit
============

    Desktop application framework based on Webkit, HTML5, CSS3, Javascript and Python

Now **AppKit** is on it's very early state. It's developed on fedora 17 & Gnome Desktop,  
However, It could be compatible with Ubuntu 12.04 and so on.

"AppKit" will be a framework for desktop application powered by `WebKit <http://www.webkit.org/>`_ engine, which means we can bring web technology such as HTML5, CSS3, Javascript and Web browser engine to desktop.

The main goal for now is to focus on library API which is inspired by `Flask <http://flask.pocoo.org/>`_ :). Application based on AppKit should be easy to write & combined with other libraries ( `Bootstrap <http://twitter.github.com/bootstrap/>`_, `AngularJS <http://angularjs.org/>`_, `Jinja2 <http://jinja.pocoo.org/docs/>`_ or whatever that you can think of :P )

Target Platforms
----------------
Linux

Installation
------------
Use Python `pip` command::

    $ pip install git+git://github.com/nitipit/appkit.git


Quick Start
-----------
example::

    #!/usr/bin/env python

    from appkit.app import App

    app = App(__file__)


    @app.route('^/$')
    def home():
        return '<a href="/test/Hello/World/" />Link</a>'


    @app.route('/test/(.+)/(.+)/')
    def test(text1=None, text2=None):
        return ('<h1>' + text1 + ' ' + text2 + '</h1>', 'text/html')

    app.run()

.. image:: https://raw.github.com/nitipit/appkit/master/docs/1.png
.. image:: https://raw.github.com/nitipit/appkit/master/docs/2.png

Application using AppKit
--------------------
`Markdo <https://github.com/nitipit/markdo/>`_ is a Gnome Application that use AppKit to make Gnome Application

.. image:: https://raw.github.com/nitipit/markdo/master/doc/fedora-screenshot.png
    :width: 400px<commit_msg>Update README.rst<commit_after>AppKit
============

    Gnome desktop application framework based on Webkit, HTML5, CSS3, Javascript and Python

"AppKit" will be a framework for gnome desktop application powered by `WebKit <http://www.webkit.org/>`_ engine, which means we can bring web technology such as HTML5, CSS3, Javascript and Web browser engine to desktop.

Target Platforms
----------------
Linux

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

PyPI (Release version)
~~~~~~~~~~~~~~~~~~~~~~

::

    $ pip install appkit

Git
~~~~~~~~~~~
::

    $ pip install git+git://github.com/nitipit/appkit.git


Quick Start
-----------
example::

    #!/usr/bin/env python

    from appkit.api.v0_2_4 import App

    app = App(__file__)


    @app.route('^/$')
    def home():
        return '<a href="/test/Hello/World/" />Link</a>'


    @app.route('/test/(.+)/(.+)/')
    def test(text1=None, text2=None):
        return ('<h1>' + text1 + ' ' + text2 + '</h1>', 'text/html')

    app.run()

.. image:: https://raw.github.com/nitipit/appkit/master/docs/1.png
.. image:: https://raw.github.com/nitipit/appkit/master/docs/2.png
{'fraction_non_alphanumeric': 0.19075543290789929, 'fraction_numerical': 0.012763021731631597, 'mean_word_length': 2.9671682626538987, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 6, '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': '3243957', 'n_tokens_mistral': 967, 'n_tokens_neox': 902, 'n_words': 269}