Metadata-Version: 2.1
Name: zyx
Version: 0.2.31
Summary: A fun, hyper minimal AI toolkit. Built on the inspirations of marvin-ai.
Author: Hammad Saeed
Author-email: hammad@supportvectors.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: instructor (>=1.3.7,<2.0.0)
Requires-Dist: litellm (>=1.43.9,<2.0.0)
Requires-Dist: loguru (>=0.7.2,<0.8.0)
Requires-Dist: networkx (>=3.3,<4.0)
Requires-Dist: ollama (>=0.3.1,<0.4.0)
Requires-Dist: rich (>=13.7.1,<14.0.0)
Requires-Dist: textual (>=0.76.0,<0.77.0)
Description-Content-Type: text/markdown


## **hammad dev** - *Fun stuff I've made?*
</br>
### zyx - Super duper fast, litellm, instructor tool calling & executing abstraction*

**Install**
```bash
pip install zyx
```

**Completion**
```python
import zyx

class ResponseModel(BaseModel):
    # some_fields....

def some_tool():
    # some function....

zyx.completion(
    "hello!",
    model = "ollama/llama3.1",
    tools = [some_tool], # Handles Raw Python functions
    response_model = ResponseModel, # With Optionsl Instructor Parsing
    run_tools = True # Choose to automatically execute tools
)
```

**Textual CLI Chat Interface**
Launches a nice looking CLI interface, with color customization. 
Built using Textual.
```python
import zyx

zyx.cli() # Takes in any argument .completion() can take

# or define your own
zyx.app()
```

    
