2

I want to demonstrate that even a fairly large Python webapp actually doesn't take (relatively) much time to get up and running. It currently takes at least 15 minutes to redeploy our existing application (Java on Tomcat).

What I'm looking for:

  • Large (bigger is better, but at least a couple thousand lines)
  • Webapp, preferably Flask, though other micro frameworks or Django or even Tornado et. al are fine.
  • Database access, preferably quite a bit of it
2

One option is Trac. According to cloc:

http://cloc.sourceforge.net v 1.53  T=1.0 s (388.0 files/s, 101003.0 lines/s)
--------------------------------------------------------------------------------
Language                      files          blank        comment           code
--------------------------------------------------------------------------------
Python                          268          12102          18662          54967
HTML                             73            525            770           6113
CSS                              17            256            170           2940
Javascript                       23            216            314           2096
DTD                               1            200            214            564
make                              1            148             90            331
Bourne Shell                      1             12            175             45
Bourne Again Shell                2              4             16             37
YAML                              1              0              0             26
XML                               1              0              0             10
--------------------------------------------------------------------------------
SUM:                            388          13463          20411          67129
--------------------------------------------------------------------------------

So that's 50,000, weighing in (according to the pypi page) at a whopping 3MB. After install, my virtualenv directory was about 20MB.

  • Good example. For some more details, see my answers here, here, and here to get an idea about its capabilities. It's pretty modularized, and not that difficult to enhance it with your own modules (I once contributed a Log-Viewer to it). – Izzy Sep 24 '14 at 22:20
0

Plone is an ECM server with 700k lines of code, written in Python (on the Zope framework).
It uses a database and has a web interface.

An even bigger one was Nuxeo, but in 2005 it was rewritten from Python to Java.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.