Metadata-Version: 2.4
Name: criclive
Version: 0.4
Summary: Live Cricket Scores in Command Line.
Project-URL: Homepage, https://github.com/aktech/criclive
Author-email: Amit Kumar <dtu.amit@gmail.com>
License: MIT
License-File: LICENSE
Keywords: Cricket,cli,live,score,scores
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: requests>=2.31
Requires-Dist: tabulate>=0.9
Requires-Dist: textual>=3.0
Description-Content-Type: text/markdown

# criclive

**Live cricket scores in your terminal.**

[![PyPI version](https://img.shields.io/pypi/v/criclive.svg)](https://pypi.python.org/pypi/criclive)
[![Test](https://github.com/aktech/criclive/actions/workflows/test.yml/badge.svg)](https://github.com/aktech/criclive/actions/workflows/test.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Python](https://img.shields.io/pypi/pyversions/criclive.svg)](https://pypi.python.org/pypi/criclive)

## Install

### Using pip

```
pip install criclive
```

### Using pixi

```
git clone https://github.com/aktech/criclive.git
cd criclive
pixi install
```

## Usage

```
criclive
```

<img src="assets/tui.svg" alt="criclive TUI">

### Options

| Flag | Description |
|------|-------------|
| `--json` | Output scores as JSON |
| `--interval N` | Auto-refresh interval in seconds (default: 5) |

### Keyboard Shortcuts

| Key | Action |
|-----|--------|
| `/` | Filter matches by team, series, or format |
| `Esc` | Clear filter |
| `r` | Refresh scores |
| `q` | Quit |

Click on a match to expand detailed view with venue, full team names, and status.

### Plain text output

```
criclive-plain
```

## Development

```bash
git clone https://github.com/aktech/criclive.git
cd criclive
pixi install
pixi run start    # run criclive
pixi run test     # run tests
```

## Contributing

Use GitHub's Pull request/issues feature for all contributions.

## License

MIT
