nvda-addon-kit
Scaffold, build, translate and install NVDA add-ons from a single addon.toml.
This is the successor to the SCons-based addonTemplate. Instead of forking a template repository and editing buildVars.py, you install a tool:
pip install nvda-addon-kit
nvaddon init myAddon
cd myAddon
nvaddon build
Tool can also be run as a module:
py -3.13 -m nvaddon init myAddon
Commands
| Command | Does |
|---|---|
nvaddon init [dir] |
Create a new add-on, interactively or from flags |
nvaddon build |
Produce <name>-<version>.nvda-addon |
nvaddon install |
Build, then hand the add-on to NVDA to install |
nvaddon install --link |
Link the working tree into NVDA's add-ons directory for development |
nvaddon pot |
Generate <name>.pot from Python sources and addon.toml |
nvaddon locale-add <lang>… |
Start a new translation |
nvaddon locale-update |
Merge new messages into every existing translation |
nvaddon locale-compile |
Compile .po files and translated manifests |
nvaddon check |
Validate addon.toml against add-on store rules |
nvaddon clean |
Remove generated build outputs |
nvaddon migrate |
Modernise a SCons-era add-on: config, build machinery, CI, pyproject |
nvaddon release <version> |
Set version and channel, commit, tag v<version>-<channel>, and push |
nvaddon crowdin |
Sync translations with Crowdin |
Run nvaddon <command> --help for the flags each one accepts.
Releasing
nvaddon release 1.2.0 --channel beta
This writes the version and channel into addon.toml, commits, creates an annotated tag and pushes the commit and tag to the server. Use --no-push to stop before publishing.
It shows what it is about to do and waits for confirmation:
About to release:
current version 5.1.0 (stable)
release version 5.2.0 (beta)
tag v5.2.0-beta
push yes
Release? [Y/n]:
Pass -y to skip the prompt. Everything that could refuse the release is checked before you are asked, so you are never invited to approve something that cannot succeed.
The bundled release.yml workflow runs on every push and pull request.
Without a tag it uploads the add-on and the .pot as artifacts
On a tag it publishes both as assets of a GitHub release, and then submits to the add-on store if autoSubmit is true in addon.toml.
Submission needs a USER_TOKEN secret.
See Submit NVDA Addon github action for more details.
addon.toml
[addon]
name = "myAddon"
# Translators: Summary/title for this add-on, shown on install and in the add-on store.
summary = "Add-on user visible name"
# Translators: Long description shown for this add-on in the add-on store.
description = """Description for the add-on.
It can span multiple lines."""
version = "1.0.0"
author = "Name <name@domain.com>"
minimumNVDAVersion = "2024.1"
lastTestedNVDAVersion = "2025.3"
[build]
pythonSources = ["addon/globalPlugins/**/*.py"]
[l10n]
baseLanguage = "en"
The comment above a translatable key becomes that string's translator note in the generated
.pot, exactly as # Translators: comments in buildVars.py did:
#. Translators: Summary/title for this add-on, shown on install and in the add-on store.
#: addon.toml:3
msgid "Add-on user visible name"
msgstr ""
Migrating an existing add-on
cd myExistingAddon
pip install nvda-addon-kit
nvaddon migrate
nvaddon check
nvaddon build
migrate --apply removes buildVars.py, sconstruct and site_scons/ for you. It refuses to run on a dirty working tree, so git diff shows exactly what changed.
Licence
GNU General Public License version 2 or later. See COPYING.txt.
Metadata
Release files for nvda-addon-kit 0.3.1
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 | Actions |
|---|---|---|---|---|
| nvda_addon_kit-0.3.1.tar.gz | 59.6 kB | With provenance | Details for nvda_addon_kit-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nvda_addon_kit-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for nvda_addon_kit-0.3.1-py3-none-any.whl |
Total release size: 141.3 kB
Release files / nvda_addon_kit-0.3.1.tar.gz
| Download URL | nvda_addon_kit-0.3.1.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e567330b4cbe4dcd86e54005179ff5199b340e8b30005a83099057103e749389
|
|
BLAKE2b-256 checksum How to use checksums |
1d1a4c5f8c32ba4b79e17c1109888f3f288885041420695451fdb105d1f8d818
|
| 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 5, 2026.
Transparency logRelease files / nvda_addon_kit-0.3.1-py3-none-any.whl
| Download URL | nvda_addon_kit-0.3.1-py3-none-any.whl |
|---|---|
| Size | 81.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa8183bd9c81b32b8274db230ed065f060023e6910039d3b038882871c26af5c
|
|
BLAKE2b-256 checksum How to use checksums |
4cd63442e874bad669a98d51e211e2f607ee309311d84a38ed70846221bf1d06
|
| 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 5, 2026.
Transparency logSecurity for nvda-addon-kit 0.3.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nvda_addon_kit-0.3.1.tar.gz
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 5, 2026.
Transparency logA 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.