Skip to main content

claude-transcriber

Transcribe Claude Code JSONL logs to human-readable text.

Installation

pip install claude-transcriber

CLI Usage

# Transcribe a session log
claude-transcriber ~/.claude/projects/-Users-you-code-myproject/SESSION_ID.jsonl

# Save to file
claude-transcriber session.jsonl -o transcript.txt

# From stdin
cat session.jsonl | claude-transcriber

Library Usage

from claude_transcriber import Transcriber, transcribe_file

# Transcribe a whole file
text = transcribe_file("session.jsonl")

# Or record by record
t = Transcriber()
for record in records:
    result = t.transcribe(record)
    if result:
        print(result)

Output Format

The output matches Claude Code's /export format:

  • ⏺ prefix for assistant messages
  • ❯ prefix for user messages
  • Tool calls shown as ⏺ ToolName(args...)
  • Tool output shown with ⎿ continuation markers

License

MIT

Metadata

Release files for claude-transcriber 0.3.3

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

Source distribution (sdist)

Source distribution for claude-transcriber 0.3.3
File Size Uploaded
claude_transcriber-0.3.3.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-transcriber 0.3.3
File Interpreter ABI Platform
claude_transcriber-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / claude_transcriber-0.3.3.tar.gz

Download URL claude_transcriber-0.3.3.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3cd0c68492bd4633fbe8c5d0b74613fd6cbaaab39fed97d4e261520bdcc6cc03
BLAKE2b-256 checksum
How to use checksums
cec8331ca43b5e19e2a8dd86f9a644a841bc402caeb929d35378470a4a741dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / claude_transcriber-0.3.3-py3-none-any.whl

Download URL claude_transcriber-0.3.3-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbda0e09afc710e195b60e5e497d96ceb947a00bd48cdabdc8eca9831eb800fe
BLAKE2b-256 checksum
How to use checksums
ecaffb07117ad42fe814120cb98181723734646c219bbd03e07f354a4410ae63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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