Cameron Laird | 1 Feb 06:14 2005
Picon

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

QOTW: "The right solution will end up being unique to Python though. It has
to feel like Python." -- Guido van Rossum
    http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html

"Sparring with Alex Martelli is like boxing Mike Tyson, except that one
experiences brain enhancement rather than brain damage :)." -- beliavsky

    This is your opportunity to vote on the prospective creation of 
    de.comp.lang.python:
        http://groups.google.de/groups?selm=erneuter-CfV-1-Einrichtung-de.comp.lang.python-16.1.2005-Supersede%40dana.de
	http://gvv.th-h.de/

    eval() often inverts repr().  pickle() makes for more reliable
    serialization:
        http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/f4324fe8aa00f7f5/

    Kamilche illustrates how scripting (Web-scraping, in this case)
    can put eBay (Google, Amazon, ...) under *your* control:
        http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/1b0d7ebb06c49272

    Tim Churches pulls off the remarkable feat of appearing to say
    true, useful, and not-stultifying things on licensing:
        http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/a1e07194c795f505/

    How declarative are metaclasses and decorators?  Diez B. Roggisch
    has been helpful with this and similarly interesting summaries and
    examples:
        http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/a75da70b0845b6fe/
    Art Siegel also approaches the question, in a more narrative
    fashion.  Notice in the same thread Steve Holden's persistent
(Continue reading)

Paul Prescod | 1 Feb 03:27 2005
Picon

Vancouver Python/Zope/Plone: Creating OS X Cocoa Applications Using XML and Python

February 1, 2005

Creating OS X Cocoa Applications Using XML and Python, Dethe Elza

This talk will cover the use of Renaissance and Python to develop 
programs for OS X, focussing on both rapid application development, and 
ease of maintenance. Renaissance is an XML dialect for describing Cocoa 
(or GNUstep) user interfaces, which can be used as an alternative to 
Apple's binary NIB format. It grew out of the GNUstep? project and is 
intended for use with Objective-C, but works seamlessly from Python with 
the PyObjC bridge.

Hosted by ActiveState ("a division of Sophos") at 580 Granville St., 
Vancouver
--

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

John Holland | 1 Feb 21:48 2005

ANN: pyx12-1.1.0

What's New: 
=========== 
Corrected a number of validation bugs. 

Added many unit and functional tests. 

xmlx12 - translate an XML document created with the x12_simple
conversion back to an X12 document: 
x12xml -Xsimple test.txt | xslt test.xsl | xmlx12 > output.txt 

x12norm - normalize an X12 document. Create/strip end of line
characters. 

Refactor interfaces. 

What is Pyx12? 
============== 
Pyx12 is a HIPAA X12 document validator and converter. It parses an
ANSI X12N data file and validates it against the Implementation
Guidelines for a HIPAA transaction. By default, it creates a 997
response. It can create an html representation of the X12 document
or can translate to an XML representation of the data file. 

Where can I get it? 
=================== 
Pyx12 is available at http://sourceforge.net/projects/pyx12/
--

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
(Continue reading)

Prabhu Ramachandran | 2 Feb 20:22 2005
Picon
Picon

ANN: MayaVi-1.4 released

Hi,

This is to announce the availability of the (long overdue) MayaVi Data
Visualizer version 1.4.

MayaVi is a free, easy to use, scientific data visualizer.  It is
written in Python, uses the Visualization Toolkit (VTK) for the
graphics and provides a GUI written using Tkinter.  MayaVi is
distributed under a BSD license.  It is also cross platform and should
run on any platform where both Python and VTK are available.

For more information, sources, binaries, screenshots, installation
instructions, documentation etc. visit the MayaVi home page at:

	http://mayavi.sourceforge.net

Also bundled with MayaVi is a VTK pipeline browser written in Python
and a utility module that makes using VTK easier from the Python
interpreter.

New in this release:

    * Support for data files belonging to a time series.  It is also
      possible to sweep through the time series.  Thanks to Gerard
      Gorman for an initial patch!

    * Support for user defined modules and filters.  A search path may
      be specified in the preferences.  User defined modules and
      filters are searched for in these directories and automatically
      picked up by MayaVi.  Thanks to Fernando Perez for an initial
(Continue reading)

Brett C. | 2 Feb 22:25 2005
Picon

python-dev Summary for 2004-12-16 through 2004-12-31

This is a summary of traffic on the `python-dev mailing list`_ from December 
16, 2004 through December 31, 2004.  It is intended to inform the wider Python 
community of on-going developments on the list.  To comment on anything 
mentioned here, just post to `comp.lang.python`_ (or email 
python-list <at> python.org which is a gateway to the newsgroup) with a subject line 
mentioning what you are discussing. All python-dev members are interested in 
seeing ideas discussed by the community, so don't hesitate to take a stance on 
something.  And if all of this really interests you then get involved and join 
`python-dev`_!

This is the fifty-fifth summary written by Brett Cannon (I have been doing this
for too long...).

To contact me, please send email to brett at python.org ; I do not have the 
time to keep up on comp.lang.python and thus do not always catch follow-ups 
posted there.

All summaries are archived at http://www.python.org/dev/summary/ .

Please note that this summary is written using reStructuredText_ which can be 
found at http://docutils.sf.net/rst.html .  Any unfamiliar punctuation is 
probably markup for reST_ (otherwise it is probably regular expression syntax 
or a typo =); you can safely ignore it, although I suggest learning reST; it's 
simple and is accepted for `PEP markup`_ and gives some perks for the HTML 
output.  Also, because of the wonders of programs that like to reformat text, I 
cannot guarantee you will be able to run the text version of this summary 
through Docutils_ as-is unless it is from the `original text file`_.

