dtactions
dtactions is an OpenSource extension module for the speech recognition program Dragon. It is meant to perform actions that are common to other packages like Dragonfly, Unimacro and Vocola.
This document describes how to install dtactions for end users and for developers.
Status
Sucessfully upgraded to Python 3.
Instructions for End Users
If you would like to install dtactions for use, but not as a developer, here are the instructions:
Install Python and Natlink and the packages you would like to use (Dragonfly, Caster, Unimacro, Vocola) as described in the Natlink repository README.
-
Install dtactions
It will also pull any prerequisites from the Python Packaging Index.
In a
cmdorpowershellwindow (possibly in elevated mode) run:py -m pip install dtactions
Instructions for Developers
Starting 1.6.5.dev1 ( going to 1.6.5 ASAP) renaming of the unimacro actions part has been done:
- unimacroutils directory renamed to uniutils
- unimacro/unimacroactions.py renamed to uniactions/uactions.py
- unimacroactionsclasses renamed to uniactions/actionsclasses (so directory is renamed and moved, internal use only)
If you are working on dtactions the most convenient setup is an editable install. Your local git repository can be anywhere convenient.
Uninstall the packages you wish to develop. i.e pip if you want to work on dtactions:
py -m pip uninstall dtactions and answer yes to all the questions about removing files from your python scripts folder.
Run py -m pip install -e .[dev,test] from the dtactions project root. You can skip [dev,test] after the first install.
Use semantic versioning for version numbers. Usually version numbers indicate dev, alpha, beta, release candidate etc. When the release candidate is approved, we can just change pyproject.toml and perform an actual release.
Unit testing
Run pytest to run the tests, written in a combinatin of unittest and pytest. If adding a test, pytest seems to be a lot more convenient and powerful.
Most tests go in tests; tests that require a natlink install go in natlink_test as not every package dependent on natlink.
You can run py -m pip install dtactions[test] or py -m pip install dtactions[natlink_test] if you don't have the prequisites like pytest.
You can run pytest from project root folder to run the tests that don't depend on natlink being installed. For the natlink-dependent tests, run
py -m pytest natlink_test.
Notes About Packaging for Developers
The package is specified in pyproject.toml.
Too build the package locally,
python -m build. If this fails because you don't have build installed, run pip install -e .[dev].
To publish to dtactions in the Python Packaging Index, increase the version number in __init__.py and draft a new release.
Metadata
Release files for dtactions 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dtactions-1.7.0.tar.gz | 224.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dtactions-1.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 464.4 kB
Release files / dtactions-1.7.0.tar.gz
| Download URL | dtactions-1.7.0.tar.gz |
|---|---|
| Size | 224.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66af7f11b5ffc00998590761611875afea04dcd587e04cfcce213432f3a060da
|
|
BLAKE2b-256 checksum How to use checksums |
967da0342445c9f57d7cb62d42733f73534b3acbefcf8c53b56c362d7ede6f9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logRelease files / dtactions-1.7.0-py3-none-any.whl
| Download URL | dtactions-1.7.0-py3-none-any.whl |
|---|---|
| Size | 239.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bba7a89970ca53e44e32b01da1f91c39de6ab9e9dcb50a19b8ae3dfafba8b0cf
|
|
BLAKE2b-256 checksum How to use checksums |
6628f42a978c8c2e70a5700c4d2a047d1724e2c32dc2cbf713ccfac2d94994dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency log