Metadata-Version: 2.3
Name: restai-functions
Version: 0.0.3
Summary: Call RESTai projects using direct functions in Python
License: Apache-2.0
Author: Pedro Dias
Author-email: petermdias@gmail.com
Requires-Python: >=3.12
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Dist: requests
Project-URL: Homepage, https://github.com/apocas/restai-functions
Description-Content-Type: text/markdown

# restai-functions

Call RESTai projects like functions in Python

## Usage

### Create a RESTai Project
<div align="center">
  <img src="https://raw.githubusercontent.com/apocas/restai-functions/master/readme/assets/project.png"  alt="RESTai Project" width="50%"/>
</div>

### Install
```bash
pip install restai-functions
```

### Example
```python
from restai_functions import Restai

restai = Restai(url=os.environ.get("RESTAI_URL"), api_key=os.environ.get("RESTAI_KEY"), auto_load=True)

print(restai.yoda_speak("Hi I'm Pedro"))

```

