Metadata-Version: 2.4
Name: whisper-transcriber-free
Version: 0.1.1
Summary: A Python SDK for audio transcription using Whisper
Home-page: https://github.com/raedrdhaounia/whisper-transcriber
Author: raedrdhaounia
Author-email: raedrdhaounia <raedrdhaounia@gmail.com>
License: MIT License
        
        Copyright (c) 2025 raedrdhaounia
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/raedrdhaounia/whisper-transcriber
Project-URL: Bug Tracker, https://github.com/raedrdhaounia/whisper-transcriber/issues
Keywords: whisper,transcription,audio,speech-to-text
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Whisper Transcriber SDK

A Python SDK for audio transcription using OpenAI's Whisper model.

## Installation

```bash
pip install whisper-transcriber
```

## Usage

```python
from whisper_transcriber import WhisperTranscriber

# Initialize the transcriber
transcriber = WhisperTranscriber(model_size="base", device="cpu")

# Transcribe from local file
result = await transcriber.transcribe_file("path/to/audio.mp3")

# Transcribe from URL
result = await transcriber.transcribe_url("https://example.com/audio.mp3")

if result.status:
    print("Transcription:", result.data)
else:
    print("Error:", result.message)
```

## Features

- Support for multiple Whisper model sizes (base, small, medium, large)
- Transcription from local files and URLs
- Async/await support
- Comprehensive error handling
- CPU and GPU support

## Requirements

- Python 3.8+
- PyTorch 2.0+
- NumPy 1.24+

## License

MIT License
