Metadata-Version: 2.4
Name: latta-python-recorder
Version: 0.0.3
Summary: Latta AI Vanilla Python Recorder
Home-page: https://latta.ai
Author: Latta AI s.r.o.
Author-email: info@latta.ai
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: psutil
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Latta Vanilla Python recorder


1. Install Latta AI package via pip

```py
pip install latta-python-recorder
```

2. Wrap whole application into Latta

```py

from latta_python_recorder import Latta

latta = Latta('api-key')

@latta.wrap
def divide(x, y):
    return x / y
```

Latta is typed like this `Latta(api_key: str, instance_id: Optional[str]=None, options: Optional[LattaOptions]=None)`

User can also specify extra options, for now just device type, the rest of options we collect Latta takes automatically on its own.
