Python Pickle XML (pklxml)

pip install pklxml

Hi everyone,

I just released a module called pklxml (Python Pickle Extensible Markup Language), which is a human-readable, XML-based alternative to Python’s built-in pickle module. It’s designed to serialize and deserialize Python objects to and from XML.

pklxml - PyPi

(Note: The repo name is going to be changed to reflect the .pklxml extension.)

Features:

  • Serialize most Python objects into readable XML
  • Deserialization back into usable Python objects
  • Supports custom classes, nested structures, and more
  • Saves as an XML file, specifically .pklxml

Why?

While pickle is powerful, it’s binary

I’d love feedback, suggestions, or contributions. Feel free to open pull requests and contribute to this Repository

Do note that I have put it up on PyPi

Thanks!


Edit:

As this is my first topic, I might have posted it in the wrong category…


Edit2:

Added installation instructions


Edit3:

To prevent confusion the new library is called picklexml

2 Likes

Version 0.1.3.post1 is the official stable release for pklxml!

This release was created on 2025-05-27T11:44:00Z


What happened to v1.0.1 and v1.0.2?

These versions were considered as non-production ready so they were removed

Version 0.1.4 released!

Security is now assured! For more details please see

Version 0.1.5 released!

This would be the last release before v0.2.0

Fixes:

  • Added test_core.py
  • Added /examples/example_basic.py
  • Added /examples/data/example.pklxml

Help wanted!!! Please contribute to my repo! Thanks for your support!

Version 0.2.0 Released

This is a feature release. I have closed 2 issues

Version 0.2.2 released!

This is a maintenance release. Fixed a bug that will result in a syntax error