Skip to main content

SQL editor support for formatting, syntax highlighting and code completion of SQL in cell magic, line magic, python string and file editor.

Project description

jupyterlab-sql-editor

A JupyterLab extension providing:

  • SQL formatter
  • Automatic extraction of database schemas
  • Auto-completion triggered by tab or dot for:
    • table names
    • table aliases
    • table joins
    • nested column names
    • functions
  • Syntax highlighting for:
    • line magic
    • cell magic
    • Python strings

IPython magic for:

  • Spark SQL
  • Trino

Une extension a JupyterLab qui contribue:

  • Formattage de SQL
  • Extraction automatique du schéma de base de données
  • Complétion automatique suivant un tab ou dot des
    • nom de tables
    • des alias de tables
    • des jointure de tables
    • des noms de colones imbriquées
    • des fonctions
  • Surbrillance de la syntaxe
    • ligne magic
    • cellule magic
    • python strings

IPython magic pour:

  • Spark SQL
  • Trino

Many thanks to the contributors of these projects / Merci à tous les contributeurs des projets suivants:

Execute and output your query results into an interactive data grid / Execution et affichage des résultats dans une grilles interactive

Output as JSON / Résultats en JSON

Auto suggest column names and sub-fields / Suggestion automatique des noms de colones et sous champs

Auto suggest JOINs on matching column names / Suggestion automatiques de jointures sur nom de colones

Format and show syntax highlighting in Notebook code cells / Formattage et surbrillance de la syntaxe des cellules

Works in Python strings / Fonctionne a l'intérieur d'un string python

Capture your Spark query as a Dataframe or a temporary view / Capture de la requete dans un Dataframe ou vue temporaire

Use jinja templating to create re-usable SQL / Utilisation de jinja pour creation de SQL réutilisable

Installation

Follow the installation instructions in CONTRIBUTING

Suivre les instructions d'installation dans CONTRIBUTING

Security Vulnerability Reporting

If you believe you have identified a security vulnerability in this project, please send an email to the project team at contact@cyber.gc.ca, detailing the suspected issue and any methods you've found to reproduce it.

Please do NOT open an issue in the GitHub repository, as we'd prefer to keep vulnerability reports private until we've had an opportunity to review and address them.

Rapports sur les vulnérabilités de sécurité

Si vous pensez avoir identifié une faille de sécurité dans ce projet, veuillez envoyer un courriel à l'équipe du projet à contact@cyber.gc.ca, en détaillant le problème soupçonné et les méthodes que vous avez trouvées pour le reproduire.

Veuillez NE PAS ouvrir un problème dans le GitHub repo, car nous préférerions garder les rapports de vulnérabilité privés jusqu'à ce que nous ayons eu l'occasion de les examiner et de les résoudre.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_sql_editor-0.1.49.tar.gz (385.4 kB view hashes)

Uploaded Source

Built Distribution

jupyterlab_sql_editor-0.1.49-py3-none-any.whl (412.8 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