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

Uploaded Source

Built Distribution

jupyterlab_code_formatter-1.5.0-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.5.0.tar.gz
Algorithm Hash digest
SHA256 12ec4cfbaa780d2295a8f2e72ecad5f5e6eb6a9b39c7122de8545154bb771d07
MD5 088d3d0134a404114319a2b283f113c7
BLAKE2b-256 c3717d239f5ba20268ec165caf9178fbbd017aa4e0dcb28e72ed53884e9f816e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterlab_code_formatter-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152b2551b79c1fc7d4bdad134aaade589b460bd7f8be4d280657b23588f7946b
MD5 3ce92bddb2151105355f2b6584d7f12f
BLAKE2b-256 fa6eb1b6fe255c3c119f0b36d9bb77d71c4411813b0f00ba50be7b7b22e889ad

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