Metadata-Version: 1.0
Name: importd
Version: 0.1.3
Summary: a django based miniframework, inspired by sinatra
Home-page: http://amitu.com/importd/
Author: Amit Upadhyay
Author-email: upadhyay@gmail.com
License: BSD
Description: ('What is it?\n===========\n\nDjango is awesome, but starting a new project in it is a pain. importd is\ninspired from ruby\'s sinatra. Hello world django project:\n\n.. code-block:: python\n\n from importd import d\n d(DEBUG=True)\n\n @d("/")\n def idx(request):\n    return "index.html" \n\n @d("/post/<int:post_id">/")\n def post(request, post_id):\n    return "post.html", {"post_id": post_id}\n\nTo run it:\n\n.. code::\n\n  $ python foo.py\n\nThis will start the debug server. \n\nTo run it in production:\n\n.. code::\n\n  $ gunicorn foo:d\n\nAn example app: https://github.com/amitu/importd/blob/master/foo.py\n\nFeatures\n========\n\n * fully compatible with django\n * supports smarturls\n * most of regularly used django functions and classes available in d.\n   namespace, eg d.HttpResponse, d.render_to_response, d.get_object_or_404 etc\n * automatically maps "templates" folder in foo.py directory to serve templates\n * automatically maps "static" folder in foo.py to serve static content\n * management commands still available: $ python foo.py shell\n * wsgi compliant\n * gunicorn support\n * works seamlessly with fhurl (http://packages.python.org/fhurl/)\n\nInstallation\n============\n\n.. code::\n\n $ easy_install importd\n\nDocumentation\n=============\n\ndocs: http://amitu.com/importd/\n\nToDo/Known Issues\n=================\n\n * figure our whats going on with double imports\n * figure out whats going on when gunicorn exits\n',)
Platform: UNKNOWN
