Popular Python projects with lots of pure Python code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brett C.

    Popular Python projects with lots of pure Python code

    For my thesis (once the bloody thing stops throwing bugs at me) I am
    going to need to collect stats on the frequency that atomic types in
    local variables are applied to various opcodes and methods. That means
    that I need something to collect stats off of.

    So I am trying to come up with a list of projects I can use to get my
    stats from. the stdlib is a no-brainer. Also plan to use Docutils.
    But beyond those most of the big Python projects I can think of have a
    ton of C code which is of no use to me. I don't need to be able to run
    it, just going to be compiling to .py files.

    Any suggestions?

    -Brett
  • Larry Bates

    #2
    Re: Popular Python projects with lots of pure Python code

    ReportLab?

    HTH,
    Larry Bates
    Syscon, Inc.

    "Brett C." <bac@OCF.Berkel ey.EDU> wrote in message
    news:mailman.14 18.1092088893.5 135.python-list@python.org ...[color=blue]
    > For my thesis (once the bloody thing stops throwing bugs at me) I am
    > going to need to collect stats on the frequency that atomic types in
    > local variables are applied to various opcodes and methods. That means
    > that I need something to collect stats off of.
    >
    > So I am trying to come up with a list of projects I can use to get my
    > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
    > But beyond those most of the big Python projects I can think of have a
    > ton of C code which is of no use to me. I don't need to be able to run
    > it, just going to be compiling to .py files.
    >
    > Any suggestions?
    >
    > -Brett[/color]


    Comment

    • Troels Therkelsen

      #3
      Re: Popular Python projects with lots of pure Python code

      In article <mailman.1418.1 092088893.5135. python-list@python.org >, Brett C. wrote:[color=blue]
      > For my thesis (once the bloody thing stops throwing bugs at me) I am
      > going to need to collect stats on the frequency that atomic types in
      > local variables are applied to various opcodes and methods. That means
      > that I need something to collect stats off of.
      >
      > So I am trying to come up with a list of projects I can use to get my
      > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
      > But beyond those most of the big Python projects I can think of have a
      > ton of C code which is of no use to me. I don't need to be able to run
      > it, just going to be compiling to .py files.
      >
      > Any suggestions?[/color]

      What about MoinMoin and Mailman? Those are fairly large-ish pure-python
      projects.

      If 100% pure python isn't a must, PIL might also be able to yield useful stats
      as all of the abstraction is done in python.

      Hope this helps,

      Troels Therkelsen

      Comment

      • Roy Smith

        #4
        Re: Popular Python projects with lots of pure Python code

        In article <mailman.1418.1 092088893.5135. python-list@python.org >,
        "Brett C." <bac@OCF.Berkel ey.EDU> wrote:
        [color=blue]
        > For my thesis (once the bloody thing stops throwing bugs at me) I am
        > going to need to collect stats on the frequency that atomic types in
        > local variables are applied to various opcodes and methods. That means
        > that I need something to collect stats off of.
        >
        > So I am trying to come up with a list of projects I can use to get my
        > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
        > But beyond those most of the big Python projects I can think of have a
        > ton of C code which is of no use to me. I don't need to be able to run
        > it, just going to be compiling to .py files.
        >
        > Any suggestions?
        >
        > -Brett[/color]

        Ilya Etingof's PySNMP package is a pretty large collection of Python
        code. See http://pysnmp.sourceforge.net/

        Comment

        • Roger Binns

          #5
          Re: Popular Python projects with lots of pure Python code

          Brett C. wrote:[color=blue]
          > So I am trying to come up with a list of projects I can use to get my
          > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
          > But beyond those most of the big Python projects I can think of have a
          > ton of C code which is of no use to me. I don't need to be able to
          > run it, just going to be compiling to .py files.[/color]

          ZOPE/Plone. BitTorrent.

          Have a look on SourceForge.

          Free, secure and fast downloads from the largest Open Source applications and software directory - SourceForge.net


          Other than the 10,000 clones of BitTorrent and projects that
          use Python very peripherally, there are many appropriate
          projects.

          My BitPim project has 30,000 lines of Python, 2,500 lines of
          description files which are compiled into 41,000 lines of
          Python and 500 lines of C/C++. It does GUI stuff, talks on
          serial ports to cell phones, has XML-RPC remoting over secure
          connections, has installation code, uses external data sources
          such as CSV, vCards as well as Outlook, Evolution etc. Consequently
          that gives you a nice wide spread of things the code does. If you do
          use it, feel free to send me email if you have any questions
          or need help. There is also a presentation I did which gives a
          good overview:



          Roger




          Comment

          • Fernando Perez

            #6
            Re: Popular Python projects with lots of pure Python code

            Brett C. wrote:
            [color=blue]
            > For my thesis (once the bloody thing stops throwing bugs at me) I am
            > going to need to collect stats on the frequency that atomic types in
            > local variables are applied to various opcodes and methods. That means
            > that I need something to collect stats off of.
            >
            > So I am trying to come up with a list of projects I can use to get my
            > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
            > But beyond those most of the big Python projects I can think of have a
            > ton of C code which is of no use to me. I don't need to be able to run
            > it, just going to be compiling to .py files.
            >
            > Any suggestions?[/color]

            well, scipy is not pure python (lots of fortran/C), but it does have a lot of
            python in it. Given that it's probably a decent representative of typical
            scientific code (and scientific use of python is growing fast, see scipy'04),
            it might be an interesting addition to your sample.

            Best,

            f

            Comment

            • Patrick Ellis

              #7
              Re: Popular Python projects with lots of pure Python code

              Brett C. wrote:[color=blue]
              > For my thesis (once the bloody thing stops throwing bugs at me) I am
              > going to need to collect stats on the frequency that atomic types in
              > local variables are applied to various opcodes and methods. That
              > means that I need something to collect stats off of.
              >
              > So I am trying to come up with a list of projects I can use to get my
              > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
              > But beyond those most of the big Python projects I can think of have a
              > ton of C code which is of no use to me. I don't need to be able to
              > run it, just going to be compiling to .py files.
              >
              > Any suggestions?
              >
              > -Brett[/color]

              BoaConstructor


              Comment

              • Dan Sommers

                #8
                Re: Popular Python projects with lots of pure Python code

                On Mon, 09 Aug 2004 15:01:29 -0700,
                "Brett C." <bac@OCF.Berkel ey.EDU> wrote:
                [color=blue]
                > For my thesis (once the bloody thing stops throwing bugs at me) I am
                > going to need to collect stats on the frequency that atomic types in
                > local variables are applied to various opcodes and methods. That means
                > that I need something to collect stats off of.[/color]
                [color=blue]
                > So I am trying to come up with a list of projects I can use to get my
                > stats from. the stdlib is a no-brainer. Also plan to use Docutils. But
                > beyond those most of the big Python projects I can think of have a ton
                > of C code which is of no use to me. I don't need to be able to run it,
                > just going to be compiling to .py files.[/color]
                [color=blue]
                > Any suggestions?[/color]

                It's not a project, as such, but how about Python's standard library?

                Tons and tons of python code, written by the best python coders around.

                Regards,
                Dan

                --
                Dan Sommers
                <http://www.tombstoneze ro.net/dan/>
                Never play leapfrog with a unicorn.

                Comment

                • Michael Scarlett

                  #9
                  Re: Popular Python projects with lots of pure Python code

                  Troels Therkelsen <t_therkelsen@h otmail.com> wrote in message news:<slrnchfvo m.t6.t_therkels en@abattoir.2-10.org>...[color=blue]
                  > In article <mailman.1418.1 092088893.5135. python-list@python.org >, Brett C. wrote:[color=green]
                  > >[/snipped]
                  > >
                  > > Any suggestions?[/color][/color]
                  yeah, why don't you go to sourcforge and search under python projects,
                  you'll get a ton

                  Comment

                  • Brett C.

                    #10
                    Re: Popular Python projects with lots of pure Python code

                    "Brett C." <bac@OCF.Berkel ey.EDU> wrote in message news:[color=blue]
                    > Any suggestions?
                    >[/color]

                    Just a quick thanks to everyone who has responded. I truly
                    appreciate the help on this! This is why the Python community is just
                    so damn cool!

                    And here are some quick answers to some questions that have come up in
                    the thread...

                    "Big" is relative; not looking for simple scripts, but otherwise I am
                    open. No real minimum size or anything.

                    The projects do not have to be devoid of C; just have enough Python
                    code to warrant using.

                    "Popular" is also relative. Since Python is not used here at my
                    school (Cal Poly SLO), I wanted to also use my thesis as a slight PR
                    piece within the department. Being able to list big, popular Python
                    projects would help to show the legitimacy of the language to
                    professors.

                    Please suggest only open source projects. While I have no issue with
                    proprietary projects personally I don't want to have to worry about
                    what I can and cannot discuss in my thesis.

                    I personally don't need any more web projects listed. Go for it if
                    this thread just keeps going, but with the ones listed so far that is
                    plenty. I would love to get a wide swath of projects so as to make
                    sure my thesis can't be accused of not being representative of non-web
                    projects.

                    Something I should have mentioned in the OP is anything that has a
                    benchmark is an uber-plus! I am going to end up having to benchmark
                    some code that I did not gather stats on along with some that I did to
                    try to show that this was all worth it. Already plan to use pystone
                    and parrotbench.

                    Anyway, here is the current list that I have going. Ignore the
                    question marks; just means I have not decided whether I am definitely
                    using it or not.

                    ----------------

                    -----------------------------------
                    Projects for stat collection
                    -----------------------------------
                    + Stdlib (w/o test)
                    + Docutils
                    + Twisted?
                    + Zope?
                    * Plone?
                    + ReportLab?
                    + wxPython?
                    + BitTorrent?
                    + SpamBayes?
                    + Mailman?
                    + SiGeFi ?
                    + Plucker ?
                    + Universal Feed Parser ?
                    + Shtoom?
                    + Divmod Quotient?
                    + MoinMoin?
                    + PIL?
                    + PySNMP ?
                    + scipy ?
                    + Boa Constructor ?
                    + PythonCard ?
                    + OpenGLContext ?
                    + PyTable ?

                    ------------------
                    Benchmarks
                    ------------------
                    + pystone
                    + parrotbench

                    Comment

                    • Detlev Offenbach

                      #11
                      Re: Popular Python projects with lots of pure Python code

                      Brett C. wrote:
                      [color=blue]
                      > For my thesis (once the bloody thing stops throwing bugs at me) I am
                      > going to need to collect stats on the frequency that atomic types in
                      > local variables are applied to various opcodes and methods. That means
                      > that I need something to collect stats off of.
                      >
                      > So I am trying to come up with a list of projects I can use to get my
                      > stats from. the stdlib is a no-brainer. Also plan to use Docutils.
                      > But beyond those most of the big Python projects I can think of have a
                      > ton of C code which is of no use to me. I don't need to be able to run
                      > it, just going to be compiling to .py files.
                      >
                      > Any suggestions?
                      >
                      > -Brett[/color]

                      How about eric3 (http://www.die-offenbachs.de/detlev/eric3.html). It has
                      about 50 klines of code.

                      Detlev
                      --
                      Detlev Offenbach
                      detlev@die-offenbachs.de

                      Comment

                      • Greg Ewing

                        #12
                        Re: Popular Python projects with lots of pure Python code

                        Brett C. wrote:[color=blue]
                        > For my thesis (once the bloody thing stops throwing bugs at me) I am
                        > going to need to collect stats on the frequency that atomic types in
                        > local variables are applied to various opcodes and methods. That means
                        > that I need something to collect stats off of.[/color]

                        You're welcome to munge through the code of
                        my 3 main Python projects:





                        --
                        Greg Ewing, Computer Science Dept,
                        University of Canterbury,
                        Christchurch, New Zealand


                        Comment

                        Working...