Skip to main content

No project description provided

Project description Documentation Status

Testing helper utility for monitoring calls to functions and methods (spying).


import my_module
import pyispy

def my_ClassA():
    reports = []
    pyispy.wiretap(my_module.ClassA, ["__init__", "exec"], reports)

    obj = my_module.ClassA()

    assert "__init__" in reports


  • Refactor hooks as classes to contract input arguments (object, function name, logbook) to support polymorphic attitude in process_request.
  • Implement/test wiretap on magic methods
    • Handle response to read-only functions (for example __add__ in int type)


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyispy, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyispy-0.1.2-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyispy-0.1.2.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page