Thonny Bracket and Quote Auto-pairing Plugin
This is an auto-pairing plugin for Thonny 5. Installation varies by operating system.
Features
- Automatically closes brackets
( [ {and quotes" '. - Skips over closing characters when typed.
- Pressing Backspace inside an empty pair deletes both characters.
- Pressing Enter inside brackets moves the closing bracket to the next line.
- Entering a bracket or quote around selected text wraps the selection.
- Typing
"""three times creates a"""|"""pair. - Enable or disable it under Tools > Options > Auto-pairs.
Repository Layout
| Folder | Target | Installer |
|---|---|---|
thonny-autopairs-windows/ |
Windows | thonny-autopairs-setup.exe from Releases, or install_helper.py |
thonny-plugins/ |
macOS | install.command |
The canonical package is at thonnycontrib/autopairs.py. The files under the platform folders are legacy convenience distributions and remain available for manual installation.
Package Installation
Install the package through Thonny's package manager or pip:
pip install thonny-autopairs
After installation, restart Thonny. The package provides the thonnycontrib.autopairs plugin and automatically discovers load_plugin().
Windows Installation
- Download
thonny-autopairs-setup.exefrom Releases and double-click it. Because the program is unsigned, Windows protected your PC might appear. Click More info > Run anyway. - When you see the installation complete message, close and reopen Thonny.
If the installer cannot find the Thonny installation folder, it asks you to enter the Thonny folder path. To find it, right-click the Thonny shortcut and select Open file location.
If the EXE cannot run in your environment, open thonny-autopairs-windows/install_helper.py in Thonny and press Run (F5). Otherwise, use manual installation.
macOS Installation
- Double-click
install.commandin thethonny-plugins/folder. If it is blocked, right-click and select Open, or runbash install.commandin Terminal. - Restart Thonny.
Manual Installation
- Windows: In Thonny, select Tools > Open Thonny data folder..., then copy
autopairs.pyintoplugins\Python3XX\site-packages\thonnycontrib\.Python3XXis the Python version bundled with Thonny (for example,Python313). - macOS: Copy
autopairs.pyinto~/Library/Thonny/plugins/lib/python/site-packages/thonnycontrib/.
Uninstallation
Delete autopairs.py from the installed thonnycontrib folder, then restart Thonny.
License
MIT License. See LICENSE for details.
Metadata
Release files for thonny-autopairs 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| thonny_autopairs-1.0.0.tar.gz | 6.3 kB | With provenance | Details for thonny_autopairs-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thonny_autopairs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for thonny_autopairs-1.0.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / thonny_autopairs-1.0.0.tar.gz
| Download URL | thonny_autopairs-1.0.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5d06e8c1a9fb76a93efd4589582faf89e7ea62f45af259b03ea94e38c0a33c0
|
|
BLAKE2b-256 checksum How to use checksums |
06ac71cf74d940883e76b1e682fa3247d1bae4c090f1088906a8d08ce452f3a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logRelease files / thonny_autopairs-1.0.0-py3-none-any.whl
| Download URL | thonny_autopairs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c241b8fad20364252c9fad8e0b1af0eebb640057651bfce5234701cdbd25ee2
|
|
BLAKE2b-256 checksum How to use checksums |
c6e7e2ee54b493362cab972e8ce7910f8d29b6016b92a8cc422d81dfec68beac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logSecurity for thonny-autopairs 1.0.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for thonny_autopairs-1.0.0.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 Nov 24, 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.