Skip to main content

A plugin to format your python code with Black in Thonny IDE.

Project description

Thonny black code format plugin

Code style: black PyPI version PyPI py versions PYPI license Continuous Integration - Ubuntu Continuous Integration - OSX Continuous Integration - Windows

Automatically format your python code with Black!


  1. This can be easily installed via Thonny. Go to Tools -> Manage plug-ins..., type thonny-black-format and click on Find package from PyPI. Install the plugin and restart Thonny.
  2. Alternatively, you can install via pip with pip install --user thonny-black-format


There are two ways to run the plugin:

  1. Go to Tools -> Format with Black
  2. Press Ctrl+Alt+c

All changes will be automatically saved. If you prefer, you can undo them.


Contributions are welcome! Feel free to sumbit an issue and/or a pull request.

Useful links:




Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thonny-black-format, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size thonny_black_format-0.0.4-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size thonny-black-format-0.0.4.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page