Whisper CLI
Whisper CLI is a command-line interface for transcribing and translating audio using OpenAI's Whisper API. It also allows you to manage multiple OpenAI API keys as separate environments.
To install Whisper CLI, simply run:
pip install whisper-cli
Setup
To get started with Whisper CLI, you'll need to set your OpenAI API key. You can do this using the following command:
whisper key set <openai_api_key>
This will set the API key for the default environment. If you want to use a different API key, you can set up an alternative environment by running:
whisper key set <openai_api_key> --env <env_name>
To activate an alternative environment, run:
whisper env activate <env_name>
Usage
Whisper CLI supports two main functionalities: translation and transcription.
Translation
To translate an audio file, simply run:
whisper translate <file_name>
Transcription
To transcribe an audio file, run:
whisper transcribe <file_name>
Development
If you'd like to contribute to Whisper CLI, you'll need to set up a development environment with Python 3.10.9.
python=3.10.9
Happy transcribing and translating with Whisper CLI.
Metadata
Release files for whisper-cli 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| whisper_cli-0.0.5.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| whisper_cli-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / whisper_cli-0.0.5.tar.gz
| Download URL | whisper_cli-0.0.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89eb45409640fdf26152da4b193b80ccc9841b53684161ede1ca318c76bfd6b6
|
|
BLAKE2b-256 checksum How to use checksums |
3e4b5e31541e9478f5add92c121190291e421fca71320e4030f2207dbd38d5f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.12 Darwin/22.3.0
|
Release files / whisper_cli-0.0.5-py3-none-any.whl
| Download URL | whisper_cli-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad7629dc369882e2e0ea868ac6031c49836c2ca4feca175892644f13bd3dccc3
|
|
BLAKE2b-256 checksum How to use checksums |
e70d9e2b1e2524655c1121e6c0eb8e55d93cf29ebfa8e246ad3e2198276a3fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.12 Darwin/22.3.0
|
Security for whisper-cli 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.