web developer & system programmer

coder . cl

ramblings and thoughts on programming...


instant xml api using pyxser

published: 05-11-2011 / updated: 05-11-2011
posted in: development, programming, projects, python, pyxser, tips
by Daniel Molina Wegener

Probably you do not understand pyxser at all. It is a serializer and deserializer which converts Python objects into XML as plain text. Among JSON and other formats, XML can help in some tasks like transmitting object through the network, for example building API calls using remote queries. Here I will guide you on how to build an XML query API for your Django driven application in few minutes. You just need to understand how pyxser works and how to use the pyxser module. Remember that you can see the documentation once it is installed, even if you do not have Internet, just by running the pydoc daemon with pydoc -p 8080 and connecting to the port 8080 in your machine — you can choose another port if it is not working.

pyxser stats

published: 29-10-2011 / updated: 29-10-2011
posted in: development, programming, projects, pyxser
by Daniel Molina Wegener

As you know I am the main developer — and unique developer, I hope more people will be interested in the future — of the pyxser project. It has a very specific purpose, but it is the only stand alone Python Object to XML serializer that exists. There is also the serialization routine built-in in the lxml extension. The project is hosted on Source Forge, not popular as Git Hub does, but it is a well known project hosting site. The fact is that it is linked from sites and recommended along the Internet by some people. It provides a nice serialization model that allows you to standardise the XML serialization.

comparing pyxser and jsonx

published: 30-04-2011 / updated: 30-04-2011
posted in: development, programming, projects, pyxser
by Daniel Molina Wegener

If you are a pyxser user, you may know that it uses a standard and structured serialization model. It was designed on January of 2009, and his target from that date until today is to generate a universal serialization model, so it can be ported to other languages easily, and maintain its more interesting features, like cross reference and circular reference serialization capability.

[ann] pyxser-1.5.2-r2.win32 was released

published: 26-03-2011 / updated: 26-03-2011
posted in: c, development, programming, projects, python, pyxser
by Daniel Molina Wegener

Dear pyxser users, I’m pleased to announce that I have released pyxser-1.5.2r-r2.win32. This is the same release as 1.5.2-r2, but for Win32 platform. It does not add new features or similar stuff, it’s just a compiled binary distribution for Windows machines. You can download this release build for Python 2.7 and Win32 machines on SourceForge. Please follow the following link to download the pyxser-1.5.2-r2.win32 package. It uses the Windows Installer and it’s an executable. You just need to download an official Python 2.7 distribution to use this release.

[ann] pyxser-1.5.2r was released

published: 08-01-2011 / updated: 08-01-2011
posted in: development, programming, projects, python, pyxser
by Daniel Molina Wegener

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.5.2r. This release adds backport support for Python 2.4 and few algorithm enhancements. As you know this serializer supports cross references and circular references, and have a wide variety of serialization options for your object trasmition and storage tasks. Please feel free to send me your feedback and participate on the pyxser development. You can participate through the SourceForge mailing lists and forums. Also you can report bugs and send me your feedback through the SourceForge web site.

[ann] pyxser-1.5.1r was released

published: 11-10-2010 / updated: 11-10-2010
posted in: c, development, programming, projects, python, pyxser
by Daniel Molina Wegener

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.5.1r. This release includes a new argument for deserialization functions, so you can skip the initialization construct by using cinit = False as argument, this improves performance, but leaves uninitiated objects, without calling its default constructor.

[ann] pyxser-1.5r is available

published: 24-08-2010 / updated: 24-08-2010
posted in: c, development, programming, projects, python, pyxser, tips
by Daniel Molina Wegener

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.5r. This release has several bug fixes plus enhancements. pyxser now is 15% faster and do not have memory leaks. For people who do know pyxser, it is a Python Object to XML serializer and deserializer. You install pyxser, and you will have functions to convert Python Objects into XML and viceversa, convert that XML back into a Python Object.