Jupyter kernel for Vadalog knowledge graph system
Project description
Vadalog Jupyter Kernel
A Jupyter kernel for executing Vadalog knowledge graph queries in JupyterLab.
Installation
From PyPI (Recommended)
pip install vadalog-jupyter-kernel
From Source
git clone https://github.com/prometheuxresearch/vadalog-parallel.git
cd vadalog-parallel/vadalog-jupyter-kernel
pip install -e .
Configuration
The kernel needs to know where your Vadalog backend is running. Default is http://localhost:8080.
Option 1: Use Default Configuration
The kernel will automatically use http://localhost:8080 if no configuration is provided.
Option 2: Custom Configuration
Create a configuration file:
{
"vadalog_endpoint": "http://your-vadalog-server:8080"
}
Install the kernel with your config:
python -m vadalog_kernel.install --config /path/to/your/config.json
Usage
-
Start your Vadalog backend:
docker run -p 8080:8080 vadalog/vadalog-server
-
Start JupyterLab:
jupyter lab -
Create a new notebook and select the Vadalog kernel
-
Write Vadalog code:
@input("person"). person("Alice"). person("Bob"). @output("greeting"). greeting(X, "Hello " + X) :- person(X). -
Run the cell and see the results!
Features
- ✅ Execute Vadalog queries
- ✅ Display results as formatted HTML tables
- ✅ Execution timing
- ✅ Error handling and reporting
- ✅ Works with vadalog-extension for enhanced UI
Requirements
- Python >= 3.8
- JupyterLab >= 4.0.0
- Vadalog backend server
Recommended
Install with the JupyterLab extension for the best experience:
pip install vadalog-jupyter-kernel vadalog-extension
This gives you:
- Syntax highlighting
- Code linting
- Stop button integration
- Beautiful output formatting
License
BSD 3-Clause License - see LICENSE file for details.
About Vadalog
Vadalog is a powerful knowledge graph system developed by Prometheux Limited.
Support
- Homepage: http://www.prometheux.co.uk
- Repository: https://github.com/prometheuxresearch/vadalog-parallel
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_jupyter_kernel-3.0.1.tar.gz.
File metadata
- Download URL: vadalog_jupyter_kernel-3.0.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1346d788ecbd9c04ff61c75587e5d16ee5e7e5031219d021d538f4df14641d88
|
|
| MD5 |
ec225004c6ff0df4aad4583f309effe2
|
|
| BLAKE2b-256 |
14ce08d2da14eec299d15d3a63c9c916b74cca828af065f4fcb61a90851f78e6
|
File details
Details for the file vadalog_jupyter_kernel-3.0.1-py3-none-any.whl.
File metadata
- Download URL: vadalog_jupyter_kernel-3.0.1-py3-none-any.whl
- Upload date:
- Size: 12.6 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 |
ad8862d46453b2acf88213d62b8f606259b1492d6554370c744e6003ddce651e
|
|
| MD5 |
16255b57096d76acaee9743ce198ce3c
|
|
| BLAKE2b-256 |
7d2519a373d769d5c98ae72ef3b27226356cf5f41b57e206c250c449ab94b3dc
|