Alex Rivera | Logout

Python web development framework for python 3.1 user

Asked 2010-04-02T03:06:14.063
10

I have been learning python for some time now. While starting this "learning python" endeavor I decided to learn the latest and greatest 3.1 version of python. I regret this decision now because I wanted to try my hands on some of the python web development frameworks & it looks like many of them do not support 3.1 yet & it looks like it might take them years to support the new version of Python especially Django and TurboGears. This is really disappointing. Therefore, SO users, do you have any recommendation for a web framework for me that runs on 3.1 and supports some of the modern (I guess I will never learn ;-)) web framework features like MVC/ORM/URL Routing/Caching etc.

Edit
Report

2 Answers

2

CherryPy 3.2 (still being worked on) will run on Python 3.x

Bottle can also run on Python 3.x after using 2to3 on it. Easy to do and it does work. However, Bottle is not a 'complete framework' but it is easy to use.

Edit:

I have used Bottle in Python 3.1, stackless python 3.1 to be specific, for a game that I am slowly working on. But at work, I am just using Python 2.6 And soon I will be using Webpy.

The site I work on is in PHP, but when I need to add a new feature, that I can easily separate from all the PHP code, I will do it in python. Even though I work with PHP almost everyday and use Python only a few times a month, I still can get things done faster in Python than PHP :)

answered 2010-04-02T15:26:21.657
1

There is ( are) actually a Django port to Py3k.

http://bitbucket.org/loewis/django-3k/

I can also remember quite good of having read a thread about a University project of porting Django to py3k, on the django-developers mailing-list, but I can't find the thread at the moment.

EDIT Oh here it is:

https://bitbucket.org/fiji/django-3k/

The project is lead by students at the University of Toronto. :-)

ENDEDIT

Querying for something like "Django py3k port" brings up some useful results.

Also look at these URLs:

answered 2010-04-02T14:00:20.330

Your Answer