Skip to main content

Zope hookable

Project description

zope.hookable

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.hookable.svg?branch=master 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

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.

Files for zope.hookable, version 4.2.0
Filename, size & hash File type Python version Upload date
zope.hookable-4.2.0-cp27-cp27m-win32.whl (15.2 kB) View hashes Wheel cp27
zope.hookable-4.2.0-cp27-cp27m-win_amd64.whl (15.0 kB) View hashes Wheel cp27
zope.hookable-4.2.0-cp34-cp34m-win32.whl (15.1 kB) View hashes Wheel cp34
zope.hookable-4.2.0-cp34-cp34m-win_amd64.whl (14.8 kB) View hashes Wheel cp34
zope.hookable-4.2.0-cp35-cp35m-win32.whl (16.5 kB) View hashes Wheel cp35
zope.hookable-4.2.0-cp35-cp35m-win_amd64.whl (17.1 kB) View hashes Wheel cp35
zope.hookable-4.2.0-cp36-cp36m-macosx_10_13_x86_64.whl (14.0 kB) View hashes Wheel cp36
zope.hookable-4.2.0-cp36-cp36m-win32.whl (16.5 kB) View hashes Wheel cp36
zope.hookable-4.2.0-cp36-cp36m-win_amd64.whl (17.1 kB) View hashes Wheel cp36
zope.hookable-4.2.0.tar.gz (22.0 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page