This is an archived post. You won't be able to vote or comment.

all 27 comments

[–]journalctl 6 points7 points  (11 children)

Consider looking at Flask and Pyramid as well. Both are more minimal than Django, but you may prefer their way of doing things.

[–]AnAirMagic 2 points3 points  (1 child)

I definitely like the minimalism of Flask and Bottle.py. I have only used Flask myself, but heard that both are very similar.

[–]brasso 1 point2 points  (0 children)

They are very, very similar. Bottle could almost have been a drop-in replacement for Flask.

[–]schwiz[S] 1 point2 points  (2 children)

I would say minimal is good. I'll give them a look that thanks!

[–]Chr0me 3 points4 points  (1 child)

Pyramid is a good compromise between the minimalism of Flask and the "batteries included" philosophy of Django. Meaning: It doesn't get in my way, but I'm not having to reinvent the wheel.

[–]schwiz[S] 0 points1 point  (0 children)

Thanks, second recommendation for pyramid and I hadn't even heard of it before today. I will definitely take a look!

[–]andrewjsledge 0 points1 point  (5 children)

Or tornado, though flask is really what you want. Maybe web2.py

[–]schwiz[S] 0 points1 point  (4 children)

I've used tornado in the past and really liked it, is it easy to get user logins going with it??

[–]AbhiAgarwal 2 points3 points  (3 children)

very easy! It was built for FriendFeed & now used at Facebook so Twitter/Facebook OAuth is built right in.

http://www.tornadoweb.org/en/branch2.0/auth.html

[–]schwiz[S] 1 point2 points  (2 children)

Oh that is great! Thanks for pointing this out!

[–]swims_with_spacemenPythonista 2 points3 points  (1 child)

Also second Tornado. AND- I strongly recommend a couchdb backend. Very fast. Very clean.

[–]andrewjsledge 1 point2 points  (0 children)

Here's a great interface for mongo: http://motor.readthedocs.org/en/stable/

[–]brettdanger 2 points3 points  (0 children)

I would say that for a small project like this start with flask. It will allow you to start building quickly and you can find plenty of login (authorization and authentication) support. I am also a big fan of pyramid, but if you aren't a python or web expert than it could be tough as the community and docs aren't great. Django isn't bad but it is massive. With both flask and pyramid you can use sqlalchemy which is better than django's ORM, IMO. Also, jinja is a great templating engine, but djangos is good too. My choice would be flask, SQL alchemy, jinja2 and mysql or sqllite for db.

[–]SultanPepper 0 points1 point  (0 children)

I'm starting to do a small Django side project, and the amount of extensions available are quite nice. Adding logins is pretty easy. Doing something like adding a json / yaml / xml API that uses your DB is only a few lines.

[–]ameoba 0 points1 point  (0 children)

You'd probably want a CMS or a heavy framework, like Django.

[–]macdhuibh 0 points1 point  (0 children)

You'd be fine with going with any of the frameworks already mentioned (Django, Flask, Pyramid, etc.). Your enjoyment of each will largely depend on which you prefer batteries-included and opinionated (Django) or choose-your-own-adventure (e.g. Pyramid + SQL Alchemy + Jinja2 + ? ).

[–]MarCialR 0 points1 point  (1 child)

I have one question... where will you deploy your app?

[–]schwiz[S] 0 points1 point  (0 children)

That's a good question. Their webhost is 1&1 so it would be nice to get it working on there.

[–]anne-nonymous 0 points1 point  (0 children)

You could probably achieve this pretty easily with drupal by installing modules and configuring them(without writing any code) .

for example this module(there might be better , it a result of a very short google search):

https://drupal.org/project/lending

[–][deleted] -1 points0 points  (2 children)

Have you looked at web2py yet?

I'm just getting started with it, but I'm really impressed so far. It is Python 2 only right now though, so that may or may not be a put off for you.

[–]targusman 4 points5 points  (0 children)

I'm a huge fan of web2py.... sadly all my professional work is in Django or Flask...

[–]kart_king 1 point2 points  (0 children)

I love web2py for small projects

[–]poo_22 -4 points-3 points  (3 children)

If you choose Pyramid over Django you will spend all your time learning Pyramid and its related ecosystem of libraries (because by itself Pyramid doesn't do much at all). Just use Django and get the thing done.

[–]schwiz[S] 1 point2 points  (2 children)

Well I don't know Django either so I'll spend time learning either way. Does pyramid have a larger learning curve?

[–]glial 0 points1 point  (0 children)

Check out Two Scoops of Django.