Search code examples
pythonmodel-view-controllerlibrariesdomain-modeldatabase-abstraction

What are good python libraries for the following needs?


What are good python libraries for the following needs:

  • MVC
  • Domain Abstraction
  • Database Abstraction
  • Video library (just to create thumbnails)

I already know that SQLAlchemy is really good for Database Abstraction so don't bother with it unless you want to suggest a better one.

Edit: This might seem stupid to mention but I'm talking about MVC for GUI and not for web, just mentioning for clarification

Edit: Also does the MVC part contain GUI part or can I use a separate library for GUI like PyQt


Solution

  • Have you tried wxWidgets (well, wxPython in fact)?

    It has nice documentation (which is always a good thing), and allows creating code in MVC manner. It's just the GUI library, but allows some simple image manipulation (if it's not good enough for you try using Python version of ImageMagick). It uses native controls, so the application looks native on the OS it's being ran.

    PyQt on the other hand has even better docs than wxWidgets or wxPython, but I could never get used to the look&feel of its GUI (it's custom, so it doesn't look native on any OS). Because riverbankcomputing couldn't agree with nokia on a license nokia started a project called PySide which is a LGPL version of the Qt-bindings. It's supposed to be finished in early 2010.