Skip to main content

vdk-notebook

A new VDK plugin which supports running data jobs which consists of .ipynb files. You can see VDK Jupyter Integration VEP for more information.

Usage

To install the plugin you need to run:

pip install vdk-notebook

Configuration

No specific notebook configurations are needed currently.

Example

Here is a directory structure which consist of one parent directory "parent-dir" and two subdirectories. One of the subdirectories is a data job("example-job"). This is how the structure looks like:

parent-dir
└── example-job
    ├── notebook.ipynb
    ├── requirements.txt
    └── config.ini
└── some-other-dir

To run the data job from the parent-dir we need to use:

vdk run example-job
  • Each cell which has tag "vdk" is executed
  • There could be two type of VDK Cells:
    • VDK Python Cell. Those are normal Python cells tagged with "vdk"
    • VDK SQL Cell. Those are cells marked with %%vdksql magic and tagged with "vdk"

For more information and examples see vdk-ipython documentation

Testing

Testing this plugin locally requires installing the dependencies listed in vdk-plugins/vdk-notebook/requirements.txt

Run

pip install -r requirements.txt

Architecture

See the architecture of the plugin in the "Detailed design" section of the VEP.

Metadata

Release files for vdk-notebook 0.1.1049090626

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vdk-notebook 0.1.1049090626
File Size Uploaded
vdk-notebook-0.1.1049090626.tar.gz 6.9 kB Details

Release files / vdk-notebook-0.1.1049090626.tar.gz

Download URL vdk-notebook-0.1.1049090626.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
85abea2aff0a9ea3143365578c642dcd65615707aac1f28cd5cc99d451e8c00c
BLAKE2b-256 checksum
How to use checksums
014e93cfecc475c7fcd103d8dd9de369c7e1ed6e3dcc03539d0070322770d68e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page