Live data from Hacker News

Python on Wheels

pythononwheels.org

1–10 of 44 posts

Re: Python on Wheels

#4
I haven't found anything much simpler than web.py for putting together a simple python web service, but I'm open to seeing something new.

Are there any example projects?

Re: Python on Wheels

#7
I'm not sure what the author was thinking when writing this framework but it appears that he/she forgot everything about writing sane code. Below is a list of the things that stand out.

1. There's no sane directory structure, instead most of it is just dropped in a single directory.

2. How am I supposed to install this? There's no package for it so it seems the only way is to manually copy the repository. You'd think people would actually use the Python package manager.

3. Shebangs are set to `#!C:\Python26\python.exe -u`. This is wrong on so many levels.

4. The code is just...no. Take a look at `generate_controller.py`, if there's anything that's not Pythonic code it's this.

5. A lot of the directory names are hardcoded all over the place, this means that if you ever want to change some of the names (or re-organize them) you'll have to go through all the files and modify them accordingly.

These are just a few of the items I find worth mentioning. The code in general looks very amateuristic and I doubt it solves any problem that isn't already solved by more well developed frameworks such as Flask, Django and so on.

Re: Python on Wheels

#8
post #5
post #4

I haven't found anything much simpler than web.py for putting together a simple python web service, but I'm open to seeing something new. Are there any example projects?

What about Bottle[1]? I love it. [1]: http://bottlepy.org/docs/dev/

Thanks, I'll give 'er a look

Re: Python on Wheels

#10
post #5
post #4

I haven't found anything much simpler than web.py for putting together a simple python web service, but I'm open to seeing something new. Are there any example projects?

What about Bottle[1]? I love it. [1]: http://bottlepy.org/docs/dev/

bottle... flask... PoW... too many micro frameworks?
Post reply on HN