Amnesia 0.2.0

Eases web development by reloading WSGI apps and imported modules before each request

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
1.0/5 1
DEVELOPED BY:
Rafael Carlos Valverde
HOMEPAGE:
rafaelcv.github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
Amnesia reloads modules on-the-fly as an aid for development of WSGI compliant applications. Amnesia is meant to be used like a standalone executable, running on the shell like amnesia mymodule my_wsgi_app or as a WSGI Middleware as follows:

>>> from wsgiref.simple_server import make_server
>>> from amnesia import Amnesia
>>>
>>> my_reloading_app = Amnesia("mymodule", "wsgi_app")
>>>
>>> if __name__ == "__main__":
>>> httpd = make_server("", 8080, my_reloading_app)
>>> print("Running on localhost:8080...")
>>> print("Modify your app and refresh your browser's page.")
>>> httpd.serve_forever()
>>>

Last updated on May 19th, 2010

requirements

#web development #reload WSGI apps #reload modules #WSGI #web #development #reload

Add your review!

SUBMIT