An open API service indexing awesome lists of open source software.

https://github.com/akx/juupeli

Encodes arbitrary Python data structures into XML in a reasonably sane way.
https://github.com/akx/juupeli

python serialization xml

Last synced: about 1 year ago
JSON representation

Encodes arbitrary Python data structures into XML in a reasonably sane way.

Awesome Lists containing this project

README

          

Juupeli
=======

![Test](https://github.com/akx/juupeli/workflows/Test/badge.svg)

Encodes arbitrary Python data structures into XML in a reasonably sane way.

Usage
-----

Basically,

```
from juupeli import to_xml_string

x = to_xml_string(my_object)
```

should immediately do something usable.

Please see the tests for more advanced usage for the time being.

TODO
----

* Annotation support (for e.g. attributes)
* Decoding back to Python? Maybe?

Known issues
------------

* Nesting anonymous collections will cause flattening with the default codec