Skip to main content

A VDK plugin for working with notebooks

Project description

vdk-notebook

monthly download count for 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 those types 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"
    • VDK Ingest Cell. Those are celles marked with %%vdkingest magic.

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.

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

vdk_notebook-0.1.1431637373.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file vdk_notebook-0.1.1431637373.tar.gz.

File metadata

  • Download URL: vdk_notebook-0.1.1431637373.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for vdk_notebook-0.1.1431637373.tar.gz
Algorithm Hash digest
SHA256 a48e69d67cd0c06653218338a3b003e2896b8b2a440cc6783af5e474e9572f31
MD5 03843702d9ecb3fa9acada19215ab6e1
BLAKE2b-256 5daef716ecf60e75b04a40c71439ebe3f4da222fedb07821c43ea0460bd285a9

See more details on using hashes here.

Provenance

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