Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Parses mimetype-strings (RFC 1049, 2045, 2047 and 2231) and allows comparing these.

Project Description

An internet MIME-message is usually accompanied by a content-type string like text/plain or application/collection+json. The mimes library allows parsing these and can if types are subsets of another – a parser that handles application/json, for example, will be perfectly fine handing the collection+json type with less semantics.

It also parses more complex strings including parameters (e.g. application/; version=3) and can construct these as well.

See the docs for details.

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mimes-0.3.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Feb 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting