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.

Source Distribution

zope.hookable-4.2.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zope.hookable-4.2.0-cp36-cp36m-win_amd64.whl (17.1 kB view details)

Uploaded CPython 3.6mWindows x86-64

zope.hookable-4.2.0-cp36-cp36m-win32.whl (16.5 kB view details)

Uploaded CPython 3.6mWindows x86

zope.hookable-4.2.0-cp36-cp36m-macosx_10_13_x86_64.whl (14.0 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

zope.hookable-4.2.0-cp35-cp35m-win_amd64.whl (17.1 kB view details)

Uploaded CPython 3.5mWindows x86-64

zope.hookable-4.2.0-cp35-cp35m-win32.whl (16.5 kB view details)

Uploaded CPython 3.5mWindows x86

zope.hookable-4.2.0-cp34-cp34m-win_amd64.whl (14.8 kB view details)

Uploaded CPython 3.4mWindows x86-64

zope.hookable-4.2.0-cp34-cp34m-win32.whl (15.1 kB view details)

Uploaded CPython 3.4mWindows x86

zope.hookable-4.2.0-cp27-cp27m-win_amd64.whl (15.0 kB view details)

Uploaded CPython 2.7mWindows x86-64

zope.hookable-4.2.0-cp27-cp27m-win32.whl (15.2 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file zope.hookable-4.2.0.tar.gz.

File metadata

  • Download URL: zope.hookable-4.2.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zope.hookable-4.2.0.tar.gz
Algorithm Hash digest
SHA256 c1df3929a3666fc5a0c80d60a0c1e6f6ef97c7f6ed2f1b7cf49f3e6f3d4dde15
MD5 350bf5cfc64b1eb8d616344d40f7eec4
BLAKE2b-256 41b5378175b959565de41f45c775cdfbf8897aaeaf29a258b94e40bd2661ce46

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 39912f446e45b4e1f1951b5ffa2d5c8b074d25727ec51855ae9eab5408f105ab
MD5 6e5683fafeadd45bd7fba6b71e51ecb7
BLAKE2b-256 b288f04e0c05713cc668d407e04f85394c2f689e1c8c47cf8c4f72ae722ff392

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 22886e421234e7e8cedc21202e1d0ab59960e40a47dd7240e9659a2d82c51370
MD5 8e6a515e14dbcdcb9e3df858dfb8d684
BLAKE2b-256 41866e38221644adacab1bdc956beacbd263a3192bfb3bed60ece41e35b78035

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3d7c4b96341c02553d8b8d71065a9366ef67e6c6feca714f269894646bb8268b
MD5 85e2ab035d5924f587af9650ed8e3044
BLAKE2b-256 f2e3e47bffcd04394ca85df491b41ce3112eff8fefa9b626b245bb116c9df879

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 dba8b2dd2cd41cb5f37bfa3f3d82721b8ae10e492944e48ddd90a439227f2893
MD5 e5df632c601b0bfc35101813b2c5cc2b
BLAKE2b-256 9e484a5287f7138ff9463e145870d94281e0742fcb290747b7da5b0a3a07872f

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 f492540305b15b5591bd7195d61f28946bb071de071cee5d68b6b8414da90fd2
MD5 ecec000852bf3ce707914b2654014e65
BLAKE2b-256 71d239d3f955d8314dfe806168a30ceb3e216784c7a79793dd582d403c73e217

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 3adb7ea0871dbc56b78f62c4f5c024851fc74299f4f2a95f913025b076cde220
MD5 1ee5bc04a80db1610e4869c4f080e3a0
BLAKE2b-256 cbc352511d1fe7659e1cab6a3b8918c9100f901a6e2cc43f66c25f003d1f4c98

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 77c82a430cedfbf508d1aa406b2f437363c24fa90c73f577ead0fb5295749b83
MD5 a53ea5dbf1aeb6d640f57dc35a5fbbec
BLAKE2b-256 a5dc7122d696fed2012097fa264ce23c13734a29c4a4241700c48577d0fcd7a4

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 4e826a11a529ed0464ffcecf34b0b7bd1b4928dd5848c5c61bedd7833e8f4801
MD5 6bcfd94f1d15462a606ac6e4035dc700
BLAKE2b-256 749bd4f2b03e754a30540f090e8ab3084266b712823cec5db421bb5c9626e3f2

See more details on using hashes here.

File details

Details for the file zope.hookable-4.2.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for zope.hookable-4.2.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 700d68cc30728de1c4c62088a981c6daeaefdf20a0d81995d2c0b7f442c5f88c
MD5 0a92bd434902712351ca984df0d4b213
BLAKE2b-256 6f3418ba264c40b80055d8fc83662d89badd0073531e5fc6391fdaf5b4c00394

See more details on using hashes here.

Supported by

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