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.6.1.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

jupyterlab_code_formatter-1.6.1-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.6.1.tar.gz
Algorithm Hash digest
SHA256 ddf084383292ceceddcaae043f4c62b93d27a85850578a280f8fded9a1b93a32
MD5 434429821df7231e2c281b394888c64d
BLAKE2b-256 81c7f8548e26bdf659309630e27eaff9fe87eb99319a4c809c81c90e5cad72f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a759768cc86b7680c7867fad93390dce15baacd316fab6bb446c8bbb3487ad22
MD5 d45c1841c4fcd20d05fc400eb93d2744
BLAKE2b-256 10d4448f36987c9ec9eb51c6735e770d9a404e72c29a5c9a5ebf7c48cd247145

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