Skip to main content
Callbacks lets you use decorator syntax to set callbacks on methods or functions.

[![Build Status](https://secure.travis-ci.org/14rcole/callbacks.svg?branch=master)](https://travis-ci.org/14rcole/callbacks)
[![Coverage Status](https://coveralls.io/repos/github/14rcole/callbacks/badge.svg?branch=master)](https://coveralls.io/github/14rcole/callbacks?branch=master)

```python
from callbacks import supports_callbacks

def callback():
print "Polly!"

@supports_callbacks
def target():
print "hello",

target.add_callback(callback)

target() # prints "hello Polly!"
```



Metadata

Release files for callbacks 0.3.0

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

Source distribution (sdist)

Source distribution for callbacks 0.3.0
File Size Uploaded Provenance Actions
callbacks-0.3.0.tar.gz 9.4 kB Without provenance Details for callbacks-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for callbacks 0.3.0
File Interpreter ABI Platform Actions
callbacks-0.3.0-py2-none-any.whl Python 2 none any Details for callbacks-0.3.0-py2-none-any.whl

Total release size: 15.0 kB

Release files / callbacks-0.3.0.tar.gz

Download URL callbacks-0.3.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
16248b2570394e06cc9c78f586f2582c36a677163e80f8735625d3904b3a5b65
BLAKE2b-256 checksum
How to use checksums
eb15c71150189ea1cfd04a5853a40e2e074ec777755bd3924980fe51e5c6dd44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

Release files / callbacks-0.3.0-py2-none-any.whl

Download URL callbacks-0.3.0-py2-none-any.whl
Size 5.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
44a3d8d8686e78ab223042910945bd1dffc25d668adb0b76c115f3bf3fdf0a1b
BLAKE2b-256 checksum
How to use checksums
6cacb75152b8172643dcd2c337d201a3de7d2e5d795a0d010aad2d1a31705d63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

Security for callbacks 0.3.0

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