Skip to main content

Zope hookable

Project description

zope.hookable

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

This package supports the efficient creation of “hookable” objects, which are callable objects that are meant to be optionally replaced.

The idea is that you create a function that does some default thing and make it hookable. Later, someone can modify what it does by calling its sethook method and changing its implementation. All users of the function, including those that imported it, will see the change.

Documentation is hosted at https://zopehookable.readthedocs.io

Changes

5.4 (2022-11-17)

  • Add support for building arm64 wheels on macOS.

5.3 (2022-11-03)

  • Add support for the final release of Python 3.11.

5.2 (2022-09-13)

  • Add support for Python 3.10 and 3.11 (as of 3.11.0rc1).

  • Disable unsafe math optimizations in C code. See pull request 25.

5.1.0 (2021-07-20)

  • Add support for Python 3.9.

  • Create Linux aarch64 wheels.

5.0.1 (2020-03-10)

  • Stop using the setuptools Feature class, allowing this project to be built from source with newer versions of setuptools that remove that functionality.

5.0.0 (2019-11-12)

  • Add support for Python 3.7 and 3.8.

  • Drop support for Python 3.4.

4.2.0 (2017-11-07)

  • Expose the __doc__ (and, where applicable, __bases__ and __dict__) of the hooked object. This lets Sphinx document them. See issue 6.

  • Respect PURE_PYTHON at runtime. At build time, always try to build the C extensions on supported platforms, but allow it to fail. See issue 7.

4.1.0 (2017-07-26)

  • Drop support for Python 2.6, 3.2 and 3.3.

  • Add support for Python 3.5 and 3.6.

4.0.4 (2014-03-19)

  • Add support for Python 3.4.

4.0.3 (2014-03-17)

  • Update boostrap.py to version 2.2.

  • Fix extension compilation on Py3k.

4.0.2 (2012-12-31)

  • Flesh out PyPI Trove classifiers.

4.0.1 (2012-11-21)

4.0.0 (2012-06-04)

  • Add support for PyPy.

  • Add support for continuous integration using tox and jenkins.

  • Add a pure-Python reference implementation.

  • Move doctests to Sphinx documentation.

  • Bring unit test coverage to 100%.

  • Add ‘setup.py docs’ alias (installs Sphinx and dependencies).

  • Add ‘setup.py dev’ alias (runs setup.py develop plus installs nose and coverage).

  • Drop support for Python 2.4 / 2.5.

  • Remove of ‘zope.testing.doctestunit’ in favor of stdlib’s ‘doctest.

  • Add Python 3 support.

3.4.1 (2009-04-05)

  • Update for compatibility with Python 2.6 traceback formats.

  • Use Jython-compatible bootstrap.py.

3.4.0 (2007-07-20)

  • Initial release as a separate project.

Download files

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

Source Distribution

zope.hookable-5.4.tar.gz (25.4 kB view hashes)

Uploaded Source

Built Distributions

zope.hookable-5.4-cp311-cp311-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

zope.hookable-5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp311-cp311-macosx_11_0_arm64.whl (14.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

zope.hookable-5.4-cp311-cp311-macosx_10_9_x86_64.whl (14.2 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

zope.hookable-5.4-cp310-cp310-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

zope.hookable-5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (29.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

zope.hookable-5.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (28.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

zope.hookable-5.4-cp310-cp310-macosx_11_0_arm64.whl (14.6 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

zope.hookable-5.4-cp310-cp310-macosx_10_9_x86_64.whl (14.2 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

zope.hookable-5.4-cp39-cp39-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

zope.hookable-5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (29.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

zope.hookable-5.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (28.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

zope.hookable-5.4-cp39-cp39-macosx_11_0_arm64.whl (14.5 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

zope.hookable-5.4-cp39-cp39-macosx_10_9_x86_64.whl (14.2 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

zope.hookable-5.4-cp38-cp38-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

zope.hookable-5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (25.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (29.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

zope.hookable-5.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (29.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

zope.hookable-5.4-cp38-cp38-macosx_11_0_arm64.whl (14.5 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

zope.hookable-5.4-cp38-cp38-macosx_10_9_x86_64.whl (14.2 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

zope.hookable-5.4-cp37-cp37m-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

zope.hookable-5.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

zope.hookable-5.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (29.3 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

zope.hookable-5.4-cp37-cp37m-macosx_10_15_x86_64.whl (14.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

zope.hookable-5.4-cp36-cp36m-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

zope.hookable-5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

zope.hookable-5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (29.1 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

zope.hookable-5.4-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (28.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

zope.hookable-5.4-cp36-cp36m-macosx_10_14_x86_64.whl (14.1 kB view hashes)

Uploaded CPython 3.6m macOS 10.14+ x86-64

zope.hookable-5.4-cp35-cp35m-win_amd64.whl (17.2 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

zope.hookable-5.4-cp27-cp27m-win_amd64.whl (15.1 kB view hashes)

Uploaded CPython 2.7m Windows x86-64

zope.hookable-5.4-cp27-cp27m-macosx_10_14_x86_64.whl (14.0 kB view hashes)

Uploaded CPython 2.7m macOS 10.14+ x86-64

Supported by

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