Metadata-Version: 2.3
Name: libresubtitles
Version: 1.0.0
Summary: Privacy-first AI subtitles for videos and audio
Author: Chirag Juneja
Author-email: chiragjuneja6@gmail.com
Requires-Python: >=3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: argparse (>=1.4.0,<2.0.0)
Requires-Dist: audioop-lts (>=0.2.2,<0.3.0)
Requires-Dist: ipython (>=9.5.0,<10.0.0)
Requires-Dist: openai-whisper (>=20250625,<20250626)
Requires-Dist: pydub (>=0.25.1,<0.26.0)
Description-Content-Type: text/markdown

# LibreSubtitles

![PyPI](https://img.shields.io/pypi/v/libresubtitles)
![License](https://img.shields.io/badge/License-Apache%202.0-blue)
![Python](https://img.shields.io/badge/python-3.13%2B-blue)

**LibreSubtitles** is an open-source, offline subtitle generator accurate subtitles using [Whisper](https://github.com/openai/whisper). 

---

## Features

- Generate `.srt` subtitles from audio or video files.
- Works offline; privacy-first.
- Handles long videos efficiently by splitting on silence.
- CLI interface for quick usage.
- Cross-platform: Linux, macOS, Windows (CPU mode recommended).  

---

## Requirements

- Python 3.13 or higher
- [FFmpeg](https://ffmpeg.org/) installed and accessible from your `PATH`


## Installation

Install via pip:

```bash
pip install libresubtitles
```

## Usage

```bash
libresubtitles -i /path/to/video.mp4
```

