Metadata-Version: 2.1
Name: zope.contenttype
Version: 4.5.0
Summary: Zope contenttype
Home-page: http://github.com/zopefoundation/zope.contenttype
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: ======================
         ``zope.contenttype``
        ======================
        
        .. image:: https://img.shields.io/pypi/v/zope.contenttype.svg
                :target: https://pypi.python.org/pypi/zope.contenttype/
                :alt: Latest release
        
        .. image:: https://img.shields.io/pypi/pyversions/zope.contenttype.svg
                :target: https://pypi.org/project/zope.contenttype/
                :alt: Supported Python versions
        
        .. image:: https://travis-ci.org/zopefoundation/zope.contenttype.svg?branch=master
                :target: https://travis-ci.org/zopefoundation/zope.contenttype
        
        .. image:: https://coveralls.io/repos/github/zopefoundation/zope.contenttype/badge.svg?branch=master
                :target: https://coveralls.io/github/zopefoundation/zope.contenttype?branch=master
        
        .. image:: https://readthedocs.org/projects/zopecontenttype/badge/?version=latest
                :target: https://zopecontenttype.readthedocs.io/en/latest/
                :alt: Documentation Status
        
        A utility module for content-type (MIME type) handling.
        
        Functions include:
        
        - Guessing a content type given a name and (optional) body data.
        - Guessing a content type given some text.
        - Parsing MIME types.
        
        Documentation is hosted at https://zopecontenttype.readthedocs.io/en/latest/
        
        ================
         Change History
        ================
        
        4.5.0 (2019-12-19)
        ==================
        
        - Fix tests on Python 3.8
          (`#7 <https://github.com/zopefoundation/zope.contenttype/issues/7>`_).
        
        - Add support for Python 3.8.
        
        
        4.4 (2018-10-05)
        ================
        
        - Add support for Python 3.7.
        
        
        4.3.0 (2017-08-10)
        ==================
        
        - Add support for Python 3.6.
        
        - Drop support for Python 3.3.
        
        - Host documentation at https://zopecontenttype.readthedocs.io
        
        
        4.2.0 (2016-08-26)
        ==================
        
        - Add support for Python 3.5.
        
        - Drop support for Python 2.6.
        
        4.1.0 (2014-12-26)
        ==================
        
        - Add support for Python 3.4 and PyPy3.
        
        - Add support for testing on Travis.
        
        4.0.1 (2013-02-20)
        ==================
        
        - Change the file contents argument of ``guess_content_type`` from string
          to bytes.  This change has no effect on Python 2.
        
        4.0.0 (2013-02-11)
        ==================
        
        - Add some tests for better coverage.
        
        - Add ``tox.ini`` and manifest.
        
        - Add support for Python 3.3 and PyPy.
        
        - Drop support for Python 2.4 and 2.5.
        
        3.5.5 (2011-07-27)
        ==================
        
        - Properly restore the HTML snippet detection, by looking at the entire string
          and not just its start.
        
        3.5.4 (2011-07-26)
        ==================
        
        - Restore detection of HTML snippets from 3.4 series.
        
        3.5.3 (2011-03-18)
        ==================
        
        - Add new mime types for web fonts, cache manifest and new media formats.
        
        3.5.2 (2011-02-11)
        ==================
        
        - LP #717289:  add ``video/x-m4v`` mimetype for the ``.m4v`` extension.
        
        3.5.1 (2010-03-23)
        ==================
        
        - LP #242321:  fix IndexError raised when testing strings consisting
          solely of leading whitespace.
        
        3.5.0 (2009-10-22)
        ==================
        
        - Move the implementation of ``zope.publisher.contenttype`` to
          ``zope.contenttype.parse``, moved tests along.
        
        3.4.3 (2009-12-28)
        ==================
        
        - Update mime-type for ``.js`` to be application/javascript.
        
        3.4.2 (2009-05-28)
        ==================
        
        - Add MS Office 12 types based on:
          http://www.therightstuff.de/2006/12/16/Office+2007+File+Icons+For+Windows+SharePoint+Services+20+And+SharePoint+Portal+Server+2003.aspx
        
        3.4.1 (2009-02-04)
        ==================
        
        - Improve ``text_type()``. Based on the patch from
          http://www.zope.org/Collectors/Zope/2355/
        
        - Add missing ``setuptools`` dependency to setup.py.
        
        - Add reference documentation.
        
        3.4.0 (2007-09-13)
        ==================
        
        - First stable release as an independent package.
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development
Provides-Extra: test
Provides-Extra: docs
