Python Integration Scripts
Overview
The /davinci/python.py script includes a set of utilities for building modeling and analytics, and
for integrating with the davinci platform for users with an account.
Data
- val
- a function that shares data between scripts and apps in the framework.
- url
- a function that retrieves data from across the web, but integrates with the davinci
secure access
framework.
- cache
- uses the url function to access data from across the network, but provides utilities for caching
data to your hard drive or other location.
Importing Scripts
When you install the davinci VSCode extension, the davinci python script is placed in a folder named
"davinci" in your workspace. The untilities are then available to your scripts by using a standard import,
as in the following:
from davinci.python import url, val
A copy of the script can be found here :
davinci.python.