Skip to main content

Geass

CLI tool for audio transcription using faster-whisper. Supports local and remote transcription (via Modal), caching, and multiple output formats.

PyPI License Python Version wakapi.dev

Features

  • Transcribes audio files using faster-whisper models (e.g., base, large-v3).
  • Local transcription with CPU/GPU support or remote via Modal with GPU options (T4, A100, etc.).
  • Output formats: plain text, JSON, SRT.
  • Aggregates segments into larger chunks with --interval.

Installation

pip install geass

Requires Python 3.10+. For local GPU use, ensure CUDA and PyTorch are set up.

Usage

List Available Models

geass list-models

Shows all faster-whisper models (e.g., tiny, large-v3-turbo).

Transcribe Audio

geass transcribe audio.wav

Transcribes audio.wav with default settings (base model, text output).

Options

  • -m, --model: Specify model (e.g., -m large-v3).
  • -f, --format: Output format (text, json, srt). Default: text.
  • -s, --save: Save transcription to database.
  • -r, --remote: Use Modal for remote transcription.
  • -g, --gpu: GPU type for remote (e.g., -g A100). Default: A100.
  • -i, --interval: Aggregate segments into intervals (e.g., -i 10 for 10s chunks).

Examples

Transcribe with a specific model and JSON output:

geass transcribe audio.mp3 -m large-v2 -f json

Remote transcription with saving:

geass transcribe audio.wav -r -s

Multiple files with SRT output:

geass transcribe file1.wav file2.mp3 -f srt

Database

Transcriptions are cached in ~/.geass.db. Tables:

  • transcripts: Stores file metadata (path, duration, timings).
  • segments: Stores transcription segments (start, end, text).
  • cache: Maps file hashes to transcript IDs.
  • defaults: Stores settings (model, etc.).

Notes

  • Local GPU transcription uses float16 on CUDA, int8 on CPU.
  • Remote transcription requires a Modal account and setup.
  • The output is wrapped in XML <transcript> tags.

Metadata

Release files for geass 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geass 0.2.2
File Size Uploaded Provenance Actions
geass-0.2.2.tar.gz 843.9 kB Without provenance Details for geass-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geass 0.2.2
File Interpreter ABI Platform Actions
geass-0.2.2-py3-none-any.whl Python 3 none any Details for geass-0.2.2-py3-none-any.whl

Total release size: 853.7 kB

Release files / geass-0.2.2.tar.gz

Download URL geass-0.2.2.tar.gz
Size 843.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a2ea857345ece39513f3f8ebd5d9e38b79eeff7b38286ed1530b964dfde1a58a
BLAKE2b-256 checksum
How to use checksums
b839401fe090b8ffadfd0af81691b42346f9651429952b71da90ac6191d62287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / geass-0.2.2-py3-none-any.whl

Download URL geass-0.2.2-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfec7d8a3a4d9f306f38d6d238920b956dcc0c57a1396fe0f6149998b661ef12
BLAKE2b-256 checksum
How to use checksums
dc75bab271ffcf98bf77086db9627b9c0099da994ce373f2accf1332dd7150ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for geass 0.2.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page