Skip to main content

A set of utilities to help parse mime types found in HTTP headers plus a utility to parse XML documents into Python objects.

Project description

This repository contains multiple small projects each of which can be used separately.

This would be a great package to use when creating your own custom Django REST Framework renderers and parsers based on a 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parsing-tools-1.0.5.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file parsing-tools-1.0.5.tar.gz.

File metadata

  • Download URL: parsing-tools-1.0.5.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for parsing-tools-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4845d32709c0fe7294a3b89c9712d3307b48765282e031f6339445a7cc82fa48
MD5 6e17e96613336a02d8f4f99f85dccc44
BLAKE2b-256 adaf53607d1ee2d24d4035f0d54904cba92c1a214adf4f79fbd2d6ebbd3919e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page