I have a small and easy project with no DB interactions for which I don’t have free resources except the small linux VPS (vServer) 128MB RAM machine. Feeling adventures I want to try to implement this project in python.
Will it be possible? If so what setup (webserver, framework and so on) I have to choose?
I’m reading files from file-system and displaying their content in a beautiful way. Also diffs between the files and couple of similar things… No file upload from the users, all textfiles are pre-made.
I would go with a micro framework like bottle or flask.
Edit: You probably don’t want to use django if you are looking for light. Django is a full stack framework and if you don’t need database interaction I would seriously look into one of the above CherryPy or web.py.
Honestly I think that you should go with bottle. It is a single file and its memory usage is very low.
This will allow you to have python and bottle installed and you can read those files easily and serve content with bottle easily and with very low memory use.
Like I said before web.py, CherryPy, Flask are also good alternatives.