Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Supported options
=================

hooks
Custom python script(s) and method(s) that will be executed.
The format of the options is::

/path/to/the/module.py:name_of_callable

where the first part is a filesystem path to the python module and
the second part is the name of the callable in the module that
will be called. The callable will be passed two parameters: the
``options`` dictionary from the recipe and the global ``buildout``
dictionary. The callable is not expected to return anything.

This code was essentially ripped out of plone.recipe.command_
and hexagonit.recipe.cmmi_

.. _plone.recipe.command : http://dev.plone.org/collective/browser/buildout/plone.recipe.command
.. _hexagonit.recipe.cmmi : http://pypi.python.org/pypi/hexagonit.recipe.cmmi


Example usage
=============

It can be helpful to define in [buildout] a::

hooks = ${buildout:directory}/hooks

then invoke like::

[your_part_section]
hooks = ${buildout:hooks}/hookfile.py:methodname

The value of 'hooks' can be a whitespace-separated list of
files:methods to specify multiple hooks that are executed in
order. You can also specify options that can be used in your
hooks. Example::

[your_part_section]
hooks = ${buildout:hooks}/hookfile1.py:methodname1
${buildout:hooks}/hookfile2.py:methodname2
${buildout:hooks}/hookfile2.py:methodname3
option1 = xyzzy
option2 = You won't get it up the stairs.

Metadata

Release files for koansys.recipe.hooks 0.1dev-r3

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

Source distribution (sdist)

Source distribution for koansys.recipe.hooks 0.1dev-r3
File Size Uploaded Provenance Actions
koansys.recipe.hooks-0.1dev-r3.tar.gz 3.3 kB Without provenance Details for koansys.recipe.hooks-0.1dev-r3.tar.gz

Release files / koansys.recipe.hooks-0.1dev-r3.tar.gz

Download URL koansys.recipe.hooks-0.1dev-r3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
07cac463229e55ef21e40c290132d5284d01d528a4c5a561e41a9c8c798204e5
BLAKE2b-256 checksum
How to use checksums
7bbd7230367bfa5cbcfe6c1092c8d2fb1740dc4e7b6f1de302fa36513efefd31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for koansys.recipe.hooks 0.1dev-r3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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