Python Integration

Overview

The davinci platform provides support for various programming languages, including Python. The platform both integrates with VSCode through a VSCode extension as well as providing an online browser based environment.

Scripts

Davinci provides a set of open source scripts that can be used in data analysis projects. Some of the scripts provide methods to connect to the davinci network, if desired. An account on the davinci platform is not required to use the scripts, but certain types of functionality is unavailable without it.

Scripts will be copied to your workspace if you install the davinci VsCode plugin. (see below) otherwise, you can just download the scripts you wish to use.

  • python - the core python functionality of the davinci platform
  • Utilities
  • Matplotlib - utilizing the python charting library in davinci

VSCode

  • Setting up a Python Environment - the place to start, is to set up a Python environment within VSCode. Standard python will install its libraries to a global space, and any python code run on that machine will use the global configuration. You can create isolated environments that allow you to install differenct libraries (and verisons of libraries) into that environment.
  • Publishing from your Environment