You are not logged in.
it's a good thing that ArchLinux has pyxml (in staging).
now I build (and hopefully a TU or neotuli will give a damn ) pyRXP:
PKGBUILD
pkgname=pyrxp
pkgver=1.05
pkgrel=1
pkgdesc="A very fast xml-parser for python"
depends=(python)
url="http://www.reportlab.org/pyrxp.html"
source=(http://www.reportlab.org/daily/pyRXP-$pkgver-daily-unix.tgz)
license="GPL"
build() {
cd $startdir/src/pyRXP-$pkgver-$(date '+%Y%m%d')/pyRXP # yes it rocks ;)
# python is sooooo cool!
python setup.py install --root=$startdir/pkg
}
filelist
.FILELIST
.PKGINFO
usr/
usr/lib/
usr/lib/python2.4/
usr/lib/python2.4/site-packages/
usr/lib/python2.4/site-packages/pyRXP.so
usr/lib/python2.4/site-packages/pyRXPU.so
build this, and slap those who accuse Python of being slow
Documentation:
http://www.reportlab.com/docs/PyRXP_Documentation.pdf
Examples (doumentated in section 4 of docs):
http://www.reportlab.org/ftp/pyrxp_examples.zip
IBMDevWorks:
http://www-106.ibm.com/developerworks/l … ers29.html
NOTE: for the PDF examples and the DevWorks examples you should have at least xmlutils.py (helper file from src/examples) in your current dir. So in other words, if you want to develop you need also the source (tell us sth new mr zeppelin8) )
to parse unicode
import pyRXPU
and if you have that non-unicode exists do:
import pyRXPU as pyRXP
Offline