A gift for the developers

While developing integrations, the process to map information between various formats can be a pain!

I developed a small library that help me to map long files for the database https://gist.github.com/MaxMorais/55458cdebce54d36e568a169f6ee95a8

The sample.json is generated from a giant XML, using xmltodict library.
The mapr.py have some functions to help with mapping the attributes in various levels, to an standard level to prepare to store to db.
The sample.py have a example of this functions working.

Have some knew issues like the cleaning of the unused attributes, and the conditional processors!

Any tip, idea or comment is appreciated!

6 Likes

@max_morais_dmm will be awesome if you can move this to a GitHub repo and add a small README to explain what it does :slight_smile: