Skip to main content

JupyterLab extension for Vadalog language support with syntax highlighting, linting, and execution control

Project description

Vadalog Extension for JupyterLab

JupyterLab 4 Python 3.8+ License

A JupyterLab extension that provides comprehensive support for the Vadalog knowledge graph system, including syntax highlighting, code linting, and execution control.

Features

Syntax Highlighting - Beautiful CodeMirror 6-based syntax highlighting for Vadalog code
🔍 Code Linting - Real-time error detection and code analysis
⏱️ Execution Timer - Displays accurate execution time from the backend
🛑 Stop Button Integration - Intercepts the standard Jupyter stop button to gracefully halt Vadalog execution
📊 Beautiful Output Tables - Modern styled result tables with JetBrains Mono font
🎨 Modern UI - Clean, professional interface integrated seamlessly with JupyterLab 4

Requirements

  • JupyterLab >= 4.5.0
  • Python >= 3.8
  • Vadalog kernel (install via pip install vadalog-jupyter-kernel)
  • Vadalog backend server (contact support for access)

Installation

# Install both kernel and extension
pip install vadalog-jupyter-kernel vadalog-extension

Usage

  1. Start JupyterLab:

    jupyter lab
    
  2. Create a new notebook and select the Vadalog kernel

  3. Write your Vadalog code:

    % Define facts
    @input("person").
    person("Alice").
    person("Bob").
    
    % Define rules
    @output("greeting").
    greeting(X, "Hello") :- person(X).
    
  4. Run the cell - enjoy syntax highlighting, execution timing, and beautiful output!

Architecture

This extension is built using:

  • TypeScript - Main extension logic
  • CodeMirror 6 - Syntax highlighting engine
  • React 18 - UI components (shared with JupyterLab)
  • Lumino - Widget framework
  • Hatchling - Modern Python build system

Access to Vadalog Backend

The Vadalog backend is required to execute queries. To request access:

License

BSD 3-Clause License - see LICENSE file for details.

About Vadalog

Vadalog is a powerful knowledge graph system developed by Prometheux Limited. It combines the expressiveness of Datalog with advanced reasoning capabilities for complex data analysis and knowledge representation.

Support

For issues, questions, or access requests:


Made with ❤️ by Prometheux Limited

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

vadalog_extension-3.0.7.tar.gz (231.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vadalog_extension-3.0.7-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file vadalog_extension-3.0.7.tar.gz.

File metadata

  • Download URL: vadalog_extension-3.0.7.tar.gz
  • Upload date:
  • Size: 231.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for vadalog_extension-3.0.7.tar.gz
Algorithm Hash digest
SHA256 6f57f0258442861e88b985943f29c623ab13c4d9dd6aa66f839d1d333f5cc5f5
MD5 524f565a3acb59aaea948eb3319b1b8e
BLAKE2b-256 7a269e1025c41830a731ba6121c7ca9851c198893acfb9a46b2935a476d8da00

See more details on using hashes here.

File details

Details for the file vadalog_extension-3.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for vadalog_extension-3.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 259db818e845386c3855b8a5455ef5eb9c4ed4a57371424e6775867b61f280dd
MD5 053789200b04cc9e000ab80bb91dfb7b
BLAKE2b-256 292725b3eae1241faeaaaf8e99ed22cff82e84bd712c6153d2692db6b9e44a65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page