semvec/pypi-packages huggingface dataset:
pgn2json 0.1.2
Converts a PGN file to a JSON file. Designed for displaying Chess.com games inside of Obsidian using the Chess Study plugin.
License: MIT
Requires Python: <4.0,>=3.10

# pgn2json

[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/unkokaeru/pgn2json?label=version)](https://github.com/unkokaeru/pgn2json)
[![Lines Of Code](https://tokei.rs/b1/github/unkokaeru/pgn2json?category=code)](https://github.com/unkokaeru/pgn2json)
[![Continuous Integration (CI) Tests](https://img.shields.io/github/actions/workflow/status/unkokaeru/pgn2json/continuous_integration.yml?label=tests)](https://github.com/unkokaeru/pgn2json)
[![GitHub last commit](https://img.shields.io/github/last-commit/unkokaeru/pgn2json)](https://github.com/unkokaeru/pgn2json)

Converts a PGN file to a JSON file. Designed for displaying Chess.com games inside of Obsidian using the Chess Study plugin.

- [pgn2json](#pgn2json)
    - [Features](#features)
    - [Installation](#installation)
    - [Usage](#usage)
    - [Documentation](#documentation)
    - [Contributing](#contributing)
    - [License](#license)

## Features

- [x] Installable via pip
- [x] Command-line interface
- [x] Interactive documentation

## Installation

To install pgn2json, simply run:

```bash
pip install pgn2json
```

## Usage

After installation, you can use pgn2json by running:

```bash
$ python3 -m pgn2json
# or
$ pgn2json
```

## Documentation
For more information, you can find the documentation within the [docs](./docs/index.html) directory or on the project's [GitHub Pages](https://unkokaeru.github.io/pgn2json/).

## Contributing

Contributions are welcome! Please refer to our [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
openai-realtime-client 0.1.0
A python-based client for OpenAI's Realtime API
License: MIT
Requires Python: <4.0,>=3.10

# OpenAI Realtime API Client for Python

This is an experimental OpenAI Realtime API client for Python and LlamaIndex. It integrates with LlamaIndex's tools, allowing you to quickly build custom voice assistants.

Include two examples that run directly in the terminal -- using both manual and Server VAD mode (i.e. allowing you to interrupt the chatbot).

## Installation

Install system deps:

```bash
brew install ffmpeg
```

Install python deps:

```bash
pip install openai-realtime-client

# Optional: clone the repo and run the examples locally
git clone https://github.com/run-llama/openai_realtime_client.git
cd openai_realtime_client
```

Set your openai key:

```bash
export OPENAI_API_KEY="sk-..."
```

## Usage

Assuming you installed and cloned the repo (or copy-pasted the examples), you can immediately run the examples.

Run the interactive CLI with manual VAD (try asking for your phone number to see function calling in action):

```bash
python ./examples/manual_cli.py
```

Or to use streaming mode (which allows you to interrupt the chatbot):

```bash
python ./examples/streaming_cli.py
```

**NOTE:** Streaming mode can be a little janky, best to use headphones in a quiet environment.

Take a look at the examples, add your own tools, and build something amazing!