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

Uploaded Source

Built Distribution

File details

Details for the file jupyterlab_code_formatter-2.0.0rc2.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-2.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 b6b5039c127fecc8599df9f0ebbd12bbac5246759980c80609f2e0052fe51d61
MD5 3b4e29ccc6c0300b48df0e93c61fe2a0
BLAKE2b-256 8be5422a94295ffecb7654adc8d9facd7721592debe72476eb7bce97e6158997

See more details on using hashes here.

File details

Details for the file jupyterlab_code_formatter-2.0.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-2.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d20fc0fa3bc2d580c52d28174e56aa1889e5aef7038547588fe23f75f8bdff6
MD5 12818a9a10c5bcb0b5a9b9d56457941a
BLAKE2b-256 4928aabcfe25413cb435396b2269bd2a8cfb8d30fa4b7e0f6c958a56f7ddd309

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