Virtual Data Lakes
Virtual Data Lakes

Python Wrapper

The Python wrapper can be used by a python client program to invoke the web API. It handles the packing of data into requests and unpacking it from responses.

Its pydoc documentation describes its methods and classes.

Installation

The Python wrapper can be installed from pypy:

  • pip install vdlpy

The wrapper uses the Requests package, which can be installed by:

  • pip install requests

Use

To use the installed package in a Python module, import it and create a client. If you want to write data or read data that is not public, you will also need a credential and key.

To import the package:

  • from vdlpy import vdl

See the pydoc documentation for how to create and use a client. There are example query and update fragments in the Introduction to the Web API.