cnobile2012 / parsing_tools

Python parsing tools for MIME types and for creating Python objects from XML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing Tools

PyPI Version PY Versions Build Status Test Coverage PyPI Downloads

The MIT License (MIT)

This repository contains multiple small projects each of which can be used separately. There are, at this point, no dependencies between them.

This would be a great package to use when creating your own custom Django REST Framework renderers and parsers based on custom MIME types.

Current Projects

mimeparser

This tool would be used to parse HTTP headers to derive the 'best fit' mime type. It handles suffix and quality parsing and can be used to find the best match from an Accept header from a list of available mime types.

xml2dict

This tool should be able to parse any XML document into Python objects. The output will become very verbose since it will include all attributes, elements and namespaces found in the XML document.

About

Python parsing tools for MIME types and for creating Python objects from XML.

License:MIT License


Languages

Language:Python 94.0%Language:Makefile 5.6%Language:Shell 0.4%