tscribe
Produce Word Document, CSV SQLite and VTT transcriptions using the automatic speech recognition from AWS Transcribe.
Installation
pip install tscribe
Results
| Time | Speaker | Comment |
|---|---|---|
| 0:00:03 | spk_0 | Is this on? |
| 0:00:05 | spk_1 | Yep. |
| 0:00:06 | spk_0 | Great. |
Usage
Getting started
Simply import tscribe and point tscribe.write(...) at your .json file.
import tscribe
tscribe.write("output.json")
output.docx written in x seconds.
Output formats
Supported output formats include:
docx(default)csvsqlitevtt
import tscribe
tscribe.write("output.json", format="docx")
tscribe.write("output.json", format="csv")
tscribe.write("output.json", format="sqlite")
tscribe.write("output.json", format="vtt")
output.docx written in x seconds.
output.csv written in x seconds.
output.db written in x seconds.
output.vtt written in x seconds.
Target directory or filename
You may wish to be explicit in specifying the output filename or directory written to. Use cases may include following a naming convention or operating in a serverless environment.
import tscribe
tscribe.write("output.json", save_as="transcript.docx")
tscribe.write("output.json", save_as="/tmp/transcript.docx")
transcript.docx written in x seconds.
/tmp/transcript.docx written in x seconds.
Combining format and target
import tscribe
tscribe.write("output.json", format="csv", save_as="output/output.csv")
output/output.csv written in x seconds.
Release files for tscribe 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tscribe-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / tscribe-1.3.1-py3-none-any.whl
| Download URL | tscribe-1.3.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c380a90095632c4c59e5bf654f149fc0b0dd0a5c10718de6b8b18fd0cad8fc3
|
|
BLAKE2b-256 checksum How to use checksums |
1f82125253b676ca92b8b98d8a82005cd14215af20e1bb59f00f6aa89537071b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|