<commit_before>docs: http://packages.python.org/amitu.d/ (coming soon)

Features
========

 * minimal app: https://github.com/amitu/amitu.d/blob/master/foo.py
 * run debug server: $ python foo.py
 * management commands still available: $ python foo.py shell
 * gunicorn support: $ gunicorn foo:d
 * easier url construction eg "/edit/<int:id>/" instead of "^edit/(?P<id>\d+)/$"
 
ToDo
====

 * figure our whats going on with double imports
 * figure out whats going on when gunicorn exits<commit_msg>some readme changes<commit_after>What is it?
===========

Django is awesome, but starting a new project in it is a pain. amitu.d is inspired from ruby's sinatra. Hello world django project:

 from amitu import d
 d(DEBUG=True)

 @d("/")
 def idx(request):
    return "index.html"

 @d("/post/<int:post_id">/")
 def post(request, post_id):
	   return "post.html", {"post_id": post_id}
	
Features
========

 * minimal app: https://github.com/amitu/amitu.d/blob/master/foo.py
 * run debug server: $ python foo.py
 * automatically maps "templates" folder in foo.py directory to serve templates
 * automatically maps "static" folder in foo.py to serve static content
 * management commands still available: $ python foo.py shell
 * gunicorn support: $ gunicorn foo:d
 * works seamlessly with fhurl (http://packages.python.org/fhurl/)
 * easier url construction eg "/edit/<int:id>/" instead of "^edit/(?P<id>\d+)/$"
 
Installation
============
 
 $ easy_install amitu.d

Documentation
=============

docs: http://packages.python.org/amitu.d/ (coming soon) 

ToDo
====

 * figure our whats going on with double imports
 * figure out whats going on when gunicorn exits
{'fraction_non_alphanumeric': 0.1525015069318867, 'fraction_numerical': 0.0, 'mean_word_length': 4.1234567901234565, 'pattern_counts': {'":': 1, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '3766072', 'n_tokens_mistral': 530, 'n_tokens_neox': 505, 'n_words': 172}