https://github.com/cnobile2012/parsing_tools
Python parsing tools for MIME types and for creating Python objects from XML.
https://github.com/cnobile2012/parsing_tools
mime-parser python xml-2-python-objects
Last synced: 3 months ago
JSON representation
Python parsing tools for MIME types and for creating Python objects from XML.
- Host: GitHub
- URL: https://github.com/cnobile2012/parsing_tools
- Owner: cnobile2012
- License: mit
- Created: 2017-06-08T14:53:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T17:24:59.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T22:55:45.529Z (5 months ago)
- Topics: mime-parser, python, xml-2-python-objects
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
*************
Parsing Tools
*************.. image:: http://img.shields.io/pypi/v/parsing_tools.svg
:target: https://pypi.python.org/pypi/parsing_tools
:alt: PyPI Version.. image:: https://img.shields.io/pypi/pyversions/parsing_tools.svg
:target: https://pypi.python.org/pypi/parsing_tools
:alt: PY Versions.. image:: https://travis-ci.org/cnobile2012/parsing_tools.svg?branch=master
:target: https://travis-ci.org/cnobile2012/parsing_tools
:alt: Build Status.. image:: http://img.shields.io/coveralls/cnobile2012/parsing_tools/master.svg?branch=master
:target: https://coveralls.io/github/cnobile2012/parsing_tools?branch=master
:alt: Test Coverage.. image:: https://img.shields.io/pypi/dm/parsing_tools.svg
:target: https://pypi.python.org/pypi/parsing_tools
:alt: PyPI DownloadsThe 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.