Skip to main content

A JupyterLab plugin to facilitate invocation of code formatters.

Project description

A JupyterLab plugin to facilitate invocation of code formatters.

PSA: This plugin is currently undergoing a major refactor, bear with me while I work on this.


Documentation: Hosted on GitHub Pages

This is currently out of date. I will be updating that shortly.


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-2.1.0rc0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file jupyterlab_code_formatter-2.1.0rc0.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-2.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 ba9982638fc0db683bf1e7f20f8011a8d674246ccc2a1eff01e242b018f7d3e9
MD5 ec0185115973f6c1e2ae6b7939c27790
BLAKE2b-256 957dca26bd01df6c03c65c5496377183a76c6aa2522dceab2e5b1414926f608e

See more details on using hashes here.

File details

Details for the file jupyterlab_code_formatter-2.1.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-2.1.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 067fe4fe1cd0f0418962b2b559c2e22c77dc5551c9aafda62e157ad97ba23841
MD5 d146094fc65d3349130612d53d42f701
BLAKE2b-256 7588b089fd29d7b97d300974631e04fe1869f84f42394a428a08595a111c8e78

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