Skip to main content

Code formatter for JupyterLab

Project description

A JupyterLab plugin to facilitate invocation of code formatters.

Binder npm version npm downloads code style Github Actions Status


Documentation: Hosted on GitHub Pages


Demo


Quick Start

I recommend you going to the documentation site, but this should work too.

  1. Install the package
pip install jupyterlab-code-formatter
  1. Install some supported formatters (isort+black are default for Python)
# NOTE: Install black and isort,
#       JL code formatter is configured to invoke isort and black by default
pip install black isort
  1. Restart JupyterLab

This plugin includes a server plugin, restart JupyterLab if you have followed the above steps while it's running.

  1. Configure plugin

To configure which/how formatters are invoked, see configuration.


Your Support

I could really use your support in giving me a star on GitHub, recommending features, fixing bugs or maybe even providing monetary support!


Contributors

Massive thanks to the below list of people who made past contributions to the project!

License

This project is licensed under the terms of the MIT license.

Project details


Download files

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

Source Distribution

jupyterlab_code_formatter-1.4.11.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file jupyterlab_code_formatter-1.4.11.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.4.11.tar.gz
Algorithm Hash digest
SHA256 b05f65b4b1499feeccae0d273b8fad8d37f6c8acaa32da10d4fc00dc223d2bde
MD5 06ea10f6a396a75f1f262f702df571e5
BLAKE2b-256 2c8db1d8ee23a837abf5ba1122e54abe4a82a874764135d67ed122731cd42d2c

See more details on using hashes here.

File details

Details for the file jupyterlab_code_formatter-1.4.11-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4c426bc9bd2b4d270659b70863e8eea7efe39ba75f632f52ebfb587cd1a7e062
MD5 1c01977896c856a79a1bf9db02274c33
BLAKE2b-256 cd73bad10250e2acc3e3058b2cdc0553079615747a040b980b6f8cb4cb98f6a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page