JupyterLab extension for Vadalog language support with syntax highlighting, linting, and execution control
Project description
Vadalog Extension for JupyterLab
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
-
Start JupyterLab:
jupyter lab -
Create a new notebook and select the Vadalog kernel
-
Write your Vadalog code:
% Define facts @input("person"). person("Alice"). person("Bob"). % Define rules @output("greeting"). greeting(X, "Hello") :- person(X). -
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:
- 📧 Email: davben@prometheux.co.uk or support@prometheux.co.uk
- 🌐 Website: https://www.prometheux.ai
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:
- Homepage: https://www.prometheux.ai
- PyPI: https://pypi.org/project/vadalog-extension/
- Email: davben@prometheux.co.uk or support@prometheux.co.uk
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vadalog_extension-3.0.5.tar.gz.
File metadata
- Download URL: vadalog_extension-3.0.5.tar.gz
- Upload date:
- Size: 222.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b76d532b37872c6b758291da112c51755b415cc390afbdc2062fd0a9a901c2cf
|
|
| MD5 |
e9f61655abf952c8d5ee655aab7f1d19
|
|
| BLAKE2b-256 |
755449cdd11ad74c182fe8f332ba5dcbe24e5f39671b3ee4a0a80f339b7c7080
|
File details
Details for the file vadalog_extension-3.0.5-py3-none-any.whl.
File metadata
- Download URL: vadalog_extension-3.0.5-py3-none-any.whl
- Upload date:
- Size: 66.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94e912e81bc9b735d675485e5e7f282bf6ccf2e9e97092d1f917171fba305d7e
|
|
| MD5 |
16dcbc6978ff6c181f790f412fef64d7
|
|
| BLAKE2b-256 |
3d0f77fefc5caa24949b5aafb69784a212b16e6d792669a459b5b64ebd91fe27
|