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.
- Host: GitHub
- URL: https://github.com/akx/juupeli
- Owner: akx
- License: mit
- Created: 2020-05-26T13:53:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T14:57:08.000Z (about 6 years ago)
- Last Synced: 2025-02-10T18:12:43.977Z (over 1 year ago)
- Topics: python, serialization, xml
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Juupeli
=======

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