Metadata-Version: 2.0
Name: intraspector
Version: 0.1.0
Summary: Intraspector decorator for python
Home-page: https://github.com/BespokeInsights/python-intraspector
Author: Aaron Hayes
Author-email: aaron.hayes92@gmail.com
License: MIT
Platform: UNKNOWN

# Python Intraspector
This project is currently under development. APIs will change.

## Example Usage
Declare Intraspector object
```python
from python-intraspector import Intraspector
global intraspector
intraspector = Intraspector()
```

Add Intraspector decorator to functions you want recorded.
```python

@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
```python
if intraspector.get_debug_mode:
    value['intraspector_trace'] = intraspector.get_trace()
```

## Related Modules
[React Fluxible Intraspector](https://github.com/BespokeInsights/react-fluxible-intraspector)


