Python Google Chart 0.2.1 released

2008-08-25 Thread Gerald Kaszuba
* Better clipping checks I've also updated the home page with more examples. Gerald -- Gerald Kaszuba http://geraldkaszuba.com/ -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python Google Chart (pygooglechart) 0.1.2

2007-12-15 Thread Gerald Kaszuba
Python Google Chart is a complete wrapper to the Google Chart API. http://pygooglechart.slowchop.com/ * Added more examples * Fixed pie labels encoding * Fixed MANIFEST.in to allow examples and COPYING in the source distribution * Added more metadata in setup.py -- Gerald Kaszuba http

Re: Is there a way to hook into module destruction?

2007-06-16 Thread Gerald Kaszuba
> I doubt python calls __del__ when unloading module... and plus, I > don't really think python does module unloading though. del module Ah! Apologies... I mis-read the question. Unloading or at least destroying the reference to a loaded module, you could go for "del module_n

Re: Is there a way to hook into module destruction?

2007-06-16 Thread Gerald Kaszuba
On Jun 17, 6:16 am, Neal Becker <[EMAIL PROTECTED]> wrote: > Code at global scope in a module is run at module construction (init). Is > it possible to hook into module destruction (unloading)? Try the __del__ method. See http://docs.python.org/ref/customization.html for the docs

Re: Setting thread priorities

2007-05-13 Thread Gerald Kaszuba
Hi John On May 13, 4:46 pm, John Nagle <[EMAIL PROTECTED]> wrote: >There's no way to set thread priorities within Python, is there? Not exactly. You can however use the ctypes module to access the o/s methods of pthread_setschedparam() for UNIX and SetThreadPriority() for Windows. I'm not su

ANN: pyraknet 0.1.4

2007-02-20 Thread Gerald Kaszuba
I just released a new version of pyraknet - a UDP game network library. http://pyraknet.slowchop.com/ The changes are: * Changed license to LGPL * Mac OS X binaries for Python 2.4 (thanks to Simon Howe for testing) * Added Peer.is_active(...) * Added Peer.get_max_connections(...) * setup.py will

ANN: Python Call Graph 0.3.0

2007-02-14 Thread Gerald Kaszuba
Hi, I just released pycallgraph 0.3.0. There are many examples on the web site and linked from the web site including a 16188 x 4187 sized call graph! http://pycallgraph.slowchop.com/ The changes are: * Renamed make_graph to make_dot_graph to allow different output types in the future * Callback

Re: pycallgraph 0.2.0

2007-02-10 Thread Gerald Kaszuba
On Feb 11, 12:28 am, [EMAIL PROTECTED] wrote: > Looks nice. Before you get too far... Is there any chance that you can > support ASCII output mode (obviously not laid out in two dimensions, just > using indentation) so the GraphViz requirement can become optional? > GraphViz has so many dependenci

Re: pycallgraph 0.2.0

2007-02-10 Thread Gerald Kaszuba
On Feb 10, 11:14 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > My first test was terrible: a file of 800kB was created, > Trying to view it, resulted in the following: > - Paint Shop Pro told me it was not a valid PNG file, > - Mozilla crashed after 5 minutes, > - GIMP gave me a preview after half

Re: pycallgraph 0.1.0

2007-02-10 Thread Gerald Kaszuba
>http://pycallgraph.slowchop.com/files/examples/mongballs-client.png > > indicate you are subject to the slashdot effect? Steve, No /. effect :) I rearranged some files around because of the new version of pycallgraph. The new preview image is: http://pycallgraph.slowchop.com/pycallgraph/wik

pycallgraph 0.2.0

2007-02-09 Thread Gerald Kaszuba
Hi I just released a new version of pycallgraph. It has many improvements over 0.1.0. Here is an example of a call graph made in pycallgraph 0.2.0: http://pycallgraph.slowchop.com/pycallgraph/wiki/RegExpExample There are more examples on the web site: http://pycallgraph.slowchop.com/ The changes

Re: pycallgraph 0.1.0

2007-02-09 Thread Gerald Kaszuba
On 2/10/07, Stef Mientki <[EMAIL PROTECTED]> wrote: > ... but isn't "__main__." non-information ? Good point -- I'll consider removing it in the next version. Gerald -- http://mail.python.org/mailman/listinfo/python-list

pycallgraph 0.1.0

2007-02-09 Thread Gerald Kaszuba
Hi I've just released the first version of Python Call Graph. I haven't tested it too much so don't expect it not to crash :) An example of its output is: http://pycallgraph.slowchop.com/files/examples/mongballs-client.png It's easy to use... you just need Graphviz installed and in your path and