semvec/pypi-packages huggingface dataset:
rowboat 5.0.1
Python sdk for the Rowboat API
Requires Python: >=3.7

# Rowboat Python SDK

A Python SDK for interacting with the Rowboat API.

## Installation

You can install the package using pip:

```bash
pip install rowboat
```

## Usage

### Basic Usage

The main way to interact with Rowboat is using the `Client` class, which provides a stateless chat API. You can manage conversation state using the `conversationId` returned in each response.

```python
from rowboat.client import Client
from rowboat.schema import UserMessage

# Initialize the client
client = Client(
    host="<HOST>",
    projectId="<PROJECT_ID>",
    apiKey="<API_KEY>"
)

# Start a new conversation
result = client.run_turn(
    messages=[
        UserMessage(role='user', content="list my github repos")
    ]
)
print(result.turn.output[-1].content)
print("Conversation ID:", result.conversationId)

# Continue the conversation by passing the conversationId
result = client.run_turn(
    messages=[
        UserMessage(role='user', content="how many did you find?")
    ],
    conversationId=result.conversationId
)
print(result.turn.output[-1].content)
```

### Using Tool Overrides (Mock Tools)

You can provide tool override instructions to test a specific configuration using the `mockTools` argument:

```python
result = client.run_turn(
    messages=[
        UserMessage(role='user', content="What's the weather?")
    ],
    mockTools={
        "weather_lookup": "The weather in any city is sunny and 25°C.",
        "calculator": "The result of any calculation is 42."
    }
)
print(result.turn.output[-1].content)
```

### Message Types

You can use different message types as defined in `rowboat.schema`, such as `UserMessage`, `SystemMessage`, etc. See `schema.py` for all available message types.

### Error Handling

If the API returns a non-200 status code, a `ValueError` will be raised with the error details.

---

For more advanced usage, see the docstrings in `client.py` and the message schemas in `schema.py`.
airena-game-client 0.1.0
A Python client for interacting with the airena game API.
Requires Python: >=3.12

# airena Python Game Client

This package provides the core client library for building games that run in the airena ecosystem.

## Overview

The airena Python Game Client enables developers to create games that interact with the airena platform. It handles communication, game state management, and integration with airena's infrastructure.

## Features
- Easy integration with airena game servers
- Utilities for game state and environment management
- Typed Python interfaces for robust development

## Getting Started

1. **Install the package**
	```bash
	pip install airena-python-game-client
	```

2. **Develop Locally**
	When developing games locally, use the [`airena-mock-server`](https://github.com/airena-dev/airena-mock-server) to simulate the airena communication layer.
    ```bash
    docker run -p 8196:8196 ghcr.io/airena-dev/airena-mock-server:latest
    ```
	Configure your game client to connect to the mock server for local testing by setting the following environment variables:
	```bash
	export airena_CGI_URL="http://localhost:8196"
	export airena_GAME_ID="00000000-0000-0000-0000-000000000000"
	export airena_GAME_SECRET="00000000-0000-0000-0000-000000000000"
    export PLAYER_COUNT=2
	```
	These values will allow your client to communicate with the mock server.

3. **Basic Usage**
	```python
	from airena_game_client import AirenaGameClient

	client = AirenaGameClient()
	client.start_game(
        player_public_states={
            0: {"foo": "bar"},
            1: {"bar": "foo"},
        },
        players_accepting_moves=[1]
    )
    while client.wait_for_changes():
        # Do move validation and reject moves if needed.
        if invalid_move:
            client.reject_moves({1: 'Invalid Move'})
            continue

        if game_over: # You decide if the game is over.
            client.end_game(winners=[1])
            break
        # Update Game State
        client.update_game(
                player_public_states={
                0: {"foo": "bar"},
                1: {"bar": "foo"},
            },
            players_accepting_moves=[1]
        )
    
	```


## License
MIT

## Resources
- [airena.dev](https://airena.dev)
- [airena Ecosystem Documentation](https://github.com/airena-dev)
- [airena-mock-server](https://github.com/airena-dev/airena-mock-server)
- [airena-python-player-client](https://github.com/airena-dev/airena-python-player-client)
dharsh-mantis 0.1.0
Animated praying mantis for your terminal
Requires Python: >=3.7

# 🦗 terminal-mantis

Bring the mystical **Praying Mantis** to your terminal!
This animated mantis will gracefully scroll across your screen.

---

## ✨ Features

- 🕺 Terminal animation of the Praying Mantis
- ⚙️ Adjustable speed and loop count
- 📁 Support for custom animation files

---

## 📦 Installation

Install directly from [PyPI](https://pypi.org/project/dharsh-mantis/):

```bash
pip install dharsh-mantis
```

After installing, run:

```bash
dharshmantis
```

---

## 🔧 Command-line Options

| Flag | Description | Default |
|------|-------------|---------|
| `--delay` | Delay between frames (in seconds) | 0.1 |
| `--loops` | Number of times to loop animation | -1 (infinite loop) |
| `--animation` | Path to custom .animation file | animations/mantis.animation |

---

## 🧪 Examples

```bash
# Basic usage - infinite scrolling mantis
dharshmantis

# Slower animation with 3 loops
dharshmantis --delay 0.2 --loops 3

# Fast mantis for when you need speed
dharshmantis --delay 0.05

# Use custom animation file
dharshmantis --animation my_custom.animation
```

---

## 🎨 Animation Format

Create your own animations using the following format:

```
Your ASCII art frame 1
!--FRAME--!
Your ASCII art frame 2
!--FRAME--!
```

Each frame should be separated by `!--FRAME--!` markers.

---

## 🤝 Contributing

Contributions are welcome! Feel free to:
- Add new animations
- Improve scrolling effects
- Fix bugs
- Add features

---

## 📄 License

MIT License - feel free to use this in your projects!

---

**Enjoy your zen terminal mantis! 🦗✨**