Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Intraspector

PyPI version

This project is currently under development. APIs will change.

Example Usage

Declare Intraspector object

from intraspector import Intraspector
global intraspector
intraspector = Intraspector()

Add Intraspector decorator to functions you want recorded.

@intraspector.record()
def somefunction(args, kwargs):
  secondCall(args)

@intraspector.record()
def secondCall(args):
  dont_record_this()

def dont_record_this():
  # Do something

Return Intraspector trace

if intraspector.get_debug_mode:
    value['intraspector_trace'] = intraspector.get_trace()

Related Modules

React Fluxible Intraspector

Thanks

Proudly developed by Bespoke Insights

About

Intraspector decorator for python

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages