469,636 Members | 1,634 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

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
Jul 18 '05 #1
11 1687
ReportLab?

HTH,
Larry Bates
Syscon, Inc.

"Brett C." <ba*@OCF.Berkeley.EDU> wrote in message
news:ma**************************************@pyth on.org...
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

Jul 18 '05 #2
In article <ma**************************************@python.o rg>, Brett C. wrote:
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?


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
Jul 18 '05 #3
In article <ma**************************************@python.o rg>,
"Brett C." <ba*@OCF.Berkeley.EDU> wrote:
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


Ilya Etingof's PySNMP package is a pretty large collection of Python
code. See http://pysnmp.sourceforge.net/
Jul 18 '05 #4
Brett C. wrote:
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.


ZOPE/Plone. BitTorrent.

Have a look on SourceForge.

http://sourceforge.net/softwaremap/t...p?form_cat=178

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:

http://bitpim.org/papers/baypiggies/

Roger


Jul 18 '05 #5
Brett C. wrote:
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?


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
Jul 18 '05 #6
Brett C. wrote:
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


BoaConstructor
Jul 18 '05 #7
On Mon, 09 Aug 2004 15:01:29 -0700,
"Brett C." <ba*@OCF.Berkeley.EDU> wrote:
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?


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.tombstonezero.net/dan/>
Never play leapfrog with a unicorn.
Jul 18 '05 #8
Troels Therkelsen <t_**********@hotmail.com> wrote in message news:<sl************************@abattoir.2-10.org>...
In article <ma**************************************@python.o rg>, Brett C. wrote:
[/snipped]

Any suggestions?

yeah, why don't you go to sourcforge and search under python projects,
you'll get a ton
Jul 18 '05 #9
"Brett C." <ba*@OCF.Berkeley.EDU> wrote in message news:
Any suggestions?


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
Jul 18 '05 #10
Brett C. wrote:
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


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

Detlev
--
Detlev Offenbach
de****@die-offenbachs.de
Jul 18 '05 #11
Brett C. wrote:
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.


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

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex
http://www.cosc.canterbury.ac.nz/~greg/python/Plex
http://www.cosc.canterbury.ac.nz/~greg/python_gui

--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg

Jul 18 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Max M | last post: by
54 posts views Thread by Brandon J. Van Every | last post: by
12 posts views Thread by John Burton | last post: by
9 posts views Thread by limor | last post: by
36 posts views Thread by Andrea Griffini | last post: by
59 posts views Thread by Kevin Walzer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.