Is there any lightweight mvc webframework which is not necessary to install to the server?
I need something simple, that i could just copy to the shared hosting. And it must handle urls other that localhost/test.py, something like this localhost/Blog/test
Is there any lightweight mvc webframework which is not necessary to install to the
Share
You should probably check out Flask or Bottle, two nice Python microframeworks. With an appropriate “main” Python script (to initialize your app and dispatch requests to it) and
mod_rewriterules in place, you can probably get pretty close to your goal of “just copy[ing] to the shared hosting” with nice URLs.Flask has good documentation on deploying via CGI, which is what you might have to use on your shared host. (If your host supports FastCGI or
mod_wsgi, those deployment options would be preferable.)