Zope hookable
Project description
zope.hookable
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.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)
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)
Add support for Python 3.3.
Avoid building the C extension explicitly (use the “feature” indirection instead). https://bugs.launchpad.net/zope.hookable/+bug/1025470
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for zope.hookable-5.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef3128b5bcb97029c19df95126f57638afe6d2aca0ffede989149fa0bbd744a |
|
MD5 | 89d4b5afc118c1eee3803718bf5ea616 |
|
BLAKE2b-256 | 51bca4688d0a38910e7528f4e519839bca4b2b350a22a6539fbf3a563b196bbb |
Hashes for zope.hookable-5.1.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7091df7b4d6d897dd00e8717f0fa62b020e28aabe54a92005df22130ed204f6f |
|
MD5 | 82560c3fae1729254ed5a9be53c26c49 |
|
BLAKE2b-256 | 012a6b7e7d55dbdbcb9c2db8e90117f9c198134f76dc41e7abaa3fc54428d0b7 |
Hashes for zope.hookable-5.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd1b1107a51ddfbd628c1ff884c6a67e92519b23012563b6082d438dbd16b9d |
|
MD5 | e31911d968502853d1d4988fe76cc7fa |
|
BLAKE2b-256 | b839630be2ead0ac1a5a62fca6ab40d47f6f8c518a569b71b6f88a6994247962 |
Hashes for zope.hookable-5.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bac9afd00e9577227749b37dfc3b9fe4f4fb855923262fc016be47baa42712 |
|
MD5 | cf7ae08cf0277c8bc140d5019b7a77d8 |
|
BLAKE2b-256 | 2c78f962424583b91725edecc398e81bfd0a727033873209896dac5c666a6940 |
Hashes for zope.hookable-5.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800f93479202b05e46ba7696a2dd5411cfdd9d87c47a7d2b6fcda5394a5f9042 |
|
MD5 | 88e24a80efc8a2324284c1b7da969953 |
|
BLAKE2b-256 | b6004645ed567aad6238d98ca0d14c33f93f683b65c3ebaaf1dbeee4ef3e4705 |
Hashes for zope.hookable-5.1.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b01e7cf16b4a3257ee05e4c354737a4f64af302846826c46a296a7944b8da9 |
|
MD5 | e0e84ac9f6f3048eac9c11c307186f3f |
|
BLAKE2b-256 | cd8b395a3a4ad257684238b65b713abdd3d0c23b5720bb824577d0869fafc11a |
Hashes for zope.hookable-5.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49427208d9f65e5aa7df5c1be4dc818c51da34e261f4e52fe944a695ae90e3b3 |
|
MD5 | 3751ebd8faa212ae20919fe8f5d4269e |
|
BLAKE2b-256 | e4b2caff75cbdd4f650097616071e4b4b4cbfe5c5184bbeb67b72dfad7574de1 |
Hashes for zope.hookable-5.1.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf7f1f973aeced06ab1a245faa71e867cec6a053b807c2aad4c1728964aac071 |
|
MD5 | 06056589879e8b1236c0247440766e72 |
|
BLAKE2b-256 | 26b047f4fc3f6b38be557d718522babd0292d5d317aca67ade2e67c7d771b548 |
Hashes for zope.hookable-5.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dbdfe522741effbb507d55354664c93c81db6db66ca124c981d1e3a41e5a31b |
|
MD5 | 2b0728e1d59c42ca281722365da3b370 |
|
BLAKE2b-256 | 480f9d3bb6140f5948d84ea5d52e481cad1b94a1c7c8b28fc7951bfdf5fbac53 |
Hashes for zope.hookable-5.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc9693fa28a238f063ba169110ef4199e0f86f9f976b57824c1d742eb21ad2e |
|
MD5 | f43311ae1116d2439e748f5dc50c5871 |
|
BLAKE2b-256 | 807e83a01601730cbe47e783d3d3d64094eac2777405f313bfcbac7ffdc9b1c1 |
Hashes for zope.hookable-5.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35320d283a364c42dbf91694066bc1e7f07628bbd5ec87c1ae08143036e1de49 |
|
MD5 | 1f55a04e8dd693bf100992ee3d9b1311 |
|
BLAKE2b-256 | ea824be07c58047e830830c768420f07581bd02bd539e89b7011575b641e6677 |
Hashes for zope.hookable-5.1.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff08276e555f2ef262fd03d872cca130e7ee376b87d7651a5595aae2fa5b2425 |
|
MD5 | ecacd645d244998dfc04bb29da35e445 |
|
BLAKE2b-256 | ee1c7d866c4a1292c9efbf8f035f843b250601187bc6bdd9355592a15181102b |
Hashes for zope.hookable-5.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dfb4f5189c8a3b70dfdf0d268840d5dce69048d4767120910f4665fa5ee2f3 |
|
MD5 | 5fa178e9edbb164b419036f948624038 |
|
BLAKE2b-256 | 67e2313357b46cecb202b202684a520b6ce9b47e4c9f2544e60e386a36050e2b |
Hashes for zope.hookable-5.1.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b63de104e531109f606d4e3765b82fa3364e387d63b71a02460d321e24b33c8 |
|
MD5 | f4c0e54646fc4711cd88f991dfeed3a7 |
|
BLAKE2b-256 | 822293019b5c82a121ee4d984389f3eb01a5a94a57a1e58749397a747ca39f6f |
Hashes for zope.hookable-5.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64337672794b01d039e2380d11dd895ab17043530f27b5e3e0709a11fbe5b532 |
|
MD5 | d23915e726de663298365dafc5376d1b |
|
BLAKE2b-256 | 7402cc0696f59e101b73d321bd5ef01ae00842454d40391106e40d33acb48b5e |
Hashes for zope.hookable-5.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3111fbc3ddae5d98655691ff81b1c71bd7ad0c3bcf2c2ef659fdc8e66f664603 |
|
MD5 | 222ee784546857d53e6d097c7b8cefb3 |
|
BLAKE2b-256 | 33ae6ef8d5c7199112ef7d651677a8daa58189795beb35a30d8b4dba308b2195 |
Hashes for zope.hookable-5.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7067a450b15c8d41d00060890573ddc06f3414e62173dac55b38f6683920c20e |
|
MD5 | 720fa8850f22ca846f71938f5b01f790 |
|
BLAKE2b-256 | ed0af23be851992c5ba7f19a8277409be5d5a2d230f61ab555743b72606c8b95 |
Hashes for zope.hookable-5.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da8d3386238983e97302b2cbdb510e126968e65e3cb8a8745da9744655001fc |
|
MD5 | 558abc64fb63549d571056b100311520 |
|
BLAKE2b-256 | fb37ff891c0db7b8e227ae6c7f891fcbe90bd3008800ef5e405032fcd48d310c |
Hashes for zope.hookable-5.1.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031e7672540685dc9d07565f2b968c6e21c7899c9391da58a23e63f229a8fdcd |
|
MD5 | 161d1476064c1e08bf93e1ec601fcb69 |
|
BLAKE2b-256 | cd0516f58b21066aa2daec3e69bd9155189f3556ae4ec01b006c9be262a930e9 |
Hashes for zope.hookable-5.1.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34a84e15f2e6a3b2e372a67f7d845a372e3f0438319f26dfe9b7cb66ab75be44 |
|
MD5 | 8f4e55939ed75d3a5ef203d99da0ea18 |
|
BLAKE2b-256 | c37f3c4d1b4fa7e40a2dcc7ba5967949e0305934cbd9bc8c28851aee17ad6675 |
Hashes for zope.hookable-5.1.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de77a946ef020d08643647e417713ed753a2eed1f4495259c38a241c8eb31dbf |
|
MD5 | 6493c3d2e0a0e5d4b29ead45435b07ae |
|
BLAKE2b-256 | b02e6b8072e8cb62190948fddb5bbece3992d9cb33e49c2491321f0557569734 |
Hashes for zope.hookable-5.1.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbcbf6d31092caafb40ab26d07c065bf4f60f3ba7925d23d51a4e19469034544 |
|
MD5 | d74867216553e84db6805faed21243c0 |
|
BLAKE2b-256 | 8a2c91a98805f61e60459ce204a39249001407004ab2ed4b86d0083a15178232 |
Hashes for zope.hookable-5.1.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43855fbab9fb949fa14b5bbcf4c471e4d359428c2196061efe0d82fe3b387101 |
|
MD5 | 3f2208fd7aaabe5621bb4bdb70a2f539 |
|
BLAKE2b-256 | f3857157eb633777c6aa1b9ffe8784c7299c4696f9de12427cd15c9903c1607e |
Hashes for zope.hookable-5.1.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a766186b97e493928dfac4a4b6c7508e47411e78c6f3be9846e8981eb91542d4 |
|
MD5 | 7657e57e77c8d08d59d8522843c2571c |
|
BLAKE2b-256 | 90ee5416029bf3b5f39734a5928321eb319e24956e65398731615251d4b34cf5 |
Hashes for zope.hookable-5.1.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4711443b964bf7ace58780a3473f520151de8d441e57583b8d8cd8a231fb7656 |
|
MD5 | 7f65f1c8ec3f40523400230bce41d150 |
|
BLAKE2b-256 | 512c3ee6a5a28a7e5f71b6f28f4c64acc97f8c140f7587f2e683f42e411d8ed4 |
Hashes for zope.hookable-5.1.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c0748438f716894cb61f3ed00adaa65359a5abe7a12bb44d7133d4b0cd3453 |
|
MD5 | 70c6b64a6703f5cf24aca6e8456da4cd |
|
BLAKE2b-256 | b538a10b18b6931ad6a5b7b70515e2dbb4bc624244427122d86d248b54bd6363 |
Hashes for zope.hookable-5.1.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf9982d43f6a732d041cf68b08fa969e5bcf090212ab519a637c8a393015eda |
|
MD5 | a7caac751a00e2aefb14db23a000d665 |
|
BLAKE2b-256 | a15e75dbdc54d35164d0a1d6bc7cba049a79f183286aa64034bcf912fc24cb69 |
Hashes for zope.hookable-5.1.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e4489ccf0dbd4c0e9d2d8b845b46994debb30cc22f96da76e973f9cb582799 |
|
MD5 | 1f7bcf8fefddfcf6c8c25d62b5608522 |
|
BLAKE2b-256 | 9f816b7b9f3c6a3548f5b871500dcde56f6f7c0932a181a8d25c10d54e23f0b2 |
Hashes for zope.hookable-5.1.0-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf27270212fa51005162d75cae83bb943c84ece7c7f8d30d68efebfad2f469d9 |
|
MD5 | 5f7fcc03767167d78b943c90005157da |
|
BLAKE2b-256 | c860acd37eba7e19b6622207347f3a774157e907b3e8829cf2188edbfe5a2905 |