Skip to main content

Jupyterlab Extension for Fugue

Project description

Jupyter Lab and Notebook Extensions for Fugue

The extensions enables the magic %%fsql and Fugue SQL highlights. It also enables pretty print of dataframes.

Install

To install the extension, execute:

pip install fugue-jupyter

Enable highlights on classic notebooks

To enable syntax highlights on classic notebooks, you will need to firstly install jupyter-contrib-nbextensions (this is NOT automatically done by installing fugue-jupyter), and then run:

fugue-jupyter install nbextension

Or if you want to manually install with special parameters, you can just let it show the command to be executed, you can modify them and run manually:

fugue-jupyter install nbextension --show

Register startup script

For both lab and classic notebooks, you must register a startup script so the system can understand %%fsql means running the cell as Fugue SQL, this is separated from highlighting:

fugue-jupyter install startup

Or if you want to add the startup script to a specific profile (for example abc):

fugue-jupyter install startup abc

Uninstall

To remove the extension, execute:

fugue-jupyter uninstall startup
pip uninstall fugue-jupyter

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

fugue_jupyter-0.2.3.tar.gz (195.5 kB view hashes)

Uploaded Source

Built Distribution

fugue_jupyter-0.2.3-py3-none-any.whl (95.1 kB view hashes)

Uploaded Python 3

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