See http://gmpy.sourceforge.net/ for details.
What is it: a wrapper for the GMP library, to provide multi-precision
arithmetic for Python. Multi-precision floats, and unbounded-precision
rationals, are not present in stock Python; multi-precision integers
('long') are, but gmpy's version of multi-precision integers is faster
for some operations (NOT all -- used to be, but Python 2.3 did serious
enhancements to some operations on longs) and provides lots of nifty
pre-packaged additional functions.
Minor changes and bug-fixes since the latest 0.9 pre-alpha; support for
Python 2.3. The Windows binary release is now for Python 2.3 _only_ (if
you're stuck with Python 2.2 on Windows, you can keep using gmpy 0.9
pre-alpha and not really suffer from that). Known bug on Windows: the
scan0 and scan1 functions appear broken (perhaps related to the lack of
a GMP 4.0 library for Windows -- haven't found one around yet).
Just wanted to follow up on my earlier message requesting donations
to the Python Software Foundation.
The PSF has now announced the projects we are funding in our first
round of grants:
We received many other quality grant proposals that could not be funded
due to the relatively small size of our budget ($40K this year). I hope
we'll be able to raise substantially more money in the coming year to
allow us to fund more projects in the next cycle.
There are something like 750,000 Python users in the world -- imagine
what we could do with just $10 from each!
Also new since my previous email: Credit card donations are now (finally)
working properly. We can also still accept PayPal and mailed checks.
The PSF is a registered non-profit and donations are tax-deductible
in the USA.
To donate, please go to:
I hope you will consider including the PSF in your year-end giving. In
addition to funding grants, your donation will help the PSF to run PyCon
annually (http://www.python.org/pycon) and to protect the intellectual
property rights behind Python.
Thanks very much, and Happy New Year!
Chairman of the Board
Python Software Foundation
Amara XML Toolkit is a collection of Python tools for XML processing--
not just tools that happen to be written in Python, but tools built from
the ground up to use Python idioms and take advantage of the many
advantages of Python.
Amara builds on 4Suite [http://4Suite.org], but whereas 4Suite focuses
more on literal implementation of XML standards in Python, Amara
focuses on Pythonic idiom. It provides tools you can trust to conform
with XML standards without losing the familiar Python feel.
The components of Amara are:
* Bindery: data binding tool (fancy way of saying: a very Pythonic XML
* Scimitar: implementation of the ISO Schematron schema language for
converts Schematron files to Python scripts
* domtools: set of tools to augment Python DOMs
* saxtools: set of tools to make SAX easier to use in Python
There's a lot in Amara, but here are highlights:
Amara Bindery: XML as easy as py
Based on the retired project Anobind, but updated to use SAX rather than
to create bindings. Bindery reads an XML document and returns a data
structure of Python objects corresponding to the vocabulary used in the
XML document, for maximum clarity.
Bindery turns the document
<python spam="eggs">What do you mean "bleh"</python>
<python ministry="abuse">But I was looking for argument</python>
Into a set of objects such that you can write
In order to get the value "eggs" or
In order to get the value "But I was looking for argument".
There are other such tools for Python, and what makes Anobind unique is
that it's driven by a very declarative rules-based system for binding
XML to the Python data. You can register rules that are triggered by
XPattern expressions specialized binding behavior. It includes XPath
support and supports mutation. Bindery is very efficient, using SAX
to generate bindings.
Scimitar: exceptional schema language for an exceptional programming
Merged in from a separate project, Scimitar is an implementation of ISO
Schematron that compiles a Schematron schema into a Python validator
You typically use scimitar in two phases. Say you have a schematron
schema schema1.stron and you want to validate multiple XML files
against it, instance1.xml, instance2.xml, instance3.xml.
First you run schema1.stron through the scimitar compiler script,
A file, schema1.py is generated and can be used to validate XML
python schema1.py instance1.xml
Which emits a validation report.
Amara DOM Tools: giving DOM a more Pythonic face
DOM came from the Java world, hardly the most Pythonic API possible.
Some DOM-like implementations such as 4Suite's Domlettes mix in some
Pythonic idiom. Amara DOM Tools goes even further.
Amara DOM Tools feature pushdom, similar to xml.dom.pulldom, but
easier to use. It also includes Python generator-based tools for
DOM processing, and a function to return an XPath location for
any DOM node.
Amara SAX Tools: SAX without the brain explosion
Tenorsax (amara.saxtools.tenorsax) is a framework for "linerarizing" SAX
so that it flows more naturally, and needs a lot less state machine
Amara is open source, provided under the 4Suite variant of the Apache
license. See the file COPYING for details.
Amara requires Python 2.3 or more recent and 4Suite 1.0a3 or more
recent. Make sure these are installed, unpack Amara to a convenient
location and run
python setup.py install
 We have some problem reports with certain Web browsers and the
ftp.4suite.org firewall. Please try an alternate FTP client if you have
problems, and kindly bear with us while we sort this out.
Uche Ogbuji Fourthought, Inc.
Use CSS to display XML - http://www.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
Full XML Indexes with Gnosis - http://www.xml.com/pub/a/2004/12/08/py-xml.html
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
UBL 1.0 - http://www-106.ibm.com/developerworks/xml/library/x-think28.html
Use Universal Feed Parser to tame RSS - http://www.ibm.com/developerworks/xml/library/x-tipufp.html
Default and error handling in XSLT lookup tables - http://www.ibm.com/developerworks/xml/library/x-tiplook.html
A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/
The State of Python-XML in 2004 - http://www.xml.com/pub/a/2004/10/13/py-xml.html
The UK Python Conference for 2005 will take place at
the Randolph Hotel, Oxford on 20-23 April 2005.
This is the FINAL CALL for talks. The original deadline
of 26th December has been extended to 6 January, to help
all those folks who were concentrating on the PyCon deadline
of 6th December. Recycled PyCon talks are acceptable.
About the event
This will once again be held as a track within the ACCU
conference. The conference site is here:
Python track information will be reachable from here once
talk selection is complete:
The ACCU event is one of the foremost conferences for programmers,
attracting the inventors and/or leading proponents of C, C++,
Java, .NET and Python over the last few years. Past Python speakers
have included Guido van Rossum, David Ascher, Alex Martelli, Armin Rigo,
Paul Everitt, Marc-Andre Lemburg and many others, and the
ACCU now treats Python as being fully on par with Java and C++.
The event is priced midway between commercial and community
events, at approx. £100 per day, and is professionally managed.
It is located in a historic hotel in the centre of Oxford and is
ideal for anyone wanting to combine a holiday with a conference.
We aim to hold a Python 'masterclass' the day before, and are working
to arrange a PyPy sprint the week after.
The Python conference will span THREE days, with ONE track.
The first slot each morning is taken by the cross-conference
keynote. This was the overwhelming preference of those we polled
last year. (There will NOT be a separate Open Source track this
year; the "rotating special subject" is Security. As a result,
Python-related security talks would be of interest)
You may propose 90 minute or 45 minute talks. The
ACCU's general preference is for a small number of high
quality, well prepared talks on subjects of broad interest
to programmers, and the Python track will follow this.
There will also be space for less formal lunchtime talks,
evening BOFs and other events.
Speakers' compensation is yet to be confirmed, but in the
past those doing 90 minutes (or 2x45 minute talks) will be
eligible for 4 days paid accomodation and admission to
the 4 day event; 45 minute speakers will gain 1 day's admission.
Where possible, we will attempt to allocate resources to ensure
that the best speakers are able to attend irrespective of
Please send an email to pyuk2005_talks at reportlab.com
not later than 6th January (this is the FINAL deadline!),
with the following information:
This is a simple mailbox; the committee will review and
acknowledge submissions next week.
If the talk is selected, you will be given a chance to refine
the details through a web based system in January.
A small committee has been formed to scrutinize talk proposals
including those whol volunteered last year. This includes
myself, Dr. Tim Couper and Dr. John Lee. General discussion about
the event should be directed to the python-uk list
(python-uk at python.org)
ReportLab Europe Ltd. is managing parts of the event infrastructure
and will be providing some staff time to provide a guaranteed
point of contact.
ReportLab Europe Ltd
ReSTedit v0.50 is now available for download.
ReSTedit is a GUI tool for editing and interactivly exploring texts in
the ReStructuredText format (or ReST) as introduced by the Docutils
project. Despite being quite simple, ReSTedit is very useful for
quickly checking if Docutils renders some text as you would expect it.
You only paste it into a ReSTedit window to see if it's ok or not,
without writing any test code around it.
It adds three features of note:
- the underlying document is monitored via a kqueue. Any change to the
on-disk file will cause ReSTedit to re-render the document.
- it now uses RBSplitView such that the document can be switched
between text only, rendered content only, or split display via a
- the app is packaged via py2app such that the binary distribution is
completely self-contained and significantly smaller than previous
More information can be found here:
General information on ReStructured Text and the underlying docutils
rendering engine can be found here:
A self-contained binary of ReSTedit.app can be found on my .mac
downloads page. It does not require any additional components to be
installed as pyobjc and docutils are both embedded in the .app wrapper.
In 2004, the PSF issued its first call for grant proposals. In response
to that call, over 60 proposals where submitted. Three of them were
1. Brian Zimmer will manage the project Moving Jython Forward
2. Ilya Etingof will manage the project Implementation of SNMPv3
3. Greg Wilson will manage the project Software Engineering with
Python for Scientist and Engineers
Details of these projects can be found at
We would like to thank all submitters for their efforts to draft the
proposals, and the PSF sponsors and donors for making the grants
possible in the first place.
Martin v. Löwis
Chairman, Grant Committee
PyObjC 1.2 is now available for download at
PyObjC is a bridge between Python and Objective-C. It allows full
featured Cocoa applications to be written in pure Python. It is also
easy to use other frameworks containing Objective-C class libraries
from Python and to mix in Objective-C, C and C++ source.
Python is a highly dynamic programming language with a shallow learning
curve. It combines remarkable power with very clear syntax.
The installer package includes a number of Xcode templates
for easily creating new Cocoa-Python projects.
PyObjC also supports full introspection of Objective-C classes and
direct invocation of Objective-C APIs from the interactive interpreter.
PyObjC requires Mac OS X 10.2 or later and Python 2.3 or later. PyObjC
both with the Apple provided Python installation in Mac OS X 10.3 (and
and with MacPython 2.3.
This release features several bugfixes, improved documentation as well
support for categories, easier customization and basic support for
Interface Builder palettes. See the news file at
http://pyobjc.sourceforge.net/NEWS-1.2.txt for more information.
PyObjC is released with an open source license (MIT style).