semvec/pypi-packages huggingface dataset:
graphlang 0.0.1
A DSL for defining LLM agent graphs with dotlang-inspired syntax
License: MIT
Requires Python: >=3.8
Keywords: AI, graph, dotlang, LLM, language model

# GraphLang

**GraphLang** provides a domain-specific language (DSL) to define large language model (LLM) agent graphs. The DSL allows you to structure and manage complex interactions between LLMs and their attributes. This library helps you create agent graphs with flexible syntax and is designed for advanced AI workflows.

## Features

- Define LLM agent graphs with nodes, edges, and attributes
- Use flexible syntax to add models and prompts
- Supports complex attribute assignment via lists, tuples, and dictionaries

## Installation

Install the library using `pip`:

```bash
pip install graphlang
```

## Example Usage

### Example DSL Graph

Here is an example graph defined using the DSL:

```plaintext
start node1;

node node1, node2;
node1 -> node2;

graph my_graph {
    model my_model {
        attribute = 1;
    }
    prompt my_prompt {
        text = "Enter your message.";
    }
}
```

## DSL Syntax

The DSL follows these key rules:

## Development

For development, install the necessary dependencies:

```bash
pip install graphlang[dev]
```

Run tests with:

```bash
pytest
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
mplotkit 0.4.0
Collection of helpers for plotting with matplotlib
License: MIT
Requires Python: >=3.6

# PlotKit

Collection of some helpers and functions, mostly used by [martok](https://github.com/martok).


## Installation

Install using pip:

```pip install mplotkit```

## Usage

Minimal example:

```python
import numpy as np
import plotkit.plotkit as pk

pk.set_style('print')

fig, (ax1, ax2) = pk.new_regular(1,2)
t = np.arange(0.0, 2.0, 0.01)
ax1.plot(t, 1 + np.sin(2*np.pi*t))
pk.set_grid(ax1)
ax2.plot(t, 1 + np.cos(2*np.pi*t))
pk.set_ticks(ax2)
pk.set_grid(ax2)
pk.finalize(fig, 'example_output.png')
```
Result:
![Example Output](https://raw.githubusercontent.com/martok/py-plotkit/master/doc/example_output.png)