Hi Joe,

Il giorno gio, 10/06/2010 alle 19.14 +0200, Joe Blaylock ha scritto:
> I've just noticed that PyMARC is moving towards having Debian packages,
> so if for example we forked it, we may be able to conveniently use a
> packaged version soon...

Invenio uses his own library (you can find it in
bibedit/lib/bibrecord.py). It's main usage is to parse MARCXML into a
dictionary (similar to PyMARC) and back. It's optimized for speed as it
can exploit one of up to three XML parsing libraries that the sysadmin
might have installed (PyRXP being the fastest). Occasionally Invenio has
custom code base to produce a flavour of MARC that is understood by
Aleph. 

I think that PyMARC is fully Python based and is using xml.sax parser
which is not the fastest. So probably for core usage the local Invenio
code is still better WRT performance.

On the other hand if PyMARC is fully adherent to MARC standard (thus it
can work with the MARC21 binary format, including the leader etc.) it
might be an interesting option to exploit for users migrating from a
MARC based digital library or symmetrically for exporting to real
MARC21.

Up to now we have often used instead the YAZ suite (written in PERL) for
this task.

So it's an interesting Python-based alternative :-)

Cheers,
        Sam 

Reply via email to