Skip to main content

zope.mimetype

Latest release Supported Python versions https://github.com/zopefoundation/zope.mimetype/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.mimetype/badge.svg?branch=master Documentation Status

This package provides a way to work with MIME content types. There are several interfaces defined here, many of which are used primarily to look things up based on different bits of information.

See complete documentation at https://zopemimetype.readthedocs.io/en/latest/

Changes

4.1 (2026-07-03)

  • Move package metadata from setup.py to pyproject.toml.

  • Add support for Python 3.14.

  • Fix utils.rst doctest on Python 3.15 where iso-ir-6 no longer resolves to an input codec in email.charset.

  • Drop support for Python 3.9.

4.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

3.2 (2025-07-03)

  • Add support for Python 3.13.

  • Drop support for Python 3.7, 3.8.

3.1 (2024-02-08)

  • Add support for Python 3.12.

3.0 (2023-02-27)

  • Add support for Python 3.9, 3.10, 3.11.

  • Drop support for Python 2.7, 3.5, 3.6.

  • Drop support for deprecated python setup.py test.

2.5.1 (2021-04-15)

  • Fix test compatibility with zope.interface 5.4.

2.5.0 (2020-03-30)

  • Add support for Python 3.8.

  • Drop support for Python 3.4.

  • Ensure all objects have consistent interface resolution orders. See issue 17.

2.4.0 (2018-10-16)

  • Add support for Python 3.7.

  • Fix DeprecationWarnings for IObjectEvent and ObjectEvent by importing them from zope.interface.interfaces. See issue 14.

2.3.2 (2018-07-30)

  • Documentation was moved to https://zopemimetype.readthedocs.io

  • Fix an AttributeError accessing the preferredCharset of an ICodecTerm when no ICodecPreferredCharset was registered.

  • Reach and automatically require 100% test coverage.

2.3.1 (2018-01-09)

  • Only try to register the browser stuff in the ZCA when zope.formlib is available as it breaks otherwise.

2.3.0 (2017-09-28)

  • Drop support for Python 3.3.

  • Move the dependencies on zope.browser, zope.publisher and zope.formlib (only needed to use the source and widget modules) into a new browser extra. See PR 8.

2.2.0 (2017-04-24)

  • Fix issue 6: typegetter.smartMimeTypeGuesser would raise TypeError on Python 3 when the data was bytes and the content_type was text/html.

  • Add support for Python 3.6.

2.1.0 (2016-08-09)

  • Add support for Python 3.5.

  • Drop support for Python 2.6.

  • Fix configuring the package via its included ZCML on Python 3.

2.0.0 (2014-12-24)

  • Add support for PyPy and PyPy3.

  • Add support for Python 3.4.

  • Restore the ability to write from zope.mimetype import types.

  • Make configure.zcml respect the renaming of the types module so that it can be loaded.

2.0.0a1 (2013-02-27)

  • Add support for Python 3.3.

  • Replace deprecated zope.component.adapts usage with equivalent zope.component.adapter decorator.

  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Rename zope.mimetype.types to zope.mimetype.mtypes.

  • Drop support for Python 2.4 and 2.5.

1.3.1 (2010-11-10)

  • No longer dependg on zope.app.form in configure.zcml by using zope.formlib instead, where the needed interfaces are living now.

1.3.0 (2010-06-26)

  • Add testing dependency on zope.component[test].

  • Use zope.formlib instead of zope.app.form.browser for select widget.

  • Conform to repository policy.

1.2.0 (2009-12-26)

  • Convert functional tests to unit tests and get rid of all extra test dependencies as a result.

  • Use the ITerms interface from zope.browser.

  • Declare missing dependencies, resolved direct dependency on zope.app.publisher.

  • Import content-type parser from zope.contenttype, adding a dependency on that package.

1.1.2 (2009-05-22)

  • No longer depend on zope.app.component.

1.1.1 (2009-04-03)

  • Fix wrong package version (version 1.1.0 was released as 0.4.0 at pypi but as 1.1dev at download.zope.org/distribution)

  • Fix author email and home page address.

1.1.0 (2007-11-01)

  • Package data update.

  • First public release.

1.0.0 (2007-??-??)

  • Initial release.

Release files for zope.mimetype 4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.mimetype 4.1
File Size Uploaded
zope_mimetype-4.1.tar.gz 60.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.mimetype 4.1
File Interpreter ABI Platform
zope_mimetype-4.1-py3-none-any.whl Python 3 none any Details

Total release size: 128.6 kB

Release files / zope_mimetype-4.1.tar.gz

Download URL zope_mimetype-4.1.tar.gz
Size 60.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e83b474f5280dbf65a47de63456e52bdf014cae3bea9ccb4677e6f14566237
BLAKE2b-256 checksum
How to use checksums
6e25aeaaad0c6e0c8b51244b60e4913bf5aa1d8895ffd8f7868b0b8c02a4ee8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release files / zope_mimetype-4.1-py3-none-any.whl

Download URL zope_mimetype-4.1-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dfb6d27707a7d7a1a5448db6a8bff0eddff91dc8c07ab202027acea5c7dd3fd
BLAKE2b-256 checksum
How to use checksums
1f1c5b55434d1f6ab29d600dfd9849e5cdf0ee0855670d3d0f628ca31d68e808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.1 This release

2 release files

4.0

2 release files

3.2

2 release files

3.1

2 release files

3.0

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

1 release file

2.1.0

1 release file

2.0.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.2

1 release file

1.1.1

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page