<commit_before>Flask JSON-RPC
==============

A basic JSON-RPC implementation for your Flask-powered sites based on `django-json-rpc <https://github.com/samuraisam/django-json-rpc>`_.

Some reasons you might want to use:

* Simple, powerful, flexible and pythoic API.
* The Web browseable API.
* Support for authentication.
* Proxy to test your JSON Service.
* Run-time type checking.
* Extensive documentation, and great community support.

For support python 3.3 or later use the branch `py3k <https://github.com/cenobites/flask-jsonrpc/tree/py3k>`_ (experimental).

There is a live example API for testing purposes, `available here <http://localhost:5000/api/browse>`_.

**Below:** *Screenshot from the browsable API*

.. image:: https://f.cloud.github.com/assets/298350/1575590/203c595a-5150-11e3-99a0-4a6fd9bcbe52.png

Adding Flask JSON-RPC to your application<commit_msg>Adding url browse<commit_after>Flask JSON-RPC
==============

A basic JSON-RPC implementation for your Flask-powered sites based on `django-json-rpc <https://github.com/samuraisam/django-json-rpc>`_.

Some reasons you might want to use:

* Simple, powerful, flexible and pythoic API.
* The Web browseable API.
* Support for authentication.
* Proxy to test your JSON Service.
* Run-time type checking.
* Extensive documentation, and great community support.

For support python 3.3 or later use the branch `py3k <https://github.com/cenobites/flask-jsonrpc/tree/py3k>`_ (experimental).

There is a live example API for testing purposes, `available here <http://flask-jsonrpc.herokuapp.com/api/browse>`_.

**Below:** *Screenshot from the browsable API*

.. image:: https://f.cloud.github.com/assets/298350/1575590/203c595a-5150-11e3-99a0-4a6fd9bcbe52.png

Adding Flask JSON-RPC to your application
{'fraction_non_alphanumeric': 0.12309429700734048, 'fraction_numerical': 0.04517221908526256, 'mean_word_length': 4.643312101910828, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '7072493', 'n_tokens_mistral': 618, 'n_tokens_neox': 558, 'n_words': 175}