.. _PEP Markup: http://www.python.org/peps/pep-0012.html

(Continue reading)

Uche Ogbuji | 2 Feb 23:59 2005

ANN: Amara XML Toolkit 0.9.4

http://uche.ogbuji.net/tech/4Suite/amara
ftp://ftp.4suite.org/pub/Amara/

Changes in this release:

* Add binderytools.type_inference rule which automatically converts XML
  nodes to native Python objects such as int, float and datetime
* Improve threading and signal behavior of pushdom and pushbind
* Add support for attributes() method on nodes.
  Can now call Ft.Xml.Domlette.PrettyPrint on bindery nodes
* Add lazy attributes support by default.
  amara.binderytools.preserve_attribute_details rule now obsolete
  XPath always supports attribute access, now
* rename prefixes node property to xmlns_prefixes
* Update demos and tests
* Add CherryPy demo (CherryPy rocks: http://www.cherrypy.org/)
* Bug fixes

The new binderytools.type_inference is similar to what's popularly
called "XML marshalling":

    TYPE_MIX = """\
    <?xml version="1.0" encoding="utf-8"?>
    <a a1="1">
      <b b1="2.1"/>
      <c c1="2005-01-31">
        <d>5</d>
        <e>2003-01-30T17:48:07.848769Z</e>
      </c>
      <g>good</g>
(Continue reading)

Guido van Rossum | 3 Feb 16:02 2005
Picon

Python Security Advisory PSF-2005-001 - SimpleXMLRPCServer.py

http://www.python.org/security/PSF-2005-001/

---------------------------------------------------------------------
Python Security Advisory

Advisory ID:  PSF-2005-001
Issue Date:   February 3, 2005
Product:      Python
Versions:     2.2 all versions, 2.3 prior to 2.3.5, 2.4
CVE Names:    CAN-2005-0089
---------------------------------------------------------------------

Python is an interpreted, interactive, object-oriented programming
language. It is often compared to Tcl, Perl, Scheme or Java.

The Python development team has discovered a flaw in the
SimpleXMLRPCServer library module which can give remote attackers
access to internals of the registered object or its module or possibly
other modules.  The flaw only affects Python XML-RPC servers that use
the register_instance() method to register an object without a
_dispatch() method.  Servers using only register_function() are not
affected.

On vulnerable XML-RPC servers, a remote attacker may be able to view
or modify globals of the module(s) containing the registered
instance's class(es), potentially leading to data loss or arbitrary
code execution.  If the registered object is a module, the danger is
particularly serious.  For example, if the registered module imports
the os module, an attacker could invoke the os.system() function.

(Continue reading)

Fabio Zadrozny | 3 Feb 19:57 2005
Picon

ANN: PyDev 0.9.0 released

Hi All,

PyDev - Python IDE (Python development enviroment for Eclipse) version 
0.9.0 has just been released.

This release supports python 2.4 and has PyLint 0.6 integrated.
Code completion had some improvements too.

Check the homepage for more details (http://pydev.sourceforge.net/).

Regards,

Fabio Zadrozny
------------------------------------------------------
Software Developer
ESSS - Engineering Simulation and Scientific Software
www.esss.com.br

--

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Davide Alberani | 3 Feb 22:08 2005
Picon

IMDbPY 1.7 released

IMDbPY 1.7 is available (tgz, deb, rpm, exe) from:
  http://imdbpy.sourceforge.net/

IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database.

This is mostly a bug fixes release; along with IMDbPY 1.7
I've released imdbpyweb (a web interface) and a new version
of vdbpy (to manage the VideoDB database with IMDbPY).

IMDbPY aims to provide an easy way to access the IMDb's database
using a Python script.
Platform-independent and written in pure Python, it's independent
from the data source (since IMDb provides two or three different
interfaces to their database).

IMDbPY is mainly intended for programmers and developers who want
to build their Python programs using the IMDbPY package, but some
example scripts - useful for the end users - are included.

-- 
Davide Alberani <alberanid <at> libero.it> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
--

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

(Continue reading)

marq.kole | 4 Feb 11:34 2005
Picon

[Ann] ANTLR 2.7.5 released with native Python support


ANTLR 2.7.5 has been released, which includes full native Python support

What is ANTLR
=============

ANTLR, ANother Tool for Language Recognition is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR is popular because it is easy to understand, powerful, flexible, generates human-readable output, and comes with complete source. ANTLR provides excellent support for tree construction, tree walking, and translation. There are currently about 5,000 ANTLR source downloads a month.

As ANTLR is an LL(k) compiler generator, it is much more flexible and powerful than Yacc/Lex types of translators. It also has excellent support for error-handling built in.

ANTLR has extensive documentation, a load of examples in the source distribution, and a very active mailing list. ANTLR is supported by its development team as well as by its community of users all over the world.


What's new in version 2.7.5
===========================

The 2.7.5 version of ANTLR is the first with full native Python support. ANTLR requirs Java to create the recognizers, compilers, and translators, but the generated code is pure Python. A lot of examples of using ANTLR with Python are available in the source distribution.

ANTLR works on all types of UNIX platforms as well as Windows. For the latter OS binary installers are also available.


Licensing
=========

We reserve no legal rights to the ANTLR -- it is fully in the public domain. See the Software License on the ANTLR website for details.
http://www.antlr.org/license.html


Where can I get it?
===================

You can download it from the ANTLR website:
http://www.antlr.org

Best Regards,

The ANTLR Development Team
--

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Gmane