This project has been archived by its maintainers, and is no longer receiving any updates.
SpeakINPy
A python module for transcribing audio files to text via Google GenAI
Installation
pip install SpeakINPy
or via UV:
uv add SpeakINPy
Usage
from speakinpy import transcribe
import os
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
audio_path = "path/to/audio.m4a"
text = transcribe(audio_path, GEMINI_API_KEY)
print(text)
Release / PyPI publishing
- Build artifacts locally:
python -m pip install --upgrade build twine python -m build python -m twine check dist/*
- Validate artifacts:
- inspect
dist/*.whlanddist/*.tar.gz - install the wheel in a clean virtual environment (
pip install --no-deps dist/*.whl)
- inspect
- Configure Trusted Publishing in both PyPI and TestPyPI for this repository and workflow:
- workflow:
.github/workflows/publish.yml - environment:
pypi(production) and optionaltestpypi
- workflow:
- Create and publish a GitHub release/tag from
main.- release publication triggers automatic PyPI publish via OIDC (no API token required)
- optional manual
workflow_dispatchcan publish to TestPyPI
The examples/ directory (including sample audio files) is intentionally excluded from published distributions.
Metadata
Release files for speakinpy 0.1.2
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 | |
|---|---|---|---|---|
| speakinpy-0.1.2.tar.gz | 14.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| speakinpy-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.8 kB
Release files / speakinpy-0.1.2.tar.gz
| Download URL | speakinpy-0.1.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54de715c661fbfbd7eed7efcf4f34efb4e3045795edf576bde403bf551586f68
|
|
BLAKE2b-256 checksum How to use checksums |
bc0ccc907c249812afc4f246df80e6fce876b6f2d36ef0a72762a38aba5a0de9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / speakinpy-0.1.2-py3-none-any.whl
| Download URL | speakinpy-0.1.2-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
145f16dd002a96f13fd0a9e8822860c5367d65f22e39f0b4a8e71311a718d4e7
|
|
BLAKE2b-256 checksum How to use checksums |
e0bfa9a9978f9ea940a96f34e12194335bf61d587ebb0289d7c0760ffaee5f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for speakinpy 0.1.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.