Metadata-Version: 2.4
Name: tranpro
Version: 0.1.0a1
Summary: A local-first transcript library and one-shot transcription CLI
Author: Will Barmby
License-Expression: MIT
Project-URL: Changelog, https://github.com/WillBarmby/transcriber/blob/main/CHANGELOG.md
Project-URL: Homepage, https://github.com/WillBarmby/transcriber
Project-URL: Issues, https://github.com/WillBarmby/transcriber/issues
Project-URL: Repository, https://github.com/WillBarmby/transcriber.git
Keywords: audio,cli,summarization,transcription
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: parakeet-mlx<0.7,>=0.6; sys_platform == "darwin" and platform_machine == "arm64"
Requires-Dist: platformdirs<5,>=4.3
Requires-Dist: rich<16,>=13.8
Requires-Dist: Send2Trash<2,>=1.8
Requires-Dist: typer<1,>=0.15
Provides-Extra: dev
Requires-Dist: build<2,>=1.2; extra == "dev"
Requires-Dist: mypy<2,>=1.14; extra == "dev"
Requires-Dist: pytest<10,>=8.3; extra == "dev"
Requires-Dist: ruff<1,>=0.9; extra == "dev"
Requires-Dist: twine<7,>=6; extra == "dev"
Requires-Dist: types-Send2Trash<2,>=1.8; extra == "dev"
Dynamic: license-file

# tranpro

`tranpro` is becoming a local-first transcript library with a straightforward
one-shot command-line workflow:

```text
audio -> durable transcript -> optional summary -> optional Google Doc
```

The Python distribution and import package are named `tranpro`; the command is
the shorter `tp`.

The current release provides local transcription and the persistent transcript
library. Summarization and Google Docs publication remain roadmap milestones.

## Installation

tranpro currently targets Python 3.11 or newer on Apple Silicon Macs. Install
the CLI and its local Parakeet backend with one command:

```shell
python3 -m pip install tranpro
tp --version
tp recording.m4a
```

The first transcription downloads the model from Hugging Face and caches it for
later runs. Parakeet MLX is installed automatically only on Apple Silicon;
other platforms receive the portable CLI and database without that dependency.

This is an alpha release: the transcript database is designed to persist, but
commands and configuration may still change before 1.0.

## Current commands

After installation:

```shell
tp --help
tp --version
tp recording.m4a
tp recording.m4a --output -
tp recording.m4a --no-save
tp recording.m4a --retranscribe
tp 2 --retranscribe
tp recording.m4a --retranscribe --live
tp recording.m4a --no-progress
tp recording.m4a --trash-source
tp paths
tp config show
tp config init
tp config edit
tp library init
tp library status
tp list
tp show RECORDING_ID
tp search "budget constraints"
tp forget RECORDING_ID
tp restore RECORDING_ID
```

Library commands use an embedded SQLite database with automatic schema
migrations and pre-migration backups. `forget` is a recoverable soft deletion:
it does not remove source audio, transcripts, or summaries. Full-text search uses
SQLite FTS5 across timestamped transcript segments and summary sections. See the
[database design](docs/DATABASE.md) for identity, versioning, and safety details.

Transcription is the default operation. The equivalent explicit form is also
available:

```shell
tp recording.m4a
tp transcribe recording.m4a
```

By default, tranpro saves a versioned library record and writes
`recording.transcript.md` beside the source. `--output -` prints Markdown to
stdout, while `--no-save` skips SQLite. Existing equivalent runs are reused;
`--retranscribe` creates another immutable version. `--trash-source`/`-d` moves
the source to the operating-system Trash only after output succeeds.
Parakeet's `--live` mode prints finalized timestamped sentences as they become
available while retaining the complete saved library and Markdown outputs.
Interactive terminals show an animated progress bar by default. `--no-progress`
disables it; redirected and non-interactive output disables it automatically.

See the [transcription guide](docs/TRANSCRIPTION.md) and
[roadmap](docs/ROADMAP.md).

## Development setup

tranpro requires Python 3.11 or newer. From a clone:

```shell
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
tp --version
```

On Apple Silicon, the normal installation includes Parakeet MLX. Its model
downloads to the Hugging Face cache on first use.

Run the same checks used in continuous integration:

```shell
ruff check .
ruff format --check .
mypy src/tranpro
pytest
python -m build
twine check dist/*
```

Maintainers can find the tagged-release process in
[docs/RELEASING.md](docs/RELEASING.md).

The first supported local runtime target is macOS on Apple Silicon. The core,
database, and hosted-provider abstractions are intended to remain portable;
Linux and Windows are best-effort until they are tested in CI and on real hosts.

## Project principles

- Local and free by default; hosted providers are explicit opt-ins.
- Transcription is the default action; summarization is explicit.
- SQLite is the source of truth. Markdown and Google Docs are rendered outputs.
- Provider boundaries keep model selection out of the core workflow.
- Source media is never deleted permanently by a normal command.
- No server, account system, or telemetry is required.

## License

[MIT](LICENSE)
