views:

123

answers:

2

I am looking for a Python-based alternatives for AutoIndex PHP Script. Preferably it runs under WSGI.

The features of AutoIndex are listed here and there is also a live demo.

Note:
+ I'm not looking for a web server. My shared web hosting doesn't allow me to run my own background process.
+ Neither am I looking for web frameworks (I am OK with using frameworks, it's just that I'm looking for a ready to use web-app instead of writing my own web-app on top of frameworks. if there is none, maybe i should write my own.)

A: 

Pylons and Django are two popular frameworks for Python that use templates, models, pretty url's etc.. They are both open source.

Pylons: http://pylonshq.com/

Django: http://www.djangoproject.com/

They both should do everything you need.

Todd Moses
+2  A: 

Look at this question:

http://stackoverflow.com/questions/252035/what-is-the-best-way-to-serve-static-web-pages-from-within-a-django-app

Use Django with the flatpages app. I cannot be sure, since your comments and your question disagree, but I think this is what you're looking for.

S.Lott