Skip to content

Add initial Python module helpers#1104

Merged
sthibaul merged 1 commit into
brailcom:masterfrom
daxmawal:python-module-utils
Jun 23, 2026
Merged

Add initial Python module helpers#1104
sthibaul merged 1 commit into
brailcom:masterfrom
daxmawal:python-module-utils

Conversation

@daxmawal

@daxmawal daxmawal commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This is an initial PR to check whether maintainers are happy with the proposed Python module helper integration before continuing.

It adds a small speechd_python_modules Python package. These helper modules are installed into the configured Python installation under:
$(pythondir)/speechd_python_modules

Follow-up PRs would add, in order:

  • Python equivalents for more C module helper functions/modules needed by Python output modules
  • integration of the neural-network Pocket TTS module into speechd
  • pause/stop support, finish to translate C functions/modules into Python, and further optimizations

Disclosure: Codex assisted me with Autotools, Autoconf, and review.

Comment thread src/modules/Makefile.am
@daxmawal daxmawal marked this pull request as ready for review June 19, 2026 20:04
@daxmawal

daxmawal commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

I'm not sure if src/tests/python_module.at is actually useful for speechd, later, perhaps we could transform this into something equivalent in the latest follow-up PRs to c_api.at once Pocket TTS has been integrated. Or we could just delete it now.

Comment thread src/tests/python_module.at Outdated
Comment thread src/modules/speechd_python_modules/__init__.py Outdated
Comment thread src/modules/speechd_python_modules/speechd_types.py Outdated
Comment thread src/modules/speechd_python_modules/module_utils.py Outdated
Comment thread src/modules/speechd_python_modules/module_utils.py Outdated
Comment thread src/modules/speechd_python_modules/module_utils.py
@sthibaul

Copy link
Copy Markdown
Collaborator

This is an initial PR to check whether maintainers are happy with the proposed Python module helper integration before continuing.

Thanks! That looks promising.

Signed-off-by: daxmawal <jeanfrancoismanutea@gmail.com>
@sthibaul sthibaul force-pushed the python-module-utils branch from eb75fc0 to a7a0bb7 Compare June 23, 2026 22:02
@sthibaul sthibaul merged commit df6d86d into brailcom:master Jun 23, 2026
6 of 7 checks passed
@sthibaul

Copy link
Copy Markdown
Collaborator

thanks!

@daxmawal daxmawal deleted the python-module-utils branch June 23, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants