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

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.

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.2.1.tar.gz (6.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for parsing-tools-1.2.1.tar.gz
Algorithm Hash digest
SHA256 561857a0de3edf8a229ae3f8e5374c31f23dc669c9f5fa7634274fa047e236d8
MD5 7f1d64ec200a664f84d46833f94fb235
BLAKE2b-256 fed33a3e94401242ac508e30d52f3f7ca273f5a7085d7d266854b6399966067d

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